Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Wireless USB attached but not assigned as WLAN0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MJaoune
n00b
n00b


Joined: 19 Jun 2013
Posts: 11

PostPosted: Wed Jun 19, 2013 12:23 pm    Post subject: [SOLVED]Wireless USB attached but not assigned as WLAN0 Reply with quote

Hi,

I have installed Gentoo successfully and configured the kernel by requiring anything related to networking and USB devices.

So to begin with, I have a TP-Link WR721N (Which works good with other Linux distros, so its compatible with linux), it is a USB Wireless adapter, so I just attach it to the computer and it should work.

Well actually I attached it while using Gentoo and it was recognized correctly (It was recognized as any other Linux distro recognize it: Atheros AR9271 802.11n (ocf3:9271)) and it is listed in lsusb, but the problem is that, when I use ifconfig -a there is no WLAN0, only my ethernet and lo.

I tried using iwconfig, but it returns that none of the devices has wireless extensions. I tried wicd-curses, but it can't find any access points (The router is next to the computer).

I tried emerging linux-firmware, reinstalling dbus, reinstalling wicd, adding more configurations to the kernel, but no luck. Also tried /etc/init.d/net.wlan0 start but it could not find a wireless device.

It is recognized as WLAN0 only when I chroot to Gentoo (Through PartedMagic).

Please help me, I need an internet connection asap, and please try not to ask me to give you outputs since its hard without a connection (I have to chroot through PartedMagic each time I want to do something that needs Internet connection)

Best,
MJaoune

P.S I have installed Gentoo using PartedMagic Live-CD. And yes, I do reboot after configuring the kernel -.-


Last edited by MJaoune on Thu Jun 20, 2013 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Wed Jun 19, 2013 12:26 pm    Post subject: Reply with quote

post the complete dmesg output after a restart with the usb adapter plugged in.
Back to top
View user's profile Send private message
MJaoune
n00b
n00b


Joined: 19 Jun 2013
Posts: 11

PostPosted: Wed Jun 19, 2013 3:40 pm    Post subject: Reply with quote

roarinelk wrote:
post the complete dmesg output after a restart with the usb adapter plugged in.


Here is the full dmesg after booting while the Wifi USB is plugged in:

The bbcode in this forum is glitchy, so I put the dmesg output in pastebin: http://pastebin.com/CiSLRTsF

Best,
MJaoune
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Jun 20, 2013 1:25 pm    Post subject: Reply with quote

Judging from the log, you need to enable CONFIG_ATH9K_HTC in your kernel config.
Back to top
View user's profile Send private message
MJaoune
n00b
n00b


Joined: 19 Jun 2013
Posts: 11

PostPosted: Thu Jun 20, 2013 4:00 pm    Post subject: Reply with quote

Thank you for trying to help, your answer is correct, but the problem was solved.

I had to make the Atheros drivers as Modules in the Kernel instead of Built Ins, that made the wlan0 work.

I also had to set the driver as nl80211 instead of wext in wpa_supplicant.

Thanks to eroen (In #gentoo IRC channel) whom given me the solutions.

Best,
MJaoune
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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