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
  Mac Command Runner - cannot change command forumguy 2 1,416 04-12-2018, 06:08 PM
Last Post: user x
  Transfer od Settings dforrest 0 1,466 01-16-2018, 11:36 PM
Last Post: dforrest



Users browsing this thread: 1 Guest(s)