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

Post here if you are a new Porteus member and you're looking for some help.
linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#1 by linuxnoob » 10 Oct 2013, 14:54

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
Last edited by linuxnoob on 11 Oct 2013, 01:35, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#2 by fanthom » 10 Oct 2013, 17:12

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.
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#3 by linuxnoob » 10 Oct 2013, 23:42

i converted the new firmware module to xzm and put in base folder with other modules unfortunately wifi still doesnt work any other ideas?

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

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

Post#4 by Slaxmax » 10 Oct 2013, 23:48

In base folder rename the module to 006-name_module.xzm
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#5 by linuxnoob » 11 Oct 2013, 00:26

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

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#6 by linuxnoob » 11 Oct 2013, 00:31

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:

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#7 by brokenman » 11 Oct 2013, 00:37

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#8 by linuxnoob » 11 Oct 2013, 01:10

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

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

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

Post#9 by linuxnoob » 11 Oct 2013, 01:14

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#10 by brokenman » 11 Oct 2013, 01:14

Excellent.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply