Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-14-2003, 12:30 PM
|
#1
|
|
Member
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54
Rep:
|
Win2K can see RH9 box, can't see printer
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.
Any suggestions would be appreciated.
|
|
|
|
09-14-2003, 02:16 PM
|
#2
|
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
In order to connect to the samba server, you will need to create Samba users.
Use the same usernames as the ones you created in win2k.
Code:
smbpasswd -a username
These Samba users must also be valid Unix users or an alias to one Unix user.
For an alias, take a look at /etc/samba/smbusers
If you still have difficulties, post your smb.conf
|
|
|
|
09-16-2003, 05:45 AM
|
#3
|
|
Member
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54
Original Poster
Rep:
|
Hi, Mathieu...
Thanks for your reply.
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.)
Any suggestions will be greatly appreciated.
Thanks,
Bill
|
|
|
|
09-16-2003, 02:06 PM
|
#4
|
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Can you post your smb.conf ?
Tip: When installing the HP printer drivers on win2000, download the newest driver from the HP website.
|
|
|
|
09-16-2003, 07:30 PM
|
#5
|
|
Member
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54
Original Poster
Rep:
|
Yes, here it is.
# Global parameters
[global]
log file = /var/log/samba/%m.log
guest account = ftp
printer = hpdeskje
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# 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
Thanks for your interest.
Bill
|
|
|
|
09-16-2003, 08:24 PM
|
#6
|
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
|
09-17-2003, 05:57 AM
|
#7
|
|
Member
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54
Original Poster
Rep:
|
Hi...
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.
Still no go.
Hmmm.
Any ideas?
Thanks.
|
|
|
|
09-17-2003, 10:58 AM
|
#8
|
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
If you want a good book on Samba (Using Samba), take a look at O'Reilly & Associates' Open Books Project.
http://www.oreilly.com/openbook/
|
|
|
|
09-17-2003, 12:51 PM
|
#9
|
|
Member
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54
Original Poster
Rep:
|
Mathieu....
Thanks for the link.
I've already found it, I need more time to read it, I guess.
Best regards,
Bill
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|