LinuxQuestions.org
Review your favorite Linux distribution.
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 06-12-2005, 07:14 PM   #1
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Rep: Reputation: 0
How can I share a USB printer connected to my Win XP computer through a Netgear RP614


Alright... here goes!

I have a computer running WinXP that has a USB printer connected to it.

I have a second computer running Kubuntu 5.04 withOUT a printer.

Both computers are connected via Ethernet to a Netgear RP614v2 router. Each computer can access the internet, so I know they're connected correctly to the router.

I set up the workgroup on the Win XP computer (correctly, I guess!).

What do I need to do on the Kubuntu side to print to the printer?

Any help would be greatly appreciated!
Ray
 
Old 06-13-2005, 06:17 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
1. you need to share the printer on the XP box.
2. you need to setup samba.
3. you need to either set the permissions on the XP box for the printer to be available to everyone OR setup a samba user/pass and sync it on the XP box.
4. install and start CUPS
5. goto http://localhost:631 and follow the steps to install your printer using a samba connection.
 
Old 06-13-2005, 06:42 PM   #3
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
the above post is correct, but I have always found it easier to plug printers into the linux box, then share.
 
Old 06-13-2005, 06:48 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
yeah it would be a lot better learning experience to have the printer physically attached to the linux box.

similiar steps as above, let me know if you want to go that route and i can help with that also.
 
Old 06-13-2005, 09:40 PM   #5
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0
Unfortunately, the printer needs to be attached to the Win XP box, because that computer is used far more often than the Linux box (for now).

That said, here's what I've done so far:

Set up the Win XP box for networking

On the Kubuntu box

KDE Control Center
Internet and Network
Samba
Base Settings
Samba config file: /etc/samba/smb.conf

Server identification
Workgroup MSHOME (that's the name on the workgroup on the XP box)
NetBIOS name BOX2 (that's the name of the Kubuntu box)
Server string %h server (Samba, Ubuntu)

Security Level
I changed this to Share, because the descriptions sounded like this was the correct one.

What else needs to be done in Samba? The other tabs are just confusing the heck out of me!

Thanks for your help,
Ray
 
Old 06-13-2005, 09:50 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
you need to create a samba user that will used to connect to the xp box. if you have a user/pass that you use on the xp box now, that would be best. first thing is create a linux user with that name, then do a:
smbpasswd -a userid
userid=the account that has access to the xp box
set the passwords to be equal, then follow the CUPS instructions.
 
Old 06-13-2005, 10:10 PM   #7
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0
In KUser, I set up a user with the following information

User Name: XPPrinter (meaning ... use this user login to print to the XP computer)
I set a password
The default UserID was 500, so I left that.
I set the full name to XPPrinter also
The login shell is empty
The home folder is /home/XPPrinter
Office#1, Office#2, and Address are empty
I unchecked "account disabled"
For new account options, I unchecked "create home folder" because I got an error message every time I didn't uncheck it
I clicked OK

To what groups (if any) does XPPrinter need to belong?
 
Old 06-13-2005, 10:14 PM   #8
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0
Sorry...
Skipped a step

Then I went into Konsole and did the sudo smbpassword -a XPPrinter

and gave it a password when requested.
 
Old 06-13-2005, 10:57 PM   #9
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
now you need to open the printers view on the xp box bring up its properties and share it.

you also have to create a user on the xp called XPPrinter and set its password to the same as the smbpasswd

if you want to be able to cancel print jobs from the linux box then you will have to add the XPPrinter user to the 'power users' group on the xp box
 
Old 06-14-2005, 09:07 PM   #10
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Finlay
4. install and start CUPS
5. goto http://localhost:631 and follow the steps to install your printer using a samba connection.
So, it looks like I've done everything up to this point. How do I install and start CUPS?

(I always thought it was a card game........)

-Ray
 
Old 06-14-2005, 09:19 PM   #11
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
well i don't know anything about the distro you are using.
if there is a package manager search it to see if cups is installed.
for me on slackware the start script is located in /etc/rc.d and it is called rc.cups. i just have to make that executable like chmod 755 rc.cups and then it loads on bootup.
if you don't have cups installed then you need to either find a package for your distro or install from source.
 
Old 06-14-2005, 09:36 PM   #12
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0
I see in Kynaptic that CUPSYS is installed. I just don't know how to run it. (If I type cupsys into kconsole, it says "command not found").
 
Old 06-15-2005, 12:15 AM   #13
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
if you type in

ps -A
it will give a list of running processes, look for cupsd
 
  


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
Strange...can't share usb printer connected to xp pc vatman Linux - Software 2 11-02-2005 06:50 PM
any Netgear RP614 users around? Ice9 Linux - Networking 2 05-21-2005 10:50 AM
Using a printer connected to win xp kponenation Slackware 4 03-01-2005 08:51 PM
Netgear RP614 woranl Linux - Networking 7 09-14-2003 10:57 AM
printing to <SMB Share> win printer bbaley Linux - General 0 05-28-2003 12:46 PM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration