Re: missing vi on busybox

2008-06-30 Thread Denys Vlasenko
On Monday 30 June 2008 17:44, Darek wrote:
 Hi,
 
 I have BB v. 06 on my router, and there's no vi editor out there.
 
 How can I get one and install it? which version should be that?

Download http://busybox.net/downloads/busybox-1.11.0.tar.bz2,
run make menuconfig and set needed options
(correct cross-compiler prefix will be important for your case),
run make and you will have busybox executable.
Copy it to the router and create links, like /bin/vi - busybox.
--
vda
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox


Re: missing vi on busybox

2008-06-30 Thread Denys Vlasenko
On Monday 30 June 2008 18:21, Darek wrote:
 how can I download it to my router?  wget does not seem to work.
 
 # wget http://www.busybox.net/downloads/busybox-1.11.0.tar.bz2
 wget: www.busybox.net: Unknown host

I meant download to your PC. You surely can't compile stuff
on the router, you don't have a compiler there.

Google for cross-compling.

 what else can I do? I just want to set my default iptables rules in the
 firewall_start files. That's why I need vi/vim. Do you have an idea?

How about copying config files to your PC, modifying them,
and cpying modified files back to router?
--
vda
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox