Arietta G25/WiFi: Unterschied zwischen den Versionen

Aus FabLab Region Nürnberg
(Die Seite wurde neu angelegt: „ <nowiki> root@arietta:~# lsusb Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Founda…“)
 
(add: Kategorie:Elektronik)
 
(2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
<nowiki>
  '''root@arietta:~# lsusb'''
root@arietta:~# lsusb
  Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
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 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
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
  }
  ~
  ~
  ~


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
[[Kategorie:Elektronik]]
auto lo
[[Kategorie:Mikrocontroller]]
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
}
~
~
~
</nowiki>

Aktuelle Version vom 10. Mai 2015, 17:23 Uhr

 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
 }
 ~
 ~
 ~