Neo FreeRunner Wifi

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 29: Line 29:
 
  }
 
  }
 
   
 
   
  # WPA:                                      
+
  # WPA:
  network = {                                
+
  network = {
       ssid="your_ssid"                    
+
       ssid="your_ssid"
       scan_ssid=1                          
+
       scan_ssid=1
       psk"secret key"                        
+
       psk="secret key"
       priority=10                          
+
       priority=10
  }    
+
  }
 
   
 
   
  # WEP:                                      
+
  # WEP:
  network = {                                
+
  network = {
       ssid="your_ssid"                    
+
       ssid="your_ssid"
       scan_ssid=1                          
+
       scan_ssid=1
       key_mgmt=NONE                        
+
       key_mgmt=NONE
       wep_tx_keyidx=0                      
+
       wep_tx_keyidx=0
       wep_key0="secret key"                  
+
       wep_key0="secret key"
       priority=8                          
+
       priority=8
 
  }
 
  }
 
   
 
   
  # Open:                                      
+
  # Open:
  network={                                  
+
  network={
       ssid="massinger"                    
+
       ssid="your ssid"
       key_mgmt=NONE                        
+
       key_mgmt=NONE
       priority=5                          
+
       priority=5
 
  }
 
  }

Revision as of 19:06, 3 July 2008

To get wlan working with your NeoFreerunner, you can follow these steps:

1. create and edit a suitable /etc/wpa_supplicant/wpa_supplicant.conf (use your favourite search engine to get known the syntax)

2. execute `ifup eth0`

3. execute `wpa_supplicant -ieth0 -c/etc/wpa_supplicant/wpa_supplicant.conf` (you can add a & for running in background)

4. get a IP via dhcp: `udhcpc eth0`

that's it, your wlan should work

Sample wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1

# WPA2:
network={
       ssid="your ssid"
       scan_ssid=1
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=TKIP CCMP
       psk="secret key"
       priority=50
}

# WPA:
network = {
      ssid="your_ssid"
      scan_ssid=1
      psk="secret key"
      priority=10
}

# WEP:
network = {
     ssid="your_ssid"
     scan_ssid=1
     key_mgmt=NONE
     wep_tx_keyidx=0
     wep_key0="secret key"
     priority=8
}

# Open:
network={
     ssid="your ssid"
     key_mgmt=NONE
     priority=5
}
Personal tools

To get wlan working with your NeoFreerunner, you can follow these steps:

1. create and edit a suitable /etc/wpa_supplicant/wpa_supplicant.conf (use your favourite search engine to get known the syntax)

2. execute `ifup eth0`

3. execute `wpa_supplicant -ieth0 -c/etc/wpa_supplicant/wpa_supplicant.conf` (you can add a & for running in background)

4. get a IP via dhcp: `udhcpc eth0`

that's it, your wlan should work

Sample wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1

# WPA2:
network={
       ssid="your ssid"
       scan_ssid=1
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=TKIP CCMP
       psk="secret key"
       priority=50
}

# WPA:
network = {
      ssid="your_ssid"
      scan_ssid=1
      psk="secret key"
      priority=10
}

# WEP:
network = {
     ssid="your_ssid"
     scan_ssid=1
     key_mgmt=NONE
     wep_tx_keyidx=0
     wep_key0="secret key"
     priority=8
}

# Open:
network={
     ssid="your ssid"
     key_mgmt=NONE
     priority=5
}