Web lists-archives.com

Re: WiFi without Network Manager




note: this is why I think top-posting is best.

People don't have to scroll through tons of crap to get to "Thanks" :-)


On 2/12/2019 3:07 PM, ghe wrote:
On 2/12/19 9:15 AM, deb wrote:

Glenn, thanks for this!
More than welcome.

For your amazement, here's the comcastRoutes.sh from my laptop, running
Buster. This is run just after the WiFi interface has been brought up
and Comcast has scribbled all over my IP files. It looks like maybe I'm
removing the default the twice on the WiFi...

#! /bin/bash

echo 'Adding Comcast routes'
route del default
route add default gw <theDefaultOnMyT1>

# Debian mirrors:
# picosecond
route add -host 184.105.204.138 gw 10.0.0.1 wlan0
# U-CHICAGO
route add -host 128.135.10.29 gw 10.0.0.1 wlan0
# MIT
route add -host 128.30.2.26 gw 10.0.0.1 wlan0
# Georgia Tech
route add -host 128.61.240.89 gw 10.0.0.1 wlan0
# Wikimedia
route add -host 208.80.154.15 gw 10.0.0.1 wlan0
	
route del default wlan0
route del -net 10.0.0.0 netmask 255.255.255.0

cp -a /etc/resolv.conf.sls /etc/resolv.conf


Thank you!

I'll give that a crack!