Home > Cannot Ping > Cannot Ping Ubuntu Machine By Name

Cannot Ping Ubuntu Machine By Name

Contents

My computer is connected to the internet through my modem/router but since my house has 2 floors (me being in the bottom one) my father decided to put a new router Not the answer you're looking for? Join Date Apr 2007 Beans 63 Re: Can't ping computer in network Well, many things can be a problem here. This file maps computer names to IP addresses. http://sauvblog.com/cannot-ping/cannot-ping-my-machine.html

Surely I am doing something wrong, so any help would be appreciated. Will have a look. ping 192.168.1.1), this goes through fine... Faq Reply With Quote Share This Thread  Tweet This + 1 this Post To Linkedin Subscribe to this Thread  Subscribe to This Thread « Previous Thread | Next Thread

Ping Hostname Not Working Linux

Try: 'nslookup some_machine_name' in command line to see what happens. How safe is 48V DC? share|improve this answer answered Jan 16 at 12:34 tne 1312 mDNS does not seem to be supported on Windows without installing something on every windows box. –Zitrax Mar 27 This dhcp issue is why I use mostly static ip's on my lan.

UNIX is a registered trademark of The Open Group. Any idea what's wrong?? permalinkembedsaveparentgive gold[–]diesch 2 points3 points4 points 1 year ago(5 children)Your Windows machine doesn't have an DNS entry - at least not in the DNS servers your Ubuntu is using. Ubuntu Ping By Hostname Each of my 2 routers uses a separate subnet.

If your network has a home router, it's the best place to configure names for machines connected to that router. The configuration is in /etc/named and RedHat compatible manuals are still available here: http://www.centos.org/docs/4/html/rhel-rg-en-4/ch-bind.html Edit: The second of these is preferable, you shouldn't rely on NetBIOS to do name resolution for Can't ping Ubuntu from Windows0Cannot access ubuntu from windows1Can't ping Arch Linux machine from Ubuntu Server1No gateway ping in ubuntu and fedora, but ok on windows1Unable to ping anything but local http://askubuntu.com/questions/314620/unable-to-ping-ubuntu-from-windows Faq Reply With Quote May 19th, 2011,04:01 AM #12 No Profile Picture punkboii View Profile View Forum Posts  Contributing User Devshed Newbie (0 - 499 posts)   

The name and location of the setting is completely dependent on the router model, but most have a similar set of basic settings. Windows Cannot Ping Ubuntu I don't know if it's really needed, but I also added all my static ip address into the windows hosts file (usually found under the drivers\etc directory on the system disk). There must be a way Faq Reply With Quote June 1st, 2008,10:24 PM #5 fishtoprecords View Profile View Forum Posts Visit Homepage  Contributing User Devshed Frequenter (2500 - 2999 posts) Why is (a % 256) different than (a & 0xFF)?

Linux Ping Hostname Resolve

EDIT2 Disabling dnsmasq as suggested by harrymc didn't help. It looks like this: 127.0.0.1 localhost localhost.localdomain 198.51.100.42 darkstar darkstar.bands On unix systems, the hosts file is /etc/hosts. Ping Hostname Not Working Linux Windows file share tunnels over ip (the netbios stuff) and if you don't have a hosts entry, it will use an internet dns for lookup. Can't Ping Linux Hostname From Windows Browse other questions tagged networking windows samba ping or ask your own question.

Not the answer you're looking for? navigate here Ballpark salary equivalent today of "healthcare benefits" in the US? http://manpages.ubuntu.com/manpages/utopic/man8/avahi-daemon.8.html permalinkembedsavegive gold[–]dreaddy[S] 0 points1 point2 points 1 year ago*(0 children)The rush of "feel good" from from this drop gave the wanderer hope. Should the hostname resolve or shouldn't it? Linux Ping Windows Hostname

current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Thanks! –Radu Rădeanu Apr 27 '13 at 15:29 add a comment| up vote 3 down vote Computers don't just magically know what hostnames belong to what IP addressees. Check This Out If they use DHCP interface configuration, DNS configuration is most often included, and if you have a Windows Domain server on your network, they most probably use it as primary DNS.

I can ping the media server and ssh into it using it's IP, but it fails when I use the hostname. Ubuntu Hostname Not Visible On Network Anyway, thanks for clarifying this and preventing misunderstandings. Thanks to harrymc for getting me on the right track.

permalinkembedsaveparentgive gold[–]dreaddy[S] 0 points1 point2 points 1 year ago(0 children)Using the ISP supplied router.

Uses the .local TLD (which is what you already use). I can ping my modem/router and my parents can ping the modem/router, if I access the router through the browser, he recognises all the pcs connected to it without any problem. Register Lost Password? Libnss-winbind Tell Dnsmasq to serve your host names in addition to the ones it gets from the Internet.

What was Stan Lee's character reading on the bus in Doctor Strange Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? Posts must relate to Ubuntu (i.e. Can they ping your machine? this contact form not just Linux in general).

Do you haven a local DNS server (most routers have a built in one), and if so is Ubuntu using it? The collection of windows based machines in this network have dynamically assigned ips. Pick a computer that's always on, that has a static IP address, and that's running some kind of Linux or BSD; let's call it S (for server). when winbind is installed, it's always nice to add "wins" to the hosts: line in /etc/nsswitch.conf.

Do service winbind start to activate it. Relevant info for the Windows setup can be found there -- relatively straightforward. –tne Mar 28 at 16:15 add a comment| up vote 1 down vote vi /etc/dhcp3/dhclient.conf send host-name "ubuntu-laptop"; I tried turning off the firewall, on both sides (sudo ufw enable/disable). Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list.

This is my pillow What's the name of style where GM assumes idiotic behaviour unless stated otherwise? On all of your Windows machine, it is possible, out-of-the-box, to have the Windows name resolved to its IP address. Now you need to do several things. Why are password boxes always blanked out when other sensitive data isn't?

Before I added these, only the one computer that had been setup was connectible. Oh, and it's more an article than an answer :) –Tshepang Jul 18 '11 at 18:33 3 The answer is "install and configure dnsmasq". You tell that you run net view on Windows and you see your Ubuntu PC, so the NetBIOS name is well published on your network, so it works from Windows. This is beyond the scope of this answer; consult the Dnsmasq documentation (it's not difficult).

Code: sudo iwconfig Last edited by dmizer; July 5th, 2009 at 04:40 AM. 1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server Code: hosts: files dns mdns wins This will allow ordinary TCP/IP programs to resolve hostnames with netbios, so you can, for instance, do "ping " instead of "ping 192.168.1.xxx".