Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
1. Slackware desktop on wired ethernet
2. Linksys WAP54G wifi access point
3. Slackware laptop on wifi
4. Ubuntu desktop on wifi
5. WinXP laptop on wifi
6. HP LaserJet 3052 on wired ethernet
When I print from the Slackware desktop or the WinXP laptop, everything works fine.
When I try to print from either of the Linux wifi systems, nothing prints (the status light on the printer never even blinks). Even weirder, the printer seems to partially lock up -- after that, I can't print from the Slackware desktop until I power-cycle the printer.
It doesn't seem to be a connectivity issue. I can see the printer's built-in web config page from any of the computers - ethernet or wifi - even after the printing locks up.
Looking at tcpdump traces for the Ubuntu machine, I can see PostScript code being sent to the printer, but the printer never sends TCP ACKs (or they never reach the Ubuntu box), and eventually the connection times out.
I've upgraded the firmware in both the WAP54g and the printer.
The wifi otherwise works fine. I've never had any problems web browsing, etc. from any of the systems.
Does anyone have a guess as to what might be going on?
I assume you are trying to print directly and cups on each computer is configured identically for the printers URI.
You could try printing through the slackware desktop by configuring cups to share the printer and allow port 631 traffic if running a firewall. Then add a printer on the wireless boxes using the slackware desktop.
Your printer uses common HP printing languages so if it was a driver issue you could change to any PCL6, PCL5e or even a postscript compatible printer driver to see if that makes a difference.
All of the Linux boxes are using CUPS, with identical configurations for the printer: JetDirect connection (port 9100, direct to the printer), and a PostScript driver.
I've also tried using LPD instead of JetDirect, and I get exactly the same result -- the machines on wifi can't print, and the printer locks up.
Switching the Ubuntu machine over to wired ethernet immediately fixes the problem. Printing works fine with no change in configuration. This isn't a long-term solution -- my wife isn't so happy with an ethernet cable running down the hallway :-)
I'm not familiar with AppArmor, but I doubt that's the problem, given that (1) I see the same problem on the Slackware laptop (no AppArmor) over wifi, and (2) the Ubuntu system works correctly over wired ethernet. But I really don't know anything about AppArmor, so let me know if I'm missing something.
Printing through the Slackware desktop using CUPS sharing might be a workaround - I'll give that a try later.
I'm still very curious to figure out what's going on here. It feels like the WAP54g is eating some of the packets (but only when the printer is involved).
I also have a WAP54G but I do not have it attached to my network anymore. Its been awhile since I looked at its settings but do not think it had anything to block or restrict traffic on a particular port. Have you tried printing via the desktop yet?
Just tried setting things up to print via the CUPS server running on the desktop, and that seems to work fine. My best guess is that there are bugs in the TCP stack in the printer and/or the WAP54g that happen to interact in a really weird way. Still seems pretty strange though.
You are correct about the WAP54g -- it doesn't have any sort of firewall functionality. The only thing it can do is restrict to a list of MAC addresses (which I have turned off).