Taking Solaris mobile with 3G/GPRS/EDGE/HSDPA
By bond on Jan 04, 2008
So I feel a little dirty.. this is technical and work related. Up to now I've only used my blog for the pointless musings of a broken mind.
But here we are....
The story is that due to a bit of a crunch over the Christmas period this year I couldn't get any vacation. The problem with this was that I needed to spend the time with my aging Mum who would otherwise have been on her own. So I needed to work from a location where there would be no broadband.
I had a look at a couple of possibilites and in the end I ended up (in desperation) looking to see if we had any USB modem support in Solaris yet..... Bingo,
So I borrowed a Nokia e61i hooked it up and found two new devices under /dev/cua/[0-1]. I tip to one of those and type "AT" <return> I was surprised when I got an "OK" response. I never did look up what the other one was for because after checking out how to set the APN for my Vodafone connection
(AT+CGDCONT=1,"IP","internet") next a tiny (hours and hours) bit of fiddling with pppd (haven't touched that in years!) and hey presto I got a 3g connection. I VPN'd into Sun across my new sppp0 interface and it was fast and stable all week!
The good part of the story ends there because, despite the fantastic hot spot of 3g coverage centred around my Mum's house when I tried to use it I found the network unusable from there despite being able to get a connection reliably. Still I eventually managed to disable 3g and get the e61i to run in GPRS only mode (network->settings: disable UMTS, enable GSM only) It was a bit slow but it got the job done. 3g is great, much faster a totally usable. But that's the limit of my equipment, if anyone want's to send me an HSDPA capable handset then get in touch!
So if you want to try then here are the ppp config files I used:
ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK AT+CGDCONT=1,"IP","internet" OK ATDT\*99\*\*\*1# CONNECT
connect "/usr/bin/chat -f /etc/ppp/3g-chat" # dial into ISP
remotename 3g # name of the ISP; for pap-secrets
#noauth # do not authenticate the ISP's identity (client)
noipdefault # assume no IP address; get it from ISP
defaultroute # install default route; ISP is Internet gateway
updetach # log errors and CONNECT string to invoker
noccp # ISP doesn't support free compression
To make it go I issued "pppd call 3g".web 3g web
If you want name resolution then you can hack up a script to stuff the returned DNS server addresses into /etc/resolv.conf yourself, personally as my VPN solution has IP address based configuration, I didn't bother. So just to reiterate if you want to send me a super fast data handset.... I may post some comparative test results!