Re: Travel router part 2

2018-09-11 Thread Brett Lymn
On Wed, Sep 05, 2018 at 01:03:19PM +0100, Roy Marples wrote: > > Since NetBSD-6, dhclient-script has shipped with resolvconf(8) support > that will do that for you. > Oh cool, I didn't know - I have been using my hack for so long I never thought to see if there was something better... -- Bret

Re: Travel router part 2

2018-09-05 Thread Robert Swindells
D'Arcy Cain wrote: >Do you run dhclient if you have PPPOE set up? I don't.

Re: Travel router part 2

2018-09-05 Thread Roy Marples
On 05/09/2018 14:59, D'Arcy Cain wrote: On 2018-09-05 08:03 AM, Roy Marples wrote: and have a named configured to use the forwarders in /etc/namedb/forwarders.  Whatever the ISP dhcp gives me is stuffed into the forwarders and used as last resort.  This has been a robust solution for many open w

Re: Travel router part 2

2018-09-05 Thread D'Arcy Cain
On 2018-09-05 08:03 AM, Roy Marples wrote: >> and have a named configured to use the forwarders in >> /etc/namedb/forwarders.  Whatever the ISP dhcp gives me is stuffed into >> the forwarders and used as last resort.  This has been a robust solution >> for many open wireless access points. > > Sin

Re: Travel router part 2

2018-09-05 Thread Roy Marples
On 04/09/2018 23:21, Brett Lymn wrote: On Sun, Sep 02, 2018 at 11:55:58AM -0400, D'Arcy Cain wrote: 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.

Re: Travel router part 2

2018-09-04 Thread Brett Lymn
On Sun, Sep 02, 2018 at 11:55:58AM -0400, D'Arcy Cain wrote: > > 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. > I have found that DNS can be

Re: Travel router part 2

2018-09-02 Thread D'Arcy Cain
On 2018-09-02 01:08 PM, D'Arcy Cain wrote: > On 2018-09-02 12:47 PM, Robert Swindells wrote: >> % man pppoe >> >> Follow the instructions on what to put in /etc/ifconfig.pppoe0. > > I guess so. I have usually tried to keep everything in rc.conf but I > suppose that that's better than manual inter

Re: Travel router part 2

2018-09-02 Thread Joerg Sonnenberger
On Sun, Sep 02, 2018 at 07:25:42PM +0100, Robert Swindells wrote: > > Joerg Sonnenberger wrote: > >On Sun, Sep 02, 2018 at 03:03:37PM +0100, Robert Swindells wrote: > >> If you are useing pppoe(4) to connect to the ISP then you may want to > >> set the MTU of the ethernet device to 1508 so that y

Re: Travel router part 2

2018-09-02 Thread Robert Swindells
Joerg Sonnenberger wrote: >On Sun, Sep 02, 2018 at 03:03:37PM +0100, Robert Swindells wrote: >> If you are useing pppoe(4) to connect to the ISP then you may want to >> set the MTU of the ethernet device to 1508 so that you get an MTU of >> 1500 on the pppoe tunnel. > >This depends on the ISP to

Re: Travel router part 2

2018-09-02 Thread Robert Swindells
D'Arcy Cain wrote: >On 2018-09-02 12:10 PM, Robert Swindells wrote: >> >> D'Arcy Cain wrote: >>> 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

Re: Travel router part 2

2018-09-02 Thread Joerg Sonnenberger
On Sun, Sep 02, 2018 at 12:37:25PM -0400, D'Arcy Cain wrote: > On 2018-09-02 12:10 PM, Robert Swindells wrote: > > > > D'Arcy Cain wrote: > >> 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 t

Re: Travel router part 2

2018-09-02 Thread Joerg Sonnenberger
On Sun, Sep 02, 2018 at 03:03:37PM +0100, Robert Swindells wrote: > If you are useing pppoe(4) to connect to the ISP then you may want to > set the MTU of the ethernet device to 1508 so that you get an MTU of > 1500 on the pppoe tunnel. This depends on the ISP to also support that option. Many (i.

Re: Travel router part 2

2018-09-02 Thread D'Arcy Cain
On 2018-09-02 12:47 PM, Robert Swindells wrote: > % man pppoe > > Follow the instructions on what to put in /etc/ifconfig.pppoe0. I guess so. I have usually tried to keep everything in rc.conf but I suppose that that's better than manual intervention. Thanks again. -- D'Arcy J.M. Cain http:/

Re: Travel router part 2

2018-09-02 Thread Robert Swindells
D'Arcy Cain wrote: >On 2018-09-02 10:03 AM, Robert Swindells wrote: >> In /etc/ppp/ip-up I have: >> >> #! /bin/sh >> /sbin/route add default $5 > >I also tried adding the pppoectl commands there but that doesn't work. >That means that a "/etc/rc.d/network restart" doesn't bring that DSL >conne

Re: Travel router part 2

2018-09-02 Thread D'Arcy Cain
On 2018-09-02 10:03 AM, Robert Swindells wrote: > In /etc/ppp/ip-up I have: > > #! /bin/sh > /sbin/route add default $5 I also tried adding the pppoectl commands there but that doesn't work. That means that a "/etc/rc.d/network restart" doesn't bring that DSL connection back up without manual in

Re: Travel router part 2

2018-09-02 Thread D'Arcy Cain
On 2018-09-02 12:10 PM, Robert Swindells wrote: > > D'Arcy Cain wrote: >> 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

Re: Travel router part 2

2018-09-02 Thread Robert Swindells
D'Arcy Cain wrote: >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?

Re: Travel router part 2

2018-09-02 Thread D'Arcy Cain
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 i

Re: Travel router part 2

2018-09-02 Thread Robert Swindells
D'Arcy Cain wrote: >Some of you may remember that I was trying to set up a NetBSD machine to >do all of my routing in my trailer while we travel. I hit a snag when >it turned out that my computer didn't have enough slots. I now have a >HP 6300. It is still tight on slots but it has three and

Travel router part 2

2018-09-02 Thread D'Arcy Cain
Some of you may remember that I was trying to set up a NetBSD machine to do all of my routing in my trailer while we travel. I hit a snag when it turned out that my computer didn't have enough slots. I now have a HP 6300. It is still tight on slots but it has three and that's all I need for now.