Neo FreeRunner Wifi

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
 
         group=TKIP CCMP
 
         group=TKIP CCMP
 
         psk="secret key"
 
         psk="secret key"
 +
        priority=50
 
  }
 
  }
 
   
 
   
Line 38: Line 39:
 
  # WEP:                                         
 
  # WEP:                                         
 
  network = {                                 
 
  network = {                                 
       ssid="meine_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="mein key"                   
+
       wep_key0="secret key"                   
 
       priority=8                             
 
       priority=8                             
 
  }
 
  }

Revision as of 19:03, 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="massinger"                      
     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="massinger"                      
     key_mgmt=NONE                         
     priority=5                            
}