OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 156531.0
September 9, 2010 01:56 PM

Categories: DD-WRT

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Sawyer

Member
Joined: 08/07/2010

tomato has a nice and very much needed feature for me. Wan UP under scripting.

I put rp_filter 0 coommand in there because this is reset each time pppoe reconnects.

Is there a way for such a script in dd wrt?

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

September 10, 2010 2:33 AM

For any firmware you can connect to board using ssh and then run the command "/etc/init.d/network restart". It will reset your network and also reconnect to PPP server. if you want to restart only the WAN interface, I think you can do that by ifconfig.

September 10, 2010 4:46 AM

See:

http://www.dd-wrt.com/wiki/index.php/Script_Execution

September 11, 2010 6:20 AM updated: September 11, 2010 6:20 AM

I see. So I do what exactly.

I need to run this whenever pppoe reconnects.
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/br0/rp_filter

I make a file with notepad and use extension .ipup and put this 2 lines in that file?


Then I just upload the whole thing to. /jffs/etc/config/
Prior I have to creat that folder if it doesnt exist?

September 12, 2010 5:31 PM

Yes this is correct. Even if you don't have an external media connected you can use the space that's left on flash for this task.

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window