|
|
Subject: persistent static routes - msg#00047
List: linux.redhat.release.rhel5
Persistent static routes were once configured in
/etc/sysconfig/static-routes.
In RHEL 3, this changed to creating a file
/etc/sysconfig/network-scripts/route-ethX for each interface. An entry
in a route-ethX file looked similar to:
GATEWAY0=10.10.0.1
NETMASK0=255.0.0.0
ADDRESS0=10.0.0.0
In RHEL 4, the syntax of a route-ethX file changed to something like
10.0.1.0/24 via 192.168.2.4 dev eth0
10.0.4.0/24 via 192.168.2.2 dev eth0
How are persistent static routes configured in RHEL 5?
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Printing problems -- "open print channel failed; will retry in 30 seconds..."
John Haxby wrote:
John Haxby wrote:
I've got an HP laserjet 2300 which is plugged into the usb port on my
RHEL5 server so it shows up as
DeviceURI hp:/usb/hp_LaserJet_2300_series?serial=CNCFF60878
in /etc/cups/printers.conf. It refuses to print though. The cups
status page always shows "open print channel failed; will retry in 30
seconds..." unless I disconnect the printer in which case it shows
that it's not connected.
Aha! Something doesn't like that URI, I changed the selection in
system-config-printer to use "usb #1" and the DeviceURI changed to
usb://HP/LaserJet%202300%20series and it's all happy now.
I use CUPS itself to configure printing (that works the same on Debian,
RHEL-clone and anything else I use). I have this, for a different model
of printer, and it works:
DeviceURI hp:/usb/HP_LaserJet_3052?serial=00CNCK315110
_I_ am using CUPS 1.3.0 and hp* 1.6.7 (I need the newer support) on
Nahant-clone in this case.
--
Cheers
John
-- spambait
1aaaaaaa-M5lLXDFvHK1J+1enrU1vWw@xxxxxxxxxxxxxxxx
Z1aaaaaaa-M5lLXDFvHK1J+1enrU1vWw@xxxxxxxxxxxxxxxx
Please do not reply off-list
Next Message by Date:
click to view message preview
Re: persistent static routes
Based on looking over /etc/sysconfig/network-scripts/ifup-routes, RH5
will look for the routes in route-ethX and will cope with the
GATEWAY<n>, NETMASK<n>, ADDRESS<n> format as well as the second format.
In looking at the same script on RH3 and RH4, they all reference the
GATEWAY<n>, ... as the "new format"
You can always use system-config-network to see what RH creates for you
when using their tools.
Hugh
Joe McCarty wrote:
Persistent static routes were once configured in
/etc/sysconfig/static-routes.
In RHEL 3, this changed to creating a file
/etc/sysconfig/network-scripts/route-ethX for each interface. An entry
in a route-ethX file looked similar to:
GATEWAY0=10.10.0.1
NETMASK0=255.0.0.0
ADDRESS0=10.0.0.0
In RHEL 4, the syntax of a route-ethX file changed to something like
10.0.1.0/24 via 192.168.2.4 dev eth0
10.0.4.0/24 via 192.168.2.2 dev eth0
How are persistent static routes configured in RHEL 5?
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
rhelv5-list mailing list
rhelv5-list-H+wXaHxf7aLQT0dZR+AlfA@xxxxxxxxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rhelv5-list
Previous Message by Thread:
click to view message preview
Printing problems -- "open print channel failed; will retry in 30 seconds..."
Hello All,
I've got an HP laserjet 2300 which is plugged into the usb port on my
RHEL5 server so it shows up as
DeviceURI hp:/usb/hp_LaserJet_2300_series?serial=CNCFF60878
in /etc/cups/printers.conf. It refuses to print though. The cups
status page always shows "open print channel failed; will retry in 30
seconds..." unless I disconnect the printer in which case it shows that
it's not connected.
I can't see anything vaguely relevant the cups log files, I've tried
disconnecting and reconnecting, I've tried power cycling the printer,
I've rebooted the server and nothing makes any difference except that I
can get the printer to admit it's not connected (googling seemed to
suggest that power cycling the printer would do the trick, but all I
found apart from that was sympathy for the problem).
Has anyone else seen something like this and, more to the point, does
anyone know how to fix it?
jch
Next Message by Thread:
click to view message preview
Re: persistent static routes
Based on looking over /etc/sysconfig/network-scripts/ifup-routes, RH5
will look for the routes in route-ethX and will cope with the
GATEWAY<n>, NETMASK<n>, ADDRESS<n> format as well as the second format.
In looking at the same script on RH3 and RH4, they all reference the
GATEWAY<n>, ... as the "new format"
You can always use system-config-network to see what RH creates for you
when using their tools.
Hugh
Joe McCarty wrote:
Persistent static routes were once configured in
/etc/sysconfig/static-routes.
In RHEL 3, this changed to creating a file
/etc/sysconfig/network-scripts/route-ethX for each interface. An entry
in a route-ethX file looked similar to:
GATEWAY0=10.10.0.1
NETMASK0=255.0.0.0
ADDRESS0=10.0.0.0
In RHEL 4, the syntax of a route-ethX file changed to something like
10.0.1.0/24 via 192.168.2.4 dev eth0
10.0.4.0/24 via 192.168.2.2 dev eth0
How are persistent static routes configured in RHEL 5?
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
rhelv5-list mailing list
rhelv5-list-H+wXaHxf7aLQT0dZR+AlfA@xxxxxxxxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rhelv5-list
|
|