Unoffical empeg BBS

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

Topic Options
#121967 - 19/10/2002 15:50 Another Rsync problem
Neutrino
addict

Registered: 23/01/2002
Posts: 506
Loc: The Great Pacific NorthWest
I thought I had followed the instructions to the letter but I must be missing something. I have loaded hostname and used it by typing "hostname honda". When I just type hostname it returns "honda" so I figure this is OK. I created a /etc/hosts file containing the following:

127.0.0.1 localhost
192.168.0.8 honda (none)

yet everytime i try and start rsync as a daemon "rsync --daemon" it fails and i receive in the log file the "gethostbyname: "Unknown host"" error message.

I have tried this with and without using hostname. I have also tried it with the second line of the host file containing:

192.168.0.8 honda honda.mydomain.com

with the same results. Any suggestions??

Thanks
_________________________
No matter where you might be, there you are.

Top
#121968 - 20/10/2002 06:01 Re: Another Rsync problem [Re: Neutrino]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Question: Did you edit this on a PC and upload as binary? Maybe you have a control-M on the end, and it is confusing the player?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#121969 - 20/10/2002 09:28 Re: Another Rsync problem [Re: pgrzelak]
Neutrino
addict

Registered: 23/01/2002
Posts: 506
Loc: The Great Pacific NorthWest
Thank You for the response. I actually made it with "Elvis" on the player. My hostname is honda, when I try and run rsync I get the message:

2002/10/20 16:16:02 [132] rsyncd version 2.3.2 starting
2002/10/20 16:16:02 [132] gethostbyname: Unknown host honda
2002/10/20 16:16:02 [132] transfer interrupted (code 10) at socket.c(227)

I have set my hostname to honda and in the /etc/hosts file is:

127.0.0.1 localhost
192.168.0.8 honda honda.honda.com

any help would be appreciated, thank you

_________________________
No matter where you might be, there you are.

Top
#121970 - 20/10/2002 11:41 Re: Another Rsync problem [Re: Neutrino]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
yet everytime i try and start rsync as a daemon "rsync --daemon"

You're trying to run rsync as a server on the player, and as a client on your host PC. Altough this could very well work, it is much easier to do it the other way round. You don't need to set up any configuration file to let rsync work as a client on the player. If you want to upload to your player using rsync, you would need to manually remount your drives anyway, so there's not much use in having rsync running permanently on your player.

Also make sure you are running the latest rsync, available for the ARM platform here.

Pim

Top
#121971 - 20/10/2002 11:56 Re: Another Rsync problem [Re: pim]
Neutrino
addict

Registered: 23/01/2002
Posts: 506
Loc: The Great Pacific NorthWest
Thank You PIM, what I am trying to do is copy from one Empeg to another as per Rogers write-up on using Rsync. I think my problem might arise from not having a good understanding of naming conventions. I did use the "minimal" file that was listed on Rogers web site, maybe this is the problem. It contained only the rsync binary file. Could there be other files specific to rsync that need to be installed? I have installed hostname and it seems to be running fine. Anyway, any help would be appreciated.
_________________________
No matter where you might be, there you are.

Top
#121972 - 20/10/2002 13:04 Re: Another Rsync problem [Re: Neutrino]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
I suspect that you've not got the resolver configured correctly.

Grab a copy of base.tar.gz from http://www.differentpla.net/~roger/empeg/car/files/

Store it in /drive0, and untar it into the root directory.

It contains absolutely everything you need to get it going. Don't forget to edit /etc/resolv.conf as well as /etc/hosts


Edited by Roger (20/10/2002 13:04)
_________________________
-- roger

Top
#121973 - 20/10/2002 17:09 Re: Another Rsync problem [Re: Roger]
Neutrino
addict

Registered: 23/01/2002
Posts: 506
Loc: The Great Pacific NorthWest
Thanks Roger, That did the trick! It works now.

A word of caution for anyone who wishes to use this tar file. It contains three files:

/bin/rom, /bin/rwm, /etc/fstab.

These files are for a dual drive empeg and will cause you grief. You might want to remove them from the tar before tarring this file on your empeg as they will overwrite your existing files.
_________________________
No matter where you might be, there you are.

Top