I have 3 computers connected to a router; the ip addresses are assigned by the ADSL provider via DHCP. One of the 3 computer has a printer connected. In Fedora 9 I used to print from the other. 2 computers via CUPS by defining the ServerName in /etc/cups/client.conf as assigned by mDNS (the one with the .local suffix). It seems that in Fedora11 the game dos not work anymore; the connection is forbidden unless, you put the IP address of ServerName in /etc/cups/client.conf. But this is upractical because the IP address is not fixed. (DHCP) A workaround is possible because ping on the name assigned by mDNS shows the IP address; if you capture the IP address, it is possible to create /etc/cups/client.conf with the IP address at boot. (A suitable script can do the job).
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.
recently i notice this warning in my /var/log/messages avahi-daemon[4335]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! but i can't install it yum install nss-mdns No package nss-mdns available.
Everytime I attempt to install anything, in any way, I'm given the following error message:
E: lib32nss-mdns: subprocess installed post-installation script returned error exit status 2 E: wine1.2: dependency problems - leaving unconfigured
I went into Synaptics Package Manager and told it to uninstall WINE in case that was what was causing the problems. It sort of half-uninstalled-it then gave me that exact same error message.I have two threads currently open on the forums - adjusting laptop brightness and flashing BIOS - and both problems hit a brick wall because of this same error message.
fedora.local = F14 default mingisapsycho.local = Mac OS X 10.6.4
I want to be able to ssh/scp between these two machines using:
ssh -l login fedora.local and ssh -l login mingisapsycho.local
rather than using IP addresses. Neither of these works, from either of the two machines. This does work between Mac OS machines. And I can ssh if I use IPs. So it seems that by default Avahi is not configured even though it is running? I really don't understand. By "does not work" I mean I get on both machines: ssh: Could not resolve hostname blah.local: Name or service not known
F15 current avahi-daemon installed nss-mdns installed firewall totally disabled (for now while testing) connected to network wirelessly
For perhaps 5 minutes I can either ssh into or from the F15 computer using:
ssh chris@macbook2.local
OR
ssh chris@f15.local
Works fine, no problems. And then in about five minutes it work resolve in either direction: ssh: Could not resolve hostname f15.local: nodename nor servname provided, or not known
I can still ssh in using an IP address. So I do:
[chris@f15 ~]$ service avahi-daemon status avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/lib/systemd/system/avahi-daemon.service)
[code]....
*sigh* No that's not it. I just found no mDNS service in or out of the computer 3 minutes 26 seconds after restarting it, no additional items in messages.
I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems. But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting! cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de it ends with " lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt" (connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
I'm trying to install and configure a printer (networked Brother HL4040CN), but I'm getting an error dialog when I click on "New" in the printer configuration GUI.
Action 1) Click on "New" Response 1) a) "Authentication (fetching device list)" dialog box, request password for root. Response 1) b) "Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost" appended to /var/log/cups/error_log A2) Type root password and press enter in "Authentication" dialog box R2) a) "CUPS server error" box, "There was an error during the CUPS operation: 'server-error-internal-error'. R2) b) /var/log/cups/error_log:
Code: E [17/Jun/2009:08:14:12 -0400] Unable to execute /usr/lib/cups/daemon/cups-deviced: insecure file permissions (0100777) E [17/Jun/2009:08:14:12 -0400] Returning IPP server-error-internal-error for CUPS-Get-Devices (no URI) from localhost A3) Click "OK" button in "CUPS server error" box R3) a) "New Printer" dialog box opens R3) b) /var/log/cups/error_log:
Code: E [17/Jun/2009:08:17:10 -0400] Unable to execute /usr/lib/cups/daemon/cups-driverd: insecure file permissions (0100777) E [17/Jun/2009:08:17:10 -0400] Returning IPP server-error-internal-error for CUPS-Get-PPDs (no URI) from localhost A4) Enter "lpr://192.168.1.2" and click "Find" button under "Seelct Device->Network Printer->Find Network Printer" R5) "No printer found at that address."
Any ideas? I have installed the RPMs from Brother's web site for both LPR and CUPS-wrapper
My CUPS server has hung. Doesn't ask login user/pwd any more - goes straight to admin page. When I try to add printer I get an authorisation error. So unable to do any admin functions: add printers, disable Kerberos authentication etc.
What is the command to install CUPS and Samba, like yum install. I don't want to be installing wrong things and then end up with dependency problems, and after that what do i need to configure to have CUPS print from the localhost, and so that other computers from the networks also be able to print from the server, that is i'm workin on a server. As for samba i just need the installation command, then i want to figure the rest out.
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:
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port) - uninstalling cups... (update manager nags) - fuser -k 631/tcp (great, but @ reboot the port is still open) Please teach me how to close this port / stop this service / tell update manager to shove cups.....
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
and error_log shows: E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
I'm trying to set up a cups print server on 10.10 server. When I run
Code: sudo apt-get install cupsys
i get this error
Code: E: Unable to locate package cupsys
I can find and install all kinds of other stuff and this is a fresh install.
Here's my /etc/apt/sources.list
Code: #deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution.
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
I have a CUPS server on Debian, I am trying to connect from an Ubuntu 8.04 box. Here is my CUPS configuration file on Debian just in case it is usefull:
Code:
LogLevel warning SystemGroup lpadmin # Allow remote access Port 631
[code]....
When I try to add a printer I have set up in CUPS from my Ubuntu box, it asks for the password for katie (this is the user that is logged in on ubuntu box) on 192.168.1.200 (CUPS Debian Box). The problem is, I don't have a katie user set up on the debian box, am I supposed to for this to work. Why is it even prompting for a password? Also, it won't let me change the name so that I can authenticate with a different user, it is not in a text box.
I have a fresh install of Ubuntu 10.10 64, and when I change the CUPS-server via system->administration->printing->server->connect, the new list of network printers loads up correctly.But when I close the window and reopen it, the old CUPS-server is back, so it seems that the change isn't saved anywhere. Rebooting doesn't do anything.
I'm not looking to setup a print server. I want to print documents TO an existing network printer while I'm logged in via ssh to my Ubuntu Server 10.4 command line shell. Things like admin emails, pdf docs, etc.
All the clients on my LAN are able to print directly to the network printer without any help from the Ubuntu Server. I don't want to setup CUPS on the server unless that's the only way to print from the server itself to a networked printer.
Do I need CUPS or can I print from the command line in some other way?
I am unable to access cups admin via 631 port. Since I'm running non-desktop server I can't use localhost:631. In cupsd.conf I added a listen line for the client machine ip (the one I use to access cups) but no go. I also added Allow directives with this ip in the <Location> blocks. Nothing works. Cups server is running
Running Debian 5, fairly new install. I have CUPS 1.38 installed. After much work, I got a PPD file for a Dell printer working - albeit not the exact one I need (5330dn), but close enough to work (3100cn). Question: when I look at the list of printers in CUPS, I see a bunch of extra printers that are on the network, but that I didn't add. How do I remove them (ie. I don't want them to be listed)?Going to Administration | Manage Printers shows me a black button named "Delete Printer", but clicking on it gives me an error message of:
Ok, while I'm here, I'll ask 2 other simpler questions: (2) anyone have the .ppd file for the Dell M5330dn printer? I've spent 90 minutes on the phone w/ the Dell tech support, and those guys are clueless....
(3) I have 4 printers of the same model. the first is working - is there an easy (command line) way of adding the other printers? Ie. can I just copy the /etc/cups/ppd file 3 times, renaming it to my other printer names (and ip addresses)?
I have a Printer which is attached to Linux System which is fedora 12. I have squid proxy server which is installed on CentOs 5. My squid works perfect. I am using it with wpad.
Now I can access the the cups page using 192.168.x.2:631 without proxy setting
But when I configure my browser with proxy setting 192.168.x.2:631 doesn't open. Due to this users are also not able to print. How to get cups working with squid
I just brought up a new server on RHEL4 to replace an existing older one. The server is using CUPS for printing. I copied the cupsd.conf, printers.conf, and lpoptions files over from the old server. I also copied the printer files in the /etc/cups/ppd directory over to the new server. But I can't get printing to work. And when I run system-config-printer-tui I don't see any of the printers in the dialog box. What other file(s) am I missing?
I've setted up a CUPS Server and I was wondering if it possible to disable the option of printers and jobs from the webpage.I don't want users to see the jobs which are going to be printed from other users.Should I modify something from the cupsd.conf file?
I've been trying to get CUPS working on a headless server, in order to share the printers connected to it with the rest of the network. The problem is that I can't add printers via the web interface, or rather, that I can log in, as it will not authorize my account. I've tried lppasswd, adding cupsys to the group 'shadow'(only to have the system tell me that there is no user called cupsys), and been editing the cupd.conf for hours. On top of all tha, I can't even get to the web-interface without running "/etc/init.d/cups restart"!
After a recent software update I can no longer connect to the Cups server. My printer isn't listed anymore and won't let me add one. Cups was listed in the update so i think the update broke cups. I'm getting: "Failed to connect to server" when i try to connect to 'localhost'. What can I do?
At my work we use CUPS to maintain all of our printers. I'd like to use Ubuntu to print a ton of files in a directory. What command would I use to print all files ending in ".html" to a specific printer? I tried some command and all it printed was stacks of pure junk. Is there an option to choose a certain tray to print from? Would the command be Code: lpr -p(printername) *html ? I have no idea how to specify a certain tray.