![]() |
2010-05-28
, 06:57
|
Posts: 5 |
Thanked: 0 times |
Joined on Mar 2010
@ Netherlands
|
#1
|
![]() |
2010-05-28
, 07:53
|
Posts: 5 |
Thanked: 0 times |
Joined on Mar 2010
@ Netherlands
|
#2
|
dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Vodafone GPRS" uint32:0
![]() |
2010-05-30
, 13:36
|
Posts: 5 |
Thanked: 0 times |
Joined on Mar 2010
@ Netherlands
|
#3
|
![]() |
2010-05-31
, 17:38
|
Posts: 5 |
Thanked: 0 times |
Joined on Mar 2010
@ Netherlands
|
#4
|
#/bin/bash
if
[ -d /sys/class/net/gprs0 ] && /sbin/ifconfig gprs0 | grep UP;
then
ssh irc;
else
dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Vodafone GPRS" uint32:0;
for i in $(seq 0 10);
do
if
/sbin/ifconfig gprs0 | grep UP;
then
i=10;
else
sleep 1;
fi;
done;
ssh irc;
fi;