#1
|
|||
|
|||
Reconnect problem pppoe
Hello,
I have made a script for the reconnect of Jdownloader2 (I use a linux Ubuntu) My connection is made by pppoe. The script is simple (vi /home/marc/RestartCon.sh) poff dsl-provider sleep 1 pon dsl-provider I execute a shell script in Jdownloader 2 The problem is : When I click on the test button (of jdownloader) the script works. When I use the reconnect button on the main window, the script doesn't work. I have no idea about why the test from jdownloader doesn't work and the normal reconnect works. It means that when I need to have a new IP adress, I need to go to the reconnection parameters and do a test (so it is not really automatic). Can you please help me? Thank you |
#2
|
||||
|
||||
I would increase sleep time.
What error happens/is shown when the script is executed automatically instead of *test mode* Also please provide logs, see https://support.jdownloader.org/Know...d-session-logs and post logID here. First try *test mode* and then the button and then create log
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Hello,
Thank you for the idea (sleep time). With a sleep time of 6 seconds, all is fine. Sorry for the disturbance. In case you still want the log (with more than one second) 27.08.18 18.45.10 <--> 27.08.18 18.45.04 jdlog://6916264433151/ Marc |
#4
|
||||
|
||||
Thanks for the feedback
I guess the reconnect just didn't wait long enough and the longer sleep does give the *disconnect/connect* more time to finish Glad it worked
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|