changing gatewaydev on notebook

Derek Atkins warlord at MIT.EDU
Thu Aug 3 11:46:47 EDT 2000


Well, you could always change your PPP options to include
'defaultroute'...  And then leave your GATEWAYDEV at eth0.
Or even remove it if you use DHCP.

-derek

Ron Peterson <rpeterson at wallacefloyd.com> writes:

> Derek Atkins wrote:
> > 
> > You could try putting the GATEWAY into your ifcfg-* file...  Indeed, I
> > don't think that technically you need a GATEWAYDEV, and if you do I
> > think you can also put that in the ifcfg-* file..
> 
> kppp requires GATEWAYDEV be set to the ppp interface.  I tried just
> leaving it there (on ppp0), but it needs to be set to eth0 when I'm on
> my LAN to connect outside the office.
> 
> I have a Linksys 10/100+modem PCMCIA card.  Since both interfaces reside
> on the same card, I can't just check whether the card is present or not.
> 
> Could I export GATEWAY & GATEWAYDEV in ifup-ppp, and revert in
> ifdown-ppp?  I'm not as familiar as I should be with how the various
> scripts in /etc/sysconfig/network-scripts operate.  :(
> 
> --
> 
> Ron Peterson
> Systems Manager
> Wallace Floyd Design Group
> 273 Summer Street
> Boston, MA  02210
> 617.350.7400 tel
> 617.350.0051 fax
> rpeterson at wallacefloyd.com

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/      PP-ASEL      N1NWH
       warlord at MIT.EDU                        PGP key available
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list