Command line wifi configuration

From Studio Kousagi Wiki
Revision as of 17:02, 3 January 2012 by Bunnie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
    • If this is the first time you're plugging the device in, you'll probably have to wait for the NeTV to boot, register as an ethernet device, and then reboot it. The reason is that there is a 10-second window where the startup script checks for a valid ethernet connection to decide if to turn on sshd or not. If you miss the window, even though netv is booted and connected via USB, sshd will not be on.
  • ssh to 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:


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


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


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