Zyxel NAS only reachable via IP address

Asked by glasairman

I have linked to my NAS shares via Name since Ubuntu 8.04 but suddenly under 12.04 (but not from the intro of 12.04) the sgares are no longer reachable, except via the static IP address 192.168.1.36.

1. smbtree shows NSA-220 and it is in same workgroup

2. appropriate smb.conf from testparm returns as follows:

[global]
 workgroup = JAHN64
 server string = %h server (Samba, Ubuntu)
 pam password change = Yes
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 name resolve order = lmhosts host wins bcast
 wins server = 192.168.1.36
 usershare allow guests = Yes
 panic action = /usr/share/samba/panic-action %d
 idmap config * : backend = tdb

3. ping 192.168.1.36 is OK, ping NSA-220 doesn't return anything

4. samba logs report:

  smbd version 3.6.3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/06/30 09:30:34.242768, 0] smbd/server.c:1107(main)
  standard input is not a socket, assuming -D option
[2012/06/30 09:30:34.296670, 0] printing/print_cups.c:110(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2012/06/30 09:30:34.296847, 0] printing/print_cups.c:487(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

Anybody spot anything?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
Jeet
Solved:
Last query:
Last reply:
Revision history for this message
Jeet (gour-jitendrasingh) said :
#1

edit your /etc/hosts file and enter these line in it.

192.168.1.36 NAS-220

save and quit

reboot samba and network

try accessing

Thanks
~jeet

Revision history for this message
glasairman (wlk461) said :
#2

Thanks, Jeet, but the /etc/hosts entry did'nt improve the situation.
Strangely, I can "see" the device registered in the router as
"NSA-220", but it cannot be pinged; other registered devices that are
not in /etc/hosts and can be pinged by name, only my Zyxel is not
recognisable by its name. Strange

On 30.06.2012 11:01, Jeet wrote:
> 192.168.1.36 NAS-220

--
Mit freundlichen Grüßen / Best regards

David Walker
Jahnstr.64
D-82538 Geretsried

Tel. +49.(0)8171/238 5010
Mob. +49.(0)173/576 9584
Skype Glasairman

"Life is what happens when you are busy making other plans." John Lennon

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

ping -c 4 NSA-220; nslookup NSA-220; lsb_release -a; cat /etc/resolv.conf

Thanks

Revision history for this message
glasairman (wlk461) said :
#4

Problem now solved.

Although my Zyxel was defined as "NSA-220" in the server name field, it
registered itself as NAS-220 with the Router (found the different name
in the router device list), so it looks like a bug in the new firmware
from Zyxel that I installed recently.

Also I set wins server = 192.168.1.1 to point to the router as WINS server

/etc/resolv.conf shows however that the change doesn't seem to have
taken effect, returns

cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search Speedport_W723_V_Typ_A_1_00_092

Thanks for all the suggestions

On 30.06.2012 18:21, actionparsnip wrote:
> ping -c 4 NSA-220; nslookup NSA-220; lsb_release -a; cat
> /etc/resolv.conf

--
Mit freundlichen Grüßen / Best regards

David Walker
Jahnstr.64
D-82538 Geretsried

Tel. +49.(0)8171/238 5010
Mob. +49.(0)173/576 9584
Skype Glasairman

"Life is what happens when you are busy making other plans." John Lennon

Revision history for this message
Best Jeet (gour-jitendrasingh) said :
#5

Good to know...

Mark it solved so others can take advantage

Thanks
On Jun 30, 2012 10:50 PM, "Glasairman" <email address hidden>
wrote:

> Question #201862 on samba in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/samba/+question/201862
>
> Status: Needs information => Open
>
> Glasairman gave more information on the question:
> Problem now solved.
>
> Although my Zyxel was defined as "NSA-220" in the server name field, it
> registered itself as NAS-220 with the Router (found the different name
> in the router device list), so it looks like a bug in the new firmware
> from Zyxel that I installed recently.
>
> Also I set wins server = 192.168.1.1 to point to the router as WINS
> server
>
> /etc/resolv.conf shows however that the change doesn't seem to have
> taken effect, returns
>
> cat /etc/resolv.conf
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8)
> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 127.0.0.1
> search Speedport_W723_V_Typ_A_1_00_092
>
> Thanks for all the suggestions
>
>
> On 30.06.2012 18:21, actionparsnip wrote:
> > ping -c 4 NSA-220; nslookup NSA-220; lsb_release -a; cat
> > /etc/resolv.conf
>
> --
> Mit freundlichen Grüßen / Best regards
>
> David Walker
> Jahnstr.64
> D-82538 Geretsried
>
> Tel. +49.(0)8171/238 5010
> Mob. +49.(0)173/576 9584
> Skype Glasairman
>
> "Life is what happens when you are busy making other plans." John Lennon
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
glasairman (wlk461) said :
#6

Thanks Jeet, that solved my question.