Just a thought

a very casual blogger

Tag Archives: Printer

Ubuntu Gutsy Gibbon (7.10) SAMBA / CUPS Server Setup

In this tutorial I will focus on setting up a (CUPS) Print Server.

Server Spec :
AMD Athlon 3800+
Asus A8N-SLI
2GB of RAM
WD Raptor 75GB HDD
Built-in NIC
Nvidia 7900GT Video Card

Printer :
Brother MFC-7820N

This PC was a gaming PC until I decided to turn it into a server so some of the spec might be odd to have inside a server. But nevertheless, this is what I have to work with. So Lets begin.

I am going to assume that you already have Ubuntu Gutsy Gibbon (7.10) Server Edition, OpenSSH, and Samba installed. Along with any necessary updates.

Installed & Updated

Ubuntu 7.10
OpenSSH
Samba
*Any Necessary Updates

CUPS Installation the latest version at the moment is CUPS 1.3.2

sudo apt-get install cupsys

Your CUPS configuration file should be located here

/etc/cups/cupsd.conf

If you are currently working the server machine then you should be able to log onto the CUPS web interface.

http://localhost:631

If you want to access the CUPS web interface with your workstation or laptop then you will need to edit the cupsd.conf file.

sudo nano /etc/cups/cupsd.conf

Find this line :
# Only listen for connections from the local machine.
Listen localhost:631

Change to :
# Only listen for connections from the local machine.
Listen [192.168.xxx.xxx]:631

Find this line :
# Restrict access to the admin pages...

Order allow,deny
Allow localhost


Change to :
# Restrict access to the admin pages...

Order allow,deny
Allow [192.168.xxx.xxx]

Afterward, restart the CUPS daemon:

sudo /etc/init.d/cupsys restart

The CUPS web interface should work using your laptop or workstation.

http://192.168.xxx.xxx:631
Design a site like this with WordPress.com
Get started