i using internet through dynamic wifi internet. , access local network lan card. facing problem internet. when ever turn on raspberry pi have delete gw gate , give new wifi gateway. ho can automate process
pi 3
lan address has static ip
wifi has dynamic ip
.
pi 3
lan address has static ip
wifi has dynamic ip
.
code: select all
1. netstat -rn 2. delete current default route 3. sudo route del default 4. add new default route other network 5. sudo route add default gw 192.168.3.1
raspberrypi
Comments
Post a Comment