User Tools

Site Tools


Scripts to get information from modems

Get IP address

Fibertel Cisco DPC3825 DOCSIS 3.0 Data Gateway

wget -q --post-data="username_login=admin&password_login=password" \
  --timeout=1 -O /dev/null
wget -qO - | sed -n -e \
  '/InternetIPAddress/ s/^.*>\([0-9][0-9\.]*\)<.*$/\1/p'

Get speed

Arnet P.DG A4001N

# Reads modem speed
wget -qO - | sed -e \
  '1,/>Line Rate - Upstream (Kbps):</d' | sed -e \
  '6,$ d' -e '2,4 d' -e 's/<\/.*$//' -e 's/.*>//'
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
docs/guide-user/network/wan/ddns.ipscript.txt · Last modified: 2018/03/03 20:13 by bobafetthotmail