VeeDubb Posted March 17, 2004 Report Share Posted March 17, 2004 Okay. I have an external serial 56k modem for dial-up access connected to com2 (ttyS1). I also have a lan connection for a home network. The home net works fine, but the problem is this. I dial up to the internet and try to browse, and no pages will load. As far as I can tell, the connections are fine, but mandrake insists on using the lan, which does not connect to the internet. How do I tell mandrake to use the modem instead of the lan? This was realy easy in 9.0 through 9.2, but the network portion of the new mandrake controll center sucks for people with modems. Quote Link to comment Share on other sites More sharing options...
D4MR0D Posted March 21, 2004 Report Share Posted March 21, 2004 Is this Mandrake machine client or gateway on your LAN? Do you use it to route LAN traffic to Internet? Static or dinamic IP? Do you have router, switch, hub? Quote Link to comment Share on other sites More sharing options...
VeeDubb Posted March 22, 2004 Author Report Share Posted March 22, 2004 Client, but that doesn't matter. The problem is that the default route to the internet on my machine is through the network card and needs to be through the modem. THat's all that needs fixed. I just don't know how. As a temporary fix, I can remove both connections through MCC and re-establish the dial-up. But of course, that leaves me with no home network. Quote Link to comment Share on other sites More sharing options...
bvc Posted March 22, 2004 Report Share Posted March 22, 2004 (edited) you need to edit the ppp chat script (ifup-ppp0?) and eth0 (ifup-eth0?) scripts. Or look in /etc/sysconfig/network-scripts defaultroute needs to be added to pppd and taken from eth0? Sorry, I'm in w2k rt now so I can't look. I know you can add defaultroute to /etc/ppp/options. example of pppd on the cli; pppd debug lock modem crtscts /dev/ttyS1 38400 \ asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \ noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT Edited March 22, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
VeeDubb Posted March 22, 2004 Author Report Share Posted March 22, 2004 Thanks BVC. That's exactly what I needed. Over the last year or two i've gotten good enough with linux to install and admin mandrake, but when there's a problem, I get lost. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.