LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-17-2007, 09:55 AM   #1
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Rep: Reputation: 15
Question BT Home Hub & USB Printer


Hi, I know nothing about networking but would really like to share my printer. I will be giving this laptop to a family member when I build a desktop next week, it would be great if we could both print to the same printer. I would be connected to the Hub via an Ethernet cable & the laptop would be using wireless.

I've a BT Home Hub that has a spare USB port, where I'd like to connect my HP845c Deskjet. I've seen a Windows guide here: http://www.wallaceit.co.uk/wit/article.aspx?id=80 and a similar forum question to mine here: http://hubbub.labs.bt.com/?pagename=viewpost&id=1246

My problem is that I have absolutely no network experience & no idea how to do that in Linux. A Linux translation for n00bs would be fantastic & any suggestions would be greatly appreciated

Thanks in advance,

Tony.
 
Old 02-17-2007, 11:33 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Those links are for windows!
I think that connecting your printer to the USB port on your router is going to make life complicated and frustrating for you.
My suggestion: connect the printer directly to your desktop.
Get it working with cups (Ubuntu is a bit different here - it doesn't work if you just http://localhost:631, you need to set it up from "systemSettings - > Printers").

Once it is working with cups, you can set up your desktop's /etc/cups/cupsd.conf so the printer is shared over your network. The laptop can then be allowed to use the printer. This works well for me.
Quote:
I know nothing about networking
Neither did I when I started, but I'm afraid you are going to have to learn something about networking! It's fun.
Here's the tutorial that got me up and running:

http://www.yolinux.com/TUTORIALS/Lin...etworking.html

However, it won't be easy to follow until you have at least 2 computers to play with, so I suggest you wait till you have your desktop up and running.

Then, start simply: Can you ping the other computer by IP address? Can you ping it by name? OK, now go ahead and set up your desktop as a cups printer server (lots of tutorials on the net).

Have fun.
 
Old 02-17-2007, 11:44 AM   #3
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for your quick reply.

I posted those links to show that it's possible, as many say it's not.
I've taken your suggestion on board & certainly wont rule it out. However, I wouldn't want to rely upon having the desktop switched on to print from the laptop.

Thanks again,

Tony.
 
Old 02-17-2007, 12:00 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
OK, I understand your situation.
Your desktop would need to be switched on, but no one needs to be logged in (and you can also turn it off from the login menu, without first loggin in).

Looking at those (windows) instructions, you might try:
Plug the printer into the hub USB port. Plug the ethernet from the hub into your PC (You could try this now, with the laptop - the wireless connection to the hub should work fine). Turn on everything.
Go to "Printers" in linux. "Add Printer", tell CUPS it is a "Network Printer".
It'll probably go and find it, if not try telling cups that the printer is at 192.168.1.253 (which seems to be what the hub allocates to the USB port). See what happens.
 
Old 02-17-2007, 01:29 PM   #5
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Original Poster
Rep: Reputation: 15
I'd tried selecting 'Network Printer' & 'CUPS Printer (IPP)' & entered '192.168.0.253' as the URI to no avail. Is that what you meant, or am I missing something?

Thanks again,

Tony.
 
Old 02-18-2007, 06:03 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
entered '192.168.0.253' as the URI to no avail.
From those windows posts, I think the address of the USB port of the router is 192.168.1.253
Last time I set up a networked printer (ethernet, not USB), there was an option in cups for it to search for the network printer, I let it do this, and it found it.
If it helps, the printer should be listening on port 9100, but I think cups is already aware of this.

If still no progress, and other people haven't managed to make this work, then you'll have to follow the suggestion in my first post.
 
Old 02-18-2007, 04:48 PM   #7
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Original Poster
Rep: Reputation: 15
Yeah that's what I tried, typo It didn't find it, & yes cups was trying port 9100.

I will follow follow your first suggestion for now.

Thanks for humouring me

Tony.
 
  


Reply

Tags
printer sharing


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
BT Home Hub Router ffilc7373 Ubuntu 5 11-14-2006 02:59 PM
CUPS & USB espon printer edM Slackware 5 03-17-2005 05:20 PM
USB Printer & Scanner, need help Viper Slackware 5 05-20-2003 09:37 PM
How to start Home Networking without HUB salman Linux - Networking 1 06-23-2002 12:33 PM
usb & printer franky Linux - Newbie 0 12-28-2001 08:55 AM

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

All times are GMT -5. The time now is 12:26 AM.

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