1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ramips: rt305x: add support for Edimax 3G-6200N

Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-07-12 13:29:46 +00:00
parent 7f1dc18d4b
commit 533fe2fa9f
13 changed files with 122 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ preinit_set_mac_address() {
. /lib/ramips.sh
case $(ramips_board_name) in
3g-6200n)
mac=$(ramips_get_mac_binary factory 4)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
bc2 |\
esr-9753 |\
freestation5 |\

View File

@@ -47,6 +47,9 @@ ramips_board_name() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
*"Edimax 3g-6200n")
name="3g-6200n"
;;
*"Allnet ALL0256N")
name="all0256n"
;;

View File

@@ -14,6 +14,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
3g-6200n | \
all0256n | \
bc2 | \
dir-300-b1 | \