Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send settings command in Linux
#1
Star 
I normally run a command to detect my Xbox and change settings on uTorrent, and now I'd like to do the same with Vuze.  What is the best way to do this?  Are there args I can pass through the ./vuze boot script or is there a more direct java-y way?  I used the webui for uTorrent and ran wget to change stuff, is that my only option, and how would I do that?

Settings I'd like to change: up speed, down speed, global connections

Old script, runs every minute, triggers a ping to the xbox to populate arp table (not on same switch), then if in arp make changes.



Code:
#!/bin/bash
ping 192.168.1.111 -c 1
check=`ip neighbor | grep 00:18:88:8e:2f:5a > /dev/null; echo $?`
if [[ $check == "0" ]]; then
wget -O /dev/null http\://1.1.1.1:1/gui/\?action\=sets$
else
wget -O /dev/null http\://1.1.1.1:1/gui/\?action\=sets$
fi

 

 
Reply
#2
(02-05-2015, 09:30 PM)'AaronCompNetSys' Wrote: I normally run a command to detect my Xbox and change settings on uTorrent, and now I'd like to do the same with Vuze.  What is the best way to do this?  Are there args I can pass through the ./vuze boot script or is there a more direct java-y way?  I used the webui for uTorrent and ran wget to change stuff, is that my only option, and how would I do that?

Settings I'd like to change: up speed, down speed, global connections

Old script, runs every minute, triggers a ping to the xbox to populate arp table (not on same switch), then if in arp make changes.



Code:
#!/bin/bash
ping 192.168.1.111 -c 1
check=`ip neighbor | grep 00:18:88:8e:2f:5a > /dev/null; echo $?`
if [[ $check == "0" ]]; then
wget -O /dev/null http\://1.1.1.1:1/gui/\?action\=sets$
else
wget -O /dev/null http\://1.1.1.1:1/gui/\?action\=sets$
fi


 
The remote web interface gives you access to change these settings:
  • Max connections per torrent
  • Max Connections globbally
  • up and down speed
You would need to script something to do it.

 

 

 
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  One of the most solid JVM tuning settings fields 3 1,197 05-29-2017, 08:03 PM
Last Post: fields
Thumbs Down Ummm... no "active" category? or "finished" category? In linux... Squatcobbler 6 624 03-29-2017, 07:19 PM
Last Post: Squatcobbler



Users browsing this thread: 1 Guest(s)