spy king
join:2009-04-13
| [General] WHR 125G + tomato setup help Hello! I'm a total noob here so pl bear with me 
I have a need few inputs on how to the do the following using a G125 running tomato 1.23ND
1) How do I assign a static Ip to my computer that is connected to the LAN port of the router? When I manually enter the IP as 192.168.1.xx subnet 255.255.255.0 , I am able to ping the router (192.168.1.1) but am unable to access the net through the WAN. Only when I set it to automatically obtain IP am I able to connect to the WAN.
2) How do I configure the Router to schedule a Connect/Disconnect of the WAN(modem) at a particular time? Script on the router or from the computer?
3) Is there any way I can set the up the network in such a way that I can access the LAN automatically, But have to Dial to access the WAN(net)?
Thanks in advance  | |
|
 |
 spy king
join:2009-04-13
| hey!
yes.. I have done that.. I am able to ping the router when I do that but can't access the net.. what should I set as the gateway? the router Ip?
Also I managed to do point 2 through the scheduler+ "service wan start/stop" command.. | |
|
 |   PeeWee Premium join:2001-10-21 Clovis, CA clubs: | Re: [General] WHR 125G + tomato setup help Yes gateway setting on computer should be router IP. -- My grandkids ARE cuter than yours!  | |
|
 spy king
join:2009-04-13
| Hey.. set it as 192.168.1.1 .. still no luck..
This is my current set up WAN: Connection Type PPPoE IP Address 59.92.66.21 Subnet Mask 255.255.255.255 Gateway 59.92.64.1 DNS 208.67.222.222, 208.67.220.220
LAN: Router IP Address 192.168.1.1 Subnet Mask 255.255.255.0 DHCP 192.168.1.22 - 192.168.1.60
When I set the computers Ip to 192.168.1.10 255.255.255.0 192.168.1.1
I am only able to ping the router.. not able to access the net.. | |
|
 |  |
 |  jza80
join:2005-10-29 Sacramento, CA
| said by spy king :When I set the computers Ip to 192.168.1.10 255.255.255.0 192.168.1.1 I am only able to ping the router.. not able to access the net.. Your missing DNS. You won't get anywhere without DNS. 
| |
|
 |  |  spy king
join:2009-04-13
| Re: [General] WHR 125G + tomato setup help Damn. I feel like such an idiot. How could I have missed something so stupid? :|
It works flawlessly now.. thanks!
two more quick tomato based questions..
1.Is there anyway I can send commands to the router from my system?
I basically want one script that when run connects WAN and another when run disconnects WAN..
2. Is there anyway I can access my modem's Webadmin page from behind the router?
Thanks! | |
|
 |  |  |  spy king
join:2009-04-13
| Re: [General] WHR 125G + tomato setup help I just managed to connect to my modem admin page using IPtables 
now only for WAN connect/disconnect from the computer, that is without having to login to the router admin page and click on connect/disconnect... Basically cause my DSL line is a capped line and I don't want to be always connected to the net.. | |
|
 |  |  |  |  spy king
join:2009-04-13
| Re: [General] WHR 125G + tomato setup help Hey! All done 
thanks a lot for all the help 
PS: Used a telnet script to start the wan service and stop the wan service.. | |
|
 |  |  |  |  |  rizsher
join:2002-01-31 Egypt
| Re: [General] WHR 125G + tomato setup help Instead of hard coding the static IP, you cna just use the Static DHCP function of Tomato to assign fixed IPs. Just make sure the Static IPs are outside of the DHCP Server "IP Address Range" you have specified under Basic-Network.
See attached screenshot. | |
|
  PeeWee Premium join:2001-10-21 Clovis, CA clubs: | What modem are you useing? | |
|
 spy king
join:2009-04-13
| Hey..
no luck.. tired cold booting ( like you said ) still no luck..
The modem is a SmartAX Mt882 (it came with my DSL connection)
The funny thing is when I set my manual IP, I then log into the router.. and then taking the external IP, I'm able to ping it.. along with the modem "gateway"... | |
|
 |  |
 |  |  spy king
join:2009-04-13 | Re: [General] WHR 125G + tomato setup help Oh.. I clean forgot!!
So now I have to set the "modem" router to what mode? I shall just check the options available and get back to ya!  | |
|
 |  |  |   PeeWee Premium join:2001-10-21 Clovis, CA clubs: | Re: [General] WHR 125G + tomato setup help It would be nice if you guys posted back to let us know if you're good to go now. -- My grandkids ARE cuter than yours!  | |
|
 |  |  |  |  spy king
join:2009-04-13 | Re: [General] WHR 125G + tomato setup help Hey.. Really sorry.. I haven't been feeling to well.. I'll connect my "router" modem directly and check right now.. | |
|
 |  |  |  |  |
 spy king
join:2009-04-13
| Hello!
Would there be any page where I can see the list of commands I can run by telnet ing to the router?
I would like to change the WAN ppoe Username and password through a script..
Tks!  | |
|
 |
|
 |