Translations of this page:
Location: /var/tvip/network.XXX (XXX - interface name (like eth0))
Format:
Option | Required? | Description |
DISABLED | no | if has value, interface will be disabled |
IPADDR | yes | Static ip address |
NETMASK | yes | Static netmask |
GATEWAY | no | Static gateway |
DNS | no | Static DNS |
METRIC | no | by default: 1 for ethernel, 5 for wifi |
WIFI_SSID | yes for wifi | Wifi SSID |
WIFI_WPA_PASSPHRASE | no | WPA password |
WIFI_WEP_PASSPHRASE | no | WEP password |
Example:
DISABLED=1 IPADDR=192.168.10.1 NETMASK=255.255.255.0 GATEWAY=192.168.10.1 DNS=192.168.2.3 DNS=192.168.2.5 METRIC=1 WIFI_SSID=mynetwork WIFI_WPA_PASSPHRASE=pass1234 #wep disable #WIFI_WEP_PASSPHRASE=pass1234
Notes:
Network up/down:
/etc/init.d/network stop /etc/init.d/network start /etc/init.d/network restart