This is a very interesting project called OpenWrt. It's a GNU/Linux distribution for embedded devices. This wil let you change your modem software and get a new and open firmware that you can use and modify as you want.
The link to the website of the project is : https://openwrt.org/
Happy hacking ;)