Re: scp, ssh dont work with zcip

Roar Bjørgum Rotvik <[email protected]> Wed, 19 May 2004 11:08:37 +0200
Newsgroups gmane.network.zeroconf.workers
Message-ID <[email protected]>
Kutschenreuter Matthias wrote:
> Hi ,
>  
> I use zcip in my wireless ad-hoc network.
> it assignes an IP address, detects collisions correctly.
> each device can ping all others in the end, upnp
> applications work also fine.
>  
> but I observed the side effect, that ssh and scp
> work no longer, once zcip has been started.
> sometimes it works, but takes 10 minutes until I am
> ask to enter the password (without zcip it's only 2 seconds).
>  
> Is this a known problem ?
>  
> Thanks for any hints, Matthias

There may be problems with host name lookup.
Either because /etc/resolv.conf contains a nameserver that you cannot 
reach when using zcip (because of link local address) or that your 
hostname in /etc/hosts has an IP address that does not match the zcip 
obtabined IP address.
I assume that you without zcip uses DHCP or static IP address, where the 
  hostname matches the IP address used.

You can test this by setting the IP address obtained by zcip in 
/etc/hosts before your hostname.

Example:
- Start zcip
- Obtain your hostname with 'hostname'
- Obtain your zcip IP address with 'ifconfig'
- Make sure the followin line exists in /etc/hosts:
"<zcip IP>  <hostname>"
- Try to ssh to another machine on the local link, by using IP address

-- 
Roar


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click