DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-03-13 23:20:00

foogy
Member
Registered: 2007-02-06
Posts: 9

Install busybox-1.00.tgz

How do I install busybox-1.00.tgz (that is found in the download section) and all the aplets? I can not find any readme-file. Do I just overwrite the old busybox file in /mnt/HD_a2 and overwrite all the aplets in /bin and /sbin ???

Offline

 

#2 2007-03-14 09:02:51

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Install busybox-1.00.tgz

It's not meant for installing.
But if you still want then you can just extract whole archive and add it to path (export PATH=$PATH:/mnt/HD_a2/bin and export PATH=$PATH:/mnt/HD_a2/sbin ). All information is available at wiki smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2007-03-14 22:45:03

foogy
Member
Registered: 2007-02-06
Posts: 9

Re: Install busybox-1.00.tgz

Ok, where do I add "export PATH=$PATH:/mnt/HD_a2/bin/" and "export PATH=$PATH:/mnt/HD_a2/sbin/"??

I tried to add to add the info in my fun_plug file. That did not to do the trick.

I alos put "echo $PATH > /mnt/HD_a2/path.log" in the fun_plug and path.log looks like this:
/usr/bin:/bin:/usr/sbin:/sbin:/mnt/HD_a2/bin/:mnt/HD_a2/sbin/

But when I log in via telnet the path looks like this
# echo $PATH
/usr/sbin:/bin:/usr/bin:/sbin

How to I get the $PATH from my fun_plug in to my shell (ash)?

Offline

 

#4 2007-03-15 08:12:40

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Install busybox-1.00.tgz

It's not globally set by export, if you start new instance of ash you need to export again.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2007-03-15 09:23:39

foogy
Member
Registered: 2007-02-06
Posts: 9

Re: Install busybox-1.00.tgz

OK!

So there is not any file I can edit so that the correct path is set when I log in via telnet (ash)??

I mean the path /usr/sbin:/bin:/usr/bin:/sbin must be set in a file somewhere. I can't find any .profile-file or .baschrc-file for example.

Offline

 

#6 2007-03-15 21:28:59

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Install busybox-1.00.tgz

in your fun_plug create a /etc/profile file with
PATH=$PATH:the_path_you_want_to_add
export PATH

Offline

 

#7 2007-03-16 23:58:17

foogy
Member
Registered: 2007-02-06
Posts: 9

Re: Install busybox-1.00.tgz

Thanx!

That did the trick!

I also put som aliases in that file smile
For example
alias cdd='cd /mnt/HD_a2/Downloads'

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB