Quick Start Guide

whether your system is reachable by running ping
IP address
or
your_hostname
from another machine. If you can reach your machine
from another machine, it is the server that is not running at all or not
congured correctly.
If ping fails with unknown host, the name service is not congured
correctly or the hostname used was incorrect. For further checks on
this matter, refer to Step 4b (page 259). If ping still fails, either your
network card is not congured correctly or your network hardware
is faulty.
4b
Use host
hostname
to check whether the hostname of the server you
are trying to connect to is properly translated into an IP address and
vice versa. If this command returns the IP address of this host, the
name service is up and running. If the host command fails, check all
network conguration les relating to name and address resolution
on your host:
/etc/resolv.conf
This le is used to keep track of the name server and domain you
are currently using. It can be modied manually or automatically
adjusted by YaST or DHCP. Automatic adjustment is preferable.
However, make sure that this le has the following structure and
all network addresses and domain names are correct:
search
fully_qualified_domain_name
nameserver
ipaddress_of_nameserver
This le can contain more than one name server address, but at
least one of them must be correct to provide name resolution to
your host. If needed, adjust this le using the YaST Network Set-
ting module (Hostname/DNS tab).
If your network connection is handled via DHCP, enable DHCP to
change hostname and name service information by selecting
Change Hostname via DHCP and Update Name Servers and Search
List via DHCP in the YaST DNS and Hostname module.
/etc/nsswitch.conf
This le tells Linux where to look for name service information. It
should look like this:
...
hosts: files dns
networks: files dns
...
The dns entry is vital. It tells Linux to use an external name server.
Normally, these entries are automatically managed by YaST, but
it would be prudent to check.
Help and Troubleshooting 259