SDB:Printing Does not Work with: lpd, X-Windows, Dial-up

Şuraya atla: kullan, ara


Symptom:

Network-based services dependent on name resolution do not work, e.g. lpd, X-Windows, or ISDN/Modem dial-up.

Cause:

Network-based services depend on name resolution, i.e. a computer can be identified by his id. If the base configuration

  • is missing
  • is incomplete
  • is written using faulty syntax

then name resolution fails. A network service request cannot assigned to an addressee and therefore the request cannot be completed.

Solution:

You can set the machine name and the network domain using yast.

Please take care:

  • The machine should not consist of more than 8 letters (it is possible to use more, but there could be problems with email addressing).
    • The machine name should not contain any umlauts (email addressing would be patchy at best).
    • Lowercase is preferred; uppercase will be converted into lowercase.
  • Domains are encoded using the following syntax:sub_domain.top_level_domain
  • The top-level domain name should not consist or more than 4 letters.
  • Do not put a period at the end of the domain name.
  • It is possible to use sub-domain names consisting of other sub-domain names sub_sub_domain.sub_domain, although this should be avoided if not absolutely necessary. You only need to use a sub-domain name if the network provider demands it or if a complex internal network has been installed.
  • Domain names are preferably written using lower case letters, upper case letters will be converted into lowercase.
  • If possible, use the domain name of the network provider.
  • If you do not want to connect to the Internet, the syntax placename.country might be useful.
  • The complete name as output by the command hostname -f should look like this: computer_name.domain.top_level_domain. Again, the top-level domain has 4 letters at most.

Enter the configuration into YaST as follows:

  • Login as root
  • Type YaST
  • Go to menu item System administration and hit Enter
  • Go to menu item Network Configuration and hit Enter
  • Go to menu item Change host name and hit Enter
  • Enter hostname and domain name according to the rules outlined above
  • Continue...
  • by pushing the Esc button repeatedly until you exit YaST. Then SuSEConfig will run and finish configuration.
  • To see the effects of your new configuration, reboot you computer !

<keyword>network,basic,setting,lpr,printing,printer,dial-up</keyword>