Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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:
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).
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.