[SWLUG] Network setup for Fedora Core 5

p.g.richardson at phantomjinx.co.uk p.g.richardson at phantomjinx.co.uk
Thu Sep 28 09:48:53 UTC 2006


> On Thursday 28 September 2006 10:15, Dave Cridland wrote:
>> On Thu Sep 28 10:00:57 2006, Mark Summerfield wrote:
>> > I just tried scp:
>> > : scp app/Pim/pim.txt mark at percival:/home/mark
>> >
>> > ssh: percival: Name or service not known
>> > lost connection
>> >
>> > My desktop's hostname is pye my laptop's hostname is percival. I'm
>> > user
>> > mark on both. I don't want a permanent link since the laptop will
>> > often
>> > be away from the desktop.
>>
>> This command was done on pye, I assume.
>>
>> If the laptop hasn't got a registered hostname, nor a stable IP
>> address, you'll probably run into problems.
>>
>> If percival has a stable IP address, you could use that:
>>
>> scp foo 10.0.0.2:
>>
>> Otherwise, use the laptop to talk to the desktop:
>>
>> scp pye:foo .
>>
>> Note that SSH, and therefore scp, assumes that you mean "mark" by
>> default, and uses paths relative to the home directory.
>
> Neither has a fixed IP address as such, they both use "DHCP" so I think
> they get addresses from the router... However according to the router
> they have addresses 198.168.1.2 and 198.168.1.3. So I tried:
>
> scp TEST.TXT 198.168.1.3:
>
> but it just hung...
>

Have you got a firewall running? It might be the correct IP Address but
the desktop is silently dropping the ssh packets as the firewall has not
been configured to let it through.

PGR




More information about the Swlug mailing list