> Yes! I have exactly the same problem! Lan server 192.168.1.1 is the > dateway. Well tell the computer to NOT set the default gateway when it brings up the LAN. Different distros have different ways of doing this. ultimately you can hack the network scripts. To find the right script grepping all the files in /etc/ for the route command would at least be a start.
I am assuming you don't need a default route to another box on the lan. Without ethernet the default route is thru the modem, with eth0 > running, it's thru the ethernat card, and misses the modem completely > > route add default gw 192.168.1.1 (on the internet server) will add another > default route to the internet, WITH priority! > > Now all I gotta do is work out hos to automate this with wvdial... > > ----- Original Message ----- > From: "Chris Wilkinson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, April 24, 2004 12:53 PM > Subject: How to set default internet connection manually? > > >> Hi there, >> >> My symptoms: >> >> Setting up modem for internet, and LAN for SMB sharing with my laptop >> is causing bother, as drakconnect (Mandrake network setup tool) will >> crash if I setup the modem by itself with the LAN enabled. With the >> LAN disabled in the BIOS, the modem setting up works fine, and thats how >> I got this email to the CLUG, but enabling the LAN and setting that >> up by itself causes the default internet connection to revert to the >> LAN. I then setup the modem again, but with the LAN enabled drakconnect >> will crash and the default internet gateway reverts back to LAN... >> >> Catch 22! Anyone have any clues here? >> >> Alternatively can I edit some files manually to redirect anything >> Netscape wants to/from ppp0 instead of eth0? >> >> BTW, the SMB sharing works fine, but with LAN enabled I cannot use >> the internet due to the above! Drat... >> >> -- >> Kind regards, >> >> Chris Wilkinson, Christchurch, New Zealand. >> >> > >
