View previous topic :: View next topic |
Author |
Message |
RoboGrinch n00b
Joined: 30 Dec 2015 Posts: 37
|
Posted: Wed Dec 30, 2015 7:18 pm Post subject: No Network |
|
|
Hi I have just finished a fresh install of gentoo and when I boot up I have no network card showing up for eth0.
I have ran ifconfig and it shows a loopback and a wireless card but not ethernet.
The eth0 loaded ok when booting to live cd.
please can I get a hand. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Dec 30, 2015 7:41 pm Post subject: |
|
|
RoboGrinch ... welcome to gentoo.
The most obvious reason is that you omited to enable the driver in the kernel. Assuming you can't connect via wireless then boot the cd, chroot, 'emerge sys-apps/pciutils', and run the following:
Code: | # lspci -v | awk -v RS= '/Ether/{print $0 "\n"}' |
... this should provide info on the ethernet controller. You can then search for the card, and the respective driver, and check to see its enabled in the kernel ... or provide that info here.
best ... khay |
|
Back to top |
|
|
RoboGrinch n00b
Joined: 30 Dec 2015 Posts: 37
|
Posted: Wed Dec 30, 2015 9:51 pm Post subject: |
|
|
Hi
Thanks for the help...
It says I have a Qualcom Atheros AR8161 Ethernet
What can I do to add this to the kernal?
Thanks
Chris |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Dec 30, 2015 10:04 pm Post subject: |
|
|
RoboGrinch wrote: | It says I have a Qualcom Atheros AR8161 Ethernet |
RoboGrinch ... that would be the alx driver. So, you'll find it under 'drivers => net => ethernet => atheros' in menuconfig.
If you used genkernel (and I assume you did) you would run 'genkernel --menuconfig all' ... and navigate to CONFIG_ALX and enable it (either as a module or builtin).
best & you're welcome ... khay |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 30, 2015 10:12 pm Post subject: |
|
|
RoboGrinch,
You need the ALX module.
If you are a genkernel user, when genkernel drops you into menuconfig, press / and enter ALX
Among other things, it will tell you Code: | │ Symbol: ALX [=n]
│ Type : tristate
│ Prompt: Qualcomm Atheros AR816x/AR817x support
│ Location:
│ -> Device Drivers
│ -> Network device support (NETDEVICES [=y])
│ -> Ethernet driver support (ETHERNET [=y])
│ (1) -> Atheros devices (NET_VENDOR_ATHEROS [=y])
│ Defined at drivers/net/ethernet/atheros/Kconfig:64
│ Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_ATHEROS [=y] && PCI [=y]
│ Selects: CRC32 [=y] && MDIO [=n] |
Follow the location and set it to <*> or to <M>.
Unless all the Depends on: are selected the option will be hidden.
Let genkernel do its thing. If you are not a genkernel user, rebuild and reinstall your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
RoboGrinch n00b
Joined: 30 Dec 2015 Posts: 37
|
Posted: Fri Jan 01, 2016 12:32 am Post subject: |
|
|
Thanks guys this worked perfectly... |
|
Back to top |
|
|
|