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.

 

 

 
My Config: Java 1.7.0_04  Oracle Corporation | SWT v4508, win32 | Windows XP v5.1, x86 | V5.5.0.0/4 az3 | xulrunner 1.9.2.19
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Doesnt open Chromium for Webtorrents on Linux garycee 2 93 01-05-2017, 07:20 PM
Last Post: parg
  I have the Linux version, how can I blacklist specific trackers? Tleilaxu Ghola 4 303 11-05-2016, 07:43 AM
Last Post: Flinxxx



Users browsing this thread: 1 Guest(s)