[artix-general] [Hangout - NYLXS] Network Settings unpredictable

Ruben Safir ruben at mrbrklyn.com
Wed Feb 2 08:06:08 CET 2022


On 2/2/22 01:47, Paul Robert Marino wrote:
> yea well it sounds like your choice of disto struck again one of the
> developers must have assumed in one of the scripts that eth0 always
> has the default route. I would look at the scripts used to bring up
> the interfaces and file a bug report and or submit a patch.
> 


connamd  -

It is not a bug it is  a f****g feature...

This is the Gentoo networking stack as far as  I know, BTW



> On Wed, Feb 2, 2022 at 12:35 AM Ruben Safir <ruben at mrbrklyn.com> wrote:
>>
>> I need a simple network set up that routes like this
>>
>>
>> mail2:[root]:~# ip ro
>> 0.0.0.0 dev eth1 scope link
>> default via 96.57.23.81 dev eth1
>> 10.0.0.0/24 dev eth0 scope link
>> 10.0.0.37 dev eth0 scope link
>> 96.57.23.80/29 via 96.57.23.81 dev eth1 metric 3
>> 127.0.0.0/8 via 127.0.0.1 dev lo
>>
>>
>> I have a /etc/conf.d/net that has the following
>>
>> mail2:[root]:~# grep -v "^#" /etc/conf.d/net |grep -v "^$"
>> config_eth1="96.57.23.84/29"
>> config_eth0="10.0.0.47/24"
>> routes_eth1="default via 96.57.23.81
>> 96.57.23.80/29 via 96.57.23.81"
>> dns_domain_eth0="mrbrklyn.com"
>> dns_servers_eth0="10.0.0.37 166.84.1.2"
>> dns_domain_eth1="mrbrklyn.com"
>> dns_servers_eth1="96.57.23.83  166.84.1.2"
>>
>>
>> Seems simple - right?
>>
>> It doesn't come up like this.  It comes up with default routes for
>> 10.0.0.37 - which is the internal network.... and I haven't found a damn
>> thing I can do to stop it.
>>
>> mail2:[root]:~# ls -al  /etc/init.d/net.*
>> lrwxrwxrwx 1 root root     6 Feb  1 21:31 /etc/init.d/net.eth0 -> net.lo
>> lrwxrwxrwx 1 root root     6 Feb  1 21:31 /etc/init.d/net.eth1 -> net.lo
>> -rwxr-xr-x 1 root root 19872 May  5  2021 /etc/init.d/net.lo
>>
>>
>> mail2:[root]:~# rc-status
>>  * Caching service dependencies ...
>>                                      [ ok ]
>> Runlevel: default
>>  syslog-ng
>>                   [  started 01:22:39 (0) ]
>>  acpid
>>                   [  started 01:22:39 (0) ]
>>  dbus
>>                   [  started 01:22:40 (0) ]
>>  connmand
>>                   [  started 01:22:39 (0) ]
>>  net.eth0
>>                               [  started  ]
>>  net.eth1
>>                               [  started  ]
>>  bluetoothd
>>                   [  started 01:22:39 (0) ]
>>  cronie
>>                   [  started 01:22:39 (0) ]
>>  cupsd
>>                   [  started 01:22:38 (0) ]
>>  netmount
>>                               [  started  ]
>>  lightdm
>>                   [  started 01:22:38 (0) ]
>>  postfix
>>                               [  started  ]
>>  sshd
>>                   [  started 01:22:37 (0) ]
>>  local
>>                               [  started  ]
>>  agetty.tty5
>>                   [  started 01:22:36 (0) ]
>>  agetty.tty4
>>                   [  started 01:22:36 (0) ]
>>  agetty.tty2
>>                   [  started 01:22:36 (0) ]
>>  agetty.tty6
>>                   [  started 01:22:36 (0) ]
>>  agetty.tty1
>>                   [  started 01:22:36 (0) ]
>>  agetty.tty3
>>                   [  started 01:22:36 (0) ]
>> Dynamic Runlevel: hotplugged
>> Dynamic Runlevel: needed/wanted
>>  avahi-daemon
>>                   [  started 01:22:38 (0) ]
>> Dynamic Runlevel: manual
>>  openrc-settingsd
>>                               [  started  ]
>>
>>
>> --
>> So many immigrant groups have swept through our town
>> that Brooklyn, like Atlantis, reaches mythological
>> proportions in the mind of the world - RI Safir 1998
>> http://www.mrbrklyn.com
>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
>>
>> http://www.nylxs.com - Leadership Development in Free Software
>> http://www.brooklyn-living.com
>>
>> Being so tracked is for FARM ANIMALS and extermination camps,
>> but incompatible with living as a free human being. -RI Safir 2013
>> _______________________________________________
>> Hangout mailing list
>> Hangout at nylxs.com
>> http://lists.mrbrklyn.com/mailman/listinfo/hangout
> _______________________________________________
> Hangout mailing list
> Hangout at nylxs.com
> http://lists.mrbrklyn.com/mailman/listinfo/hangout


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

http://www.nylxs.com - Leadership Development in Free Software
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


More information about the artix-general mailing list