LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Why do I have to activate my NIC every time I boot? (https://www.linuxquestions.org/questions/linux-hardware-18/why-do-i-have-to-activate-my-nic-every-time-i-boot-341133/)

A6Quattro 07-07-2005 10:26 PM

Why do I have to activate my NIC every time I boot?
 
I am running FC3 with all the updates. Everytime before I can get online, I have to go to "Network Device Controls" and activate the card. Whay is this. I save the configuration on exit and also when I exit Linux to reboot. Any suggestions?

Michael Johnson 07-08-2005 12:54 AM

Do you use the ethernet to connect to internet. When you go to "Network Device Controls" do you use configure and then use the option to tell it to startup at boot?

Nathanael 07-08-2005 04:05 AM

put the modules name into /etc/modules
also check that your network init script is in your runlevel
also check that your network config files state

auto eth0

before configuring the devices with

iface eth0 inet dhcp

or something like that

nabeelmoidu 07-08-2005 06:08 AM

Is your ONBOOT= parameter in /etc/sysconfig/network-scripts/ifcfg-eth0 or whatever blah blah blah interface set to 'yes'?

A6Quattro 07-08-2005 07:18 AM

Quote:

Originally posted by Michael Johnson
Do you use the ethernet to connect to internet. When you go to "Network Device Controls" do you use configure and then use the option to tell it to startup at boot?
Yes I useit to connect to the internet. There is no option to tell it to start at boot, or I don't lnow where it is.

A6Quattro 07-08-2005 07:24 AM

Quote:

Originally posted by Nathanael
put the modules name into /etc/modules
also check that your network init script is in your runlevel
also check that your network config files state

auto eth0

before configuring the devices with

iface eth0 inet dhcp

or something like that

there is no directory /etc/modules and I don't know where to get the module in the first place.

The card now is configured to eth0:1

Where can I check my network config file?

sorry, I'm a :newbie: :scratch:

A6Quattro 07-08-2005 07:27 AM

Quote:

Originally posted by nabeelmoidu
Is your ONBOOT= parameter in /etc/sysconfig/network-scripts/ifcfg-eth0 or whatever blah blah blah interface set to 'yes'?
Iy is set to YES but it is Eth0:1 though. does that make a diff?

Michael Johnson 07-08-2005 07:31 AM

I misled you slightly when you open "Network Device Controls" you will see the network device. Click on it. Then click on the edit button on the button bar. Under the General tab at the top is a check box "Activate device when computer starts" check this box and it should work.

A6Quattro 07-08-2005 07:39 AM

Quote:

Originally posted by Nathanael
put the modules name into /etc/modules
also check that your network init script is in your runlevel
also check that your network config files state

auto eth0

before configuring the devices with

iface eth0 inet dhcp

or something like that

This is what is says in the sysconfig file:
/etc/sysconfig/network:

NETWORKING=yes|no
HOSTNAME=<fqdn by default, but whatever hostname you want>
GATEWAY=<gateway IP>
GATEWAYDEV=<gateway device to use, when multiple devices have GATEWAY=> (e.g. eth0)
NISDOMAIN=<nis domain name>
VLAN=yes|no
IPX=yes|no
IPXAUTOPRIMARY=on|off (note, that MUST be on|off, not yes|no)
IPXAUTOFRAME=on|off (again, not yes|no)
IPXINTERNALNETNUM=<netnum>
IPXINTERNALNODENUM=<nodenum>

does this need changed here or in a different file?
also should I be loggen in as root?

A6Quattro 07-08-2005 07:44 AM

Quote:

Originally posted by Michael Johnson
I misled you slightly when you open "Network Device Controls" you will see the network device. Click on it. Then click on the edit button on the button bar. Under the General tab at the top is a check box "Activate device when computer starts" check this box and it should work.
That is checked but the box under it isn't, which allows all useres to enable/disable the device. I'm guessing that this doesn't matter though

Michael Johnson 07-08-2005 07:50 AM

On the same section have you checked "Automatically obtain obtain IP address.." and also "Automatically DNS info..."? I would say you have. You are rightnthe below is not needed.
The next step is to do
#dmesg | grep eth0
and see if it is trying to bring it up.

Michael Johnson 07-08-2005 08:14 AM

Go to menu and select "System Settings->Server settings->services". In the left hand list box look for Network and make sure it is checked. If not check it and save. This setting is used to start your network.

A6Quattro 07-08-2005 08:27 AM

Quote:

Originally posted by Michael Johnson
Go to menu and select "System Settings->Server settings->services". In the left hand list box look for Network and make sure it is checked. If not check it and save. This setting is used to start your network.
Found it but it says device eth0 and my card is eth0:1 should I reinstall the card?

Michael Johnson 07-08-2005 08:30 AM

Yes delete the card you have and start again. The correct name shoul be "eth0".

A6Quattro 07-08-2005 08:37 AM

Quote:

Originally posted by Michael Johnson
Yes delete the card you have and start again. The correct name shoul be "eth0".
Wemt ahead and did that. Hope this works this time!! Thank you so much for your help. I'm starting to get the hang of some of this Linux stuff!!!!:D


All times are GMT -5. The time now is 02:51 AM.