I need help on IP static routes

Mike Frysinger vapier at gentoo.org
Tue Dec 18 17:55:06 PST 2007


On Tuesday 18 December 2007, mario bojic wrote:
> I am a newbie to unix, and I have a problem.
> I got busybox 1.0 on a gprs router. I have no find/grep commands built in,
> and I need to know how to find the file that contains static ip routes, so
> I could edit a permanent ip route(adding a route by   route add command
> doesn't solve the problem, because after the reboot, hte route is not there
> any more...)

surely there's a group out there that hacks on the device you're looking out 
who would be able to answer your question and/or provide documentation.  
there always is.  how the box initializes itself in userland is box specific.  
while there are common conventions on how to go about it, everyone does it 
their own way.

you could always code your own expect script that runs on your system and 
simply issues commands via the serial console and then programmaticly does 
the parsing on your host.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/busybox/attachments/20071218/280f0d75/attachment.pgp 


More information about the busybox mailing list