![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
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 |
|
|
|
#22 |
|
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 | |
|
|
|
#23 |
|
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 |
|
|
|
#24 |
|
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 |
|
|
|
#25 |
|
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 | |
|
|
|
#26 |
|
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 |
|
|
|
#27 |
|
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 |
|
|
|
#28 |
|
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 | |
|
|
|
#29 |
|
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 |
|
|
|
#30 |
|
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 |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |