Difference between revisions of "Command line wifi configuration"

From Studio Kousagi Wiki
Jump to: navigation, search
Line 22: Line 22:
 
/etc/init.d/NetworkManager restart
 
/etc/init.d/NetworkManager restart
 
</code>
 
</code>
 +
 +
This should get your device onto the wifi network with the specified SSID and encryption mechanism. Other example network_config templates:
 +
 +
'''open''''
 +
<configuration allocation="dhcp" encryption="NONE" auth="OPEN" hwaddr="" ssid="ChumbyTest" type="wlan" />
 +
 +
'''WEP'''
 +
<configuration type='wlan' ssid='wepAP' allocation='dhcp' auth='WEP'    key='1234567890' encoding='hex' encryption='WEPAUTO'/>
 +
 +
'''WPA2'''
 +
<configuration allocation="dhcp" encryption="AES" auth="WPAPSK" key="foobar" ssid="yourssid" type="wlan" />

Revision as of 16:27, 3 January 2012

If you don't have a remote control for your NeTV, or you lost it, you can still configure wifi.

Do the following:

  • Plug NeTV into the USB port of your computer
  • wait for NeTV to boot and register as an ethernet device.
  • ssh to 10.0.88.1 as root
  • from here, you will need to do the following:

cd /psp

cat > network_config

<configuration allocation="dhcp" encryption="AES" auth="WPAPSK" key="foobar" ssid="yourssid" type="wlan" /> ^D

killall hostapd

killall dnsmasq

/etc/init.d/NetworkManager restart

This should get your device onto the wifi network with the specified SSID and encryption mechanism. Other example network_config templates:

open'

<configuration allocation="dhcp" encryption="NONE" auth="OPEN" hwaddr="" ssid="ChumbyTest" type="wlan" />

WEP

<configuration type='wlan' ssid='wepAP' allocation='dhcp' auth='WEP'    key='1234567890' encoding='hex' encryption='WEPAUTO'/>

WPA2

<configuration allocation="dhcp" encryption="AES" auth="WPAPSK" key="foobar" ssid="yourssid" type="wlan" />