LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC3 Networking Problems (https://www.linuxquestions.org/questions/fedora-35/fc3-networking-problems-261432/)

seasidebaz 12-01-2004 03:12 PM

FC3 Networking Problems
 
I'm having real problems with networking on FC3.
My NIC is a Myson Surecom EP320SX going through a Belkin router. I get the error "No link. Check cables?" whenever the network tries to connect.
The only workaround to this is by doing:

su root
Password: *******
/sbin/ifconfig eth0 192.168.2.3
/sbin/route add default gw 192.168.2.1

This then brings up the network.
Is there a way of putting all this in a startup script so that whenever a use logs on it brings up the network? I've tried the network config dialogs but nothing works except for the above steps...

Thanks.

ror 12-01-2004 03:23 PM

what's in /etc/rc.d/rc.inet1.conf (I think? something like that)

seasidebaz 12-01-2004 04:44 PM

I don't have that file/folder.
No networking is set up at all, it needs to be set up manually cos it thinks there's no cable until I do the steps I said above.

Kristijan 12-01-2004 06:23 PM

seasidebaz,

A quick work around is to put the commands into /etc/rc.d/rc.local This should now work once you have re-started.

-Kristijan

seasidebaz 12-01-2004 11:55 PM

How do I get it to enter my password tho? Thats the bit I'm stuck on cos it needs to be run as root...

rld1025 12-06-2004 01:50 PM

Quote:

Originally posted by seasidebaz
How do I get it to enter my password tho? Thats the bit I'm stuck on cos it needs to be run as root...
You must be Logged in as root to edit the rc script. Since the script runs as root, you will not need to put the lines:

su root
pass.....

just enter in your ifconfig and route lines and you should be good.


All times are GMT -5. The time now is 06:56 PM.