memexitana
Posts: 7
Joined: Tue Apr 25, 2017 2:38 pm

Can't see raspberry in router hostname list

Wed Jun 14, 2017 8:03 pm

Hello,

Today I've changed my Internet connection provider, so I've got a new modem. I tried to execute the port forwarding but in the device list I can't see my raspberry.

In the past I've configured the raspberry pi hostname as: webserver. I also have samba installed on the raspberry.

Actually if in Windows 10 command prompt I do: ping webserver, I'll get the four packages sended and correctly reiceved.
Why in my modem I can't see my raspberry?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5621
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Can't see raspberry in router hostname list

Wed Jun 14, 2017 9:04 pm

How did you "configure" the hostname (not the samba "hostname" for Windows - from another thread that may be different if not "derived" correctly from the network hostname that your router may pick up)?
FWIW, here are my notes on the (very) old method and the "normal" method via raspi-config (command-line or desktop GUI versions):
http://www.cpmspectrepi.uk/raspberry_pi ... tName.html
http://www.cpmspectrepi.uk/raspberry_pi ... Rename_Etc.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

memexitana
Posts: 7
Joined: Tue Apr 25, 2017 2:38 pm

Re: Can't see raspberry in router hostname list

Wed Jun 14, 2017 9:16 pm

hello, thanks for the reply. The hostname of the raspberry is configured correctly, if I go inside raspi-config I can see in the hostname section "webserver", but in the modem device list I can see the raspberry hostname, I see only the IP: 192.168.1.10 and as name: "N/A".

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: Can't see raspberry in router hostname list

Wed Jun 14, 2017 10:43 pm

The fact that you can ping it from another machine on the LAN pretty much indicates that it is set, presumably in the router's DNS tables (although this is not certain). So, task done. I would ignore any advice given in this thread that assumes you didn't set the hostname correctly.

However, the router's "hosts table" is not quite the same thing as the DNS tables - and I'm not surprised that it doesn't match up exactly. I suspect that this problem really has nothing to do with the Pi and everything to do with your router and the people who programmed it.
If this post appears in the wrong forums category, my apologies.

memexitana
Posts: 7
Joined: Tue Apr 25, 2017 2:38 pm

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 6:51 am

What do you suggest? Thanks

pcmanbob
Posts: 9464
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 6:56 am

I have to agree with martin in this instance.
Its down to the software in your router, Have you by any chance set a static IP on the Pi in question ?
My netgear router does not list a host name for any PC/Pi which has a static IP set on the PC/Pi itself, as the IP address is not being assigned by the DHCP server in the router no host name is being associated with the IP.

If you router has the ability to assign the same IP to a device when ever its connected, then try putting you Pi back to DHCP assigned address and setting the fixed IP in the router.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

memexitana
Posts: 7
Joined: Tue Apr 25, 2017 2:38 pm

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 7:16 am

Yes I've already setted the static IP on my raspberry Pi, infact in the device connected (on the modem) I can see both PC and raspberry pi IP address.
My problem come when I try to establish a connection on my raspberry from the dns.
With an external application I execute the link on mydns.ddns.net, and access to the port open for SSH.
Unfortunately the connection fails after a few seconds, an error message appear: 'connection timeout'.
This is really strage 'cause in the site 'yougetsignal' (for check if the port are open), I can see that the port associated to the SSH is open...

pcmanbob
Posts: 9464
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 8:45 am

So its not really a host name problem its a port forwarding problem, it might just be that you new provider blocks port 22 many do.
try forwarding some other port to port 22 on your pi and see if you can connect to that.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 8:47 am

So its not really a host name problem ...
Indeed. This thread should be closed and a new one begun.
If this post appears in the wrong forums category, my apologies.

memexitana
Posts: 7
Joined: Tue Apr 25, 2017 2:38 pm

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 9:01 am

I tried also other ports for amule, transmission (4712, 9091), alla this ports not working. I can see it open but can't access on my raspberry

pcmanbob
Posts: 9464
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Can't see raspberry in router hostname list

Thu Jun 15, 2017 2:41 pm

memexitana wrote:I tried also other ports for amule, transmission (4712, 9091), alla this ports not working. I can see it open but can't access on my raspberry
Are you sure its set up correctly on your router, there are many different was to set up port forwarding it depends who's router you are using. I know from past experience that some ISP supplied routers do do port forwarding at all well.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Troubleshooting”