26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

234 Start-Up<br />

assume both server and client to be members <strong>of</strong> the same subnet without<br />

the need for additional routing.<br />

a Use ping hostname (replace hostname with the hostname <strong>of</strong> the<br />

server) to check whether each one <strong>of</strong> them is up and responding to the network.<br />

If this command is successful, it tells you that the host you were<br />

looking for is up and running and that the name service for your network is<br />

configured correctly.<br />

If ping fails with destination host unreachable, either your<br />

system or the desired server is not properly configured or down. Check<br />

whether your system is reachable by running ping your_hostname<br />

from another machine. If you succeed to reach your machine from another<br />

machine, it is the server that is not running at all or not configured correctly.<br />

If ping fails with unknown host, the name service is not configured<br />

correctly or the hostname used was incorrect. Use ping -n ipaddress<br />

to try to connect to this host without name service. If this is successful,<br />

check the spelling <strong>of</strong> the hostname and for a misconfigured name service<br />

in your network. For further checks on this matter, refer to Step 4.b<br />

(page 234). If ping still fails, either your network card is not configured<br />

correctly or your network hardware is faulty. Refer to Step 4.c (page 235)<br />

for information about this.<br />

b Use host hostname to check whether the hostname <strong>of</strong> the server you<br />

are trying to connect to is properly translated into an IP address and vice<br />

versa. If this command returns the IP address <strong>of</strong> this host, the name service<br />

is up and running. If this the host command fails, check all network configuration<br />

files relevant to name and address resolution on your host:<br />

/etc/resolv.conf<br />

This file is used to keep track <strong>of</strong> the name server and domain you are<br />

currently using. It can be modified manually or be automatically adjusted<br />

by YaST or DHCP. Automatic adjustment is preferable. However, make<br />

sure that this file has the following structure and all network addresses<br />

and domain names are correct:<br />

search fully_qualified_domain_name<br />

nameserveripaddress_<strong>of</strong>_nameserver

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!