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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an HP deskjet 970c directly connected to a RH9 box. It prints just fine.
I have the printer set up as a share through the xwindows printer configuration.
I can see the RH9 box in the Win2k Add Printers dialog (seems like it takes a really long time to list all the PCs). The RH9 box has a plus sign (+) next to it but when I click on it nothing happens.
I have set this up using SAMBA and everything seems to be ok as seen through the eyes of someone with some Winders 2K networking background.
Oh... I have disabled the firewall because this network is behind a router.
I am trying to solve this problem using Webmin and manual edits to files, so I hope I haven't hosed anything up.
I solved the problem of not being able to see the printer, and I've solved the problem of not being able to "connect" to the printer (error message was "Unable to connect: access denied").
Now all I have to do is solve the problem of being unable to PRINT to the printer.
When my win2k box finally allowed me to install the printer it said I didn't have the correct driver and asked if I wanted to install a new one. I said OK and it opened up the printer selection dialogue.
At that point I had a red text message in my printers window that said "unable to connect: access denied". I changed the security settings to share in the Linux box and that went away.
However, when I try to print to it, nothing happens. (Well, I'm sure something is happening, I just can't see it and nothing comes out of the printer.)
# FYI... the wins server is a win2k server which is a PDC
wins server = 192.168.0.100
username map = /etc/samba/user.map
domain master = No
encrypt passwords = Yes
public = yes
passwd program = /usr/bin/passwd %u
netbios name = THUNDERBIRD
printing = cups
server string = Samba Server
path = /var/spool/samba
unix password sync = Yes
local master = No
workgroup = EUPHONIC
os level = 20
printcap name = /etc/printcap
security = share
preferred master = no
max log size = 0
pam password change = Yes
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
[printers]
comment = HP deskjet on Thunderbird
printable = yes
path = /var/spool/samba
guest ok = yes
browseable = yes
public = yes
create mode = 0700
use client driver = yes
Place use client driver = yes among the Global parameters instead of under printers.
If that does not work, make sure that when you login in windows that the windows username and password is the same as the Samba and Linux user account.
well, I moved the client driver statement to [global] and created user accounts on the Linux box with the same username and password as my Winders box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.