logo       

Re: Setting up sfssd on Linux: Success!, what about dhcp hosts?: msg#00065

file-systems.sfs.general

Subject: Re: Setting up sfssd on Linux: Success!, what about dhcp hosts?

> Date: Tue, 25 Mar 2003 16:20:39 +0100 (CET)
> From: Wout Mertens <wmertens@xxxxxxxxx>
>
> Ok,
>
> I got it working as follows:
> - I figured out what the dns name of my (dhcp-client) host was
> - I set my hostname to that
> - started sfssd
> - It worked
>
> I have a fictuous hostname for my laptop that I add to the 127.0.0.1 line
> in /etc/hosts.
>
> So I'm guessing that server will only listen to requests for the current
> hostname, even if the ip is the same.
> When I try to connect to @<ip>,<id> or even
> @<dhcp hostname without domain>,<id>, it fails.
>
> Is that correct? Can anybody tell me why that is a necessity, and if any
> workarounds exist? Or in general just shed light on the subject? The
> documentation doesn't really mention anything.

In general the name that the SFS client has for the server has to
match the name that the server has for itself. The SFS server gets
its name by default from the system hostname. However, you can
override this default by setting the environment variable SFS_HOSTNAME
before running sfssd. (You can also individually configure sfsrwsd
and sfsauthd to have a particular hostname by the hostname directive
in their respective configuration files.)

David



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise