View Full Version : [ubuntu] Unable to ping to Windows from Ubuntu

January 8th, 2010, 07:28 PM
I have am having some network troubles. I can't access my samba share. Trying to resolve this I realized I couldn't ping from ubuntu to windows. (default ubuntu.jaunty.server.x64)

Windows IP..
Ubuntu IP...
Laptop IP...
Router IP...

--Router Information
WRT54GS - DDWRT Firmware
All connections are wired with NETGEAR 1000mbps Switch

WHAT Works?
Ubuntu Ping localhost
Ubuntu Ping router
Ubuntu internet/updates
Laptop ping Windows
Laptop ping ubuntu
Windows ping ubuntu

Iptables all set to accept.
route -n is normal
/etc/hosts has windowshostname
/etc/resolv.conf has nameserver from isp of
/etc/network/interfaces has properly defined static ip.

I'm confused about what to try/do next

[SOLVED] After countless hours of digging and verifying multiple times that ifconfig, route -n, nsswitch, and samba were all configured properly. I stumbled upon the answer.
All I had to do was
sudo aptitude remove dhcp*

January 8th, 2010, 08:33 PM
I tried disabling windows firewall and microsoft security essentials.

I also tried changing nsswitch.conf to have wins in the hosts line and adding wins to the smb.conf - still nothing

January 8th, 2010, 09:07 PM
What OS is the laptop?

Post output of ipconfig /all from windows and ifconfig from ubuntu - and which applies from the laptop.

January 8th, 2010, 09:14 PM
Can Ubuntu ping Windows by address (ping -c5

January 8th, 2010, 09:30 PM
The laptop is OSX/Ubuntu.
BOTH sides can ping all computers.

And yet another computer with ubuntu karmic desktop x64 can ping all computers.

Iowan - I am doing all my pinging by ip
'ping -c5' replies with
"From icmp_seq# Destination Host Unreachable
100% Packet loss

January 14th, 2010, 03:23 AM
SOLVED! Removed DHCP packages. They seem to be conflicting with the static IP somewhere that I can't prove. IFCONFIG was correct the whole time.