OT: linux help - ne...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] OT: linux help - network printer

10 Posts
4 Users
0 Reactions
118 Views
Posts: 0
Free Member
Topic starter
 

I wonder if anyone could suggest things to try to get an SUSE 11.4 machine to see the printer (HP colour laserjet) on our network.

Machine will have a 130.88.x.x IP, printer has a 10.99.x.x IP

Windows machines in the same office can connect to the printer and all works fine.

Linux machine can't see it, have tried CUPS, HPLIP setup wizard and YASTs own printer setup. Have turned off firewall to check that it's not that causing a problem. I can't even ping the IP address of the printer for some reason (Can ping other IPs. Windows machines can ping the printer fine too)


 
Posted : 06/02/2012 6:56 pm
Posts: 17
Free Member
 

Are the windows machines on the same subnet (might be in the same office, not necessarily the same subnet)


 
Posted : 06/02/2012 7:57 pm
Posts: 7090
Full Member
 

That's an unusual address for a printer - doesn't that mean it's on the public internet?

Check the SUSE machine has a sensible default route (should begin with 0.0.0.0). e.g.

[code]
% route -n
0.0.0.0 10.177.128.1 0.0.0.0 UG 100 0 0 eth0
[/code]


 
Posted : 06/02/2012 8:01 pm
Posts: 0
Free Member
Topic starter
 

The IP address for the printer was given to me by IT, but they won't help support the linux machine that's failing to connect, as it isn't an approved distribution (!)

The route seems to be OK, and all the machines in the office are on the same subnet


 
Posted : 06/02/2012 8:11 pm
Posts: 7090
Full Member
 

Sorry, I mean that your machine is on the public internet.

That's not going to work well.

EDIT: what's the subnet that the working windows machines are on? i.e. which subnet are all the machine on?

I'd be suspicious that whatever is the router between your linux machine (130.88.xxx) and the printer (10.xx) is probably dropping the traffic.

When you say you turned the firewall off, was that on the linux machine, or a real firewall box (e.g. cisco) somewhere?


 
Posted : 06/02/2012 8:14 pm
Posts: 0
Free Member
Topic starter
 

The 4 PCs in the office are all 130.88.237.xxx and the subnet mask is 255.255.255.0, so I think that means that they're all on the same subnet?

The linux machine is the only one that can't find the printer. The 3 other windows machines don't have a problem.

I've tried turning the firewall setting off in SUSE , as when I tried to connect and it couldn't find the printer it produced a message suggesting it couldn't route through the firewall.


 
Posted : 06/02/2012 8:27 pm
Posts: 7090
Full Member
 

Can you ping the linux machine's default gateway (10.177.128.1 in the example above) ?

Somewhere there must be a router that's routing between your 10.99.0.0/16 subnet to your 130.88.237.0/24 subnet. It's possible that router has some rules of its own to prevent public internet/dmz machines getting to your private LAN (10.99.x.x.). e.g. it may have a fixed list of "trusted" IPs.


 
Posted : 06/02/2012 9:55 pm
Posts: 0
Free Member
 

Sounds like a fundamental networking issue somewhere to me.

Work through it logically pinging everything in the middle. Take a peak at the local routing table as well, the windows machines may have a static route in for that address you need to add.

If it's nothing local then ping the default gateway for your subnet, does that return?

If it does then try pinging the default gateway for the printer IP subnet.

It might be worth mentioning that Ping isn't often a good use for testing as it will return even if there are some routing issues or maybe a router could be blocking ping. :/

The post above makes a good point that the route may have an ACL list on it stopping you from accessing it as your internal addresses are a little screwy. Either that or you're plugging into a VLAN that doesn't have the correct route map applied.


 
Posted : 06/02/2012 10:36 pm
Posts: 0
Free Member
Topic starter
 

Cheers, will have a play tomorrow and see how much further I can get things.

Thanks for your help


 
Posted : 06/02/2012 11:02 pm
Posts: 17
Free Member
 

Manchester Uni? Surely you have a computing bod there who's not under the "approved distribution" thumb? Ours are not meant to touch certain distros but one chap in the IT room will with a nod and a wink if addressed directly!

Either way, if you can't ping it, but can from other machines on the same subnet, something is being blocked either by your machine or on purpose by the uni net admin.


 
Posted : 07/02/2012 3:02 am
Posts: 0
Free Member
Topic starter
 

"Fixed" the problem by sharing the printer from one of the windows PCs and using SAMBA/CUPs to configure it.

It does the job 😀


 
Posted : 07/02/2012 10:18 am