Re: [Nbd] password?
- To: Charles Landau <clandau@...63...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] password?
- From: Wouter Verhelst <wouter@...3...>
- Date: Mon, 15 Aug 2005 01:18:32 +0200
- Message-id: <20050814231832.GA6280@...39...>
- In-reply-to: <p06230906bf231f5c9016@[192.168.0.26]>
- References: <p06230906bf231f5c9016@[192.168.0.26]>
On Fri, Aug 12, 2005 at 09:11:19PM -0700, Charles Landau wrote:
> I'm trying to get nbd running. On the server computer, I downloaded,
> built, and installed nbd. I ran:
>
> nbd-server 1077 /dev/hda5
>
> pointing it at an unused partition. There is no nbd_server.allow file.
>
> On the client computer, I downloaded, built, and installed nbd. I ran:
>
> insmod /lib/modules/*/kernel/drivers/block/nbd.ko
> mknod /dev/nd0 b 43 0
> nbd-client 192.168.0.31 1077 /dev/nd0
>
> I get the following message on the client over and over:
>
> Error: Connect: Connection refused
> error: Error reading initial password, aborting: Transport endpoint
> is not connected
>
> What am I missing? I can find no documentation on how to set this up
> other than the man pages, and they say nothing about a password.
Correct; there is no actual password. The "initial password" is just a
magic value that is part of the protocol.
The problem really is the line above ("Connection refused"); apparently,
your client cannot connect to the server for some reason. Are you
running a firewall?
--
The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond
Reply to: