Fedora Linux Support Community & Resources Center
  #1  
Old 9th November 2005, 03:22 PM
kamina Offline
Registered User
 
Join Date: Jun 2004
Posts: 36
route lost on reboot

I have a strange problem with my network. My primary network interface broke down, and I added a new card (3com 905 series). It get's an ip, netmask and dns fine, but does'nt set the router. After every boot I have to enter:

Quote:
route add default gw xxx.249.31.254
A bit tough to get my wife to do it, I don't think she would even understand enough to sudo, or su - to root. Any idea what could solve the issue?
Reply With Quote
  #2  
Old 9th November 2005, 03:32 PM
Zipster Offline
Registered User
 
Join Date: Sep 2005
Location: Sweden
Posts: 44
Why don't ya put that command in
/etc/rc.local

use the full path to route eg /sbin/route ...

That will make it do it every bootup
__________________
What does Linux have that Windows lacks?

Functionality!
Reply With Quote
  #3  
Old 9th November 2005, 03:50 PM
kamina Offline
Registered User
 
Join Date: Jun 2004
Posts: 36
I could try, though I don't have a static ip. I guess the dhcp will probably provide an ip that goes through the same gateway though, as it's quite a bit subnet 255.255.224.0).
Reply With Quote
  #4  
Old 9th November 2005, 04:16 PM
erroneus Offline
Registered User
 
Join Date: Apr 2004
Posts: 595
That's a weird problem. Surely there is some network setting to allow dhcp to set the default route. Somehow, perhaps, the original card's configuration is preventing that in some way?
Reply With Quote
  #5  
Old 9th November 2005, 04:36 PM
such007 Offline
Registered User
 
Join Date: Sep 2005
Location: Baltimore, MD
Posts: 75
vi your /etc/sysconfig/network-scripts/ifcfg-ethX

add the line:

GATEWAY=xxx.249.31.254

this should solve the problem.
Reply With Quote
  #6  
Old 9th November 2005, 05:47 PM
kamina Offline
Registered User
 
Join Date: Jun 2004
Posts: 36
Quote:
Originally Posted by erroneus
That's a weird problem. Surely there is some network setting to allow dhcp to set the default route. Somehow, perhaps, the original card's configuration is preventing that in some way?
This is what I would imagine too. I guess I'll fix it with this "bubblegum" solution for now, as the internal nic will be fixed under warrenty anyway.
Reply With Quote
  #7  
Old 16th November 2005, 09:02 PM
kamina Offline
Registered User
 
Join Date: Jun 2004
Posts: 36
If I want something to be run on startup like that, but as the user logged in, what can I do? I would like skype to start up with the computer as I never remember to start it up myself.

Can I just add " /usr/bin/skype" to the end of .bash_profile?
Reply With Quote
  #8  
Old 16th November 2005, 10:51 PM
such007 Offline
Registered User
 
Join Date: Sep 2005
Location: Baltimore, MD
Posts: 75
Under desktop click preferences, more preferences, then select sessions. Select the startup tab then enter /usr/bin/... and it should start automatically for you.
Reply With Quote
  #9  
Old 17th November 2005, 08:32 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 35
Posts: 1,281
do you have a custom kernel?? Are you sure that there is some sort of module or support for that card in your kernel?? I recently had this problem on a freBSD system, turns out the module wasn't properly configured for the kernel.
__________________
I read your e-mail
Reply With Quote
Reply

Tags
lost, reboot, route

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network on reboot missed route-eth0 akblackwel Servers & Networking 1 12th October 2009 10:07 PM
DNS lost after every reboot ludfic Servers & Networking 11 6th March 2009 10:20 AM
Compiz config lost on reboot andreselsuave Using Fedora 2 11th December 2008 03:09 PM
iptables lost on reboot on Fedora 6 vduglued Security and Privacy 13 1st September 2007 12:02 AM
NIC config lost after reboot Jehoshaphat Hardware & Laptops 7 5th November 2004 10:45 PM


Current GMT-time: 00:40 (Sunday, 20-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat