Fedora Linux Support Community & Resources Center
  #1  
Old 1st June 2005, 03:31 PM
peter baaij Offline
Registered User
 
Join Date: Apr 2005
Location: Delft - NL
Age: 53
Posts: 18
samba printshare

After a few weeks figuring it out i have a lan with fc3 server, 3pc and one dualboot win/fc3 - plug and play they said... Now, everything seems to work at last. I can use ftp to enter the lan (from outside) and i can use samba between all machines. I have still one or two problems to be solved.
1 On the dualboot machine i have an usb lexmark x1180 printer which works on both boots win en fc3. And on both systems i can share this printer with the other windows machines [windows/samba sharing]. But the server (f3) won't see the printer... I've installed the same drivers as on the printing-fc3, but i can't even see any shared printerlisting next to the shared files when looking with fc3-server at the fc3-printing-machine nor when the printingmachine is booted as windows.
2 The printer has also a scanner, can't get it going - any tips on what driver to use?

Thank you for your help
__________________
Peter Baaij - Delft - NL
Reply With Quote
  #2  
Old 2nd June 2005, 03:57 PM
ewstahl Offline
Registered User
 
Join Date: Apr 2005
Posts: 13
If you through the "Computer" on the desktop and into Network, can you see the other computers? From my experience with FC3, you probably won't be able to. What I've had to do is go into security level and make my ethernet card(eth0) into a trusted device in the firewall settings to be able to see the other computers and the printer. I'm using FC3 and a Lexmark T630 printer attached to a print server running Win98- and my linux computers print.



Quote:
Originally Posted by peter baaij
After a few weeks figuring it out i have a lan with fc3 server, 3pc and one dualboot win/fc3 - plug and play they said... Now, everything seems to work at last. I can use ftp to enter the lan (from outside) and i can use samba between all machines. I have still one or two problems to be solved.
1 On the dualboot machine i have an usb lexmark x1180 printer which works on both boots win en fc3. And on both systems i can share this printer with the other windows machines [windows/samba sharing]. But the server (f3) won't see the printer... I've installed the same drivers as on the printing-fc3, but i can't even see any shared printerlisting next to the shared files when looking with fc3-server at the fc3-printing-machine nor when the printingmachine is booted as windows.
2 The printer has also a scanner, can't get it going - any tips on what driver to use?

Thank you for your help
Reply With Quote
  #3  
Old 3rd June 2005, 05:11 PM
peter baaij Offline
Registered User
 
Join Date: Apr 2005
Location: Delft - NL
Age: 53
Posts: 18
i can see all compuers from every other computer in the network, using samba. the printing machine can boot both fc3 and winxp. on both settings (win and lin) i can see the printer and print to it from all windowsmachines (must be through samba), but i can't print, and not even see the printer from the server (fc3)... Hmmm
__________________
Peter Baaij - Delft - NL
Reply With Quote
  #4  
Old 3rd June 2005, 07:50 PM
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
Assuming you have configured the firewall to allow 137:UDP, 138:UDP, 139:TCP, and 445:TCP through.

I have found it easy to configure a fedora system to access a printer shared by a windows system by using the printer configuration tool.

The trick is to fill in the proper information as follows:

Queue type: Networked Windows (SMB)
Share: //nameofwindowssystem/printersharename
Server hostname or IP address: xxx.xxx.xxx.xxx (use IP address of windows server here)
Workgroup: workgroupname
User: useridofuseronwindowsserver
Password: passwordofwindowsuser

Select the driver for the particular printer you are using. Once done you should be prompted to print a test page. Run the test page. Give it a minute to send the file through the windows server to the printer. If the test page works you should be all set. Just set that print queue as the default.
Reply With Quote
  #5  
Old 3rd June 2005, 10:09 PM
peter baaij Offline
Registered User
 
Join Date: Apr 2005
Location: Delft - NL
Age: 53
Posts: 18
I've tryed fc3 printer config tool and the cups on localhost:631.

Maybe i could explain the problem from a different angle. I have two FC3-machines. One is THE SERVER (firewall, internet, etc.) the second one is A CLIENT that has a printer which i want to share. (A CLIENT can be booted as winXP to). Then there are other wim98 clients on the Lan. All machines - but THE SERVER - can see and print to the printer on A CLIENT through smb. The printer shows in the filelists in Windows, but not on THE SERVER. All other shering (files) between ALL machines reading (writing when permission) can share there files.

Now, why doesn't THE SERVER see the printer on A CLIENT. When looking at the network the printer won't show up.

[More over, if i boot A CLIENT as winXP i get about the same picture.]
[By the way, i don't want the printer on THE SERVER, as i don't want the spooling running there, that's why i want it on A CLIENT.]
__________________
Peter Baaij - Delft - NL
Reply With Quote
  #6  
Old 4th June 2005, 12:07 AM
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
That is a different picture.

FC3 to FC3 printer sharing I would try using LPD/LPR intead of samba.

However, you may want to check that you have samba users setup correctly on both systems and that sharing of the printer is setup for everyone to see. Also double check the firewall to make sure you have those ports opened up.

Does the command:

smbclient -L nameofclient

show you everything that is shared?
Reply With Quote
  #7  
Old 4th June 2005, 01:20 PM
ewstahl Offline
Registered User
 
Join Date: Apr 2005
Posts: 13
"Now, why doesn't THE SERVER see the printer on A CLIENT. When looking at the network the printer won't show up"

What kind of connection does the printer have? I have 2 Lexmark printers, one uses a USB connection. I took that one off my print server partly because with RH9 and earlier I even tried standing on my head and nothing could make the linux computers see the "virtual port" and printer. I attached one with a standard LPT1 connection and was good to go. I haven't tried it with FC3, so I don't know for sure if it still holds true. BTW, Lexmark does offer a linux version of their printer driver that in theory runs my printers (T520 and T630), but I've tried it several times and never have gotten my specific printers to show so I'm still using a generic type for my queues. Have you tried it? I did have one situation where one of my machines stopped connecting to the print server suddenly and nothing I tried could restart the connection. I even tried reinstalling SAMBA, but drew the line at CUPS and redid the whole computer instead. I did get the connection to start then and so far it has continued working. In that case I could see the printer, but they didn't talk for some reason.
Reply With Quote
  #8  
Old 4th June 2005, 10:29 PM
peter baaij Offline
Registered User
 
Join Date: Apr 2005
Location: Delft - NL
Age: 53
Posts: 18
The printer is a Lexmark X1180 USB. It's on the second fc3 ('printerserver'). Sure i can see it at the port. And i can see it everywhere accept from the first fc3 ('webserver'). I think indeed somthing goes wrong with CUPS. But the CUPS for the printerserver is probably okay, i must have something wrong with the settings of CUPS / smb on the webserver i think... again, what?

Okay, about Lexmark drivers.
After a long search i found and use z600 which you will find at: http://www.downloaddelivery.com/srfi...S-1.0-1.TAR.gz
[if the link is lost, i must have one in my archive]
Unpack it. Then, sh the z600cups...etc which gives an installation directory with two .rpm. Install both.
It will fit all jour needs, but only has the printing part (my printer has a scanner part to). As far as i know, you can use it on all Lexmark 1100-series.
__________________
Peter Baaij - Delft - NL
Reply With Quote
  #9  
Old 5th June 2005, 05:20 AM
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
Run through the basics:

1. What method are you trying to share the printer with between the two machines?
2. If trying to use samba have you properly configured samba to share the printer and configured users on both ends?
3. have you confiigured the firewall to allow the machines in question to communicate using the selected protocols? (you can temporarly disable iptables to see if it is a firewall issue, assuming you don't have these machines directly on the Internet)
Reply With Quote
  #10  
Old 6th June 2005, 12:22 AM
peter baaij Offline
Registered User
 
Join Date: Apr 2005
Location: Delft - NL
Age: 53
Posts: 18
I've configured both linux fc3 samba. And they can share files both ways (and with other pc's running windows). The fc3 with the printer shares it's printer trough it's samba and can been seen/shared bij the windows pc's. But it can't be seen by the other fc3. Hence, all machines can sharee everything (files and printing). Everything but: i can't see nor use the printer on the one fc3, from the other fc3.

If someone could show me examples of both smb.conf files of two linux talking samba, with one sharing it's printer through samba, i'd probably have necesarry info to copy/manage it from there. Also need the path (the full uri) from one machine to the printingdevice on the other machine (in order to set cups right).
__________________
Peter Baaij - Delft - NL
Reply With Quote
Reply

Tags
printshare, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having to enter Samba password manually in Samba config screen after every reboot! Syncro Servers & Networking 3 17th July 2008 12:03 AM
Samba 2.2.x serving Samba client 3.0.26 cifs (mount error 13 = Permission denied) nnn Servers & Networking 10 5th April 2008 09:40 AM
Samba: Windows boxes can't access my FC2 Samba shares iontyre Servers & Networking 13 26th October 2004 04:49 PM


Current GMT-time: 21:10 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat