View previous topic :: View next topic |
Author |
Message |
damoncf Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Fri May 02, 2008 8:53 pm Post subject: ethernet in the kernel |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
massimo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/601340297511bb264633a9.png)
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri May 02, 2008 9:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 02, 2008 9:32 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
damoncf Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Fri May 02, 2008 10:32 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 02, 2008 11:09 pm Post subject: |
|
|
unrelated to your network card
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 |
|
![](templates/gentoo/images/spacer.gif) |
damoncf Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Fri May 02, 2008 11:47 pm Post subject: |
|
|
Thanx that did it.
Damoncf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|