Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First time installing hardware - Ethernet Card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
trevor
n00b
n00b


Joined: 08 May 2004
Posts: 27
Location: /home/trevor

PostPosted: Tue Jul 20, 2004 1:22 am    Post subject: First time installing hardware - Ethernet Card Reply with quote

This is my first time installing hardware under Linux, so bear with me. :]

Basically what I have done is:
I opened up my old computer. Took out the ethernet card. Opened my current computer. Put the ethernet card in my current computer.
Then I did a:
Code:
ifconfig eth1

It said that device didn't exist, so I check all my network devices to see if it set it up as something other than eth1:
Code:
ifconfig

Well, that didn't give me the results I wanted. Seems as though Linux doesn't automatically set up hardware for me and I have no idea on how to do it. So any suggestions on what to do would be greatly appreciative.

By the way, I have no idea what brand this ethernet card is. I would imagine probably some type of Intel, but I really do not know.

Thank you for bearing with me!
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2792
Location: Pittsburgh, PA, USA

PostPosted: Tue Jul 20, 2004 3:02 am    Post subject: Reply with quote

Do you know what card you have?

Code:
lspci -v


If you can report back the results (only the ethernet section is necissary) we should be able to help.

Here is what I have in my system:

Code:
0000:00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11)
        Flags: bus master, medium devsel, latency 64
        Memory at e8000000 (32-bit, prefetchable)
        Memory at e3100000 (32-bit, prefetchable) [size=4K]
        I/O ports at 1440 [disabled] [size=4]
        Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 99
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
        Memory behind bridge: e2000000-e2ffffff
        Prefetchable memory behind bridge: f0000000-f7ffffff

0000:00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] ISA (rev 02)
        Flags: bus master, medium devsel, latency 0

0000:00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] IDE (rev 01) (prog-if 8a [Master SecP PriP])
        Flags: bus master, medium devsel, latency 64
        I/O ports at f000 [size=16]

0000:00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] ACPI (rev 01)
        Flags: medium devsel

0000:00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] USB (rev 07) (prog-if 10 [OHCI])
        Flags: bus master, medium devsel, latency 16, IRQ 19
        Memory at 000dc000 (32-bit, non-prefetchable)

0000:00:09.0 Unknown mass storage controller: Promise Technology, Inc. 20268 (rev 02) (prog-if 85)
        Subsystem: Promise Technology, Inc. Ultra100TX2
        Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 17
        I/O ports at 1458
        I/O ports at 1450 [size=4]
        I/O ports at 1448 [size=8]
        I/O ports at 1444 [size=4]
        I/O ports at 1430 [size=16]
        Memory at e0000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 1

0000:00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
        Subsystem: Creative Labs CT4832 SBLive! Value
        Flags: bus master, medium devsel, latency 64, IRQ 18
        I/O ports at 1400
        Capabilities: [dc] Power Management version 1

0000:00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 64
        I/O ports at 1460
        Capabilities: [dc] Power Management version 1

0000:00:0b.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 250
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at e4000000 (32-bit, prefetchable)
        Capabilities: [44] Power Management version 2

0000:00:0c.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, medium devsel, latency 64
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=68
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: e3000000-e30fffff
        Prefetchable memory behind bridge: 00000000f8000000-00000000fbf00000
        Expansion ROM at 00002000 [disabled] [size=4K]
        Capabilities: [dc] Power Management version 1

0000:00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA])
        Flags: stepping, medium devsel
        Memory at e1000000 (32-bit, non-prefetchable) [disabled]
        I/O ports at 1800 [disabled] [size=256]
        Memory at e0006000 (32-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [5c] Power Management version 2

0000:00:0f.0 Ethernet controller: 3Com Corporation 3c980-C 10/100baseTX NIC [Python-T] (rev 78)
        Subsystem: Tyan Computer Thunder K7 S2462
        Flags: bus master, medium devsel, latency 80, IRQ 18
        I/O ports at 1000
        Memory at e0005000 (32-bit, non-prefetchable) [size=128]
        Capabilities: [dc] Power Management version 2

0000:00:10.0 Ethernet controller: 3Com Corporation 3c980-C 10/100baseTX NIC [Python-T] (rev 78)
        Subsystem: Tyan Computer Thunder K7 S2462
        Flags: bus master, medium devsel, latency 80, IRQ 19
        I/O ports at 1080
        Memory at e0005400 (32-bit, non-prefetchable) [size=128]
        Capabilities: [dc] Power Management version 2

0000:01:05.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA])
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 17
        Memory at e2000000 (32-bit, non-prefetchable)
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0

0000:02:08.0 Co-processor: Digital Equipment Corporation StrongARM DC21285 (rev 04) (prog-if 01)
        Subsystem: Mylex Corporation DAC960P / DAC1164P
        Flags: bus master, medium devsel, latency 64, IRQ 16
        Memory at e3010000 (32-bit, non-prefetchable)
        I/O ports at 2000 [size=128]
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [70] Power Management version 0

0000:02:09.0 RAID bus controller: Mylex Corporation eXtremeRAID 1100 support Device
        Subsystem: Mylex Corporation eXtremeRAID 1100 support Device
        Flags: bus master, medium devsel, latency 64
        Memory at e3000000 (32-bit, non-prefetchable)



I do have dual onboard ethernet controllers so I do have two entries.
_________________
John

My gentoo overlay
Instructons for overlay


Last edited by drescherjm on Tue Jul 20, 2004 3:11 am; edited 1 time in total
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Tue Jul 20, 2004 3:10 am    Post subject: Reply with quote

If you can not figure out what card you have, try compiling all (reasonable) ethernet card drivers as modules. Then run modprobe for each module. The correct one will load, as evidenced by running lsmod and seeing the module. You will then know what driver is needed. You can then recompile the kernel with only that driver. I prefer to compile my ethernet driver in the kernel rather than as a module. It has been handy in the past when I have b0rked my system.
Back to top
View user's profile Send private message
trevor
n00b
n00b


Joined: 08 May 2004
Posts: 27
Location: /home/trevor

PostPosted: Wed Jul 21, 2004 12:03 am    Post subject: Reply with quote

I would like to thank both of you.

First, drescherjm for telling me how to check my ethernet card's brand name and model by using the command:
Code:
lspci -v


Second, 0n0w1c for telling me I have to compile support into the kernel.

I found out that my card is a 3com brand card. The kernel did not have my model card as an option, so I compiled in support for all 3com cards. Then I restarted my computer and did a:
Code:
ifconfig

and it listed my newly installed card as eth1.

I would like to thank both of you again!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum