Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-11-2013, 01:37 AM
|
#1
|
Member
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554
Rep:
|
Is there software to find network issue? Possible packets dropped or similar issue
Hello.
I have a crazy random issue that pops up from time to time and I can't reproduce it for the life of me. I have a printer that is connected to my network via cat5 that will once in a while print the first page of a document just fine but all pages after that will come out in jibberish.
This issue has happened with several printers, so I know it's not the printer, and has happened with several computers with different operating systems (windows xp, 7, 8, ubuntu, various other *nix). The only thing I can think of next is the cat5 cable connected to the printer. Printing to this printer and others via usb works perfectly, every time.
The thing is that I can't just replace the cable as it's run through a wall and ceiling. So I was thinking, maybe I could catch it in the act via some sort of network program that can see what is going on.
Is there any such software that I can use to monitor/check/test this out? The issue doesn't happen all the time, but hopefully I can catch it when it does.
Thanks for any help, and if you have any more ideas for me on how to solve this, please help.
|
|
|
02-11-2013, 02:03 AM
|
#2
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
I would suspect random noise getting injected into the cable. CAT5 is pretty robust, but if you have a longish run of it and it is running parallel to, and in close proximity to, something like household 120v wiring (as may be the case if it was run inside walls) you could have a problem there. Or, if the cable was nicked by a nail or screw or something within the wall that compromised it's integrity you could see problems there as well.
You said the problem is random. How frequent is it? If you print a set of pages and some come out bad, can you reprint that exact same document and have it come out good the next time? Can you move the printer close to your router/hub/switch and plug it in using a seperate short CAT5 cable and run some tests? That might be tough, depending on how frequent your random problem is. Intermittant stuff can be a devil to debug.
|
|
|
02-11-2013, 08:02 AM
|
#3
|
Member
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554
Original Poster
Rep:
|
Ok, the run is only about a 40 foot cable, maybe 50 feet. When the issue happens, it can be quickly reproduced for a few minutes by just doing a reprint. But, if you wait about an hour, it will print fine.
What is crazy is that the house it's in has horrible wifi. We had to run this cable a while back because the wifi signal in the house would not go more than 20 feet. I have no idea what is killing it and have tried multiple devices. Anyway, I am guessing that whatever is killing the wifi signal is also affecting the cat5 cable somehow, but I don't know how. It's not like there are lead in the walls. It's a regular house. It does have solar panels though, but no battery backup system for them.
I will try to test the printer with another cable and move it closer to the router, but the problem is that it's hard to tell if it's just not acting up at that time vs if it is a solution that will work.
Thanks
Any software I can test? I was thinking it'd be great to stick a linux computer on each end of the cable and somehow check if something is happening to the packets as I transfer data between them, or one linux computer and the printer and check that.
|
|
|
02-11-2013, 08:39 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
If you have a spare box you could add an extra eth to you could put it in front of the printer, make it transparently forward traffic between devices and tcpdump there and on the client side? Else how about connecting the printer to a Linux box, make it a print server and if necessary sniff there? Just thinking out loud...
|
|
|
02-11-2013, 08:49 AM
|
#5
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,970
|
"Electrical power." Put a UPS box on all the equipment, and (in addition ...) check what is actually attached to each electrical circuit.
|
|
|
02-11-2013, 11:40 AM
|
#6
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
Good point by sundialsvcs. As I think more about this, I would tend to agree that dirty electrical power is the more likely culpret. Could still be noise/interference in the wiring, but dirty power is more likely. I'm glad sundialsvcs thought of this. Definitely worth investigating.
Also, since you say it is failing for a period, but then starts working later, what is going on in your house at the time it is failing? Your wife didn't just fire up her high powered radio transmitter next to the printer did she? Obviously I'm joking about that, but do look around for things that might be generating electrical noise. Cheap appliances are sometimes known for this - hair driers, blenders, fans, etc. Some power tools. You don't happen to have any of those old X10 "Home automation" light switches that work by remote control in place do you? Those place high frequency signals on your power lines. I haven't found those to cause problems with other devices myself, more so other devices cause problems for them, but it's still something to consider.
|
|
|
02-22-2013, 04:27 PM
|
#7
|
Member
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554
Original Poster
Rep:
|
Sounds good, I will check all these things out.
Thanks
|
|
|
03-17-2015, 07:33 PM
|
#8
|
Member
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549
Rep:
|
Hello,
Did you resolve your problem??
|
|
|
All times are GMT -5. The time now is 03:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|