Arietta G25/WiFi

Aus FabLab Nürnberg Wiki
Wechseln zu: Navigation, Suche
 root@arietta:~# lsusb
 Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
 root@arietta:~# iwconfig
 lo        no wireless extensions.
 usb0      no wireless extensions.
 sit0      no wireless extensions.
 wlan0     IEEE 802.11bgn  ESSID:off/any 
           Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
 
 root@arietta:~# vi /etc/network/interfaces
 auto lo
 iface lo inet loopback
   pre-up modprobe g_ether
   auto usb0
   iface usb0 inet static
   address 192.168.10.10
   netmask 255.255.255.0
   #gateway 192.168.10.20
 
 auto wlan0
 iface wlan0 inet dhcp
   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 ~
 ~
 ~
 
 root@arietta:~# vi /etc/wpa_supplicant/wpa_supplicant.conf
 network={
   ssid="<YOURSSID>"
   psk="<YOURPSK>"
   proto=RSN
   key_mgmt=WPA-PSK
   pairwise=CCMP
   auth_alg=OPEN
 }
 ~
 ~
 ~