View Single Post
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#7
try these (attached) for auto connect.
make sure you have command line unzip utility.
also make sure you can run sudo gainroot (you need to root your n900).

put the zip file into your n900 in MyDocs folder.
open up an xterm.
type:
sudo gainroot
cd /opt/usr/bin
unzip /home/user/MyDocs/optusrbin.zip
chmod 755 n900netconnections*
chmod 644 n900netconnections*.cfg
chown root:root n900netconnections*
./n900netconnectionslist

the last command should output a long list of things.
if you want to autoconnect your 3G/GPRS, look for type=GPRS among those lines.
then look for the first line above type=GPRS, that starts with the text "/system" & has the text "IAP/".
copy the stuff after "IAP/" and replace line 2 of n900netconnections*.cfg with it.
replace line 1 of n900netconnections*.cfg with your MCC (Mobile Country Code) value.
you can get your MCC from an app called NetMon if i'm not mistaken (it's a GSM network monitoring app).

once done, set alarmed to run command below at times desired:
sh /opt/usr/bin/n900netconnectionsconnect

thanks to all the posts in talk.maemo.org!
Attached Files
File Type: zip optusrbin.zip (1.3 KB, 69 views)
 

The Following 2 Users Say Thank You to bozoid For This Useful Post: