On Wed, 27 Nov 2019 07:42:55 +1100, faeychild wrote:
I have been informed that my old ISP has been acquired by another
probably due to the impending changeover to fibre.
The new ISP tells me that the process will be painless and does not
require my input - they will reconfigure it all.
I figure that I will have to enable "Remote Access" on my modem for them
to be able to do this.
If it were me, I would not enable it.
Not entirely sure when, or for how, long to enable this. I suppose it is
a small risk for a small window in time
They have given me changeover date. I assume that it is reasonably accurate.
Your modem is set to fetch its ip via dhcp. New ISP could get your network info, plug it into their DHCP server, and when your current WAN lease
gets past renew lease date/time, broadcasts a lease request, and you are
on new ISP ip.
I could enable it for a week or two around that date and keep tabs on my
ISP identity
Yup, You could create a script to check if your ip changed and have your Desktop Environment auto start the script when you log in.
If your script can not ping yahoo.com or ip has changed, give you a
pop up about the change.
You would then try a power cycle to see if you can get internet access
again. Hopefully that will work. I assume you have already written down
the new ISP help telephone number. :)
Here is a down and dirty quick kludge to play with. Just run it as is.
- ---8<---8<---8<---8<-cut below this line --8<---8<---8<---8<
#!/bin/bash
#*********************************************************
#* network_ck - Script to check network connection
#*
#* Install: chmod +x network_ck
#* place somewhere in your $PATH environment
#*
#* Assumes xmessage is installed
#*
#*********************************************************
set -u # Show usage of unset variables as an error to help catch typos.
_app=${0##*/} # script name
_current_ip="w.x.y.z"
_new_ip=""
_exe=$0 # /wherever/script_name
ping -c 1 -w 3 yahoo.com > /dev/null 2>&1
if [ $? -ne 0 ] ; then
nohup xmessage -display :0 -bg red -fg white \
"
ping -c 1 -w 3 yahoo.com
failure from $_app.
Suggest Modem Power reset, and run $_app again
" \
> /dev/null 2>&1 &
exit 1
fi
_new_ip=$(wget -qO -
http://ident.me/)
if [ "$_new_ip" != "$_current_ip" ] ; then
nohup xmessage -display :0 -bg yellow -fg black \
"
Your Internet/WAN ip has changed
from $_current_ip
to $_new_ip
You might want to power reset modem just to make
sure all is well prior to the next power outage.
" \
> /dev/null 2>&1 &
fi
#*********** end of network_ck ****************************
--- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
* Origin: A noiseless patient Spider (2:250/1@fidonet)