sinshiva
Very Senior Member
yea, you can, but that's not good enough for me xD
if you're still interested in trying. if not, i'll figure it out later when i get the chance
Code:
#!/bin/sh
#
# set the LAN gateway IP to $default
default="[B]192.168.1.1[/B]"
#
# nuke eth0 settings
ifconfig eth0 0.0.0.0 up
#
route default gw $default
#
# fix the WAN port
nvram set vlan2ports="0 8"
vconfig add eth0 2
brctl addif br0 vlan2
if you're still interested in trying. if not, i'll figure it out later when i get the chance