can not ping by hostname on pogoplugV2

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

can not ping by hostname on pogoplugV2

Postby starn » Sat Jun 30, 2012 12:57 pm

Hi,
I ve wasted 3 nights on this problem, read all forums... and it still doesn't work :(

Here is my problem:
I would like to be able to ping my pogoplug by its hostname instead of its ip (from my windows pc).
I know it is possible without setting hosts file on all client or installing wins server because i have a NSLU2 plug (with unslung installed), and it can answer to my pings from windows.

After having installed archlinux, i was able to ping its host "alarm". Then i changed my hostname like this:
* set in /etc/rc.conf => HOSTNAME="pogo"
* set in /etc/hosts =>
127.0.0.1 localhost.localdomain localhost
192.168.2.2 pogo

result:
of course, from my pogoplug i can ping pogo (thanks to the hosts file), i can too ping my windows pc (by id or by hostname)
But, from my windows i can not ping my pogoplug by hostname (but with its ip it works!).

For information:
- my Belkin router knows the name of my pogoplug in its dhcp client viewer.
- in my resolv.conf: the name server is my belkin router: "nameserver 192.168.2.1"
- i have installed a lot of package and made a lot of config: maybe i have a conflict or i made a mistake somewhere...


Do you have any idea to help me ?
I can send you any config file if you ask me.
Thank you very much for your help... i don't know what i can do...
starn
 
Posts: 4
Joined: Sat Jun 30, 2012 12:40 pm

Re: can not ping by hostname on pogoplugV2

Postby WarheadsSE » Sat Jun 30, 2012 1:35 pm

Does your windows PC show up in some sort of list, by name, in your belkin router? Your router might not be keeping local dns. Windows PCs fall back to netbios/WINS name resolution when DNS fails.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: can not ping by hostname on pogoplugV2

Postby starn » Sat Jun 30, 2012 2:05 pm

Yes i can see my windows pc on the belkin router:

Image

Sorry, I dont know if my router keep hosts names
or if every computers in my network broadcast their hostname...
I just know that i do not use a specific server to manage hostnames (no wins, no netbios...), and it usualy work fine .

I would like my pogoplug has the same behaviour as my NSLU2 running with unslung distribution (it s displayed as "netdisk" on the picture): when it is on line, all computers can see its name.
starn
 
Posts: 4
Joined: Sat Jun 30, 2012 12:40 pm

Re: can not ping by hostname on pogoplugV2

Postby pepedog » Sat Jun 30, 2012 2:55 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can not ping by hostname on pogoplugV2

Postby starn » Sat Jun 30, 2012 4:23 pm

I have installed avahi and ran its deamons:

[root@pogo rc.d]# ./dbus start
:: Starting D-BUS system messagebus [DONE]
[root@pogo rc.d]# ./avahi-daemon start
:: Starting Avahi mDNS/DNS-SD Daemon [DONE]
[root@pogo rc.d]# ./avahi-dnsconfd start
:: Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon [DONE]

but i still cannot ping my pogoplug from my windows computer.
starn
 
Posts: 4
Joined: Sat Jun 30, 2012 12:40 pm

Re: can not ping by hostname on pogoplugV2

Postby pepedog » Sat Jun 30, 2012 4:40 pm

I don't know what clientid in /etc/dhcpcd.conf does
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can not ping by hostname on pogoplugV2

Postby starn » Sat Jun 30, 2012 11:29 pm

it works!!!!!
I try again to ping my pogoplug several hours after having installed avahi and...

$this->bbcode_second_pass_quote('', '
')C:\Users\starn>ping pogo

Envoi d'une requête 'ping' sur pogo [192.168.1.10] avec 32 octets de données :
Réponse de 192.168.1.10 : octets=32 temps=1 ms TTL=64
Réponse de 192.168.1.10 : octets=32 temps=1 ms TTL=64
Réponse de 192.168.1.10 : octets=32 temps=1 ms TTL=64
Réponse de 192.168.1.10 : octets=32 temps=1 ms TTL=64


It's ok :)
Thank you very very much !
If anyone has my problem... install avahi and wait before testing !
Thanks again :)

(i also changed my network ip from 192.168.2.x to 192.168.1.x but i don t think it is this change that make the ping success... avahi seems to be the solution!)
starn
 
Posts: 4
Joined: Sat Jun 30, 2012 12:40 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests