Page 1 of 1

[Solved]please help asus n13 wifi usb not working in porteus

Posted: 10 Oct 2013, 14:54
by linuxnoob
please help i'm a complete linux newbie and i cant seem to get this wifi usb stick to work with porteus, i bought this one because i heard it was linux compatible.

both pns-tool and xpns-tool failed, heres my xpsinfo http://pastebin.com/BjeVEXd8

Re: please help asus n13 wifi usb not working in porteus

Posted: 10 Oct 2013, 17:12
by fanthom
log file shows that your card is ready:

Code: Select all

Oct 11 00:17:50 porteus kernel: [    6.110628] rtl8192cu: Chip version 0x11
Oct 11 00:17:50 porteus kernel: [    6.198688] rtl8192cu: MAC address: 74:d0:2b:3d:02:13
Oct 11 00:17:50 porteus kernel: [    6.198697] rtl8192cu: Board Type 0
Oct 11 00:17:50 porteus kernel: [    6.198931] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
Oct 11 00:17:50 porteus kernel: [    6.198986] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
Oct 11 00:17:50 porteus kernel: [    6.199090] usbcore: registered new interface driver rtl8192cu
and just yesterday i got a report that smilar card (the only difference is the chip being in version 0x10) is working for gabe:
http://forum.porteus.org/viewtopic.php? ... 658#p18367

you may try to use never firmware from slackware-current:
http://ftp.heanet.ie/mirrors/ftp.slackw ... arch-1.txz
please convert this package to xzm, move to /porteus/modules and reboot.

Re: please help asus n13 wifi usb not working in porteus

Posted: 10 Oct 2013, 23:42
by linuxnoob
i converted the new firmware module to xzm and put in base folder with other modules unfortunately wifi still doesnt work any other ideas?

Re: please help asus n13 wifi usb not working in porteus

Posted: 10 Oct 2013, 23:48
by Slaxmax
In base folder rename the module to 006-name_module.xzm

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 00:26
by linuxnoob
tried putting the firmware in modules folder and prefixing 006 and putting in base folder with same result

heres the output from xpns-tool

guest@porteus:~$ xpns-tool
device="wlan0" junk="" EXIT="_Select"
wlan0: Trying to associate with 08:86:3b:78:56:ae (SSID='belkin.6ae' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Associated with 08:86:3b:78:56:ae
wlan0: WPA: Key negotiation completed with 08:86:3b:78:56:ae [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 08:86:3b:78:56:ae completed (auth) [id=0 id_str=]
Activating pns-tool settings
wlan0: CTRL-EVENT-DISCONNECTED bssid=08:86:3b:78:56:ae reason=0
wlan0: CTRL-EVENT-TERMINATING - signal 15 received
EXIT="OK"

and from iwconfig

eth0 no wireless extensions.

eth1 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 00:31
by linuxnoob
and output from pns-tool

Line 7: unknown network field 'fast_reauth'.
Line 14: failed to parse network block.
Failed to read or parse configuration '/tmp/pns-tool/etc/wpa_supplicant.conf'.
Wait a few seconds for dhcpcd, which needs to acquire all details for your device.
If you have trouble please paste this debug info on the Porteus forum:

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 00:37
by brokenman
unfortunately wifi still doesnt work any other ideas?
Please tell us which desktop you are using (pastebin is not working right now). If you open a console and type: iwlist wlan0 scan
Do you get any output? If so then your card is active and functional. Do you see a networkmanager icon in the panel of your desktop?

How did you convert the slackware package to a module?

PS: Good to see more Aussies aboard.

EDIT: Pastebin working now and I see you have XFCE. Here is what I would try.
1) Open a console and remove the kernel module and then re-add it.
modprobe -r rtl8192cu && modprobe rtl8192cu
Now test wifi.

Blacklist this driver to see what happens at next boot.
mkdir -p /mnt/sdxY/porteus/rootcopy/etc/modprobe.d
echo "blacklist rtl8192cu" >> /mnt/sdxY/porteus/rootcopy/etc/modprobe.d/rtl8192-blacklist.conf

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 01:10
by linuxnoob
strange i noticed at boot up the new firmware module didnt load as it was corrupted i used right click to convert to xzm not sure if thats the right way to do it

its working now anyway theres a network icon in xfce that allowed me to connect and i'm now posting this from within porteus, i knew it must be something simple but couldnt figure it out, thanks everyone for your help

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 01:14
by linuxnoob
i'm still not sure why xpns-tool fails to test connection though and the led on the wifi stick stays constantly on whereas in windows it flickers not sure if that matters but its working fine

Re: please help asus n13 wifi usb not working in porteus

Posted: 11 Oct 2013, 01:14
by brokenman
Excellent.