JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 25.08.2018, 08:33
marc_al
Guest
 
Posts: n/a
Unhappy 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
Reply With Quote
  #2  
Old 27.08.2018, 10:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,537
Default

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
Reply With Quote
  #3  
Old 27.08.2018, 18:49
marc_al
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #4  
Old 27.08.2018, 19:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,537
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:00.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.