LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2004, 05:30 PM   #1
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Rep: Reputation: 0
On-Board ehernet card on Morphix


Hi guys.
I just downloaded Morphix live-cd (actually a morphix mod).
everything is working great, but it does not recognize my ethernet card...
it is an on-board 3com card, the board is ABIT IS7-E.

can anybody help?
 
Old 10-25-2004, 01:17 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Probably you or the modders did not enable all 3com NIC when re-compiling the kernel.

What does "cat /proc/pci" lists?
 
Old 10-25-2004, 12:50 PM   #3
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
well, turns out the card is recognized, but i have no access to it... (or something like that)

Code:
morph@Morphix:~$ cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 2).
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 2).
      Master Capable.  Latency=64.  Min Gnt=12.
  Bus  0, device  29, function  0:
    USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 2).
      IRQ 10.
      I/O at 0xbc00 [0xbc1f].
  Bus  0, device  29, function  1:
    USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 2).
      IRQ 9.
      I/O at 0xb000 [0xb01f].
  Bus  0, device  29, function  2:
    USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 2).
      IRQ 11.
      I/O at 0xb400 [0xb41f].
  Bus  0, device  29, function  3:
    USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 2).
      IRQ 10.
      I/O at 0xb800 [0xb81f].
  Bus  0, device  29, function  7:
    USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 2).
      IRQ 3.
      Non-prefetchable 32 bit memory at 0xfa100000 [0xfa1003ff].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 194).
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 2).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 2).
      IRQ 10.
      I/O at 0xf000 [0xf00f].
      Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
  Bus  0, device  31, function  2:
    IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 2).
      IRQ 11.
      I/O at 0xc000 [0xc007].
      I/O at 0xc400 [0xc403].
      I/O at 0xc800 [0xc807].
      I/O at 0xcc00 [0xcc03].
      I/O at 0xd000 [0xd00f].
  Bus  0, device  31, function  3:
    SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 2).
      IRQ 5.
      I/O at 0x500 [0x51f].
  Bus  0, device  31, function  5:
    Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 2).
      IRQ 5.
      I/O at 0xd800 [0xd8ff].
      I/O at 0xdc00 [0xdc3f].
      Non-prefetchable 32 bit memory at 0xfa101000 [0xfa1011ff].
      Non-prefetchable 32 bit memory at 0xfa102000 [0xfa1020ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] (rev 0).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
      I/O at 0x9000 [0x90ff].
      Non-prefetchable 32 bit memory at 0xf9000000 [0xf900ffff].
  Bus  1, device   0, function  1:
    Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary) (rev 0).
      Master Capable.  Latency=32.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xe0000000 [0xefffffff].
      Non-prefetchable 32 bit memory at 0xf9010000 [0xf901ffff].
  Bus  2, device   2, function  0:
    Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 18).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=23.Max Lat=31.
      Non-prefetchable 32 bit memory at 0xfa000000 [0xfa003fff].
      I/O at 0xa000 [0xa0ff].
 
-----------------------

sh-3.00# lspci
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
0000:02:02.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)

-------------------------

sh-3.00# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:700 (700.0 b)  TX bytes:700 (700.0 b)

---------------------------

sh-3.00# ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device
 
Old 10-27-2004, 01:11 AM   #4
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
did anybody encounter this problem?
 
Old 10-27-2004, 05:42 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The reason you have no access is because the module (driver) for the NIC is not loaded.

Have a look at http://www.linuxquestions.org/hcl/sh...hp?product=516
 
Old 10-27-2004, 07:03 AM   #6
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: On-Board ehernet card on Morphix

Quote:
Originally posted by Zvi
Hi guys.
I just downloaded Morphix live-cd (actually a morphix mod).
everything is working great, but it does not recognize my ethernet card...
it is an on-board 3com card, the board is ABIT IS7-E.

can anybody help?
Weird according to abits site its a realtek nic, but you have a 3com, same one I have in fact.
try entering

lsmod | less

and see if a sk98lin module is loaded, if not try typing modprobe sk98lin then lsmod | less
again and see if it is loaded, if so, now all you need to do is assign it an ip address or run dhcpcd for it to get one via a dhcp server, depending on your specific network setup.

If is not already loaded and does not load from the modprobe, then its is fun time.

Last edited by WhiteChedda; 10-27-2004 at 07:08 AM.
 
Old 10-27-2004, 07:06 AM   #7
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Quote:
Originally posted by Zvi
did anybody encounter this problem?
Yeah slackware 10.0 failed to load mine on my asus P4P800, but modprobe proved to work manually and I wasn't using alive CD so I just recompiled the kernel and included support for the thing.

Last edited by WhiteChedda; 10-27-2004 at 07:08 AM.
 
Old 10-27-2004, 11:07 AM   #8
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
Re: Re: On-Board ehernet card on Morphix

Quote:
Originally posted by WhiteChedda
try entering

lsmod | less

and see if a sk98lin module is loaded, if not try typing modprobe sk98lin then lsmod | less
again and see if it is loaded, if so, now all you need to do is assign it an ip address or run dhcpcd for it to get one via a dhcp server, depending on your specific network setup.
well, that was the case. sk98lin was not loaded, and modprobe loaded it. after "ifconfig eth0 up" i managed to see the card...
now i need to know how to assign it an IP address (i'm a newbie )...
i have alcatel router, i think i have 2 options:
1) request a dynamic IP from alcatel (DHCP)
2) enter an IP+MASK+DNS+Default Gateway manually (like i do in windows).

how do i do that?

Last edited by Zvi; 10-27-2004 at 11:10 AM.
 
Old 10-27-2004, 11:26 AM   #9
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
WEEEE!!!! I'm on Morphix right now!!!
turns out that "dhclient" assigns a dynamic IP address (you probobly know that...)
so the commands are:
Code:
modprobe sk98lin
ifconfig eth0 up
dhclient
thanks for the help!!!


P.S.
i would still like to know how to assign IP manually, if anyone cares to explain.
 
  


Reply



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
Suse 9.0 doesn't detect Ethernet card on nVidia shipset 2, on-board card Realtek 8201 devilpim Linux - Newbie 3 05-27-2006 12:08 AM
RH7.2 and On-board Ethernet Card Skywalker Linux - Software 13 11-15-2004 05:28 AM
Driver help needed for ehernet adapter of IBM R51 vasundhar Linux - Enterprise 3 10-15-2004 04:15 PM
Morphix won't see my wifi card berl Linux - Wireless Networking 1 05-30-2004 04:38 AM
On-board network card problem posieden_palace Linux - Networking 1 07-12-2003 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration