LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-27-2006, 01:45 PM   #1
eatranman
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
demented_are_go
Member
 
Registered: Mar 2006
Distribution: Fedora Solaris Slackware
Posts: 50

Rep: Reputation: 15
I'd start by looking at this site : http://samba.org/ There's a HOWTO and lots of information.
 
Old 04-28-2006, 11:25 AM   #3
eatranman
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
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit permissions = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes
[pdf]
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
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
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
farslayer
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
http://tldp.org/HOWTO/SMB-HOWTO-10.html

The Cups how-to looks a bit less confusing
http://www.tldp.org/HOWTO/Debian-and...o_windows.html

Last edited by farslayer; 04-28-2006 at 11:37 AM.
 
Old 04-28-2006, 12:09 PM   #5
eatranman
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
Password:
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
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:~ #
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration