Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Having Trouble with Wireless Interface
Date: Tue, 13 May 2014 13:54:08
Message-Id: 537223F4.1040507@gmail.com
In Reply to: RE: [gentoo-user] Having Trouble with Wireless Interface by Hunter Jozwiak
1 On 05/13/2014 04:25 PM, Hunter Jozwiak wrote:
2 >
3 > -----Original Message-----
4 > From: Alexander Kapshuk [mailto:alexander.kapshuk@×××××.com]
5 > Sent: Tuesday, May 13, 2014 8:20 AM
6 > To: gentoo-user@l.g.o
7 > Subject: Re: [gentoo-user] Having Trouble with Wireless Interface
8 >
9 > On 05/13/2014 02:45 PM, Hunter Jozwiak wrote:
10 >> -----Original Message-----
11 >> From: Alexander Kapshuk [mailto:alexander.kapshuk@×××××.com]
12 >> Sent: Tuesday, May 13, 2014 7:00 AM
13 >> To: gentoo-user@l.g.o
14 >> Subject: Re: [gentoo-user] Having Trouble with Wireless Interface
15 >>
16 >> On 05/12/2014 10:31 PM, Hunter Jozwiak wrote:
17 >>> Hi all. I got Espeakup to finally function, but I have a problem now
18 >>> with my Realtech 8188 WiFi adapter, Rev01, according to ifconfig. I
19 >>> know it shows up as wlp7s0 on an ifconfig, normally. But for what
20 >>> ever reason, it isn't showing up. I have, in my /etc/conf.d/net the line:
21 >>> wlp7s0="DHCP". When I run ifconfig wlp7s0 up, I get an error about
22 >>> how the device is not able to be found. The driver shows up as a
23 >>> module in the kernel.
24 >>>
25 >> I use wpa_supplicant to manage my wireless connections.
26 >> Here's what I have in my /etc/conf.d/net:
27 >> # Prefer wpa_supplicant over wireless-tools modules="wpa_supplicant"
28 >>
29 >> wpa_supplicant_wlp2s0="-Dnl80211"
30 >>
31 >> And the output of lspci:
32 >> 02:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless
33 >> Network Adapter (PCI-Express) (rev 01)
34 >> Subsystem: Hewlett-Packard Company Device 137b
35 >> Flags: bus master, fast devsel, latency 0, IRQ 16
36 >> Memory at d6000000 (64-bit, non-prefetchable) [size=64K]
37 >> Capabilities: [40] Power Management version 2
38 >> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
39 >> Capabilities: [60] Express Legacy Endpoint, MSI 00
40 >> Capabilities: [90] MSI-X: Enable- Count=1 Masked-
41 >> Capabilities: [100] Advanced Error Reporting
42 >> Capabilities: [140] Virtual Channel
43 >> Kernel driver in use: ath5k
44 >> Kernel modules: ath5k
45 >>
46 >> Are you setting up wireless after doing a fresh install, or did you
47 >> have it working before and then it just stopped working for you?
48 >>
49 >> This is fresh. And genkernel doesn't show RTL8188CE in the staging
50 > drivers.
51 >> It shows drivers with uffixes U and Eu, but not the CE driver.
52 >>
53 >>
54 > Looks like the kernel driver for your wireless NIC is RTL8192CE
55 > ---------------------------------------------------------------------
56 > /usr/src/linux/drivers/net/wireless/rtlwifi/Kconfig:12,22
57 > config RTL8192CE
58 > tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter"
59 > depends on PCI
60 > select RTL8192C_COMMON
61 > select RTLWIFI
62 > select RTLWIFI_PCI
63 > ---help---
64 > This is the driver for Realtek RTL8192CE/RTL8188CE 802.11n PCIe
65 > wireless network adapters.
66 >
67 > If you choose to build it as a module, it will be called rtl8192ce
68 > ---------------------------------------------------------------------
69 > If you like to check if RTL8192CE is enabled in your kernel's .config file.
70 > If it isn't, you probably want to compile it as a module, and then add
71 > rtl8192ce to /etc/conf.d/modules as well.
72 >
73 > Oddly enough, I had a few other CONFIG modules not included, namely
74 > CONFIG_80211. But, when I activated it, my kernel got bricked, and on
75 > reboot, I got dumped in some prompt that said that the system couldn't find
76 > a root and I should press Enter to continue, Q to skip, and something else
77 > would give me a shell. I just did a genkernel --menuconfig kernel and built
78 > in the modules, the compile went smooth, and I made no other changes. But
79 > now, like I've mentioned, I've got a bricked kernel.
80 >
81 >
82 Did your genkernel boot OK, before you enabled 'CONFIG_.*80211'?
83 What output does the command line shown below return?
84 grep '^CONFIG.*80211.*=[nmy]' /usr/src/linux/.config
85 Here's what I get on my system:
86 CONFIG_CFG80211=y
87 CONFIG_CFG80211_DEFAULT_PS=y
88 CONFIG_MAC80211=y
89 CONFIG_MAC80211_HAS_RC=y
90 CONFIG_MAC80211_RC_MINSTREL=y
91 CONFIG_MAC80211_RC_MINSTREL_HT=y
92 CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
93 CONFIG_MAC80211_LEDS=y
94
95 I assume you also ran 'genkernel all' after running 'genkernel
96 --menuconfig', didn't you?
97
98 What's the contents of your /etc/conf.d/modules?
99
100 /etc/fstab?
101
102 and what's the output of 'mount|grep ^/dev'?

Replies

Subject Author
Re: [gentoo-user] Having Trouble with Wireless Interface Alexander Kapshuk <alexander.kapshuk@×××××.com>