LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-17-2006, 10:30 AM   #1
orlyowl
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
my 'sharing windowsxp's printer' woes...


Hi. I just installed Debian and got the KDE running. Everything I want on it works. I just need to get the last thing working and I never have to use Windows on my laptop again, and that's PRINTING. Basically I have a printer connected to my desktop which is running Windows XP (for games and school's applications) and I want to use my laptop to be able to share that printer.

I have installed cups and samba, and a bunch of other things I was told to by various guides. Here's what happens next:

orly:/home/pizdets# smbclient -L //abit1800 Password:
Domain=[ABIT1800] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
X$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer Lexmark Optra S 1855 (MS)
Domain=[ABIT1800] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

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

Workgroup Master
--------- -------

orly:/home/pizdets# /usr/sbin/lpadmin -p Lexmark -v smb://Administrator:11209@ABIT1800/Printer -P /root/inkjet.ppd
lpadmin: add-printer (set device) failed: client-error-not-possible


I've also tried the same thing thru h t t p://localhost:631/admin and was not successful. After I give the name and location of the printer, it asks me for the device (http, ipp, etc) but there is no choice for smb!

I finally checked in Kcontrols and tried to add a printer, but the choice for SMB type is greyed out and I cannot pick it!

Please help! Thanks in advance.
 
Old 09-17-2006, 12:13 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
Have you setup the URL device like this.
smb://[UName}:[Password]@[Machine Name]/[Sharename]

Example:
smb://FordPrefect:ArthurDent@trillium/HP_Officejet

Brian1
 
Old 09-17-2006, 12:20 PM   #3
orlyowl
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, I still get client-error-not-possible
 
Old 09-18-2006, 04:21 PM   #4
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
Not sure what to try next. Only thing I have run into is some issues of file sharing from a Windows 2000 Pro machine. Can mount from command line fine but under SMB4K it caused errors to mount. No idea why. Never any issues with 95/98/me and xp. I think in 2000 it had to do with the password encrytion it used.

Brian1
 
  


Reply



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
Printer woes hitest SUSE / openSUSE 5 08-27-2005 11:04 AM
Printer-sharing with FreeBSD; cannot se icon for the printer hemmelig *BSD 7 05-13-2005 03:44 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
IPMasq, internet sharing woes (newbie) Eric the Red Linux - Networking 1 02-15-2004 08:04 PM
Printer woes Frauke Linux - Newbie 2 11-18-2002 03:13 PM

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

All times are GMT -5. The time now is 07:30 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
Open Source Consulting | Domain Registration