Skip to main content
Copy edited. Removed meta information.
Source Link
Peter Mortensen
  • 12.2k
  • 23
  • 72
  • 90

Windows 7 can't ping linuxa Linux server via its hostname (IP address works, virtual linuxLinux machine works)

I wasn't sure what the best stack exchange site was for this question, hopefully this works.

I'm trying to set up a home linuxLinux server (running arch linux armArch Linux ARM on a raspberry piRaspberry Pi), and I can't seem to get my windowsWindows desktop machine to recognize it via hostname (in this case "whitey"). II have it set to a static IP address in my router (at 192.168.1.254), and (in theory), my router is functioning as a DNS server. WhenWhen running "ping whitey" on windowsWindows, I get

Ping request could not find host whitey.  Please check the name and try again.

Ping request could not find host whitey. Please check the name and try again.

However "ping 192.168.1.254" works. What'sWhat's curious is that both my linuxLinux laptop and, curiously, a linuxLinux virtual machine running on the windowsWindows PC can find my server (using "ping whitey"). ThisThis leads me to believe that the issue lies on the windowsWindows side, and not with the router or the server.

Any ideas? I've

I've tried

ipconfig /flushdns

as well as manually setting my router as the dnsDNS server for ipv4IPv4 addresses.

Please let me know if more information is necessary...my networking-fu is not the greatest, so I'm not sure what would be helpful here.

Thanks for any help you guys can give!

Windows 7 can't ping linux server via hostname (IP address works, virtual linux machine works)

I wasn't sure what the best stack exchange site was for this question, hopefully this works.

I'm trying to set up a home linux server (running arch linux arm on a raspberry pi), and I can't seem to get my windows desktop machine to recognize it via hostname (in this case "whitey"). I have it set to a static IP in my router (at 192.168.1.254), and (in theory), my router is functioning as a DNS server. When running "ping whitey" on windows, I get

Ping request could not find host whitey.  Please check the name and try again.

However "ping 192.168.1.254" works. What's curious is that both my linux laptop and, curiously, a linux virtual machine running on the windows PC can find my server (using "ping whitey"). This leads me to believe that the issue lies on the windows side, and not with the router or the server.

Any ideas? I've tried

ipconfig /flushdns

as well as manually setting my router as the dns server for ipv4 addresses.

Please let me know if more information is necessary...my networking-fu is not the greatest, so I'm not sure what would be helpful here.

Thanks for any help you guys can give!

Windows 7 can't ping a Linux server via its hostname (IP address works, virtual Linux machine works)

I'm trying to set up a home Linux server (running Arch Linux ARM on a Raspberry Pi), and I can't seem to get my Windows desktop machine to recognize it via hostname (in this case "whitey"). I have it set to a static IP address in my router (at 192.168.1.254), and (in theory), my router is functioning as a DNS server. When running "ping whitey" on Windows, I get

Ping request could not find host whitey. Please check the name and try again.

However "ping 192.168.1.254" works. What's curious is that both my Linux laptop and, curiously, a Linux virtual machine running on the Windows PC can find my server (using "ping whitey"). This leads me to believe that the issue lies on the Windows side, and not with the router or the server.

Any ideas?

I've tried

ipconfig /flushdns

as well as manually setting my router as the DNS server for IPv4 addresses.

Post Migrated Here from serverfault.com (revisions)
Source Link
Hounddog
  • 193
  • 1
  • 10

Windows 7 can't ping linux server via hostname (IP address works, virtual linux machine works)

I wasn't sure what the best stack exchange site was for this question, hopefully this works.

I'm trying to set up a home linux server (running arch linux arm on a raspberry pi), and I can't seem to get my windows desktop machine to recognize it via hostname (in this case "whitey"). I have it set to a static IP in my router (at 192.168.1.254), and (in theory), my router is functioning as a DNS server. When running "ping whitey" on windows, I get

Ping request could not find host whitey.  Please check the name and try again.

However "ping 192.168.1.254" works. What's curious is that both my linux laptop and, curiously, a linux virtual machine running on the windows PC can find my server (using "ping whitey"). This leads me to believe that the issue lies on the windows side, and not with the router or the server.

Any ideas? I've tried

ipconfig /flushdns

as well as manually setting my router as the dns server for ipv4 addresses.

Please let me know if more information is necessary...my networking-fu is not the greatest, so I'm not sure what would be helpful here.

Thanks for any help you guys can give!