i have the above mentioned router set up and running white russian rc3 and i can use the wireless interface and access the internet, but from within the router i cant. for example if i log into the router using ssh and type in something simple like:
root@OpenWrt:~# wget http://google.com
i get this
wget: google.com: Unknown host
the router is the second one on my network with the first being another linksys at 192.168.1.1 how do i configure the wireless router so wget would work, like what port should the interface to the other router be hooked up to, and what settings do i need to configure via ssh.
thanks in advance for the help
Topic: wrt54gv4 as second router.
The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
did you set the dns servers?
which variable to i set?
wan_dns=?
currently the wireless router is lacking an ip address from the other router which has a dhcp server set up on it.
anyone know how to set the dns server or whatever it takes to fix this problem?
irmrbean,
Are you trying to use 2 WRTs, one in the client mode and the second in the AP mode? That's what I do to connect to internet with my client WRT and distribute it locally with the other one. Can you please clarify?
Regards...
The first router is a BEFSR41 not sure of the version number, it is hooked up to the cable modem via the WAN port. its adress is 192.168.1.1. it connects to the wrt54g via one of the 4 lan ports. the cable between the two routers is from the lan por on the BEFSR41 to the wan port on the wrt54g. the wrt54g is just an wireless access point. i have no trouble getting to the outside world when using a laptop on the wireless network. within the router i can not get to the internet. thats what im trying to fix so i can use external ipk files.
On the second router do this:
# rm /etc/resolv.conf
# vi /etc/resolv.conf
Add these lines:
search mydomain.com
nameserver 192.168.1.1that made a little progess
wget http://av.com
Connecting to av.com[66.218.71.198]:80
wget: Unable to connect to remote host (66.218.71.198): Network is unreachable
atleast it see the ip addy now
rebooting doesnt help either and as far as i can tell the befsr411 router is not blocking the wrt54g
im still looking into the resolv.conf so if i fix it ill update this.
now set lan_gateway to 192.168.1.1
it works now!, there was no lan_gateway by default only a wan_gateway which i had set to 192.168.1.1.
thank you everyone for the help
The discussion might have continued from here.
