26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This file can contain more than one name server address, but at least<br />

one <strong>of</strong> them must be correct to provide name resolution to your host.<br />

If needed, adjust this file using the YaST DNS and Hostname module.<br />

If your network connection is handled via DHCP, enable DHCP to<br />

change hostname and name service information by selecting Change<br />

Hostname via DHCP and Update Name Servers and Search List via<br />

DHCP in the YaST DNS and Hostname module.<br />

/etc/nsswitch.conf<br />

This file tells Linux where to look for name service information. It<br />

should look like this:<br />

...<br />

hosts: files dns<br />

networks: files dns<br />

...<br />

The dns entry is vital. It tells Linux to use an external name server.<br />

Normally, these entries are automatically made by YaST, but it never<br />

hurts to check.<br />

If all the relevant entries on the host are correct, let your system administrator<br />

check the DNS server configuration for the correct zone information.<br />

For detailed information about DNS, refer to Chapter The Domain<br />

Name System (↑Reference). If you have made sure that the DNS<br />

configuration <strong>of</strong> your host and the DNS server are correct, proceed with<br />

checking the configuration <strong>of</strong> your network and network device.<br />

c If your system cannot establish a connection to a network server and you<br />

have excluded name service problems from the list <strong>of</strong> possible culprits,<br />

check the configuration <strong>of</strong> your network card.<br />

Use the command ifconfig network_device (executed as root)<br />

to check whether this device was properly configured. Make sure that both<br />

inet address and Mask are configured correctly. An error in the IP<br />

address or a missing bit in your network mask would render your network<br />

configuration unusable. If necessary, perform this check on the server as<br />

well.<br />

d If name service and network hardware are properly configured and running,<br />

but some external network connections still get long time-outs or fail entirely,<br />

Common Problems and Their Solutions 235

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

Saved successfully!

Ooh no, something went wrong!