On 13-Nov-11 14:17:43, Barry Samuels wrote:
My computer has two network interfaces, eth0 (wired) and wlan0 (wireless), to connect to my router. The wired connection goes via a small network switch to which a laser printer is also connected.
The computer normally uses the wired connection but sometimes I need to disconnect that and use the wireless so that I have a wireless connection to the router but the cable is disconnected from the router leaving my computer connected to the switch which also has a laser printer connected to it.
Is there any way that I can use the laser printer via eth0 when my computer is running on wireless? -- Barry Samuels
So long as eth0 is up and running (you can check with ifconfig), since (according to your description) there is a cable connection computer --> switch --> printer via eth0, you should be able to print directly to the printer using its IP address.
You may need to use "route add -host pr.in.te.r eth0" to ensure that the computer uses eth0 for the printer, where "pr.in.te.r" is the IP address of the printer.
I hope this advice is sound! Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) ted.harding@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 13-Nov-11 Time: 14:59:29 ------------------------------ XFMail ------------------------------