Command line wifi configuration

From Studio Kousagi Wiki
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 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" />