Results 1 to 7 of 7

Thread: Can't make My LAN connection working

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    India
    Posts
    4

    Can't make My LAN connection working

    Please Help me! I've Realtek 8139 LAN card installed on my Mother Board. Though Knoppix detects the Ethernet card but i'm unable to find any way to configure it, i thought it would be as easy as it's with MS Windows, but i don't know how to get it working. The few things that i know(or are required by Windows at least) are The IP address, Subnet mask, Default Gateway, Host/Domain, DNS Server, besides i donno anything about Linux....please help me !

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Can't make My LAN connection working

    Quote Originally Posted by Axe
    Please Help me! I've Realtek 8139 LAN card installed on my Mother Board. Though Knoppix detects the Ethernet card but i'm unable to find any way to configure it, i thought it would be as easy as it's with MS Windows, but i don't know how to get it working. The few things that i know(or are required by Windows at least) are The IP address, Subnet mask, Default Gateway, Host/Domain, DNS Server, besides i donno anything about Linux....please help me !
    Open a console window (clam shell icon on the taskbar) and type in netcardconfig decline the DHCP then enter the settings required you have all the information you need. If this fails then could you post the output of lsmod, ifconfig -a and maybe lspci -v from the console window just type them in and enter. To get a file you can save to a floppy and use to post from you other OS add > file.txt to the commands eg. lsmod > lsmod.txt this will save the output of the lsmod command to the file lsmod.txt in the current directory which would be /ramdisk/home/knoppix then copy it to the floppy to post it. You may want to post the lsmod command twice both a copy before the netcardconfig and after so we can see if the module for the card is loaded and in use before the command is issued.

    [edit]
    Also do you use static direct connection or PPPoE to connect?
    [/edit]

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    India
    Posts
    4

    Lan Card Problem

    Sorry for replying late.
    I tried the Netcardconfig, but still i'm unable to configure the card/connection. Below is the output of the commands: "lsmod", "ifconfig -a ", "lspci -v", it still seems that the results are negative.

    knoppix@ttyp0[knoppix]$ Ismod
    bash: Ismod: command not found
    knoppix@ttyp0[knoppix]$ ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:E0:4C:E6:4B:67
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:84 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:8507 (8.3 KiB) TX bytes:1710 (1.6 KiB)
    Interrupt:11 Base address:0xfc00

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:600 (600.0 b) TX bytes:600 (600.0 b)

    knoppix@ttyp0[knoppix]$ ispci -v
    bash: ispci: command not found

    Please help me to figure out this problem.
    Thanx

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Lan Card Problem

    Quote Originally Posted by Axe
    Sorry for replying late.
    I tried the Netcardconfig, but still i'm unable to configure the card/connection. Below is the output of the commands: "lsmod", "ifconfig -a ", "lspci -v", it still seems that the results are negative.

    knoppix@ttyp0[knoppix]$ Ismod
    bash: Ismod: command not found
    You are using an i instead of l (L) for the command.
    knoppix@ttyp0[knoppix]$ ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:E0:4C:E6:4B:67
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:84 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:8507 (8.3 KiB) TX bytes:1710 (1.6 KiB)
    Interrupt:11 Base address:0xfc00
    Here it sees the card but it has no IP address.

    knoppix@ttyp0[knoppix]$ ispci -v
    bash: ispci: command not found

    Please help me to figure out this problem.
    Thanx
    Here again you are using i instead of l (L).

    It looks like the module (IIRC it is the 8139too module) for the card is not loaded you may want to try from a console window sudo insmod 8139too to load the module and then netcardconfig to configure the card. note: I have seen a lot of post with people having problems with the onboard realtek NIC's you may want to disable it and put a card in an open slot if you have one.

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Location
    India
    Posts
    4
    Here's the output of the Lsmod, Ifconfig -a and Lspci -v command, and u were right, i was using I instead of L.
    --------------------------------------------------------------
    knoppix@ttyp0[knoppix]$ lsmod
    Module Size Used by Not tainted
    autofs4 8724 1 (autoclean)
    parport_pc 24776 1 (autoclean)
    lp 7492 0 (autoclean)
    parport 22496 1 (autoclean) [parport_pc lp]
    af_packet 13448 0 (autoclean)
    nls_iso8859-1 2876 1 (autoclean)
    nls_cp437 4380 1 (autoclean)
    agpgart 34720 0 (unused)
    i810_audio 23112 0
    ac97_codec 9992 0 [i810_audio]
    soundcore 3364 2 [i810_audio]
    8139too 17128 0
    mii 2128 0 [8139too]
    i810_rng 2628 0 (unused)
    serial 51876 0 (autoclean)
    usb-uhci 21836 0 (unused)
    usbcore 57088 1 [usb-uhci]
    rtc 6908 0 (autoclean)
    cloop 5232 1
    knoppix@ttyp0[knoppix]$ ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:E0:4C:E6:4B:67
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:26 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:2393 (2.3 KiB) TX bytes:1710 (1.6 KiB)
    Interrupt:11 Base address:0xfc00

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:400 (400.0 b) TX bytes:400 (400.0 b)

    knoppix@ttyp0[knoppix]$ lspci -v
    00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
    Flags: bus master, fast devsel, latency 0
    Memory at f8000000 (32-bit, prefetchable) [size=64M]
    Capabilities: <available only to root>

    00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, fast devsel, latency 32
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
    Memory behind bridge: fc900000-fe9fffff
    Prefetchable memory behind bridge: e4600000-f46fffff

    00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 05) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: fea00000-feafffff
    Prefetchable memory behind bridge: f4700000-f47fffff

    00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
    Flags: bus master, medium devsel, latency 0

    00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05) (prog-if 80 [Master])
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: bus master, medium devsel, latency 0
    I/O ports at ffa0 [size=16]

    00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05) (prog-if 00 [UHCI])
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: bus master, medium devsel, latency 0, IRQ 11
    I/O ports at ef40 [size=32]

    00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: medium devsel, IRQ 9
    I/O ports at efa0 [size=16]

    00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05) (prog-if 00 [UHCI])
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: bus master, medium devsel, latency 0, IRQ 10
    I/O ports at ef80 [size=32]

    00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: bus master, medium devsel, latency 0, IRQ 9
    I/O ports at e800 [size=256]
    I/O ports at ef00 [size=64]

    01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2) (prog-if 00 [VGA])
    Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e8000000 (32-bit, prefetchable) [size=128M]
    Expansion ROM at fe9f0000 [disabled] [size=64K]
    Capabilities: <available only to root>

    02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RT8139
    Flags: bus master, medium devsel, latency 32, IRQ 11
    I/O ports at d800 [size=256]
    Memory at feaffc00 (32-bit, non-prefetchable) [size=256]
    Expansion ROM at feae0000 [disabled] [size=64K]
    Capabilities: <available only to root>

    02:0b.0 Communication controller: Analog Devices SM56 PCI modem
    Subsystem: Analog Devices SM56 PCI modem
    Flags: bus master, medium devsel, latency 32, IRQ 10
    Memory at f47ffc00 (32-bit, prefetchable) [size=256]
    Capabilities: <available only to root>

    knoppix@ttyp0[knoppix]$
    ---------------------------------------------------------------
    I do not have on-board LAN, rather it's a seperate card, MSWindows shows it as Ethernet 01, whereas Knoppix detectes it on Ethernet 0.

    One more thing that i'd like to know's that, how can i log-in as root? cause i've created persistent home on my HD, but whenever i try to open it from home, it says that u do not have enough privilege to access it, that u must be logged-in as root.

  6. #6
    Junior Member
    Join Date
    Jul 2003
    Location
    India
    Posts
    4
    Please help me. i'm hanging in here

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Axe
    Here's the output of the Lsmod, Ifconfig -a and Lspci -v command, and u were right, i was using I instead of L.
    --------------------------------------------------------------
    knoppix@ttyp0[knoppix]$ lsmod

    8139too 17128 0
    mii 2128 0 [8139too]

    knoppix@ttyp0[knoppix]$ ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:E0:4C:E6:4B:67
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:26 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:2393 (2.3 KiB) TX bytes:1710 (1.6 KiB)
    Interrupt:11 Base address:0xfc00
    The module is getting loaded but not used also the mii tool is being used have you used it to try and set the card or is knoppix using it?



    knoppix@ttyp0[knoppix]$ lspci -v

    00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05) (prog-if 00 [UHCI])
    Subsystem: Intel Corp.: Unknown device 4856
    Flags: bus master, medium devsel, latency 0, IRQ 11
    I/O ports at ef40 [size=32]

    01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2) (prog-if 00 [VGA])
    Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e8000000 (32-bit, prefetchable) [size=128M]
    Expansion ROM at fe9f0000 [disabled] [size=64K]
    Capabilities: <available only to root>

    02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RT8139
    Flags: bus master, medium devsel, latency 32, IRQ 11
    I/O ports at d800 [size=256]
    Memory at feaffc00 (32-bit, non-prefetchable) [size=256]
    Expansion ROM at feae0000 [disabled] [size=64K]
    Capabilities: <available only to root>
    Here you have three devices using the same IRQ this could be the problem is there any way that you can change the IRQ's being used in your BIOS or on the card itself?


    I do not have on-board LAN, rather it's a seperate card, MSWindows shows it as Ethernet 01, whereas Knoppix detectes it on Ethernet 0.
    This is normal linux usually starts naming devices with 0 instead of 1 and with this being an card instead of onboard NIC you may want to change the slot it is in this could get you a different IRQ for the card when it is detected on boot.
    One more thing that i'd like to know's that, how can i log-in as root? cause i've created persistent home on my HD, but whenever i try to open it from home, it says that u do not have enough privilege to access it, that u must be logged-in as root.
    I have never used the persistent home but to become root with any command you want to issue you use the sudo in front of the command you may want to start a new thread for this problem.

    You may want to try using some cheat codes when you get to the boot: prompt like knoppix nousb or maybe noapic to see if that will help with the network card being used.

    Another thing you can try is entering your settings manually in the required files and re-starting the networking that way.

    The file /etc/network/interfaces is where your settings for the card are contained example file below:

    For Static settings
    Code:
     # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
     # The loopback interface
     auto lo
     iface lo inet loopback
    
     # The first network card - this entry was created during the Debian installation
     # (network, broadcast and gateway are optional)
     auto eth0
     iface eth0 inet static
             address 192.168.0.1
             netmask 255.255.255.0
             network 192.168.0.0
             broadcast 192.168.0.255
             gateway 192.168.0.254
    You would of course use your settings to edit the file open a console window and sudo gvim /etc/network/interfaces may the changes and save the file.

    Your nameservers settings would be in the file /etc/resolv.conf example file:


    Code:
     search wolf
     nameserver 192.168.1.10
     nameserver 192.168.1.34
    You only need the one nameserver line the search of your domain and the extra nameserver are not necessary. Edit the file put in the correct settings and save it then sudo /etc/init.d/networking restart to re-start the network with the new settings. Post the output of any errors that you get so I can see what they say.

Similar Threads

  1. Replies: 6
    Last Post: 11-11-2004, 05:06 PM
  2. How do i make an auto-connection to the net?
    By cinogen in forum Networking
    Replies: 3
    Last Post: 07-26-2004, 01:54 AM
  3. Can't make working iso with B's Recorder Gold & Sony CDR
    By socalgail in forum General Support
    Replies: 14
    Last Post: 11-13-2003, 04:41 PM
  4. Internet connection stopped working
    By jimk in forum Networking
    Replies: 7
    Last Post: 10-21-2003, 11:10 PM
  5. Trying to make a root crontab, not working....
    By arkaine23 in forum Customising & Remastering
    Replies: 1
    Last Post: 07-08-2003, 08:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



Juniper EX4400-EM-4S expansion modules picture

Juniper EX4400-EM-4S expansion modules

$599.00



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord picture

Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord

$174.99



Juniper MX204 +JUNOS and Dual Power Supply picture

Juniper MX204 +JUNOS and Dual Power Supply

$7299.99



Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic picture

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic

$79.86



Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99 picture

Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99

$24.99



Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC picture

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC

$8999.99



Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch picture

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch

$245.00



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99