CentOS 5 Server :: Setup Printer From Command Line?

Feb 24, 2009

I'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.

How do I make a simple printer on my network talk to my centOS box?

Here's the printer.conf from a Solaris machine that works:

raphael:
:bsdaddr=igppps1,raphael,Solaris:
And the printers.conf from the CentOS box:
lumina# more printers.conf
# Printer configuration file for CUPS v1.2.4

[Code].....

View 10 Replies


ADVERTISEMENT

CentOS 5 :: Printer In GUI Can Print Fine From The Command Line

Oct 6, 2009

I work at The University of Alabama as a sysadmin on various HPC resources and also provide support for faculty using Unix systems. I've run into one problem that is affecting two different desktop systems running CentOS 5.3.oth of these systems have the latest updates. These machines have standard network-attached printers. One is an HP LaserJet 3250 and the other is a model that is pretty close to that one.Previously these users were able to print from graphical applications such as Firefox, but now when the print dialog is opened on ANY graphical application, it causes a hard freeze on that particular app.Printing from the commandline via `lpr` gives no issues and test pages from the Printer Admin interface also succeed.This problem has me stumped, so I'm looking for any insight as to what could have changed. I do not know what changed between the time when the printers worked graphically and when they stopped, but the users assure that they have changed no settings. The only thing I can suspect is a rogue update since this is affecting separate users on separate machines with separate printers.

View 4 Replies View Related

CentOS 5 :: Setup Mail Client From Command Line?

Aug 9, 2010

I have installed CentOS 5.5 with no GUI - how do I enable/setup the "mail" client command to be able to send email via my Exchange 2007 mail server on my LAN?

View 1 Replies View Related

Ubuntu :: Install A Printer Server In The Command Line?

Apr 30, 2010

I am trying to install a printer server in the command line.

Does anyone know of good tutorials? or could explain it to me.

I already have cups installed. I just need to install the correct driver which is the Canon MP180 and set it to share.

View 4 Replies View Related

Server :: Selecting A Font In An HP Printer From The Command Line?

Feb 16, 2011

Does anyone have an example of selecting a font in an HP printer from the command line?

View 2 Replies View Related

Ubuntu Servers :: 9.10 Server - How To Setup Remote Desktop / VNC Via SSH + Command Line

Feb 21, 2010

I am playing around with the idea of being able to use a cloud or instance based service to install Ubuntu 9.10 Server. This will enable me to have remote access via SSH command line.So far, I've installed Ubuntu 9.10 Server + Ubuntu Desktop to a virtual machine. I can access this via SSH and locally via the desktop. However, in the real environment the only access I am going to have initially is via SSH.

I would like to be able to connect using Windows Remote Desktop or VNC (whichever is easier and most importantly - most secure) to the machine.. even though the desktop is on there, I need to somehow configure the remote access all from the command line.I've had a read of various forums and have been trawling support forums for days but can't find a working solution for 9.10 Server or that fits my situation above where I will not have any physical access to the desktop or machine to configure remote desktop. It all has to be done via SSH/command line.

View 4 Replies View Related

CentOS 5 :: CentOS Server Command Line Very Slow?

Jul 14, 2010

Anyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.

View 5 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

CentOS 5 Server :: Create An User Through Command Line?

Dec 16, 2009

i have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.

View 12 Replies View Related

CentOS 5 Server :: Mysqld Won't Accept Command Line Arguments?

Mar 28, 2009

I have recently installed MySQL Server on my CentOS box.

CentOS 5 MySQL 5.0.45 (installed using 'yum install mysql-server') I can start the daemon without error by issueing the following command: service mysqld start

The problem is that I want to use a number of the command line options available to mysqld, such as --verbose and When I issue '/etc/init.d/mysqld --verbose --help' I get the following output:

[Code]...

View 1 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

Ubuntu :: Set Up A Printer On The Command Line?

May 7, 2010

H ow do you set up a printer on the command line in linux?

View 1 Replies View Related

General :: How To Resume CUPS Printer From Command Line

Mar 3, 2010

I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.

View 5 Replies View Related

General :: Enable Printer In CUPS Using Command Line?

Oct 22, 2010

How to enable Printer in CUPS using Command Line?

View 3 Replies View Related

Fedora :: Get ADF (Auto Document Feeder) On A Printer To Work From Command Line?

May 4, 2010

know how to get ADF ( Auto Document Feeder ) on a printer to work from command line?

Running F12 and my printer is HP OfficeJet 7310xi

---------- Post added at 10:57 PM CDT ---------- Previous post was at 10:17 PM CDT ----------

I found this scanimage -b --batch-scan=yes > output.pnm

View 2 Replies View Related

Debian :: How To Download Setup Iso From Command Line

Feb 14, 2011

How to download debian stable setup iso from the command line?

View 4 Replies View Related

CentOS 5 Server :: Super Slow Windows Printer Properties Dialogue With Samba Printer

Sep 18, 2009

I have a Centos 5.3 server with Samba file shares and a shared Samba printer. I am not running a domain.

I recently changed my windows desktop pc from an XP machine to a vista 64 machine... It has a different user name. Everything went pretty smoothly - and the and the vista machine found the smba printer - and even downloaded the driver from the samba server. he printer works OK - and the file shares are fine.

The only thing which is quite odd - is that the Printer Properties dialogue takes more than 30 seconds to come up - and every action you attempt with the dialogue takes a similar amount of time.

I will include below the essence of my smb.conf:

View 3 Replies View Related

General :: Command Line Email (Gmail) Setup

Sep 18, 2010

I am pretty new to C.L.I/text editing work. So maybe its a bit old-fashioned but I am interested in learning how to send email via the command line. I am running 10.04 32 bit

Situation: I have followed the explicit and step-by-step actions at http://klenwell.com/is/UbuntuCommandLineGmail

Question: Upon completion, when trying to send a test email to myself via gmail (from CLI) I get the following error: "msmtp: no recipients found". In CLI below it asks me to explicitly pick a mailx to download. I think I already have mailx as when I type mailx I get "no mail for primary".

Here is my work
Code:
:~$ sudo apt-get install msmtp mailx
[sudo] password for:
Reading package lists... Done
Building dependency tree
Reading state information... Done
msmtp is already the newest version.
Package mailx is a virtual package provided by:
mailutils 1:2.1+dfsg1-4ubuntu1
heirloom-mailx 12.4-1.1
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1

You should explicitly select one to install.
E: Package mailx has no installation candidate
:~$ gedit ~/.msmtprc
:~$ chmod 600 ~/.msmtprc
:~$ gedit ~/.mailrc
:~$ echo -e "testing email from the command line" > /tmp/test_email
:~$ mailx -s "mailx gmail test" xxxxxxx@gmail.com < /tmp/test_email
msmtp: no recipients found

Here is ~/.msmtprc
Code:
# config options: [URL]#A-user-configuration-file
defaults
logfile /tmp/msmtp.log
# gmail account
#account gmail
auth on
host smtp.gmail.com
port 587
user xxxxxx@gmail.com
password xxxxxx
from xxxxxx@gmail.com
tls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
# set default account to use (not necessary with single account)
#account default : gmail
and here is ~/.mailrc

Code:
# set smtp for mailx
# gmail account (default)
# $ mailx -s "subject line" -a /path/attachment recipient@email.com < /path/body.txt
set from="xxxxxx@gmail.com (xxxxx)"
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"

View 4 Replies View Related

Debian Installation :: 8.0 - Setup Boots GRUB Command Line

May 2, 2015

I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.

In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".

View 2 Replies View Related

Fedora X86/64bit :: Cannot Change Services With 'setup' Command Line In F10 (64-bit)

Jul 8, 2009

The problem relates only to the configuration of services in text mode ("setup", part of the setuptool package). The setuptool package is "setuptool-1.19.4-2.fc9.x86_64". There is no "Services configuration" menu when I start "setup". The tools listed in the setup window are:

- Authentication configuration
- Firewall configuration
- Keyboard configuration

[code].....

IMHO, the reason I don't have a services configuration tool is the missing services configuration files "98services" and/or 99"services" (or something like that) from the setuptool's configuration directory. (Please correct me if I am wrong.) Can someone please let me know what information should be in those two files, and what are the correct file names? Without them I cannot change the services on this computer. (FYI, the GUI (system-config-services) works, however, I need to run this computer in text mode.)

View 2 Replies View Related

Ubuntu Servers :: Use Command Line To Setup Shared Drives

Jul 14, 2010

setup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.

View 6 Replies View Related

Ubuntu Networking :: GUI Network Setup And Command Line Not Reflecting Changes?

Mar 6, 2011

I'm running Ubuntu 10.04 LTS, Lucid Lynx and I'm having problems implementing changes to interfaces.I have made changes to my interfaces via the GUI but when I open a terminal window and so a ifconfig I find that nothing has changed. I've opened an editor and looked at etc/network/interfaces but changes made with the GUI never make it to the config file.Does the networking GUI result in changes to the etc/network/interfaces file.

View 1 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

CentOS 5 :: Getting "setup: Command Not Found" Error But Setup Is Installed

Jul 5, 2011

I'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.

However when I try to install setup with yum, it tells me that setup is already installed.

I'm logged in as root. CentOS 5.5.

View 2 Replies View Related

Server :: Delete Printer Driver From Samba/cups Setup?

Feb 4, 2010

I wish to update the drivers for a printer which is being shared using samba - can I just upload the new drivers and overwrite the old or do I need to delete the old drivers before uploading the new ones

View 3 Replies View Related

Fedora Installation :: Setup A Cups Printer Server For Windows Machines?

Sep 18, 2010

we are having new printers. At the moment we over 1000 machines on multiple sites but no print server they are manually added on the machine ( I know don't ask).

Anyway there is no way they would let use a windows server so the only option I have is to use linux however I little unsure if it is capable of doing the job I need it to do. Basically I want to add the printers on the linux server either using samba or ipp (I would assume samba would be best).

The reason i want to do this is when we have to do around the machines I just want to go around the machines and just the map the printer and it brings down the driver and config etc as we want them to duplex. The issue is I been trying to gain information on the internet and getting conflicting information apparently I can add the windows driver onto the server so when I map the printer it brings it down. However some guides state you still have through the whole process of adding the printer and then choosing the driver etc. Which kinda of makes it pointless to do the printer server since I would already have to do this anyway if we don't have one.

I just want to go be able to go around the machines and for example click star run and do something like \192.168.1.1printer01 and then it done kind of thing.

View 2 Replies View Related

Software :: Install On Centos From Command Line?

Mar 26, 2010

How to install software on centos from command line?

View 8 Replies View Related

CentOS 5 :: Battery Info Through Command Line?

Dec 16, 2009

I'm using CentOS 5.4 x86_64 on my Dell Inspiron 1440. Is there any way I can get information about the battery(charge) through command line without X server.

View 1 Replies View Related

CentOS 5 :: Setting YUM Priorities From Command Line?

Jul 14, 2010

I'm using several 3rd party repos for Centos - RPMforge, ATrpms, EPEL, REMI. Is there some way I can set the priorities for these repos in a bash script, using a YUM command? I cannot find anything in the YUM man page, or the yum-utils package.

Smart PM has a command to set channel priorities from the command line. Wondered if I can do the same for YUM repos?

View 2 Replies View Related

CentOS 5 :: How To Install Command Line Instead Of Desktop

Jul 27, 2010

Just got the new Dual Quad Server and after the installation was completed, It was the destkop edition... Can I get a reference on how to install the "Command Line Only" version of CentOS, OR Can I run the desktop edition and still be able to host VPS's and Web Servers, etc...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved