Linux 102|109 Networking

|^|

Guide Networking

TCP/IP configuration

/etc/HOSTNAME or /etc/hostnameSystem network name

/etc/hosts Names for other hosts on the network (substitute for DNS)

/etc/networks Network names

/etc/host.conf Overall resolver configuration

/etc/resolv.conf Resolver settings (e.g. DNS server and domain suffix)

/etc/nsswitch.conf Name services switch (in which order are names resolved)

ifconfig Network interface configuration and display

route Network routes configuration and display

dhcpcd, dhcpclient, pump DHCP clients (Dynamic Host Configuration Protocol)

host DNS query tool

hostname (domainname, dnsdomainname) Set or query the host name

netstat Show network status

ping Network connectivity testing

traceroute Network routing testing

tcpdump Network packet sniffer (show all network traffic)

the network scripts run during system initialization. Somewhere in /etc ...

CONFIGURE CLIENT SIDE DNS

/etc/hosts

/etc/resolv.conf

/etc/nsswitch.conf

PDF PRINTER FOR CUPS

hanks to everyone from this thread for all their guidance. The sticking point in this whole process is that you need to be root to edit the permissions on the executable.

    1. Install the cups-pdf package (I used version 2.2.0-1)

    2. Go to System -> Administration -> Printing

    3. Doubleclick "New Pinter"

    4. Notice that there is no mention of a CUPS PDF printer

    5. Open a terminal and tpe "sudo nautilus" and then your password

    6. Go to Filesystem -> usr -> lib -> cups -> backend

    7. Rightclick "cups-pdf" and select Properties

    8. Go to the Permissions tab and click the "Set user ID" special flag

    9. Again try to add a new printer

    10. There is now a "PDF Printer" detected, select it

    11. Select the Generic, Postscript Color Printer (Rev 3b)

    12. Give it a name, like PDF Printer

    13. Right click on the newly created printer, and select Properties

    14. Click "Print a Test Page"

    15. The file should be in your Home folder, under the PDF folder

Last edited by LaRoza; March 26th, 2008 at 03:29 AM.

sudo updatedb locate cups-pdf

if you still don't see it then...

Code:

sudo apt-get install cups-pdf

SEE 1:

Printer related unauthenticated.

family@familydesktop:~$ sudo lppasswd -a family Enter password: Enter password again: family@familydesktop:~$ sudo lppasswd -a root Enter password: Enter password again:

You're most likely not allowing certain types of access to your CUPS daemon. Take a look at the troubleshooting guide:

For example

You'll need entries like this to start:

# /etc/cups/cupsd.conf # Default authentication type, when authentication is required... DefaultAuthType Basic DefaultEncryption Never # comment this line to allow encryption # Allow access to the server from any machine on the LAN <Location /> Order allow,deny #Allow localhost Allow 192.168.1.* # change to local LAN settings </Location>

There are other permissions you'll potentially need to grant as well in this file.

eof