Using the openwrt router
The default IP address on the router is 192.168.1.1 hence bring your machine to the 192.168.1. network range.
# telnet 192.168.1.1
Check whether boot_wait is ON. boot_wait must be on for upgrades or recovering from bad installations.
# nvram get boot_wait
boot_wait=on
Set a password for `root’
# passwd
If you get any error setting password, run the following command
Or the router may require a reboot.
Now you can ssh in to the router and start configuring it.
We will be using the router as a ‘Access Point’. Run the following commands on the router.
These command set the networking parameters for the router to access the Internet(WAN).
# nvram set wan_proto=static
# nvram set wan_ipaddr=xxx.xxx.xxx.xxx
# nvram set wan_netmask=255.255.255.0
# nvram set wan_gateway=192.168.1.1
# nvram set wan_dns=192.168.1.1
# nvram commit
If your router need to get IP address through DHCP you only need to run these
# nvram set wan_proto=dhcp
# nvram commit
For PPPoE Internet connection
# nvram set wan_ifname=ppp0
# nvram set wan_proto=pppoe
# nvram set ppp_mtu=1492
# nvram set pppoe_ifname=vlan1
# nvram set ppp_username=your_isp_login
# nvram set ppp_passwd=your_isp_password
# nvram commit
You may need to reboot the router now
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment