Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
RoboGrinch
n00b
n00b


Joined: 30 Dec 2015
Posts: 37

PostPosted: Wed Dec 30, 2015 7:18 pm    Post subject: No Network Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Dec 30, 2015 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
RoboGrinch
n00b
n00b


Joined: 30 Dec 2015
Posts: 37

PostPosted: Wed Dec 30, 2015 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Dec 30, 2015 10:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Wed Dec 30, 2015 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
RoboGrinch
n00b
n00b


Joined: 30 Dec 2015
Posts: 37

PostPosted: Fri Jan 01, 2016 12:32 am    Post subject: Reply with quote

Thanks guys this worked perfectly...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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