LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I want to connect to XP through my router and i have sles 9 (https://www.linuxquestions.org/questions/linux-newbie-8/i-want-to-connect-to-xp-through-my-router-and-i-have-sles-9-a-439403/)

eatranman 04-27-2006 12:45 PM

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

demented_are_go 04-27-2006 04:26 PM

I'd start by looking at this site : http://samba.org/ There's a HOWTO and lots of information.

eatranman 04-28-2006 10:25 AM

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

farslayer 04-28-2006 10:30 AM

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

eatranman 04-28-2006 11:09 AM

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:~ #


All times are GMT -5. The time now is 01:18 AM.