Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have SuSE 9.0 on my Gateway notebook and have successfully connected to my home network (D-link 614+ router) and can see my MSHOME network and the Windows XP (Home Edition) desktop system. All is working fine there... until I try to set up a SMB print connection.
I have a HP 3820 Deskjet connected to the Desktop XP system and want to print to it through Samba.
I've tried to set everything up in YAST and get confirmation that the print queue is active... only nothing happens when I try to print a test page.
For some reason, the queue is seen but not the MSHOME network.
Anybody out there have experience with SuSE and their Samba and have any ideas? I'm probably leaving something out.
I wonder, too, if I have to be using the Professional edition of XP?
I'm sad to say that this does nothing on my system...
YAST has a screen for setting up the Print queue. It has five fields:
Network
location of queue
name of queue
user ID
password
I have 192.168.0.101 under location of queue
I have Print$ under name of queue
(These were searched for and selected by YAST)
user ID and Password are filled in properly
I press "test" and get told that the queue is working fine so long
as I do not put anything in Network name... The test fails if I put
MSHOME in the "Network" field. MSHOME is the network name
under Samba
Part of my /etc/cups/printers.conf looks like this where abit is my XP machine; epson is the share name of the printer on my XP machine; the workgroup is pavinswood and guest is the guest user on the XP machine
<Printer Epson>
Info
Location
DeviceURI smb://guest@pavinswood/abit/epson
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
In your previous note what machine has the ip address 192.168.0.101?
The 192.168.0.101 is the XP Home box with the HP Printer attached..
There is a network search button in YAST... in the Samba part and that's been configured. I can see the network. I took all other settings in SMB printer setup from YAST's probing of my network.
I'll try the CUPS route when I get a chance.. I know this can be done, probably something stupid I'm not doing or didn't set up right.
Have you checked the samba and cups and other logs in /var/log. Check those logs that have been updated immediately after you try a test print
On my network I have an xp box called abit and a shared printer called epson, with a guest user. I presume you've enabled sharing on the XP box and given the printer a share name
From the command line in root on my slackware box I can
smbclient //abit/epson -U guest
It invites me to type a password in this case there isn't one so I just hit <Return> it should then gives the following prompt
smb: \>
at this prompt I type
print /root/.bash_profile
the .bash_profile is a small text file that exists in my roor folder. The print command sends the file to the printer whose share name on the XP box is called epson which then gets printed.
at the next smb: />
type quit or exit.
With the above it will either work or fall over in a big heap in which case it may give you a lot more information.
This is my next move. I checked the etc/cups/printers.conf and found something similar to what you have. I played with different combinations, nothing.
I tried doing this through YAST and Gnone instead of YAST and KDE and got an additional error message in Gnome. It seems that the Linux is seeing the network as I can share files with no problem on the other two XP boxes. Thus, CUPS can see the print queue... but Gnome said, "unable to connect to Network" so it's as if it's seeing the network but not seeing the network.... from a printing standpoint. The printer is shared by all XP boxes. It has a share name and all.
I'm wondering if it does not like the default print share name.. as it has spaces in it? I'm going to check the XP print Sharing again
I changed the share name to HP3820 and that seemed to make some difference... I went to print a text file and got no error messages.. a job was created in the queue but no print.. so I checked var/log as you suggested and now it's reduced to.. "can't find host"
I'm using the guest account, too, pretty much following exactly what you did in the conf file
The "no spaces" share name was only part of the problem... the other is that configurations do not always update right when running YAST from any account name but "ROOT" ... even though YAST asks for the "ROOT" password.. Everything came to life once I went into the "ROOT" user, then loaded YAST, then simply re-ran the printer configuration routine.. not making any changes, just pressing "Configure" and then "Finish" without doing anything... everything is re-written and now it works...
Good to keep in mind for anybody with SuSE.. I'm sure there are other configs that don't work quite right from other accounts. I was able to change the video properties from my general user account and the "ROOT" password, even configure Samba, but not this printer thing!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.