Latest LQ Deal: Linux Power User Bundle
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 11-01-2005, 11:22 AM   #1
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Rep: Reputation: 0
[solved] Unable to resolve any hostnames, including localhost


I've been building a custom Linux system for my old 486 laptop, based on a 2.4.31 kernel. At one point networking was working perfectly, but I changed something and now my laptop cannot resolve any hostnames to ip's, including localhost. To simply the problem, please note that this occurs without any modules loaded or pcmcia service running (so I'm not concerned with getting online right now, just being able to resolve localhost into will be enough, because I'm convinced my other networking problems will go away as a result). I've spent a few hours on #linux being helped by some very nice people, with no luck.

Linux kernel:

Homemade UMSDOS (original based on latest mulinux, but completely gutted and refitted with new kernel, libraries, and binaries (I just needed a UMSDOS filesystem to get started), with new binaries and libraries copied over from Ubuntu Breezy. My plan is to get it working enough to get online, then use apt-get / dpkg to set up the system properly.

Code:          localhost         loopback
(Note: there are tabs between each, not spaces. I have also tried simply ` localhost'. I have also tried space instead of tab.)

order hosts,bind
multi on
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1344 (1.3 KiB)  TX bytes:1344 (1.3 KiB)
ping localhost:
ping: unknown host localhost
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=2.89 ms
64 bytes from icmp_seq=1 ttl=64 time=0.597 ms
64 bytes from icmp_seq=1 ttl=64 time=0.594 ms

--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2018ms
rtt min/avg/max/mdev = 0.594/1.361/2.894/1.084 ms
host localhost:
;; connection timed out; no servers could be reached
Networking commands that I run during the boot process:
/bin/hostname mubuntu
/sbin/ifconfig lo
/sbin/route add -host lo

Kernel `make menuconfig' networking configuration:
General setup:
[*] Networking support
Networking options:
<M> Packet socket
<*> Unix domain sockets[*] TCP/IP networking
Network device support:
[*] Network device support
<*> Dummy net driver support
Thank you very much for your ideas and suggestions on how to get localhost to resolve to


Last edited by calamari; 11-02-2005 at 03:36 PM.
Old 11-01-2005, 11:37 AM   #2
Registered: Jun 2004
Location: Victoria BC Canada
Distribution: Suse 9.2-10.0 RH 6.1 ubuntu 8.10 Mint 6
Posts: 33

Rep: Reputation: 15
There is another file called resolv.conf you did not mention which contains the addresses of the name servers. Perhaps it does not exist or is empty. I think any IP search needs this file and its absence would cause failure.
Old 11-01-2005, 01:31 PM   #3
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Original Poster
Rep: Reputation: 0
I do have /etc/resolv.conf, but I should note that it is created automatically when I run dhcpcd (so it has nameserver entries related to my isp only). I wasn't aware that it was needed to resolve localhost. What should it contain to resolve localhost to

I have tried with and without the resolv.conf file and it doesn't seem to make a difference. I'm not trying to get online right now (so please don't worry about dhcp or dhcpcd, it's not running.. I don't even have the network card in). Just being able to `ping localhost' and have that work is enough. AFAIK, that shouldn't require dhcp or a network card, since it is the local networking system.

Old 11-01-2005, 02:17 PM   #4
Registered: Jun 2004
Location: Victoria BC Canada
Distribution: Suse 9.2-10.0 RH 6.1 ubuntu 8.10 Mint 6
Posts: 33

Rep: Reputation: 15
I don't normally build a machine without a NIC. I wonder if this would have something to do with it. The relationship between localhost and should always be there but if there is no NIC perhaps it is broken. The other necessary files to check are protocols, services, and networks all found in /etc. Perhaps the answer may be found in these? Not sure what else I can think of.

Old 11-01-2005, 02:56 PM   #5
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Original Poster
Rep: Reputation: 0
Ahh, sorry I don't want to confuse. I can plug in the NIC or not (run dhcpcd, which works, etc), it doesn't seem to make a bit of difference. In fact, with the NIC I can ping internet sites and access them by IP.. but I didn't want to get into the details of the internet configuration. I believe that my online DNS problems have a root cause that is the same that is causing localhost to fail to resolve to If my theory is wrong, that's okay, but it's a separate issue, so I didn't want to confuse the situation, but keep it simple instead.

So, to summarize that: I'd like to be able to access localhost and have it resolve to, regardless of whether I can access the rest of the internet by DNS resolution or not.

Would you be willing to share the contents of the files you mentioned? I will compare against what I have. Maybe I'm missing something basic, as I put this together myself rather than using packages.

Old 11-01-2005, 04:55 PM   #6
Registered: Jun 2004
Location: Victoria BC Canada
Distribution: Suse 9.2-10.0 RH 6.1 ubuntu 8.10 Mint 6
Posts: 33

Rep: Reputation: 15
/etc/protocols from RedHat 6.1:
# /etc/protocols:
# $Id: protocols,v 1.1 1995/02/24 01:09:41 imurdock Exp $
# Internet (IP) protocols
# from: @(#)protocols 5.1 (Berkeley) 4/17/89
# Updated for NetBSD based on RFC 1340, Assigned Numbers (July 1992).

ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
ggp 3 GGP # gateway-gateway protocol
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
st 5 ST # ST datagram mode
tcp 6 TCP # transmission control protocol
egp 8 EGP # exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # user datagram protocol
hmp 20 HMP # host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # "reliable datagram" protocol
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4
xtp 36 XTP # Xpress Tranfer Protocol
ddp 37 DDP # Datagram Delivery Protocol
idpr-cmtp 39 IDPR-CMTP # IDPR Control Message Transport
rspf 73 RSPF #Radio Shortest Path First.
vmtp 81 VMTP # Versatile Message Transport
ospf 89 OSPFIGP # Open Shortest Path First IGP
ipip 94 IPIP # Yet Another IP encapsulation
encap 98 ENCAP # Yet Another IP encapsulation

/etc/services from RedHat 6.1:
# /etc/services:
# $Id: services,v 1.4 1997/05/20 19:41:21 tobias Exp $
# Network services, Internet style
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, most entries here have two entries
# even if the protocol doesn't support UDP operations.
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
# are included, only the more common ones.

tcpmux 1/tcp # TCP port service multiplexer
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
msp 18/tcp # message send protocol
msp 18/udp # message send protocol
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
telnet 23/tcp
# 24 - private
smtp 25/tcp mail
# 26 - unassigned
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
nameserver 42/tcp name # IEN 116
whois 43/tcp nicname
re-mail-ck 50/tcp # Remote Mail Checking Protocol
re-mail-ck 50/udp # Remote Mail Checking Protocol
domain 53/tcp nameserver # name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
bootps 67/tcp # BOOTP server
bootps 67/udp
bootpc 68/tcp # BOOTP client
bootpc 68/udp
tftp 69/udp
gopher 70/tcp # Internet Gopher
gopher 70/udp
rje 77/tcp netrjs
finger 79/tcp
www 80/tcp http # WorldWideWeb HTTP
www 80/udp # HyperText Transfer Protocol
link 87/tcp ttylink
kerberos 88/tcp kerberos5 krb5 # Kerberos v5
kerberos 88/udp kerberos5 krb5 # Kerberos v5
supdup 95/tcp
# 100 - reserved
hostnames 101/tcp hostname # usually from sri-nic
iso-tsap 102/tcp tsap # part of ISODE.
csnet-ns 105/tcp cso-ns # also used by CSO name server
csnet-ns 105/udp cso-ns
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
# alias here. This should work for programs asking for this service.
# (due to a bug in inetd the 3com-tsmux line is disabled)
#3com-tsmux 106/tcp poppassd
#3com-tsmux 106/udp poppassd
rtelnet 107/tcp # Remote Telnet
rtelnet 107/udp
pop-2 109/tcp postoffice # POP version 2
pop-2 109/udp
pop-3 110/tcp # POP version 3
pop-3 110/udp
sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
auth 113/tcp authentication tap ident
sftp 115/tcp
uucp-path 117/tcp
nntp 119/tcp readnews untp # USENET News Transfer Protocol
ntp 123/tcp
ntp 123/udp # Network Time Protocol
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp
imap2 143/tcp imap # Interim Mail Access Proto v2
imap2 143/udp imap
snmp 161/udp # Simple Net Mgmt Proto
snmp-trap 162/udp snmptrap # Traps for SNMP
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
cmip-man 163/udp
cmip-agent 164/tcp
cmip-agent 164/udp
xdmcp 177/tcp # X Display Mgr. Control Proto
xdmcp 177/udp
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
nextstep 178/udp NeXTStep NextStep # server
bgp 179/tcp # Border Gateway Proto.
bgp 179/udp
prospero 191/tcp # Cliff Neuman's Prospero
prospero 191/udp
irc 194/tcp # Internet Relay Chat
irc 194/udp
smux 199/tcp # SNMP Unix Multiplexer
smux 199/udp
at-rtmp 201/tcp # AppleTalk routing
at-rtmp 201/udp
at-nbp 202/tcp # AppleTalk name binding
at-nbp 202/udp
at-echo 204/tcp # AppleTalk echo
at-echo 204/udp
at-zis 206/tcp # AppleTalk zone information
at-zis 206/udp
qmtp 209/tcp # The Quick Mail Transfer Protoc
qmtp 209/udp # The Quick Mail Transfer Protoc
z3950 210/tcp wais # NISO Z39.50 database
z3950 210/udp wais
ipx 213/tcp # IPX
ipx 213/udp
imap3 220/tcp # Interactive Mail Access
imap3 220/udp # Protocol v3
rpc2portmap 369/tcp
rpc2portmap 369/udp # Coda portmapper
codaauth2 370/tcp
codaauth2 370/udp # Coda authentication server
ulistserv 372/tcp # UNIX Listserv
ulistserv 372/udp
https 443/tcp # MCom
https 443/udp # MCom
snpp 444/tcp # Simple Network Paging Protocol

snpp 444/udp # Simple Network Paging Protocol

saft 487/tcp # Simple Asynchronous File Trans
saft 487/udp # Simple Asynchronous File Trans
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
# UNIX specific services
exec 512/tcp
biff 512/udp comsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd # no passwords used
syslog 514/udp
printer 515/tcp spooler # line printer spooler
talk 517/udp
ntalk 518/udp
route 520/udp router routed # RIP
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency broadcasts
uucp 540/tcp uucpd # uucp daemon
afpovertcp 548/tcp # AFP over TCP
afpovertcp 548/udp # AFP over TCP
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
klogin 543/tcp # Kerberized `rlogin' (v5)
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
webster 765/tcp # Network dictionary
webster 765/udp
# From ``Assigned Numbers'':
#> The Registered Ports are not controlled by the IANA and on most systems
#> can be used by ordinary user processes or programs executed by ordinary
#> users.
#> Ports are used in the TCP [45,106] to name the ends of logical
#> connections which carry long term conversations. For the purpose of
#> providing services to unknown callers, a service contact port is
#> defined. This list specifies the port used by the server process as its
#> contact port. While the IANA can not control uses of these ports it
#> does register or list uses of these ports as a convienence to the
#> community.
ingreslock 1524/tcp
ingreslock 1524/udp
prospero-np 1525/tcp # Prospero non-privileged
prospero-np 1525/udp
datametrics 1645/tcp old-radius # datametrics / old radius entry

datametrics 1645/udp old-radius # datametrics / old radius entry

sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entr
sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entr
radius 1812/tcp # Radius
radius 1812/udp # Radius
radacct 1813/tcp # Radius Accounting
radacct 1813/udp # Radius Accounting
cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations
venus 2430/tcp # codacon port
venus 2430/udp # Venus callback/wbc interface
venus-se 2431/tcp # tcp side effects
venus-se 2431/udp # udp sftp side effect
codasrv 2432/tcp # not used
codasrv 2432/udp # server port
codasrv-se 2433/tcp # tcp side effects
codasrv-se 2433/udp # udp sftp side effect
mysql 3306/tcp # MySQL
mysql 3306/udp # MySQL
rfe 5002/tcp # Radio Free Ethernet
rfe 5002/udp # Actually uses UDP only
cfengine 5308/tcp # CFengine
cfengine 5308/udp # CFengine
bbs 7000/tcp # BBS service
# Kerberos (Project Athena/MIT) services
# Note that these are for Kerberos v4, and are unofficial. Sites running
# v4 should uncomment these and comment out the v5 entries above.
kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
kerberos_master 751/udp # Kerberos authentication
kerberos_master 751/tcp # Kerberos authentication
passwd_server 752/udp # Kerberos passwd server
krb_prop 754/tcp # Kerberos slave propagation
krbupdate 760/tcp kreg # Kerberos registration
kpasswd 761/tcp kpwd # Kerberos "passwd"
kpop 1109/tcp # Pop with Kerberos
knetd 2053/tcp # Kerberos de-multiplexor
zephyr-srv 2102/udp # Zephyr server
zephyr-clt 2103/udp # Zephyr serv-hm connection
zephyr-hm 2104/udp # Zephyr hostmanager
eklogin 2105/tcp # Kerberos encrypted rlogin
# Unofficial but necessary (for NetBSD) services
supfilesrv 871/tcp # SUP server
supfiledbg 1127/tcp # SUP debugging
# Datagram Delivery Protocol services
rtmp 1/ddp # Routing Table Maintenance Prot
nbp 2/ddp # Name Binding Protocol
echo 4/ddp # AppleTalk Echo Protocol
zip 6/ddp # Zone Information Protocol
# Services added for the Debian GNU/Linux distribution
poppassd 106/tcp # Eudora
poppassd 106/udp # Eudora
mailq 174/tcp # Mailer transport queue for Zma
ssmtp 465/tcp # SMTP over SSL
gdomap 538/tcp # GNUstep distributed objects
gdomap 538/udp # GNUstep distributed objects
snews 563/tcp # NNTP over SSL
ssl-ldap 636/tcp # LDAP over SSL
omirr 808/tcp omirrd # online mirror
omirr 808/udp omirrd # online mirror
rsync 873/tcp # rsync
rsync 873/udp # rsync
simap 993/tcp # IMAP over SSL
spop3 995/tcp # POP-3 over SSL
socks 1080/tcp # socks proxy server
socks 1080/udp # socks proxy server
rmtcfg 1236/tcp # Gracilis Packeten remote confi
g server
xtel 1313/tcp # french minitel
support 1529/tcp # GNATS
cfinger 2003/tcp # GNU Finger
ninstall 2150/tcp # ninstall service
ninstall 2150/udp # ninstall service
afbackup 2988/tcp # Afbackup system
afbackup 2988/udp # Afbackup system
icp 3130/tcp # Internet Cache Protocol (Squid
icp 3130/udp # Internet Cache Protocol (Squid
postgres 5432/tcp # POSTGRES
postgres 5432/udp # POSTGRES
fax 4557/tcp # FAX transmission service
hylafax 4559/tcp # HylaFAX client-server protocol
noclog 5354/tcp # noclogd with TCP (nocol)
noclog 5354/udp # noclogd with UDP (nocol)
hostmon 5355/tcp # hostmon uses TCP (nocol)
hostmon 5355/udp # hostmon uses TCP (nocol)
ircd 6667/tcp # Internet Relay Chat
ircd 6667/udp # Internet Relay Chat
webcache 8080/tcp # WWW caching service
webcache 8080/udp # WWW caching service
tproxy 8081/tcp # Transparent Proxy
tproxy 8081/udp # Transparent Proxy
mandelspawn 9359/udp mandelbrot # network mandelbrot
amanda 10080/udp # amanda backup services
kamanda 10081/tcp # amanda backup services (Kerber
kamanda 10081/udp # amanda backup services (Kerber
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
isdnlog 20011/tcp # isdn logging system
isdnlog 20011/udp # isdn logging system
vboxd 20012/tcp # voice box system
vboxd 20012/udp # voice box system
binkp 24554/tcp # Binkley
binkp 24554/udp # Binkley
asp 27374/tcp # Address Search Protocol
asp 27374/udp # Address Search Protocol
tfido 60177/tcp # Ifmail
tfido 60177/udp # Ifmail
fido 60179/tcp # Ifmail
fido 60179/udp # Ifmail

# Local services

linuxconf 98/tcp
swat 901/tcp
Old 11-01-2005, 06:04 PM   #7
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks a lot, I'll try that out when I get home
Old 11-01-2005, 06:43 PM   #8
LQ Newbie
Registered: Mar 2004
Location: japan
Distribution: debian
Posts: 24

Rep: Reputation: 15
Check you /etc/nsswitch.conf file. In the line "hosts: " make sure "files" is listed. Here is mine:

# /etc/nsswitch.conf
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat
group: compat
shadow: compat

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
PS: if you use nscd (ps xa|grep nscd) then you might have to restart it (/etc/init.d/nscd restart) after making changes to this file.
Old 11-02-2005, 12:17 AM   #9
LQ Newbie
Registered: Sep 2005
Location: india
Posts: 13

Rep: Reputation: 0
did u check whether icmp is block on your system there is a file in proc/networking...ipv4
and there is file something like icmp dont remember the name.
Old 11-02-2005, 01:41 AM   #10
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Original Poster
Rep: Reputation: 0
EricEarl and bluej: I added the mentioned files to /etc, rebooted, no change.

Originally posted by sats
did u check whether icmp is block on your system there is a file in proc/networking...ipv4
and there is file something like icmp dont remember the name.
sats: I'm having trouble understanding what you're saying. Could you please explain for me? I don't have /proc/networking (it's also not on my working Ubuntu machine). But, I do have /proc/net. Here is what I have under /proc/net:

ls -R /proc/net


cat /proc/net/*
IP address       HW type     Flags       HW address            Mask     Device
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
dummy0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
sk       Eth Pid    Groups   Rmem     Wmem     Dump     Locks
c003c040 0   0      00000000 0        0        00000000 2
c003c700 4   0      00000000 0        0        00000000 2
TcpExt: SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOfWindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSPassive PAWSActive PAWSEstab DelayedACKs DelayedACKLocked DelayedACKLost ListenOverflows ListenDrops TCPPrequeued TCPDirectCopyFromBacklog TCPDirectCopyFromPrequeue TCPPrequeueDropped TCPHPHits TCPHPHitsToUser TCPPureAcks TCPHPAcks TCPRenoRecovery TCPSackRecovery TCPSACKReneging TCPFACKReorder TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPPartialUndo TCPDSACKUndo TCPLossUndo TCPLoss TCPLostRetransmit TCPRenoFailures TCPSackFailures TCPLossFailures TCPFastRetrans TCPForwardRetrans TCPSlowStartRetrans TCPTimeouts TCPRenoRecoveryFail TCPSackRecoveryFail TCPSchedulerFailed TCPRcvCollapsed TCPDSACKOldSent TCPDSACKOfoSent TCPDSACKRecv TCPDSACKOfoRecv TCPAbortOnSyn TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger TCPAbortFailed TCPMemoryPressures
TcpExt: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode                               
Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
lo	0100007F	00000000	0005	0	0	0	FFFFFFFF	0	0	0                                                                                 
Iface	Destination	Gateway 	Flags		RefCnt	Use	Metric	Source		MTU	Window	IRTT	TOS	HHRef	HHUptod	SpecDst                          
Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates
Ip: 2 64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Icmp: InMsgs InErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutDestUnreachs OutTimeExcds OutParmProbs OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps OutTimestampReps OutAddrMasks OutAddrMaskReps
Icmp: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts
Tcp: 1 200 120000 -1 0 0 0 0 0 0 0 0 0 0
Udp: InDatagrams NoPorts InErrors OutDatagrams
Udp: 0 0 0 0
sockets: used 2
TCP: inuse 0 orphan 0 tw 0 alloc 0 mem 0
UDP: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode                                                     
  sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode                               
Num       RefCount Protocol Flags    Type St Inode Path
Old 11-02-2005, 01:17 PM   #11
LQ Newbie
Registered: Nov 2005
Location: Tucson, AZ
Posts: 9

Original Poster
Rep: Reputation: 0
Solved it! I was missing the /lib/libnss* libraries. All works well now. Discovered this from reading the busybox Login/Password use internal functions Help option. I wouldn't have recognized it for what it was unless /etc/nsswitch.conf was mentioned.. so thanks bluej .

Thanks a lot for everyone's help,


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
Fedora can resolve external hostnames but not internal TheLandofSmeg Linux - Networking 3 02-25-2005 07:57 PM
Cannot resolve hostnames BobBuchanan Linux - Networking 1 02-12-2005 05:56 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 02:20 AM
pppoe seems to connect but cant resolve hostnames mecister Linux - Networking 2 06-23-2004 06:32 PM
resolve hostnames zero_kewl Linux - General 5 09-01-2003 04:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:34 PM.

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