Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethernet in the kernel
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
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Fri May 02, 2008 8:53 pm    Post subject: ethernet in the kernel Reply with quote

I am working on a fresh install and on my first successful boot I find that I do not have Ethernet capabilities. What do I need to compile in the kernel to get my ethernet working?
[edit] Here is my lspci
Code:

00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 10)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 01)
00:14.6 Modem: ATI Technologies Inc SB400 AC'97 Modem Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)
03:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
03:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
03:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
03:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
03:04.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Fri May 02, 2008 9:29 pm    Post subject: Reply with quote

Quote:
Code:
03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

make menuconfig and look for:
Quote:

Location:
│ -> Standard Options
│ -> Device Drivers
│ -> Network device support (NETDEVICES [=y])
│ -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=y]

In this section you find drivers for you card.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 02, 2008 9:32 pm    Post subject: Reply with quote

as i don't have that ethernet card, you'll get generic answers

1/ easy one -> try that url, might gave your the answer http://kmuto.jp/debian/hcl/index.cgi
2/ in your kernel, everywhere you see realtek ethernet stuff choose to build them as modules, udev will take the good one for you (ps: remember to make modules_install and reboot to update modules & let udev work for you)
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Fri May 02, 2008 10:32 pm    Post subject: Reply with quote

Now I am getting
Code:

err, eth0: socket: Address family not supported by protocol
err, eth0: sendto: Bad file descriptor

(not sure if this belongs here or in networking)
Damoncf
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 02, 2008 11:09 pm    Post subject: Reply with quote

unrelated to your network card :D
but still related to network, it's because you misconfigure your kernel (example: you didn't tell kernel to use tcp, ipv4 or the like)...

check gentoo documentation i think there is a good doc that help configure a kernel with "basics" needed features.
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Fri May 02, 2008 11:47 pm    Post subject: Reply with quote

Thanx that did it.

Damoncf
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