Skip to content

Commit

Permalink
ramips: minew g1-c: use default static address for lan instead of dhcp
Browse files Browse the repository at this point in the history
As Adrian Schmutzler suggested on github [1] the device should follow the
default behaviour on ethernet using a static address instead using dhcp.

[1] openwrt@8d497b6

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
  • Loading branch information
lynxis committed Aug 31, 2021
1 parent 3e16866 commit c39be8e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
Expand Up @@ -15,6 +15,7 @@ ramips_setup_interfaces()
glinet,vixmini|\
hak5,wifi-pineapple-mk7|\
mediatek,linkit-smart-7688|\
minew,g1-c|\
onion,omega2p|\
onion,omega2|\
ravpower,rp-wd009|\
Expand All @@ -33,11 +34,6 @@ ramips_setup_interfaces()
ucidef_add_switch_attr "switch0" "enable" "false"
ucidef_set_interface_lan "eth0"
;;
minew,g1-c)
ucidef_add_switch "switch0"
ucidef_add_switch_attr "switch0" "enable" "false"
ucidef_set_interface_lan "eth0" "dhcp"
;;
asus,rt-n10p-v3|\
asus,rt-n11p-b1|\
asus,rt-n12-vp-b1|\
Expand Down

0 comments on commit c39be8e

Please sign in to comment.