Guest User

FreeBSD wireless network configuration for NETCOMM NP910N

a guest
Jul 11th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. WIRELESS NETWORK NETCOMM NP910N DEVICE RECOGNISED:
  2.  
  3. Device NP910N uses the Ralink RT3070 chipset using the standard run driver.
  4. This is supported out of the box in FreeBSD 9.1 i386 and 10.1 i386 and AMD.
  5. As long as the wireless network is configured it should work immediately.
  6.  
  7. The USB adapter should be recognised as a wireless network adaptor:
  8.  
  9. > grep Ralink /var/run/dmesg.boot
  10. ugen4.2: <Ralink> at usbus4
  11. > dmesg | grep run
  12. run0: <1.0> on usbus4
  13. run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 00:60:64:b1:f9:7e
  14. run0: firmware RT2870 ver. 0.236 loaded
  15. > usbconfig -u 4 -a 2 dump_device_desc
  16. ugen4.2: <802.11 n WLAN Ralink> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
  17. idVendor = 0x148f
  18. idProduct = 0x3070
  19. iManufacturer = 0x0001 <Ralink>
  20. iProduct = 0x0002 <802.11 n WLAN>
  21.  
  22. run driver may be in GENERIC kernel or may require /boot/loader.conf if_run_load="YES"
  23.  
  24. > kldload if_run # manual load
  25. > kldstat -v | grep run
  26. 346 uhub/run
  27.  
  28. Some paths relevant to the driver load chain:
  29.  
  30. /sys/dev/usb/usbdevs
  31. /sys/dev/usb/wlan/if_run.c
  32. /usr/src/sys/modules/usb/
  33. /usr/src/sys/i386/conf/GENERIC
  34.  
  35.  
  36. CHECK WIRELESS NETWORK CONFIGURABLE:
  37.  
  38. Look for networks:
  39.  
  40. > ifconfig wlan0 create wlandev run0 # wlanmode sta
  41. > ifconfig wlan0 up scan
  42. > ifconfig wlan0 list scan
  43. SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
  44. Krinis 00:1e:8c:6f:90:11 6 54M -77:-95 100 EP WPA
  45. Hallelujah f8:1e:df:fe:94:a5 11 54M -67:-95 100 EPS RSN WPA WME
  46. > ifconfig wlan0 list countries
  47. Australia AU
  48. United Kingdom GB
  49. > ifconfig wlan0 channel 11 country AU
  50. > ifconfig wlan0 ssid thewirelessssid
  51.  
  52. Manual network start:
  53.  
  54. > /etc/rc.d/netif restart
  55. > /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid
  56. > dhclient wlan0
  57. DHCPREQUEST on wlan0 to 255.255.255.255 port 67
  58. DHCPACK from 10.0.1.1
  59. bound to 10.0.1.101 -- renewal in 43200 seconds.
Advertisement
Add Comment
Please, Sign In to add comment