Gentoo Archives: gentoo-user

From: Wang Xuerui <×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo installation, network adapter not supported
Date: Sat, 29 Jun 2013 11:04:00
In Reply to: [gentoo-user] Gentoo installation, network adapter not supported by Zind
1 2013/6/29 Zind <wzmindlog@×××××.com>:
2 > hi all,
3 > I am new to Gentoo. I came across some problems in the Gentoo installation
4 > process.
5 >
6 > I got a relatively new laptop: Lenovo IdeaPad Y400.
7 > The Gentoo iso I choose is: admincd-amd64-20130620.iso, from:
8 >
9 I once failed to install Hardened Gentoo to a server using the
10 admincd, so I'm not sure if you can proceed much further even if the
11 network is working.
13 Since after chroot the environment of LiveCD is not important any more
14 (except the running kernel, of course), you could simply use the
15 installation CD and a hardened stage3. If you are not trying to use
16 SELinux, this should be enough.
18 > After I made the LiveUSB, disabling the UEFI boot, I finally boot into the
19 > Gentoo kernel. But I could not connect to the network.
20 > Using the `ifconfig -a` command, I can only see the loopback interface: lo.
21 > Using the `lspci` command, I can see the two network adapters:
22 > (1) the Ethernet adapter
23 > Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet
24 > (2) the wireless adapter
25 > Network controller: Intel Corporation Centrino Wireless-N 2230
26 > Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
27 > (The two network adapters both work well under Windows 8.)
28 >
29 > After several times of STFW, I can confirm it's a network adapter driver
30 > support issue: lacks of coresponding network adapter drivers.
31 > For the AR8161 network adapter, it requires the alx kernal module: alx.ko.
32 > Previously, I thought I could at least compile this driver by myself, but
33 > soon I found it lacks of build-essential packages, too. :-(
34 The toolchain is present on the installation CD so it must be the admincd...
36 > For the wireless network adapter, I can find
37 > iwlwifi-2030-6.ucode(coresponding to Intel Centrino Wireless-N 2230 BGN
38 > adapter) under /lib/firmware, I tried the `modprobe iwlwifi` command, still
39 > doesn't work. Weird.
40 >
41 > Uh... I don't know what to do next to continue the installation.
42 > Any suggestion or advice is appreciated.
43 You can get the firmware files from the git tree of linux-firmware
44 project (browsable online). Then you can transfer them into the LiveCD
45 environment's /lib/firmware by means of a USB stick, for example,
46 after which you simply rmmod iwlagn && modprobe iwlagn.
48 Also, before you finally reboot to finish the installation make sure
49 you emerge linux-firmware, so that the required firmware files are
50 installed into the target system.
52 Hope this information helps~