Skip to content

This program will access an Experia box v10 H369A DSL modem over http and get or change settings from commandline.

License

Notifications You must be signed in to change notification settings

gversluis/h369a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

h369a

This program will access an Experia box v10 H369A DSL modem over http and get or change settings from commandline.

Introduction

I wrote a Experia box v10 H369AExperia box v10 H369A DSL modem commandline client for easier management.

Currently it supports:

  • Forward NAT ports to IP address
  • Close NAT ports
  • Get external IP address from modem

I wrote this code for my own use so it is not tested except for my own current modem.

Tested on:

Hardware Version V1.00
Software Version V1.01.00T04.0
Boot Loader Version V1.0.00 

Usage

Usage: ./h369a.pl [-dfhpstuvw] [long options...]

Example 1: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn
Example 2: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn --target 192.168.1.6
Example 3: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn --close
Example 4: ./h369a.pl -h 192.168.1.254 -p "secret" --ip
Example 5: ./h369a.pl -h 192.168.1.254 -p "secret" --wifi
Example 6: ./h369a.pl -h 192.168.1.254 -p "secret" --devices
Example 7: ./h369a.pl -h 192.168.1.254 -p "secret" --status

To open specific ports create services with port mappings manually under Settings > Port Forwarding - IPv4 > Application Configuration > Create New App Name

Options

Run the program without arguments to get a list of options

    --host STR (or -h)      Modem ip
    --username STR (or -u)  Username
    --password STR (or -p)  Password
    --force (or -f)         Force another user to logout
    --ip                    Get WAN IP address
    --service STR (or -s)   Get or change service
    --port INT              Port number to get or set instead of service
                            (TODO: create a service if it does not exist)
    --close                 Delete forwarding
    --target STR (or -t)    Forward service to ip
    --wifi (or -w)          List wifi devices
    --devices (or -d)       List devices
    --status                Get status for interfaces

    --verbose (or -v)       print extra stuff
    --help                  print usage message and exit

Known issues

WARNING: If your login failed to many times your access will be disabled for a while.

Credits

  • Author: Gerben Versluis
  • Distributed under GNU General Public License v3.0

About

This program will access an Experia box v10 H369A DSL modem over http and get or change settings from commandline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages