AW: scp, ssh dont work with zcip

Kutschenreuter Matthias <[email protected]> Wed, 19 May 2004 17:44:10 +0200
Newsgroups gmane.network.zeroconf.workers
Message-ID <[email protected]>
Thanks for your fast replies!
 
 > 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 
that's it !!
before starting zcip I can ping the nameserver (139.23.x.y), afterwards I
cannot ping anymore.


I have 2 questions:
1.) Is it possible to have an eth0 (139.23...) and a wireless interface pan0

(zcip - 169.254....) and to communicate on both ?
2.) How can I scp/ssh on (zcip - 169.254..)-links (without eth0)? 
I deleted the nameserver entries in /etc/resolv.conf and 
extended /etc/hosts on both machines as you said. I booted again, but still
ssh/scp wasnt working. 

I made to tcpdumps, the first tcpdump for scp (from europa1 to laptop1) 
trial after zcip started:

tcpdump: listening on pan0
15:32:37.179431 europa1.filenet-nch > laptop1.ssh: S
1515684969:1515684969(0) win 5840 <mss 1460,sackOK,timestamp 57803
0,nop,wscale 0> (DF) 
15:32:37.222250 laptop1.ssh > europa1.filenet-nch: S
2182778357:2182778357(0) ack 1515684970 win 5792 <mss 1460,sackOK,timestamp
230622 57803,nop,wscale 0> (DF) 
15:32:37.222304 europa1.filenet-nch > laptop1.ssh: . ack 1 win 5840
<nop,nop,timestamp 57808 230622> (DF) 
15:32:37.280262 laptop1.ssh > europa1.filenet-nch: P 1:24(23) ack 1 win 5792
<nop,nop,timestamp 230628 57808> (DF) 
15:32:37.280672 europa1.filenet-nch > laptop1.ssh: . ack 24 win 5840
<nop,nop,timestamp 57814 230628> (DF) 
15:32:37.281052 europa1.filenet-nch > laptop1.ssh: P 1:23(22) ack 24 win
5840 <nop,nop,timestamp 57814 230628> (DF) 
15:32:37.290096 arp who-has 139.23.33.14 tell europa1 15:32:37.336397
laptop1.ssh > europa1.filenet-nch: . ack 23 win 5792 <nop,nop,timestamp
230634 57814> (DF) 
15:32:37.367529 arp who-has 139.23.33.14 tell laptop1 15:32:38.280236 arp
who-has 139.23.33.14 tell europa1 15:32:38.333714 arp who-has 139.23.33.14
tell laptop1 15:32:39.280239 arp who-has 139.23.33.14 tell europa1 
15:32:39.338639 arp who-has 139.23.33.14 tell laptop1 
15:32:42.300307 arp who-has 139.23.33.13 tell europa1 
15:32:42.335137 arp who-has 139.23.33.13 tell laptop1 
15:32:43.300236 arp who-has 139.23.33.13 tell europa1 
15:32:43.338383 arp who-has 139.23.33.13 tell laptop1 ....


second differs, after deleting the nameserver entries in /etc/resolv.conf ;
searches still for the deleted nameserver (could be due to my SUSE-linux-
configurations):

5840 <mss 1460,sackOK,timestamp 36157 0,nop,wscale 0> (DF) 
15:14:25.758897 laptop1.ssh > europa1.filenet-nch: S
1020837111:1020837111(0) ack 358895798 win 5792 <mss 1460,sackOK,timestamp
121479 36157,nop,wscale 0> (DF) 
15:14:25.758949 europa1.filenet-nch > laptop1.ssh: . ack 1 win 5840
<nop,nop,timestamp 36162 121479> (DF) 
15:14:25.816963 laptop1.ssh > europa1.filenet-nch: P 1:24(23) ack 1 win 5792
<nop,nop,timestamp 121485 36162> (DF) 
15:14:25.817365 europa1.filenet-nch > laptop1.ssh: . ack 24 win 5840
<nop,nop,timestamp 36168 121485> (DF) 
15:14:25.817744 europa1.filenet-nch > laptop1.ssh: P 1:23(22) ack 24 win
5840 <nop,nop,timestamp 36168 121485> (DF) 
15:14:25.880571 laptop1.ssh > europa1.filenet-nch: . ack 23 win 5792
<nop,nop,timestamp 121492 36168> (DF) 15:14:25.880619 europa1.filenet-nch >
laptop1.ssh: P 23:559(536) ack 24 win 5840 <nop,nop,timestamp 36174 121492>
(DF) 
15:14:25.885880 arp who-has 139.23.33.14 tell laptop1 
15:14:26.008059 laptop1.ssh > europa1.filenet-nch: . ack 559 win 6432
<nop,nop,timestamp 121504 36174> (DF) 15:14:26.895386 arp who-has
139.23.33.14 tell laptop1 
15:14:27.886571 arp who-has 139.23.33.14 tell laptop1 
15:14:30.893872 arp who-has 139.23.33.13 tell laptop1 
15:14:31.896324 arp who-has 139.23.33.13 tell laptop1 
15:14:32.906251 arp who-has 139.23.33.13 tell laptop1 
15:14:35.907718 arp who-has 139.23.33.14 tell laptop1 ...









-------------------------------------------------------
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