Command line wifi configuration

From Studio Kousagi Wiki
Revision as of 16:27, 3 January 2012 by Bunnie (talk | contribs)
Jump to: navigation, search

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" />