Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-27-2006, 01:45 PM   #1
LQ Newbie
Registered: Mar 2006
Distribution: SLES 9
Posts: 7

Rep: Reputation: 0
I want to connect to XP through my router and i have sles 9

I just started SLES 9. I connect to the internet through a router. I have 2 xp pro machine on the same router. I want to print to the printer on the xp box. I keep reading to install samba, but in the samba package the samba client is installed. can someone direct me to a set of instruction on what to do next. very newbie
Old 04-27-2006, 05:26 PM   #2
Registered: Mar 2006
Distribution: Fedora Solaris Slackware
Posts: 50

Rep: Reputation: 15
I'd start by looking at this site : There's a HOWTO and lots of information.
Old 04-28-2006, 11:25 AM   #3
LQ Newbie
Registered: Mar 2006
Distribution: SLES 9
Posts: 7

Original Poster
Rep: Reputation: 0
now trying to print

can see my windows shared filed now on both xp machines, but can't print. Jobs show up in jobsviewer and says there are processing but the printer never responds. Tryed to make sense of the smb.conf, but I don't know if it right or not. If someone has time to look at it I would be grateful. Here it is:
workgroup = mshome
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = user
encrypt passwords = yes
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit permissions = Yes
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes
comment = PDF creator
path = /var/tmp
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
Old 04-28-2006, 11:30 AM   #4
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
10. Sharing A Windows Printer With Linux Machines

The Cups how-to looks a bit less confusing

Last edited by farslayer; 04-28-2006 at 11:37 AM.
Old 04-28-2006, 12:09 PM   #5
LQ Newbie
Registered: Mar 2006
Distribution: SLES 9
Posts: 7

Original Poster
Rep: Reputation: 0
could not understand what was said at first link.

tryed what it said on second link and this is what I got:

linux:~ # /usr/bin/smbclient -L home
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
My Music Disk
STOMP35 Disk
Credit Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
justin car Disk
Printer Printer HP DeskJet 720C
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
linux:~ # /usr/sbin/lpadmin -p homePrinter -v smb:/Printer -P /root/HP DeskJet 702c.ppd
lpadmin: add-printer (set model) failed: client-error-not-found
linux:~ #


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
howto connect router to router? kvasarnomad Linux - Networking 4 09-04-2005 10:14 PM
i can't connect to my router... badweed Linux - Wireless Networking 8 08-23-2005 12:05 PM
how to make sles 9 server to be a router/internet gateway? databox Linux - Networking 3 07-17-2005 10:03 AM
connect through router.. mahamkali Linux - Networking 14 10-11-2004 02:28 PM
Want To Connect to my Router warnesey333 Linux - Networking 34 10-02-2004 12:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 PM.

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