Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - how to use devnp-rum.so ?: (2 Items)
   
how to use devnp-rum.so ?  
Hi QNX,

             beaglebone black, QNX 6.5SP1, bsp-nto650-ti-beaglebone-sp1-trunk-201209071340, devnp-rum.so, 
             148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter

I am working on this usb wifi dongle, RT2501/RT2573 Wireless Adapter, with beaglebone black on QNX 6.5SP1.

# io-pkt-v4-hc -drum
# ifconfig rum0 up
# wpa_supplicant -B -i rum0 -c /etc/wpa_supplicant.conf
# dhcp.client -i rum0
#  if_up -r 15 rum0     

       if_up: retries exhausted
       Process 131097 (if_up) exited status=7.

# ifconfig rum0

rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid MYWIFI nwkey 65536:"","","",""
	powersave off
	bssid 28:6c:07:9a:c1:8d chan 4
	address: 78:44:76:7a:8c:af
	media: IEEE802.11 autoselect (OFDM36 mode 11g)
	status: active
	inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255

# cat /etc/wpa_supplicant.conf 
network={
    ssid="MYWIFI"
    psk="1234567890"
}

I also tried to setup a fixed network address,

# io-pkt-v4-hc -drum
# ifconfig rum0 up
# wpa_supplicant -B -i rum0 -c /etc/wpa_supplicant.conf
# ifconfig rum0 192.168.31.201
# ifconfig rum0

rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid MYWIFI nwkey 65536:"","","",""
	powersave off
	bssid 28:6c:07:9a:c1:8d chan 4
	address: 78:44:76:7a:8c:af
	media: IEEE802.11 autoselect (OFDM36 mode 11g)
	status: active
	inet 192.168.31.201 netmask 0xffffff00 broadcast 192.168.31.255

# ping 192.168.31.1

PING 192.168.31.1 (192.168.31.1): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down

The router is working fine, my lapton/smart phone are surfing INTERNET now. 

Please advise, thanks in advance

Mike
Re: how to use devnp-rum.so ?  
update

I disabled security of my router, then configure /etc/wpa_supplicant.conf 

network={
ssid="MYWIFI"
key_mgmt=NONE
}

RT2501/RT2573 USB dongle is able to DHCP wifi address, and ping router 192.168.31.1

However, never able to get WPA-PSK working. 

network={
    ssid="MYWIFI"
    key_mgmt=WPA-PSK
    psk="1234567890"
}

Please advise, thanks in advance.

Mike