LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems Configuring Networking (https://www.linuxquestions.org/questions/linux-newbie-8/problems-configuring-networking-214697/)

rtwatts07 08-07-2004 12:09 PM

Problems Configuring Networking
 
I just installed my first linux distribution, Knoppix 3.4. When using the livecd, Knoppix detected and autoconfigured my network interface (eth0) using DHCP. However, now that I have installed Knoppix on my hard drive, it doesn't seem to recognize or configure the device properly, and I cannot connect to the internet.

I'm new to linux and I don't even know where to start. If someone could tell me how to fix this problem, or at least point me in the right direction, I would appreciate it.

Thanks,
rtwatts07

dkaplowitz 08-07-2004 12:13 PM

rtwatts07,

Congrats on the install, welcome to the wonderful world of Linux!

If you do an "ifconfig eth0" what is your output? I don't know Knoppix all that well, but I imagine your card is in the kernel by default and just needs to be loaded as a module. You can try booting back into the knoppix livecd and recording the output of "lsmod", then comparing that to what you get when you boot into the installation you just performed.

rtwatts07 08-07-2004 01:12 PM

Output of ifconfig eth0 on installed Knoppix:

Code:

eth0      Link encap:Ethernet  HWaddr 00:50:8D:F5:66:7C 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:20 Base address:0xd000

Output of ifconfig eth0 on Knoppix from livecd:

Code:

eth0      Link encap:Ethernet  HWaddr 00:50:8D:F5:66:7C 
          inet addr:192.168.11.50  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8dff:fef5:667c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:850 errors:0 dropped:0 overruns:0 frame:0
          TX packets:999 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:408007 (398.4 KiB)  TX bytes:143294 (139.9 KiB)
          Interrupt:20 Base address:0x6000

Output of lsmod on installed Knoppix:

Code:

Module                  Size  Used by
snd_mixer_oss          19200  0
parport_pc            38176  1
lp                    14024  0
parport                39104  2 parport_pc,lp
pciehp                91140  0
shpchp                93316  0
pci_hotplug            33852  2 pciehp,shpchp
snd_intel8x0          33512  0
snd_ac97_codec        59396  1 snd_intel8x0
snd_pcm                87808  1 snd_intel8x0
snd_timer              26240  1 snd_pcm
snd_page_alloc        13188  2 snd_intel8x0,snd_pcm
gameport                8192  1 snd_intel8x0
snd_mpu401_uart        10496  1 snd_intel8x0
snd_rawmidi            23936  1 snd_mpu401_uart
snd_seq_device        10884  1 snd_rawmidi
snd                    50692  8 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ehci_hcd              29312  0
usblp                  15360  0
tsdev                  9984  0
ohci_hcd              20864  0
nvidia_agp            10140  1
eth1394                22916  0
evdev                  12416  0
8250                  34208  0
serial_core            23168  1 8250
autofs4                18432  1
af_packet              21636  0
agpgart                32204  1 nvidia_agp
i810_audio            34704  0
ac97_codec            19840  1 i810_audio
soundcore              12000  2 snd,i810_audio
forcedeth              17920  0
hid                    46400  0
pcmcia_core            59136  0
thermal                15760  0
processor              21440  1 thermal
fan                    7564  0
button                  9240  0
battery                12556  0
ac                      8204  0
rtc                    15560  0
sbp2                  25344  0
ohci1394              33920  0
ieee1394              305552  3 eth1394,sbp2,ohci1394
usb_storage            67072  0
usbcore                94420  7 ehci_hcd,usblp,ohci_hcd,hid,usb_storage
ide_cd                39680  0
ide_scsi              17668  0
ext3                  106152  0
jbd                    68256  1 ext3
reiserfs              214512  1

Output of lsmod on Knoppix from livecd:

Code:

Module                  Size  Used by
reiserfs              214512  1
snd_mixer_oss          19200  0
snd                    50692  1 snd_mixer_oss
via_agp                9984  0
sworks_agp            11424  0
sis_agp                9600  0
nvidia_agp            10140  1
intel_mch_agp          12044  0
intel_agp              18968  0
efficeon_agp          10624  0
ati_agp                10636  0
amd64_agp              12872  0
amd_k7_agp            10124  0
ali_agp                9600  0
autofs                19584  1
af_packet              21636  0
agpgart                32204  11 via_agp,sworks_agp,sis_agp,nvidia_agp,intel_mch_agp,intel_agp,efficeon_agp,ati_agp,amd64_agp,amd_k7_agp,ali_agp
i810_audio            34704  1
ac97_codec            19840  1 i810_audio
soundcore              12000  3 snd,i810_audio
forcedeth              17920  0
parport_pc            38176  0
parport                39104  1 parport_pc
8250                  34208  0
serial_core            23168  1 8250
usblp                  15360  0
evdev                  12416  0
tsdev                  9984  0
hid                    46400  0
ds                    17920  0
yenta_socket          17664  0
pcmcia_core            59136  2 ds,yenta_socket
thermal                15760  0
processor              21440  1 thermal
fan                    7564  0
button                  9240  0
battery                12556  0
ac                      8204  0
rtc                    15560  0
cloop                  15456  1
ohci1394              33920  0
ieee1394              305552  1 ohci1394
usb_storage            67072  0
ohci_hcd              20864  0
uhci_hcd              33416  0
usbcore                94420  7 usblp,hid,usb_storage,ohci_hcd,uhci_hcd
ide_cd                39680  0
ide_scsi              17668  1

Does that help any?

I would really appreciate any help on this problem.

Thanks,
rtwatts07

rtwatts07 08-07-2004 02:37 PM

Anybody know what the problem is? Should I try to load all the kernel modules specified in livecd Knoppix? Are there other tests I should do? I guess the real question is: Why isn't this all done for me with dhcp?

Any help/suggestions are appreciated!

Thanks,
rtwatts07

TigerOC 08-07-2004 03:53 PM

Normally with Knoppix you have to configure the ethernet card to get it working off the main menu but I cannot remember the exact steps. It is Debian based so the networking will be controlled through /etc/network/interfaces. If you have dhcp installed then edit the /etc/network/interfaces;

auto eth0
iface eth0 inet dhcp

then do /etc/init.d/networking start and check with ifconfig . The entry in /etc/network/interfaces will ensure networking starts on boot.

Hope this helps.

comprookie2000 08-07-2004 07:54 PM

try dhcpcd eth0 from terminal as root.
then ping www.google.com -c 3


All times are GMT -5. The time now is 04:13 PM.