PDA

View Full Version : Can't find my network card after each reboot



turbines
05-18-2004, 11:21 PM
I installed Knoppix 3.4 to my HD using the Godot instructions. Seems to be great but every time I restart I have to help it configure my ethernet card from the Knoppix Network/Internet menu.
How can I make it save the configuration?

mzilikazi
05-19-2004, 12:41 AM
I installed Knoppix 3.4 to my HD using the Godot instructions. Seems to be great but every time I restart I have to help it configure my ethernet card from the Knoppix Network/Internet menu.
How can I make it save the configuration?

Well that depends I suppose on what you actually have to enter to get your NIC working. Are the modules for your NIC loaded on boot?
lsmod

Does dhclient bring up your interface?
dhclient eth0

If the module isn't loaded at boot just add it to /etc/modules
If you need to run dhclient on eth0 (or eth1 or whatever) just add it to /etc/init.d/bootmisc.sh

turbines
05-19-2004, 12:55 AM
I have to enter my root password each time I reboot and then select the eth0 or eth1 network card then say yes to DHCP and all is ok I am then able to get online

Each reboot I have to make these selections again in order to make connection

mzilikazi
05-19-2004, 03:33 PM
I have to enter my root password each time I reboot and then select the eth0 or eth1 network card then say yes to DHCP and all is ok I am then able to get online

Each reboot I have to make these selections again in order to make connection

OK so just do what I posted above. It now dawns on me that Knoppix might use pump instead of dhclient.

turbines
05-20-2004, 12:14 AM
knoppix@knopbox:~$ ismod
bash: ismod: command not found
knoppix@knopbox:~$ lsmod
Module Size Used by Not tainted
raw1394 19252 0 (unused)
ehci-hcd 16616 0 (unused)
autofs4 8756 1
af_packet 13544 0
nls_iso8859-1 2844 0
nls_cp437 4348 0
agpgart 42660 0 (unused)
i810_audio 25208 2
ac97_codec 11884 0 [i810_audio]
3c59x 25456 0 (unused)
forcedeth 9836 1
tuner 9408 1 (autoclean)
tvaudio 12444 0 (autoclean) (unused)
bttv 96320 0 (unused)
i2c-algo-bit 6920 1 [bttv]
i2c-core 12228 0 [tuner tvaudio bttv i2c-algo-bit]
soundcore 3428 2 [i810_audio bttv]
videodev 5600 2 [bttv]
serial 52068 0 (unused)
joydev 7584 0 (unused)
hid 22372 0 (unused)
input 3168 0 [joydev hid]
sbp2 16588 0 (unused)
usb-storage 61952 0
ataraid 6404 0 (unused)
ohci1394 22888 0 (unused)
ieee1394 183300 0 [raw1394 sbp2 ohci1394]
usb-ohci 18088 0 (unused)
usbcore 57824 1 [ehci-hcd hid usb-storage usb-ohci]
pcmcia_core 39840 0
thermal 6532 0 (unused)
processor 8976 0 [thermal]
fan 1568 0 (unused)
button 2508 0 (unused)
battery 5888 0 (unused)
ac 1792 0 (unused)
ide-cd 28704 0
ide-scsi 9040 0
rtc 7004 0 (autoclean)
ext3 64452 1 (autoclean)
jbd 46516 1 (autoclean) [ext3]
knoppix@knopbox:~$ dhclient eth0
bash: dhclient: command not found
knoppix@knopbox:~$ dhclient eth0

mzilikazi
05-20-2004, 01:47 PM
forcedeth is your onboard ethernet controller driver so good- it loads automatically. Now......get root
su
dhclient eth0

OR

pump eth0

One of those should bring up your network interface. If it does you just need to add the same thing to /etc/init.d/bootmisc.sh

su
xedit /etc/init.d/bootmisc.sh

at the bottom put

dhclient eth0

OR

pump eth0

dhclient and pump do essentially the same thing and I don't recall which Knoppix has ATM. Of course I could easily go look.....

turbines
05-20-2004, 11:06 PM
no they won't bring up interface.

dhclient eth0 or pump eth0 gave the following;

knoppix@knopbox:~$ su
Password:
root@knopbox:/home/knoppix# dhclient eth0
bash: dhclient: command not found
root@knopbox:/home/knoppix# pump eth0
pump: no extra parameters are expected
root@knopbox:/home/knoppix#

also when I select my eth0 from the network card configuration menu it asks if I want to allow DHCP Broadcasting yes or no

sorry to be such a pain but I do appreciate the help

mrmanic
05-21-2004, 07:51 AM
no they won't bring up interface.

root@knopbox:/home/knoppix# pump eth0
pump: no extra parameters are expected
root@knopbox:/home/knoppix#

also when I select my eth0 from the network card configuration menu it asks if I want to allow DHCP Broadcasting yes or no

sorry to be such a pain but I do appreciate the help

pump defaults to eth0, I think. If you need to specify a different NIC, you can use the syntax:
pump -i eth1
where eth1 is the device name of the other NIC. That's worked for me in the past. In future, when you get messages like "no extra parameters expected" or "wrong number of parameters" or something like that, your best bet is probably to check the man page by typing
man command (i.e. man pump)
or the inline help by typing
command --help (i.e. pump --help)

most command line programs have those help options.

turbines
05-25-2004, 02:11 AM
See this thread for the fix
http://www.knoppix.net/forum/viewtopic.php?t=10784