<br><br><div class="gmail_quote">On Sat, Jun 30, 2012 at 2:27 AM, Amedee Van Gasse <span dir="ltr"><<a href="mailto:amedee-ubuntu@amedee.be" target="_blank">amedee-ubuntu@amedee.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 29/06/2012 17:11, TopBot . wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
<br>
For now I'm running this code to make atleast the internet browsing experience better but the connection resets have loads of other setbacks which are all irritating:<br>
<br>
#!/bin/bash<br>
while true<br>
do<br>
 /root/Desktop/IPrest.sh<br>
 sleep 60<br>
done<br>
</blockquote>
<br></div>
If you're going to run it every 60 seconds then a cron job would be better.<br>
Drop to a console and type<br>
<br>
crontab -e<br>
(sudo crontab -e if it needs to run as root)<br>
<br>
Add the following line:<br>
<br>
* * * * * /root/Desktop/IPrest.sh<br>
<br>
<br>
Also, are you running as root? I hope that you're not running a GUI as root?<br>
I'm asking because of the /root/Desktop/ directory.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br><br>Yeah, I'm running as root, but don't think GUI is on root. Backtrack runs on root as a default. Anyway, the issue with running every 60 seconds is that it is not the real solution and all the connections are reset.. and in case the IPs are dropped before or <i>after</i> 60 sec, I've to run IPreset.sh manually again.... have made a quick launch for it by now. No I guess it is related to the network rather than my system.<br clear="all">
<br>-- <br>TopBot.<br>