Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-20-2007, 10:24 PM   #1
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Rep: Reputation: 15
Please help diagnose: Can't ping other networked computers by name.

Every so often Samba (or Konqueror) looses its grip on the network.
Konqueror says "internal error" -- but I don't think it's a problem with Konq because Nautilus can't connect either.

All the other machines on the lan are Windows XP.
(I normally use Konq with smb:/ for handy dragging and dropping across the lan.)
I am not actually running KDE, (using IceWM) but I still use Konqueror.

The only solution I have found is to reboot, but even that didn't work last time.

Stangely, when I try smbtree from the command line it still correctly reports all the other boxen with their names and IPs.

I get dynamic IPs from the modem/router.
resolv.conf contains:
search localhost
search local

(Seems correct to me.)

I can ping internet sites by name or IP.
I can ping the other computers by IP address.
I can ping localhost by address, or 'localhost' or name.
But I can't ping the other computers by name.

I assume that if I can fix this, Samba with Konqueror or Epiphany will work on the network.

# hostname - is correct
# rcnetwork restart -o debug
Shows no problems to me, but does not fix the problem.

I DO have two instances of dhcpcd running: is that how it's supposed to be?

Running processes include:

Last edited by spindles; 06-21-2007 at 06:51 AM.
Old 06-20-2007, 10:42 PM   #2
LQ Newbie
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
edit your hosts file
Old 06-20-2007, 10:55 PM   #3
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Original Poster
Rep: Reputation: 15
I thought that editing hosts was only useful when using static ip addresses.
I mean, what will happen when the ip address leases expire?
Old 06-21-2007, 12:44 AM   #4
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Original Poster
Rep: Reputation: 15
Update: Fixed

Just in case anybody is looking:

...later in the day it was fixed...
Still can't ping by name, but it seems that's normal when you don't have static addresses.

What did I do?

took blank lines out of smb.conf (saw that recommended somewhere)
restarted network services
ifdown eth1 (turned off the broken NIC)
logged out
Restarted X
logged back in.

Don't know which, if any, of those things fixed it.
Anyway I didn't have to reboot.

I wonder if the problem really was Konqueror all the time?

Last edited by spindles; 06-21-2007 at 06:49 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing disks on other networked computers pofadda Puppy 2 08-03-2006 07:59 PM
FC4 won't ping or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Good Distro for my office with 4 networked computers? SonoranFun Linux - Distributions 3 01-19-2005 04:00 PM
Updating two networked computers (Mandrake 10) BaltikaTroika Mandriva 2 10-03-2004 07:04 AM
two computers networked through hub penguin_warrior Debian 2 02-13-2004 11:05 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration