On Wed, 2006-08-02 at 11:18 +0200, Johannes Meixner wrote:
See our online "Reference" manual for some basic tests regarding network printer access (e.g. RPM package suselinux-manual_en), see the item "Network Printer Connections" in the "Troubleshooting" section in the "Printer Operation" chapter.
Done so. It does not address anything regarding other subnets. If I do the tests on the local subnet, all works perfectly. Just when another subnet is used, it does not find the printers, even though a ping does find it. #### The results: #################################################### ***** LOCAL IBM Network Printer 17 in subnet 192.168.0.0 ************* L10-WS:~ # nmap 192.168.0.153 Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-08-02 12:33 CEST Interesting ports on 192.168.0.153: (The 1666 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 23/tcp open telnet 80/tcp open http 515/tcp open printer 2048/tcp open dls-monitor 2501/tcp open rtsclient 5001/tcp open commplex-link MAC Address: 00:60:94:60:E7:D5 (IBM) ***** LOCAL HP LJ 5M in subnet 192.168.0.0 ***************************** Nmap finished: 1 IP address (1 host up) scanned in 11.111 seconds L10-WS:~ # nmap -p 35,137-139,515,631,9100-10000 192.168.0.160 Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-08-02 12:45 CEST Interesting ports on 192.168.0.160: (The 905 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 515/tcp open printer 9100/tcp open jetdirect MAC Address: 08:00:09:DD:62:A8 (Hewlett Packard) ***** LOCAL IBM Network Printer 17 in subnet 192.168.0.0 ************* Nmap finished: 1 IP address (1 host up) scanned in 12.358 seconds L10-WS-:~ # nmap -p 35,137-139,515,631,9100-10000 192.168.0.153 Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-08-02 12:46 CEST Interesting ports on 192.168.0.153: (The 906 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 515/tcp open printer MAC Address: 00:60:94:60:E7:D5 (IBM) Nmap finished: 1 IP address (1 host up) scanned in 9.895 seconds ***** REMOTE over OpenVPN Ricoh Aficio 220 in subnet 192.168.1.0 ****** L10-WS:~ # nmap -p 35,137-139,515,631,9100-10000 192.168.1.3 Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-08-02 12:47 CEST Interesting ports on 192.168.1.3: (The 904 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 515/tcp open printer 631/tcp open ipp 9100/tcp open jetdirect Nmap finished: 1 IP address (1 host up) scanned in 25.331 seconds *** REMOTE over OpenVPN IBM Network Printer 17 in subnet 192.168.1.0 *** L10-WS:~ # nmap -p 35,137-139,515,631,9100-10000 192.168.1.4 Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-08-02 12:47 CEST Interesting ports on 192.168.1.4: (The 906 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 515/tcp open printer ################## END Results ########################################
As you carefully <hehe> avoided to specify which Suse Linux version you use, I cannot point you to an exact URL ;-)
Pardon, it's my lack of info. The workstations are SUSE 10.1 boxed version. The firewalls are on SUSE 9.2 Pro boxed version.
Furthermore you must set up the network interfaces in the network printers to accept data from the matching source IPs (perhaps by default to be safe they may not accept data form IPs which do not belong to their sub-net).
Have not figured out how to do that, if it is something other than that I should set the IP 192.168.0.xxx and Netmask 255.255.255.0 with Default Gateway 192.168.0.xxx in the Printer menus.
By the way: Have our firewall in mind:
For a test simply switch it off using "rcSuSEfirewall2 stop".
As a test I configured the /etc/sysconfig/SuSEfirewall2 to keep the routing when it unloads the rules when stopping the firewall. Without the firewalls, the non-functioning of printing in the other subnet is the same as before.
If the printers and the client systems are in an internal network
It is in another subnet over OpenVPN routed and not bridged. What is the difference between M$ Win and Linux in the printing situation? Why can M$ print and Linux not? :-/ Al