ramips: minew g1-c: use default static address for lan instead of dhcp
As Adrian Schmutzler suggested on github [1] the device should follow the
default behaviour on ethernet using a static address instead using dhcp.
[1] 8d497b6570
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
			
			
This commit is contained in:
		| @@ -15,6 +15,7 @@ ramips_setup_interfaces() | |||||||
| 	glinet,vixmini|\ | 	glinet,vixmini|\ | ||||||
| 	hak5,wifi-pineapple-mk7|\ | 	hak5,wifi-pineapple-mk7|\ | ||||||
| 	mediatek,linkit-smart-7688|\ | 	mediatek,linkit-smart-7688|\ | ||||||
|  | 	minew,g1-c|\ | ||||||
| 	onion,omega2p|\ | 	onion,omega2p|\ | ||||||
| 	onion,omega2|\ | 	onion,omega2|\ | ||||||
| 	ravpower,rp-wd009|\ | 	ravpower,rp-wd009|\ | ||||||
| @@ -33,11 +34,6 @@ ramips_setup_interfaces() | |||||||
| 		ucidef_add_switch_attr "switch0" "enable" "false" | 		ucidef_add_switch_attr "switch0" "enable" "false" | ||||||
| 		ucidef_set_interface_lan "eth0" | 		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-n10p-v3|\ | ||||||
| 	asus,rt-n11p-b1|\ | 	asus,rt-n11p-b1|\ | ||||||
| 	asus,rt-n12-vp-b1|\ | 	asus,rt-n12-vp-b1|\ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander Couzens
					Alexander Couzens