Unoffical empeg BBS

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

Topic Options
#78052 - 06/03/2002 04:57 Http, ftp server...
Audio
stranger

Registered: 11/02/2002
Posts: 45
Loc: Italy
Hi,

I'm just wondering whether only the developer software supports some of the Hijack functions such as http and ftp server...
At the moment I have the regular 2.0-b11 and the Hijack 228 and can' t access all the functions listed in the FAQ at Riocar.

According to the following FAQ entry,
http://www.riocar.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=11#175
I would think I should be able to access all the functions with what I have...

Anyone knows what I'm doing wrong?
I get an answer of login failed on both Linux and Windows browsers/ftp programs...

2nd short question related to the FAQ:
Specific entries such as this (and a few others)
http://www.riocar.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=11#202
give me an empty text visual (it only says "(Entry last updated on February 22nd, 2002)"). I presume those are supposed to be ready in the next time... or is my browser (at the moment I'm using Conqueror of the KDE) doing weird things? :-)

Thank you,

Alberto and his Mk2.a 10Gb


Edited by Audio (06/03/2002 04:58)
_________________________
--
http://albertov.tripod.com

Top
#78053 - 06/03/2002 08:32 Re: Http, ftp server... [Re: Audio]
Audio
stranger

Registered: 11/02/2002
Posts: 45
Loc: Italy
Ok. I've menaged to work with http...
I have access to my empeg IP with no problem now.
The html page with the playlist is in my case http://myEmpegIP/?FID=1281&EXT=.htm, while I was trying with the string I found on the Hijack pagehttp://your.players.ip.addr/drive0/fids/101?.html
which did not produce the result I was hoping...

With ftp I got now an anonymous connection to the empeg, but sofar only the swapfile is visible and I can't change directory... I'll work a little bit next time to see what I can do... ;-)

I have to load the new Vu-Meters from Tony!!! ;-)

Alberto
_________________________
--
http://albertov.tripod.com

Top
#78054 - 06/03/2002 08:39 Re: Http, ftp server... [Re: Audio]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Hijack is not dependent upon the developer software, and thus should work just fine on a stock "consumer" image.

Cheers

Top
#78055 - 06/03/2002 08:40 Re: Http, ftp server... [Re: Audio]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
I've updated the Hijack page for the correct URL string, thanks.

The FTP server should also work just fine. On a "consumer" image, you will not see many files on the player, except for those under /drive0/*

cheers

Top
#78056 - 06/03/2002 08:42 swapfile? [Re: Audio]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
>ofar only the swapfile is visible

Speaking of which.. does anyone know why that file exists? The player doesn't use swap when running, and there's a swap partition for other needs.. so, why the swapfile?

-ml

Top
#78057 - 06/03/2002 08:43 Re: swapfile? [Re: mlord]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Leftovers from the beta 1.0 days, back when the disk partitions changed a bit.

Top
#78058 - 06/03/2002 08:58 Re: swapfile? [Re: drakino]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
I wonder then why the modern .upgrade files continue to leave it there?

Cheers

Top
#78059 - 06/03/2002 10:01 Re: swapfile? [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Er, on my player, it's not a file -- it's a symlink to /dev/hda6
_________________________
-- roger

Top
#78060 - 06/03/2002 10:04 Re: swapfile? [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Ahh.. okay, no no big deal then.

Cheers

Top
#78061 - 06/03/2002 11:19 Re: Http, ftp server... [Re: Audio]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
My fault. Those entries are just reminders to myself to finish writing the FTP and HTTP parts of the FAQ. I almost got around to it last night, but another personal project took longer than i'd planned. TONIGHT is the night i SWEAR! =]
_________________________
|| loren ||

Top
#78062 - 06/03/2002 12:27 Re: Http, ftp server... [Re: loren]
Audio
stranger

Registered: 11/02/2002
Posts: 45
Loc: Italy
Thank you!!! ;-)

And thank to all for replying..
I still have problems with uploading files to the empeg. I don't know how to have the permission to write on its hard disk (I've never heard of these SITE RW commands...). So I can't use the chmod command either... :-(
Is there a command that I could execute on the empeg itself? How do I get an ftp connection as a root? I did only an anonymous login. In this moment I was using CuteFtp on Windows... I'll try again later on Linux.

Thanks again!!!

Alberto
_________________________
--
http://albertov.tripod.com

Top
#78063 - 06/03/2002 12:32 Re: Http, ftp server... [Re: Audio]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
All FTP connections using Hijack login as root. You can enter anything you want for a username/userid, but it logs you in as root regardless (it's the only userid used).

Any commands you see or hear about that begin with SITE probably get prefixed with the word literal (or maybe quote) when using Microsoft software.

So, to upload some files, do something like this:

ftp xx.xx.xx.xx <----- player's IP address or DNS hostname
user: (hit enter)
password: (hit enter, unless you have set up a password)
site rw
cd /drive0
put afile
mput morefiles*
site chmod 0755 executablefile
site ro
quit


Top
#78064 - 06/03/2002 12:44 Re: Http, ftp server... [Re: mlord]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Nitpicking: if you want a file to be executable, 0755 is better than 0644...

/Michael
_________________________
/Michael

Top
#78065 - 06/03/2002 14:28 Re: Http, ftp server... [Re: mlord]
Audio
stranger

Registered: 11/02/2002
Posts: 45
Loc: Italy
Using "literal" command before "site rw" everything went fine...

Thanks a lot!!!

I wouldn't know how to do the same thing without giving line commands (read CuteFtp et similia: the option of single commands didn't work out), but using a shell-based ftp everything is fine... and that's enough... ;-)

Now I can enjoy the nice vu-meter from Tony... :-) Thanks Tony!

Alberto
_________________________
--
http://albertov.tripod.com

Top
#78066 - 08/03/2002 01:13 Re: Http, ftp server... [Re: Audio]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Alrighty everyone, i put up the FTP FAQ entry.

(As well as how to secure your player and what a .patch file is)

Let me know what you think.
_________________________
|| loren ||

Top
#78067 - 08/03/2002 08:23 Re: Http, ftp server... [Re: loren]
Audio
stranger

Registered: 11/02/2002
Posts: 45
Loc: Italy
Thank you, Loren!

It appears to be very complete... Nice work!

Alberto
_________________________
--
http://albertov.tripod.com

Top