omap24xx: Add default network config
SVN-Revision: 23004
This commit is contained in:
parent
f0813cd0f5
commit
4b7536d3c7
2 changed files with 29 additions and 0 deletions
9
target/linux/omap24xx/base-files/etc/config/network
Normal file
9
target/linux/omap24xx/base-files/etc/config/network
Normal file
|
@ -0,0 +1,9 @@
|
|||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option proto dhcp
|
||||
|
20
target/linux/omap24xx/base-files/etc/config/wireless
Normal file
20
target/linux/omap24xx/base-files/etc/config/wireless
Normal file
|
@ -0,0 +1,20 @@
|
|||
config wifi-device radio0
|
||||
option type mac80211
|
||||
option phy phy0
|
||||
option channel auto
|
||||
# TODO: CHANGE THE MAC-ADDRESS:
|
||||
option macaddr 00:11:22:33:44:55
|
||||
option hwmode 11g
|
||||
# option country DE
|
||||
|
||||
# REMOVE THIS LINE TO ENABLE WIFI:
|
||||
option disabled 1
|
||||
|
||||
config wifi-iface
|
||||
option device radio0
|
||||
option powersave 1
|
||||
option network lan
|
||||
option mode sta
|
||||
option ssid OpenWrt
|
||||
# option encryption psk2
|
||||
# option key "foobar"
|
Loading…
Reference in a new issue