LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-07-2004, 12:09 PM   #1
rtwatts07
LQ Newbie
 
Registered: Aug 2004
Location: USA
Distribution: Knoppix 3.4
Posts: 7

Rep: Reputation: 0
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
 
Old 08-07-2004, 12:13 PM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
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.
 
Old 08-07-2004, 01:12 PM   #3
rtwatts07
LQ Newbie
 
Registered: Aug 2004
Location: USA
Distribution: Knoppix 3.4
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-07-2004, 02:37 PM   #4
rtwatts07
LQ Newbie
 
Registered: Aug 2004
Location: USA
Distribution: Knoppix 3.4
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-07-2004, 03:53 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 08-07-2004, 07:54 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux NooB.. Help configuring SuSe 9.1 Networking/Server dazzyboi Linux - Networking 9 07-28-2004 06:05 AM
Networking Problems DB03 Linux - Networking 1 03-02-2004 04:01 PM
Linux-Networking Configuring Samba and Firewall Pradeep Linux - Networking 0 11-26-2001 10:26 PM
Networking Problems -Please Help Anime_Ry Linux - Networking 1 08-07-2001 11:02 PM
Networking problems Shil Linux - Newbie 2 12-11-2000 11:04 PM


All times are GMT -5. The time now is 01:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration