You are not logged in.

#1 2015-08-15 09:23:16

etognoni
Member
Registered: 2012-04-14
Posts: 12

[SOLVED] usb-N13 Device 005: ID 0b05:17ab trouble with connection

this is notebook with usb-N13 Bus 004 Device 005: ID 0b05:17ab ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter (rev. B1) [Realtek RTL8192CU]
to run wireless connection i modprob -r native laptop old atheros
and add driver:

modprobe -r ath5k && modprobe -r rtl8192cu &&  modprobe rtl8192cu swenc=1 
iw dev wlan1 set type ibss
[root@localhost enrico]# sudo ip link set wlan0 up
[root@localhost enrico]# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant-adhoc.conf -D nl80211 -ddt

This is the output -dddt:
http://pastebin.com/6VAGcc9d
i Installed this:

aur/8192cu-dkms v4.0.2_9000-8 [installed] (62)
    Driver for Realtek RTL8188CUS (8188C, 8192C) chipset wireless cards

This is wpa ad-hoc file conf:

[root@localhost enrico]# cat /etc/wpa_supplicant/wpa_supplicant-adhoc.conf 
# /etc/wpa_supplicant-adhoc.conf
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

# use 'ap_scan=2' on all devices connected to the network
ap_scan=2[

network={
	ssid="stoccafisso"
	key_mgmt=WPA-PSK
	proto=RSN
	psk="1q2w3e4r5t6y7u8i"
	mode=1
	frequency=2412
	pairwise=CCMP
	group=CCMP
}

this is other side :

This is the client

lspci -k
Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
        DeviceName: Atheros WLAN Atheros Marilyn HB125 1x1 802.11bgn
        Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1×1 Wi-Fi Adapter
        Kernel driver in use: ath9k
        Kernel modules: ath9

iwconfig
wlo1      IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

At this point i run 2 script, i remove the laptop wireless device since  i have 2 usb-n13 i suppose once is solved for 1 is for both.

cat up.sh 
modprobe -r ath9k && modprobe -r rtl8192cu &&  modprobe rtl8192cu swenc=1
rfkill unblock all
ip link set dev wlo1 up

wlo1* is changed now is a bit more complex depending on wich usb now is: wlp0s20u2 or similar

cat wpa.sh 
wpa_supplicant -dddt -i wlo1 -c /etc/wpa_supplicant/example.conf -D nl80211,wext

where example.conf is:

# /etc/wpa_supplicant/example.conf
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

# use 'ap_scan=2' on all devices connected to the network
ap_scan=2

# access point network with RSN
network={
	ssid="stoccafisso"
	key_mgmt=WPA-PSK
	proto=RSN
	psk="1q2w3e4r5t6y7u8i"
	mode=2
	frequency=2412
	pairwise=CCMP
	group=CCMP
}

this is head -n1000 output of wpa_supplicant -dddt:

http://sprunge.us/EaBJ

Im blocked here, i cant get connection, i need help

thanks you for help ciao

Last edited by etognoni (2015-08-18 15:54:49)

Offline

#2 2015-08-15 09:32:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] usb-N13 Device 005: ID 0b05:17ab trouble with connection

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

...and include an actual question: https://wiki.archlinux.org/index.php/Fo … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-18 15:53:38

etognoni
Member
Registered: 2012-04-14
Posts: 12

Re: [SOLVED] usb-N13 Device 005: ID 0b05:17ab trouble with connection

if the device wireless is on, and you know names (wlan0 and wlo1 in this case are devices wireless ppp0 is internet connection device)
you can create access point with:

create_ap wlan0 ppp0 stoccafisso 1q2w3e4r5t6y7u8i9o0p # crea access point and manage IP

To access internet from client:

wpa_supplicant -B -f wpalog -D nl80211 -i wlo1 -c <(wpa_passphrase "stoccafisso" "1q2w3e4r5t6y7u8i9o0p") # client to connect access point
dhclient wlo1 # get IP for client

ciao e buon linux

Offline

Board footer

Powered by FluxBB