Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Travel router part 2



On 2018-09-02 10:03 AM, Robert Swindells wrote:
>> The idea is to use re0 as my DSL connection and later to use athn1 in
>> the campgrounds as I travel.  Here is the relevant portion of my rc.conf.
> 
> Maybe use wm0 as the external interface.

What would that give me?  Or is it a "try and see if it works"
suggestion?  In any case, re0 works fine.  See below.

> In /etc/ppp/ip-up I have:
> 
> #! /bin/sh
> /sbin/route add default $5
> 
> /etc/ppp/ip-down is:
> 
> #! /bin/sh
> /sbin/route delete default $5

I did that and it worked.  Thanks.

Any thoughts on picking up the DNS servers?  It's not too bad because my
DHCP server can be modified as needed so it is only one location and in
any case I always include Google's public servers.

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index