lm10.0 gateway is set but when I reboot I have to set the gateway
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
lm10.0 gateway is set but when I reboot I have to set the gateway
I have Linux Mandrake 10.0
The gateway is in the /etc/sysconfig/network file and it does not change.
But when I reboot no internet.
so I type
route -n
It shows I don't have a gateway. I check the network file and it is in there.
I do the route add... and setup the gateway every thing works till I reboot.
I have tried it in the ifcfg-eth0 file, with the same result.
but if you will look on the web or use the gui to setup the nic you will see
the file i mentioned is the place the gateway is put. /etc/sysconfig/network
GATEWAY=12.105.216.1
eth0 is my web interface
I had the gateway in the eth0
I also searched the web to see if I was setting it up wrong
many documents say to put it there.
I get the same result in both places.
I am not expert enough nor am I here to debate where it goes I just want the problem fixed.
so if I put it in the ifcfg-eth0 file and it does not work what then?
Mandrake is designed so you do all of this in the MCC instead of directly editing the files.
Usually if you are having problems the best thing to do is to eliminate all of the interfaces in the MCC then set them all up again, paying particular attention to how you name the machine (on eth0).
so you are saying that linux mandrake is a gui only system now?
All the systems I have setup. I have not had this problem.
I have never had to set the network cards up with the gui.
Thanks for your time.
Robert
Nope... It's your system you can do whatever you want.
But you posted the question, and the answer is that you are fighting how Mandrake is supposed to work, so to speak.
This is akin to the newbie installing TAR files for programs which are available via URPMI, it's counter productive and tends to break things.
The whole point of Mandrake is to attempt to easy things for the user. As such it employs scripts and programs that have certain expectations as far as configuration files, etc.
If you set things up manually you'll often find that things will be set back to an unexpected state when you run certain applications that trigger the same programs and scripts.
You CAN work around this but in effect a) expect to deal with this yourself, b) you'll have to track down and modify those programs and scripts which try to set things back...
This includes, profiles, startup services, etc.
Also RPM/URPM updates will want to set things back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.