The cable provider Vodafone (Kabel Deutschland) does not officially support VoIP connections from other routers than the ones they have issued: in my case a FRITZ!Box 7270. They do not provide the VoIP credentials; their boxes are auto-configurated via TR-069 protocol. Having a FRITZ!Box 7390 led me to investigate how to enable this full auto-configuration in other boxes than the 7270.
This is a follow-up to my previous post on how to clone CWMP settings between FritzBox 7270s.
I started with a freshly recovered FritzBox 7390, i.e. all previous configuration settings were erased. Also I did not connect any devices to the FritzBox. The Power/DSL LED is blinking.
The following changes were made via the UART interface on the PCB. I have not tested them via the FritzBox Telnet connection. It might be possible to write and trigger them as a shell script (as the network connection is shut down in the process), I have not tested that either.
Start with a shell on the FritzBox and shut down the network and DSL daemons:
cd /etc/init.d/ ./rc.net stop [...takes some time...] ./rc.dsl.sh stop [...takes some time...]
Then reconfigure the environment settings. I’ve used the urlader / boot loader (EVA) to set the tr069-credentials (as described here). I’m not sure if they can be also defined later, but if so, it should look something like this:
echo "tr069_passphrase XXXXXXXXXXXX" >> /proc/sys/urlader/environment echo "tr069_serial 00040E-XXXXXXXXXXXX" >> /proc/sys/urlader/environment
You might also want to check the MAC addresses: maca, macb, macwlan, macwlan2, macdsl, usb_board_mac, usb_rndis_mac
If the default addresses are set the FritzFox might completely fail to establish an internet connection. You then should set them to (pseudo)random values.
The following settings have to be adapted temporarily to simulate a FritzBox 7270. These environment variables will be reset on the next reboot (unlike the changes in the urlader, btw.). The remote TR069 server is checking the product name and the software version (besides the previously defined tr069-credentials).
export CONFIG_PRODUKT_NAME="FRITZ!Box Fon WLAN 7270 v2" export CONFIG_PRODUKT="Fritz_Box_7270_16" export CONFIG_VERSION="06.05" export CONFIG_SUBVERSION="" export CONFIG_VERSION_MAJOR="54" export EXTERNAL_BOX_PARAMS="hardware=${HWRevision}&oem=${OEM}&language=${Language}&country=&version=${CONFIG_VERSION_MAJOR}.${CONFIG_VERSION}&subversion=${CONFIG_SUBVERSION##*-}"
After that restart the network settings:
./rc.net start [...wait 10-20 seconds...]
Connect the FritzBox to the cable modem (via LAN1). After a while the FritzBox should fetch the CWMP/TR069 settings, including the telephone settings. This can be checked by entering:
cat /var/flash/tr069.cfg [...should list tr069 settings...]
cat /var/flash/voip.cfg [...should list telephone settings...]
P.S. I recommend to disable the TR-069 auto-configuration settings if not needed. They theoretically poke a quite huge hole into the security of your router.
Pingback: Cloning FritzBox 7270 CWMP Settings | Kai Christian Bader