by admin | Mar 15, 2011 | Debian, Hardware, Linux, USB
Site: http://www.gniibe.org/ac-power-by-usb/ac-power-control.html Source: http://www.gniibe.org/software/ apt-get install libusb-dev gcc -o hub-ctrl hub-ctrl.c -lusb lsusb Usage: hub-ctrl [{-h HUBNUM | -b BUSNUM -d DEVNUM}] \ [-P PORT] [{-p [VALUE]|-l [VALUE]}]...
by admin | Jan 27, 2011 | Asterisk, Linux, VoIP
#!/bin/bash curhip=(`cat /etc/hosts | grep sip.broadvoice.com | awk ‘{ print $1 }’`) echo “Current IP: $curhip” chkip=”(`ping -c 2 sip.broadvoice.com`)” curiplow=(`echo $chkip | grep PING | grep -Eo...
by admin | Dec 20, 2010 | Debian, Linux, Networking
# apt-get install ethtool net-tools # ethtool eth0 or # mii-tool eth0 add a pre-up line to /etc/network/interfaces. Something like this: iface eth0 inet static pre-up /usr/sbin/ethtool -s eth0 speed 1000 duplex full autoneg off address … OR Debian init script: #...
by admin | Sep 17, 2010 | Linux, Mobile, n900
/etc/apt/sources.list.d/hildon-application-manager.list #Nokia Official deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./ deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./ #Extras...
by admin | Aug 22, 2010 | Asterisk, Debian, Skype
Here is init script I made to start stsProxy and stsTrunk seems to work fine. If any one has comments or suggestions to it please add or feel free to modify it post and better ways of doing this. Just save the code to: /etc/init.d/siptosis then:$ chmod +x...
by admin | May 23, 2010 | Huawei, Linux
stty -F /dev/ttyDEVICE clocal chat -v -s “” ATZ OK < /dev/ttyDEVICE > /dev/ttyDEVICE