Re: Help with network please
- From: Steve <no-one@xxxxxxxxxxxx>
- Date: Fri, 07 Dec 2007 11:45:37 +0000
On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:
Steve <no-one@xxxxxxxxxxxx> wrote:Following a previous suggestion I added
fstab has a new line in it:
//newbox/F /mnt/newbox/F smbfs credentials=/etc/samba/auth.newbox.guest 0 0
If I go to command line as su and mount /mnt/newbox/F I get the
following:
timeout connecting to 209.62.20.179:445
timeout connecting to 209.62.20.179:139
Error connecting to 209.62.20.179 (Operation already in progress)
6743: Connection to newbox failed
SMB connection failed
Sounds like you've got a name resolution problem on the (Mandriva) client.
What's supposed to happen is that when you use an unqualified name,
such as "newbox", your name resolver appends your local domain and tries
to resolve that. If this fails then it works through a specified search
list appending domains and looking for the first match.
What I suspect is happening is that you've either not got a definition
for "newbox" in your /etc/hosts, or that your name resolver search path
is wrong.
Can you post the output of the following, please:
grep -i newbox /etc/hosts
cat /etc/resolv.conf
grep -i hosts /etc/nsswitch.conf
192.168.0.197 newbox
to /etc/hosts and things sprang into life. The only entry previously was
127.0.0.1 localhost
In the intersts of learning more here's the results you asked for:
grep -i newbox /etc/hosts returns
192.168.0.197 newbox
and nothing if I delete the 'newbox' line in /etc/hosts
cat /etc/resolv.conf returns
nameserver 192.168.0.1 (the IP address of my smoothwall box)
grep -i hosts /etc/nsswitch.conf returns
#hosts: db files nisplus nis dns
hosts: files nisplus nis dns
what is my 'local domain' in the context of resolving the server name?
Thanks
Steve
.
- Follow-Ups:
- Re: Help with network please
- From: Chris Davies
- Re: Help with network please
- From: Martin Gregorie
- Re: Help with network please
- References:
- Help with network please
- From: Steve
- Re: Help with network please
- From: Chris Davies
- Help with network please
- Prev by Date: Re: I've been playing around.
- Next by Date: Re: Audio-visual drivers?
- Previous by thread: Re: Help with network please
- Next by thread: Re: Help with network please
- Index(es):
Relevant Pages
|
|