Dylan <dylan@dylan.me.uk> wrote: On Sunday 06 Mar 2005 20:08 pm, pburness wrote:
My SuSE desktop has an ip address of 192.168.1.4 and normally accesses the internet via a wireless router with a gateway address of 192.168.1.1 As this gateway link is somewhat unreliable
Which link? The desktop -> gateway link or the gateway -> ADSL link? Is the desktop -> gateway link wireless? How far apart are they and are there any obstructions or interference sources? Is the gateway plugged into the phone master socket, or an extension? have you tried a different microfilter? how long is the cable from the gateway to the phone socket? is it damaged? how many other devices are attached to the phone line? what are they? ...... The gateway -> ADSL link is unreliable, BT have ssaid they can not support the link as it's too far from the exchange and subject to too much RFI. :-(
I have an alternative gateway on 192.168.0.1 via a windows XP shared connection. The 192.168.1.1 gateway is ADSL and therefore my preferred route to the internet,
I take it from this that the XP box has a dialup connection. If your gateway is a linux box then you could set it up to dial out if the ADSL is not available. Unfortunately the linux box is a long way away from the phone socket (which only has the router and a phone connected, no extensions). I could have an extension fitted but it would be a fair bit of effort.
but as it is unreliable is it possible to change the addressing on the desktop to use either the 192.168.1.1 or the 192.168.0.1 routes depending upon which one is available? If so how?
You could write a script to change the IP address, default gateway, and DNS if necessary. look at man ifconfig and man route for the first two. Dylan
Phil
-- "I see your Schwartz is as big as mine" -Dark Helmet -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com