You are not logged in.

#1 2005-07-07 01:11:04

jmull
Member
Registered: 2004-05-31
Posts: 14

Printer Sharing issues

I just installed Arch as a web/print server.  After a little work, the printer installed fine n Arch, and after configuring Samba, I can now see the printer on my two windows computers, but when I try to install them on windows, none of the printer drivers seem to work.  Is this a windows problem only, or a problem coming from a wrong linux driver?

Offline

#2 2005-07-07 06:31:50

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: Printer Sharing issues

That's an unfortunate thing about Windows printer sharing ... the client computers still need the printer driver installed. If they wanted to keep things simple, all they'd have to do is make a standard way for print jobs to be sent across the network, and the server would have the proper driver take care of it for you. To make things worse, some printer drivers are a little stubborn and don't seem to understand that the printer isn't on your computer, even though you're installing the driver there... I remember having a problem like that before.

Anyway ... you said the printer installed fine in Arch ... can you print something? Try running 'lp some_text_file.txt' and see if that works.

Oh, it's possible that the server isn't getting any inbound network traffic because Arch has a strict default "firewall" configuration that doesn't let anything in. Comment out the line in /etc/hosts.deny, and see if that fixes things.

Offline

#3 2005-07-07 12:26:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Printer Sharing issues

Or, allow just what you need to allow in /etc/hosts.allow - better, IMO.

Offline

#4 2005-07-07 15:25:47

jmull
Member
Registered: 2004-05-31
Posts: 14

Re: Printer Sharing issues

Yea, the server itself prints fine.  I also tried editing hosts.allow, with no luck

#
# /etc/hosts.allow
#

ALL: 192.168.2.0

# End of file

Thats what ive got in hosts.allow, im trying to allow access from any computers connected to the server.

Offline

#5 2005-07-07 15:59:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Printer Sharing issues

Your syntax is wrong - check the man page (not included in Arch, so have a look here). The relevant info is in the PATTERNS section.

Offline

#6 2005-07-07 16:16:48

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Printer Sharing issues

tomk is right, try

ALL: 192.168.2.

Which acts like a subnet wildcard. You may just want to use smbd/nmbd instead of ALL.

Offline

#7 2005-07-07 16:19:27

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Printer Sharing issues

The man page is in Arch (man 5 hosts_access)

Offline

#8 2005-07-07 16:29:26

jmull
Member
Registered: 2004-05-31
Posts: 14

Re: Printer Sharing issues

So, 'smbd/nmbd: 192.168.2' without quotes should fix it?

Offline

#9 2005-07-07 16:37:06

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Printer Sharing issues

Sorry I should have been clearer:

/etc/hosts.allow

smbd: 192.168.2.
nmbd: 192.168.2.

Notice the dot at the end of the IP address. The lack of any number after the dot is the wildcard. If it wasn't clear from context, smbd and nmbd are the Samba daemons (not sure what each is for though I would guess the latter would be a name service?)

Offline

#10 2005-07-07 17:17:54

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: Printer Sharing issues

I have a guide search for it in the forums. It GUIDE SAMBA CUPS or something like that. It needs updating which I plan on hopefully doing soon. But basically you creat a user called samba. and group called samba. You set the guest account for samba to samba and you set the security setting to share. And you basically edit a few other files. It pretty simple if you have a question post on the page or pm me.
http://bbs.archlinux.org/viewtopic.php? … uide+samba
and I'm fixing it righ tnow


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#11 2005-07-07 22:06:03

jmull
Member
Registered: 2004-05-31
Posts: 14

Re: Printer Sharing issues

Still no luck.  Heres my updated hosts.allow:

#
# /etc/hosts.allow
#

smbd: 192.168.2.
nmbd: 192.168.2.

# End of file

Assuming al lthat is correct, any other idea of what I could try?  The printer works fine on the server, but there is something keeping the printerfrom going through the network,even though I can see the computer on the network.

Offline

#12 2005-07-07 23:08:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Printer Sharing issues

shaurz wrote:

The man page is in Arch (man 5 hosts_access)

Thanks shaurz - I never knew you could have the same man title in different sections. I've always just done "man whatever".

You learn something new every day around here...  smile

Offline

Board footer

Powered by FluxBB