Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#15725 - 27/08/2000 15:05 where are the tools ?
fox
stranger

Registered: 22/08/2000
Posts: 28
i finally managed to get a shell prompt via serial from my mark2. after looking trough the dir's i wonder why is there not more software on it. at least an editor would be nice, but i can also not understand why there is no ftp client (beter an ftpd) telnetd would also be nice and for shure a httpd (not necessery apache ;-).

can i download binaries from debian arm and run them under my mark2 ?

cheers

andreas


Top
#15726 - 27/08/2000 15:37 Re: where are the tools ? [Re: fox]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
In reply to:

can i download binaries from debian arm and run them under my mark2 ?


Yes - take a look at the developer site (linked above here) for directions.. Specifically, take a look at Veremont's Journal (under "developer")
-mark

...proud to have owned one of the first Mark I units

_________________________
http://mvgals.net - clublife, revisited.

Top
#15727 - 27/08/2000 21:39 Re: where are the tools ? [Re: dionysus]
fox
stranger

Registered: 22/08/2000
Posts: 28
i where searching allot on the dev page, also i have read veremonts journal, but he explains stuff for a guru not for a beginner like i am, i do not wanna setup a whole developper installation. i only wanna have some progs running like ftpd, telnet, ping or vi


Top
#15728 - 27/08/2000 21:48 Re: where are the tools ? [Re: fox]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
yep... a how-to on that topic is a fairly requested item:) I don't have the expertiese to write a good one, and was hoping that someone else would.. this is actually my 4th plea to someone w/ the necessary skills to write a short step-by-step on doing this:)
-mark

...proud to have owned one of the first Mark I units
_________________________
http://mvgals.net - clublife, revisited.

Top
#15729 - 29/08/2000 07:20 Re: where are the tools ? [Re: dionysus]
hamzy
journeyman

Registered: 11/08/2000
Posts: 51
Loc: TX, USA
What is wrong with this?

This works for setting up an initial test Debian environment.

I'll work on one that modifies the empeg itself. Kim provided a reply that I'll see if it fixes my problem.

If its not what you are looking for then I won't bother putting it up...


Top
#15730 - 29/08/2000 08:08 Re: where are the tools ? [Re: hamzy]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
but *how* do you mount the main music partitions so that they're viewable after changing the root environment??? I think Kim's answer might work (actually changing the default enviroment, rather then chrooting to an environment which doesn't contain any of the fun files...) how're you getting past this though? I can get ftp to work, but not without chrooting somewhere that doesn't see the music partitions...

-mark

...proud to have owned one of the first Mark I units
_________________________
http://mvgals.net - clublife, revisited.

Top
#15731 - 30/08/2000 14:34 basic ftp client instructions [Re: fox]
dglidden
journeyman

Registered: 21/08/2000
Posts: 62
I just did this myself, so the steps are still nice and fresh:

Quick-n-dirty instructions on getting an ftp client onto your empeg. These instructions assume that you have at least read up enough to know where to get certain empeg-related tools, how to get to a shell prompt on your empeg, how to talk to your empeg via terminal app, some familiarity with Linux/UNIX commands, etc.

* grab "debian-image_990822.tar.gz" from any number of empeg-related websites
* extract it into some scratch space on your workstation
* get a terminal app working to talk to your empeg
* quit from the player software to a shell on your empeg
* on the empeg type "rw" and "rwm" to mount your filesystems read-write
* make some scratch space on your empeg to receive uploaded files (I used /drive0/debian)
* type "rz" on the empeg to upload files via zmodem
* upload the following files from your Debian/ARM distro:

/usr/bin/ftp
/etc/services
/etc/protocols
/etc/nsswitch.conf
/lib/libnss_compat-2.1.2.so
/lib/libnss_db-2.1.2.so
/lib/libnss_files-2.1.2.so

* on the empeg cd to /etc and do:
ln -s [path to uploaded services] services
ln -s [path to uploaded protocols] protocols
ln -s [path to uploaded nsswitch.conf] nsswitch.conf

* cd to /lib and do:
ln -s [path to uploaded libnss_compat-2.1.2.so] libnss_compat.so.2
ln -s [path to uploaded libnss_dbt-2.1.2.so] libnss_db.so.2
ln -s [path to uploaded libnss_files-2.1.2.so] libnss_files.so.2

now your "ftp" client will work from the empeg.

I prefer to make symlinks than actually copying files around. That way I can quickly locate what files were "originally there" on the empeg and which ones I have created symlinks for.

Not all those libnss files may be necessary, but I haven't bothered to actually see which ones are required. They're small so it's not really a big deal...

From here, it's a simple matter to get the whole Debian/ARM distro on your empeg and then set up a chroot'ed environment to do some serious playing around with. (ftp'ing that 26MB file is a lot faster than a zmodem upload. :)


Top
#15732 - 30/08/2000 14:43 Re: basic ftp client instructions [Re: dglidden]
dglidden
journeyman

Registered: 21/08/2000
Posts: 62
Oh yeah, and I should point out that now that I have the Debian/ARM on there, I'll try to work out some more nice step-by-step instructions for getting other various services and applications working/available. At this point, it's pretty much just another Linux box as far as I'm concerned, albeit with some "extra" functionality..

And remember, symlinks are your friends.


Top
#15733 - 30/08/2000 15:15 Re: basic ftp client instructions [Re: dglidden]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Take a look at this thread while you're at it:)


http://empeg.comms.net/cgi-bin/showflat.pl?Cat=&Board=empeg_tech&Number=15005&page=0&view=expanded&sb=5

...proud to have owned one of the first Mark I units
_________________________
http://mvgals.net - clublife, revisited.

Top
#15734 - 18/10/2000 18:03 Re: basic ftp client instructions [Re: dglidden]
ctadlock
stranger

Registered: 13/07/1999
Posts: 32
I followed these directions, how do you go about starting the ftp client? Also, do you have to symlink "ftp"?

Thanks
CT


Top
#15735 - 18/10/2000 20:30 Re: basic ftp client instructions [Re: ctadlock]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hey; are you asking how to start the actual client FROM empeg? The way I did it when I needed to was to just chroot to my debian environment; I never tried to merge the client w/ empeg's default environment... and why? You can ftp TO empeg following these instructions...

-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top