TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource

Help with network please

Linux & Opensource

 
 
Thread Tools Display Modes
Unread 08-12-2007, 02:42 AM   #21
Steve
Guest
 
Posts: n/a
Re: Help with network please

On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:

> Steve <no-one@home.invalid> wrote:
>> 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

Following a previous suggestion I added
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

Sponsored Links
 
Unread 08-12-2007, 02:43 AM   #22
Martin Gregorie
Guest
 
Posts: n/a
Re: Help with network please

Steve wrote:
> On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:
>
>> Steve <no-one@home.invalid> wrote:
>>> 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

> Following a previous suggestion I added
> 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?
>

Probably 'localdomain' Its usual for the default /etc/hosts to contain
the line

127.0.0.1 localhost localhost.localdomain

It might pay to define a private domain name for use only by hosts on
your local LAN. I've used my external domain name, which works for me.
Rename your hosts to have fully qualified names and either run an
internal DNS server for your LAN or distribute the same /etc/hosts file
around all the hosts on the LAN.

I use a private DNS which doubles as a local name cache, but then I
wanted to find out about the care and feeding of a DNS. If I was using
/etc/hosts files, which is perfectly reasonable for a small network,
mine would all look something like this:

127.0.0.1 localhost localhost.localdomain
192.168.7.1 hellsgate hellsgate.gregorie.org # router
192.168.7.2 zoogz zoogz.gregorie.org # house server
192.168.7.3 cretin cretin.gregorie.org # slow laptop
192.168.7.4 pc pc.gregorie.org # Windoze box

HTH


--
martin@ | Martin Gregorie
gregorie. | Es***, UK
org |
 
Unread 08-12-2007, 02:50 AM   #23
Chris Davies
Guest
 
Posts: n/a
Re: Help with network please

Steve <no-one@home.invalid> wrote:
> 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

Chris
 
Unread 08-12-2007, 02:54 AM   #24
Steve
Guest
 
Posts: n/a
Re: Help with network please

On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:

> Steve <no-one@home.invalid> wrote:
>> 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

Following a previous suggestion I added
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
 
Unread 08-12-2007, 02:55 AM   #25
Martin Gregorie
Guest
 
Posts: n/a
Re: Help with network please

Steve wrote:
> On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:
>
>> Steve <no-one@home.invalid> wrote:
>>> 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

> Following a previous suggestion I added
> 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?
>

Probably 'localdomain' Its usual for the default /etc/hosts to contain
the line

127.0.0.1 localhost localhost.localdomain

It might pay to define a private domain name for use only by hosts on
your local LAN. I've used my external domain name, which works for me.
Rename your hosts to have fully qualified names and either run an
internal DNS server for your LAN or distribute the same /etc/hosts file
around all the hosts on the LAN.

I use a private DNS which doubles as a local name cache, but then I
wanted to find out about the care and feeding of a DNS. If I was using
/etc/hosts files, which is perfectly reasonable for a small network,
mine would all look something like this:

127.0.0.1 localhost localhost.localdomain
192.168.7.1 hellsgate hellsgate.gregorie.org # router
192.168.7.2 zoogz zoogz.gregorie.org # house server
192.168.7.3 cretin cretin.gregorie.org # slow laptop
192.168.7.4 pc pc.gregorie.org # Windoze box

HTH


--
martin@ | Martin Gregorie
gregorie. | Es***, UK
org |
 
Unread 08-12-2007, 03:04 AM   #26
Chris Davies
Guest
 
Posts: n/a
Re: Help with network please

Steve <no-one@home.invalid> wrote:
> 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

Chris
 
Unread 08-12-2007, 03:08 AM   #27
Steve
Guest
 
Posts: n/a
Re: Help with network please

On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:

> Steve <no-one@home.invalid> wrote:
>> 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

Following a previous suggestion I added
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
 
Unread 08-12-2007, 03:09 AM   #28
Martin Gregorie
Guest
 
Posts: n/a
Re: Help with network please

Steve wrote:
> On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:
>
>> Steve <no-one@home.invalid> wrote:
>>> 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

> Following a previous suggestion I added
> 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?
>

Probably 'localdomain' Its usual for the default /etc/hosts to contain
the line

127.0.0.1 localhost localhost.localdomain

It might pay to define a private domain name for use only by hosts on
your local LAN. I've used my external domain name, which works for me.
Rename your hosts to have fully qualified names and either run an
internal DNS server for your LAN or distribute the same /etc/hosts file
around all the hosts on the LAN.

I use a private DNS which doubles as a local name cache, but then I
wanted to find out about the care and feeding of a DNS. If I was using
/etc/hosts files, which is perfectly reasonable for a small network,
mine would all look something like this:

127.0.0.1 localhost localhost.localdomain
192.168.7.1 hellsgate hellsgate.gregorie.org # router
192.168.7.2 zoogz zoogz.gregorie.org # house server
192.168.7.3 cretin cretin.gregorie.org # slow laptop
192.168.7.4 pc pc.gregorie.org # Windoze box

HTH


--
martin@ | Martin Gregorie
gregorie. | Es***, UK
org |
 
Unread 08-12-2007, 03:17 AM   #29
Chris Davies
Guest
 
Posts: n/a
Re: Help with network please

Steve <no-one@home.invalid> wrote:
> 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

Chris
 
Unread 08-12-2007, 03:22 AM   #30
Steve
Guest
 
Posts: n/a
Re: Help with network please

Sponsored Links
On Thu, 06 Dec 2007 09:11:06 +0000, Chris Davies wrote:

> Steve <no-one@home.invalid> wrote:
>> 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

Following a previous suggestion I added
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

Sponsored Links
 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 10:01 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional