Http, ftp server...

Posted by: Audio

Http, ftp server... - 06/03/2002 04:57

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
Posted by: Audio

Re: Http, ftp server... - 06/03/2002 08:32

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
Posted by: mlord

Re: Http, ftp server... - 06/03/2002 08:39

Hijack is not dependent upon the developer software, and thus should work just fine on a stock "consumer" image.

Cheers
Posted by: mlord

Re: Http, ftp server... - 06/03/2002 08:40

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
Posted by: mlord

swapfile? - 06/03/2002 08:42

>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
Posted by: drakino

Re: swapfile? - 06/03/2002 08:43

Leftovers from the beta 1.0 days, back when the disk partitions changed a bit.
Posted by: mlord

Re: swapfile? - 06/03/2002 08:58

I wonder then why the modern .upgrade files continue to leave it there?

Cheers
Posted by: Roger

Re: swapfile? - 06/03/2002 10:01

Er, on my player, it's not a file -- it's a symlink to /dev/hda6
Posted by: mlord

Re: swapfile? - 06/03/2002 10:04

Ahh.. okay, no no big deal then.

Cheers
Posted by: loren

Re: Http, ftp server... - 06/03/2002 11:19

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! =]
Posted by: Audio

Re: Http, ftp server... - 06/03/2002 12:27

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
Posted by: mlord

Re: Http, ftp server... - 06/03/2002 12:32

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

Posted by: mtempsch

Re: Http, ftp server... - 06/03/2002 12:44

Nitpicking: if you want a file to be executable, 0755 is better than 0644...

/Michael
Posted by: Audio

Re: Http, ftp server... - 06/03/2002 14:28

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
Posted by: loren

Re: Http, ftp server... - 08/03/2002 01:13

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.
Posted by: Audio

Re: Http, ftp server... - 08/03/2002 08:23

Thank you, Loren!

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

Alberto