diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-10-11 23:05:16 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-10-11 23:05:16 +0000 |
commit | 0f7b0ae7deb248ca9cd16e0149cb5661d0925e35 (patch) | |
tree | 59f2e8b3f1cd2bb4bb6c725f8cb305876285c3d6 /target/linux/ar71xx/base-files | |
parent | 0f944343dd850a519bbfb9e347e69bdd05ad9fd9 (diff) |
linux: ar71xx: add support for Mikrotik Routerboard RB493G
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/defconfig/rb-493g/network | 41 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
2 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/rb-493g/network b/target/linux/ar71xx/base-files/etc/defconfig/rb-493g/network new file mode 100644 index 000000000..013a63ef2 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/rb-493g/network @@ -0,0 +1,41 @@ +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 ifname "eth0 eth1.1" + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + +config interface wan + option ifname eth1.2 + option proto dhcp + +config switch + option name switch0 + option reset 1 + option enable_vlan 1 + +config switch_vlan + option device switch0 + option vlan 1 + option ports "0 1 2 3 4" + +config switch + option name switch1 + option reset 1 + option enable_vlan 1 + +config switch_vlan + option device switch1 + option vlan 1 + option ports "0t 1 2 3 4" + +config switch_vlan + option device switch1 + option vlan 2 + option ports "0t 5" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 3c3dd1a86..d099d39df 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -91,6 +91,9 @@ ar71xx_board_name() { *"RouterBOARD 493/AH") name="rb-493" ;; + *"RouterBOARD 493G") + name="rb-493g" + ;; *"RouterBOARD 750") name="rb-750" ;; |