LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2006, 10:35 PM   #1
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Rep: Reputation: 30
Trouble pinging a linux box - resolves outside ip!


Hey guys - I'm trying to ping my gentoo box "domokun" on my network "rushnet.net". I can't remember screwing around with any conf files, and it sort of stopped being able to be contacted by hostname. I've tried on multiple windows/linux boxes, flushed their DNS caches, fiddled with my router (but I don't think that's the problem). All the machines are on the workgroup "WORKGROUP", no domain controller or anything of the sort is present. The machines pull everything down via dhcp.

Whenever I try to ping domokun, it's slow to find it, then it resolves an outside ip... I guess that's domokun.com or something. As far as I can see, everything looks ok... hopefully I'm just missing something really simple.

Here's the appropriate config files from domokun:

/etc/host.conf
Code:
order hosts, bind
multi off
/etc/nsswitch.conf
Code:
passwd:      compat winbind
shadow:      compat
group:       compat winbind

# passwd:    db files nis
# shadow:    db files nis
# group:     db files nis

hosts:       files dns wins
networks:    files dns

services:    db files
protocols:   db files
rpc:         db files
ethers:      db files
netmasks:    files
netgroup:    files nis
bootparams:  files

automount:   files
aliases:     files
/etc/resolv.conf
Code:
# Generated by dhcpcd for interface eth0
search rushnet.westell.com
nameserver 192.168.1.1
nameserver 192.168.1.1
/etc/conf.d/domainname
Code:
# /etc/conf.d/domainname

# When setting up resolv.conf, what should take precedence?
#  0 = let dhcp/whatever override DNSDOMAIN
#  1 = override dhcp/whatever with DNSDOMAIN

OVERRIDE=0

# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf
# (domain entry in /etc/resolv.conf and FQDN in /etc/hosts).
#
# DNSDOMAIN merely sets the domain entry in /etc/resolv.conf, see 
# the resolv.conf(5) manpage for more info.

DNSDOMAIN=""

# For information on setting up NIS, please see:
#   http://www.linux-nis.org/nis-howto/HOWTO/

NISDOMAIN=""
/etc/conf.d/hostname
Code:
# /etc/conf.d/hostname

# Set to the hostname of this machine
HOSTNAME="Domokun"
Anything I'm missing that could help? Any ideas? This is seriously starting to freak me out at this point. It's pretty nice to remember a hostname instead of an ip . Thanks in advance.

-Bill
 
Old 07-18-2006, 11:26 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you checked the configuration on your DNS server?
 
Old 07-19-2006, 08:08 AM   #3
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Original Poster
Rep: Reputation: 30
Yep - my dnsdomain is "rushnet.net", and it's set to autodetect devices -- currently it "sees" my windows machine in the devices section, but not the linux box
 
Old 07-19-2006, 11:10 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Yes, but do you have a DNS server pointing to this machine so that other computers know its IP address?
 
  


Reply



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
Having trouble setting up Linux box with two ethernet cards. GreenerLinux Linux - Networking 8 01-05-2005 03:20 PM
Added Windows HD to linux box. Trouble ensues. RandallC Linux - Software 14 11-02-2004 06:16 AM
Trouble Pinging... thedrew Linux - Wireless Networking 6 07-14-2004 01:01 PM
Trouble pinging IP and urls windoze killa Linux - Networking 12 04-22-2003 04:21 PM
Trouble printing from Win2K to printer on linux box cboyd Linux - Networking 0 03-03-2002 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:58 PM.

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