Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL Reconnect not working on FB 7530 #35

Open
AnanasPfirsichSaft opened this issue Jul 24, 2023 · 9 comments
Open

DSL Reconnect not working on FB 7530 #35

AnanasPfirsichSaft opened this issue Jul 24, 2023 · 9 comments

Comments

@AnanasPfirsichSaft
Copy link

Hello,

when I request the Fritzbox to reconnect the DSL connection to get a new IP adress, it is not working. The "reconnect" button on the native user interface however works (as expected). The firmware is 7.56 and fritzboxShell is 1.0.8.

# ./fritzBoxShell.sh --boxip 192.168.x.x --boxuser "abc" --boxpw "xyz" WAN RECONNECT


WAN RECONNECT initiated - Waiting for new IP... (30 seconds)

FINISHED. Find new IP Address below:

Maybe AVM (silently) changed the API?

@jhubig
Copy link
Owner

jhubig commented Dec 27, 2023

Hello. Sorry for my late response. Could you please give me your output of the test script. Thanks.

fritzBoxShellTest.sh
WLAN_2G STATISTICS	is working!
WLAN_2G STATE	is working!
WLAN_5G STATISTICS	is working!
WLAN_5G STATE	is working!
WLAN STATE	is working!
LAN STATE	is working!
DSL STATE	is working!
WAN STATE	is working!
LINK STATE	is working!
IGDWAN STATE	is working!
IGDDSL STATE	is not working!
IGDIP STATE	is working!
TAM 0 GetInfo	is working!
OnTel GetCallList 1	is working!
NewModelName FRITZ!Box 7490
NewSoftwareVersion 113.07.57
fritzBoxShell.sh version 1.0.8

@AnanasPfirsichSaft
Copy link
Author

No problem. It is the current master version and the firmware is up-to-date :)

WLAN_2G STATISTICS      is working!
WLAN_2G STATE   is working!
WLAN_5G STATISTICS      is working!
WLAN_5G STATE   is working!
WLAN STATE      is working!
LAN STATE       is working!
DSL STATE       is working!
WAN STATE       is working!
LINK STATE      is working!
IGDWAN STATE    is not working!
IGDDSL STATE    is not working!
IGDIP STATE     is not working!
TAM 0 GetInfo   is working!
OnTel GetCallList 1     is working!
NewModelName FRITZ!Box 7530
NewSoftwareVersion 164.07.57
fritzBoxShell.sh version 1.0.9

@jhubig
Copy link
Owner

jhubig commented Jan 4, 2024

Could you please try with the file attached and provide me the output of

fritzBoxShell.sh WAN RECONNECT

Thanks. Maybe I need to adapt that function based on the connection type.

fritzBoxShell.sh.zip

@AnanasPfirsichSaft
Copy link
Author

Here you are…

$ ./fritzBoxShell.sh WAN RECONNECT
NewDefaultConnectionService 1.WANPPPConnection.1

@jhubig
Copy link
Owner

jhubig commented Jan 7, 2024

Thanks. I'll get the same output like you for the GetDefaultConnectionService in /upnp/control/layer3forwarding but for me the ForceTermination only works via WANIP. Could you do a last test for me? Thanks. Please do another

fritzBoxShell.sh WAN RECONNECT

fritzBoxShell.sh.zip

@AnanasPfirsichSaft
Copy link
Author

No problem.

$ ./fritzBoxShell.sh WAN RECONNECT
NewDefaultConnectionService 1.WANPPPConnection.1
NewExternalIPAddress 88.77.xxx.xxx

WAN RECONNECT initiated (via WANIP) - Waiting for new IP... (30 seconds)
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>Waiting 60 seconds

WAN RECONNECT initiated (via WANPPP) - Waiting for new IP... (30 seconds)
<HTML><HEAD><TITLE>401 Unauthorized (ERR_NONE)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_NONE<HR><B>Webserver</B> Tue, 09 Jan 2024 20:33:52 GMT</BODY></HTML>

FINISHED. Find new IP Address below:
NewExternalIPAddress 88.77.XXX.XXX

@jhubig
Copy link
Owner

jhubig commented Jan 9, 2024

Okay. So seems both are not working. Just to confirm. You are having using a DSL connection, right?

Could you please send me a copy of the following XML files:

Cheers,
Johannes

@AnanasPfirsichSaft
Copy link
Author

Here you are. Hope this helps...

xmldata.zip

@jhubig
Copy link
Owner

jhubig commented Jan 17, 2024

Unfortunately not 😀
They are all three the same. I'm a bit lost why it doesn't work for you :(

I will continue to check but I cannot promise. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants