Register a domain and help support LQ
Go Back > Blogs
User Name


Rating: 3 votes, 4.33 average.

Solved: "mount error: could not resolve address for <hostname>. No address associated with hostname"

Posted 01-05-2011 at 06:19 PM by the dsc (linux-related notes)
Updated 01-05-2011 at 06:24 PM by the dsc

This error may happen when trying to mount a cifs/smbfs share, be it either via fstab or command line. Most people seem to either not have the problem or circumvent it by using static IPs instead of hostnames, which will work only as long as the IPs don't change. Funnily enough, it seems that for some people the problem is exactly the other way around, IPs won't work, only the hostname. Weird. This is also kind of funny/infuriating as the share will be readily accessible via konqueror, and perhaps...
Posted in Uncategorized
Views 20894 Comments 1 the dsc is offline

Sendmail: send-only when local system has no domain name

Posted 10-13-2009 at 01:04 PM by catkin
Updated 10-18-2009 at 12:31 PM by catkin


EDIT: this works but causes sendmail to pause for ~1 minute when it can't find its own FQDN; this slows boot (if sendmail is started at boot and not backgrounded) and would be un-workable on a busy mail server.

Here's how to configure sendmail to send mails when the computer is configured with a hostname but no domain name. It may be of use, for example, if you want to mail system exception reports and do not want to configure the computer as being part of a...
LQ 5k Club
Posted in Uncategorized
Views 7678 Comments 0 catkin is offline

Setting the Linux Hostname

Posted 03-02-2009 at 08:49 AM by farslayer
Updated 05-27-2009 at 03:12 PM by farslayer
Tags hostname

Originally Copied from
The original site has been down the last several times I have checked, so I am reposting the info here in my blog..

Setting the Linux Host Name

Start at the top and complete ALL steps..

Checking your Linux host name
First, see if your host name is set correclty using the following...
LQ Guru
Views 7696 Comments 2 farslayer is offline


All times are GMT -5. The time now is 10:26 AM.

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