LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2006, 03:10 PM   #1
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Rep: Reputation: 15
sharing printer with windows laptop


I have a DSL 4 port wired router with a desktop (suse 10) and a laptop (windows xp). My printer is connected to my desktop pc. I would like to be able to print from the laptop through my desktop. I thought if I had samba configured correctly, it would work but it doesn't. Any help would be greatly appreciated.
 
Old 02-09-2006, 04:16 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Is there a firewall on the PC blocking samba connections?
I believe default samba config setups all printers to share, could be wrong.
Should not matter but have you setup users under samba and thier passwords?
 
Old 02-09-2006, 06:50 PM   #3
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Original Poster
Rep: Reputation: 15
I believe I have but how can I check to make sure they are there?
 
Old 02-09-2006, 07:01 PM   #4
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
check the /etc/samba/smb.conf and see what it says...
 
Old 02-09-2006, 08:19 PM   #5
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Original Poster
Rep: Reputation: 15
This is what's in my smb.conf file for users:

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

Am I missing anything? Or is there somewhere else I need to look?
 
Old 02-09-2006, 08:47 PM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Should be a printers section...
 
Old 02-10-2006, 12:33 PM   #7
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Original Poster
Rep: Reputation: 15
Here's the printer section

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

Look ok?
 
Old 02-10-2006, 01:00 PM   #8
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
Think im going to put this link in my sig.

samba printing bites. its too picky and a pita sometimes.

try using IPP. Its fully supported by linux and XP. Usually take me about 5 minutes to setup once cups can print locally from the "server" machine. Plus you can then open a browser on your XP machine use http://ipofserver:631 and adjust printer settings without going back to the desktop.



http://www.gentoo.org/doc/en/printing-howto.xml

start around the "configuration" part if you can already print to your printer from the desktop



soule
 
Old 02-10-2006, 04:00 PM   #9
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Original Poster
Rep: Reputation: 15
I tried to go to http://192.168.1.2:631 on my laptop (windows) and it says "page not found". I opened port 631 in my firewall but it didn't help. What else can I do?
 
Old 02-10-2006, 10:25 PM   #10
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
if you followed the configuration correctly, the only other thing you might have to do is add your XP machine in /etc/hosts.allow

and when you say you opened port 631 in your firewall, im assuming you mean on the desktop machine.

If you opened it on your router, you made big bad mistake.

soule
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing my printer with windows... phillips321 Linux - Networking 5 02-26-2006 07:31 PM
sharing windows printer irvken Linux - Networking 3 10-11-2004 04:03 PM
Printer sharing Linux to Windows Celettu Linux - Networking 0 07-20-2004 11:26 AM
Sharing Printer between Windows and Linux trihai44100 Mandriva 8 11-17-2003 05:55 PM
Sharing a printer on a windows machine Mattouf Linux - Networking 6 06-22-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration