Opensolaris, Huawei E220, Swisscom and Sunrise

I was able to open a 3G connection to Swisscom and Sunrise using a Huawei E220 3G Modem under Opensolaris.

Here are the config files (If PIN is enabled on the SIM, add OK "AT+CPIN=????" to the chat script)

Swisscom:

/etc/ppp/chat-swisscom:

ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 120
"" "AT&F"
OK "ATZ"
OK "ATQ0 V1 E1 S0=0 &C1 &D2"
#OK "AT+CPIN=????"
OK 'AT+CGDCONT=1,"IP","gprs.swisscom.ch"'
SAY "Calling Swisscom"
OK "ATDT*99***1#"
TIMEOUT 120
CONNECT ''


/etc/ppp/peers/swisscom:

term/1
115200
connect "/usr/bin/chat -V -t15 -f /etc/ppp/chat-swisscom"
idle 7200
lock
crtscts
noipdefault
modem
user "gprs"
password "gprs"
noauth
passive
usepeerdns
defaultroute
connect-delay 6000
novj
nodetach


Sunrise:

/etc/ppp/chat-sunrise:

ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 120
"" "AT&F"
OK "ATZ"
OK 'ATS7=60'
#OK "AT+CPIN=????"
OK "AT+COPS?"
OK "AT&V"
OK "AT+CSQ"
OK 'AT+CFUN=?'
OK 'AT+CGDCONT=?'
OK 'AT+CPBR=?'
OK 'AT+CPBS=?'
OK 'AT+CGDCONT=1,"IP","Internet"'
SAY "Calling Sunrise"
OK 'ATDT*99***1#'
TIMEOUT 120
CONNECT ''


/etc/ppp/peers:

term/1
115200
connect "/usr/bin/chat -V -t15 -f /etc/ppp/chat-sunrise"
idle 7200
lock
crtscts
noipdefault
modem
user ""
password ""
noauth
passive
usepeerdns
defaultroute
connect-delay 6000
novj
nodetach


Don't forget to adjust the term/? line to reflect your /dev/term/? device.

After this, just fire up "pppd call swisscom" or "pppd call sunrise" and adjust your resolv.conf. The DNS Servers are in the output. For debugging just add -d to the pppd command.

There are a few problems with the Huawei E220, as it is recognized as a storage device first, and not as a serial device.

See the Opensolaris Forum

Most of the time the modem is recognized correctly when the Modem is plugged in before booting, and doing a reconfiguration boot with grub. ( press "e" -> append "-rv" -> -> press "b" )

There is also a patch for the Eee PC's Serial USB Port driver. See Masafumi's Blog.

Good luck!

Comments

Anonymous said…
[url=http://sunkomutors.net/][img]http://sunkomutors.net/img-add/euro2.jpg[/img][/url]
[b]StuffIt Deluxe 2009 Mac, [url=http://sunkomutors.net/]design software macromedia[/url]
[url=http://sunkomutors.net/][/url] kaspersky internet security 2009 keys software graphics macromedia
how do i convert acdsee art files to jpeg files [url=http://sunkomutors.net/]small office software[/url] adobe reader 9 do i need to install acrobat also
[url=http://sunkomutors.net/]discount software discount game[/url] macromedia software update
[url=http://sunkomutors.net/]educational softwares[/url] web hosting reseller software
acdsee photo [url=http://sunkomutors.net/]xp software to buy[/b]
Anonymous said…
[url=http://hopresovees.net/][img]http://bariossetos.net/img-add/euro2.jpg[/img][/url]
[b]software programs for sale, [url=http://bariossetos.net/]site to buy software[/url]
[url=http://vonmertoes.net/][/url] software source code for sale of photoshop to buy
macromedia flash 4 software [url=http://vonmertoes.net/]buy animation software[/url] sites to buy software
[url=http://bariossetos.net/]microsoft office 2003 activation crack[/url] share prices software
[url=http://bariossetos.net/]windows xp sp2[/url] buy the software update
buying softwares [url=http://vonmertoes.net/]8 Retail Price[/b]
Anonymous said…
[url=http://bariossetos.net/][img]http://vonmertoes.net/img-add/euro2.jpg[/img][/url]
[b]2009 Mac Retail, [url=http://bariossetos.net/]to sell software to[/url]
[url=http://bariossetos.net/][/url] microsoft software management software reseller discount
buy photoshop software [url=http://bariossetos.net/]oem adobe software[/url] sell software services
[url=http://hopresovees.net/]why microsoft office enterprise 2007 can't open cd[/url] buy software windows xp
[url=http://hopresovees.net/]buy dragon software[/url] buy a photoshop
software for office [url=http://bariossetos.net/]selling web software[/b]
Anonymous said…
My friend and I were recently talking about how we as a society are so hooked onto electronics. Reading this post makes me think back to that debate we had, and just how inseparable from electronics we have all become.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as memory becomes cheaper, the possibility of copying our memories onto a digital medium becomes a true reality. It's one of the things I really wish I could encounter in my lifetime.


(Posted on Nintendo DS running [url=http://quizilla.teennick.com/stories/16129580/does-the-r4-or-r4i-work-with-the-new-ds]R4i SDHC[/url] DS ccPost)
Anonymous said…
Interesting story you got here. I'd like to read something more concerning that theme. The only thing it would also be great to see here is some pictures of any gizmos.
Nickolas Flouee
Cell phone jammer
Anonymous said…
surveys on teenage dating [url=http://loveepicentre.com/]windows sidebar not updating[/url] canada dating http://loveepicentre.com/ haverhill ma singles
Anonymous said…
india meet singles [url=http://loveepicentre.com/]el cajon christian singles dance[/url] free adult classifieds dating http://loveepicentre.com/ sanpedrosingles
Anonymous said…
Asus Laptop [url=http://www.hqlaptopbatteries.com/battery-3508wlmi-batterytype1.html]laptop review[/url] Armor Laptop http://www.hqlaptopbatteries.com/-1200-laptopbatterymodel799.html Fujitsu laptop battery
Averatec Laptop [url=http://www.hqlaptopbatteries.com/battery-3502wlmi-batterytype1.html]toshiba laptop batteries[/url] laptop accessories http://www.hqlaptopbatteries.com/battery-223-batterytype1.html LG Laptop
original laptop batteries [url=http://www.hqlaptopbatteries.com/asus-l-laptopbatterymodel822.html]compare laptop prices[/url] laptop battery http://www.hqlaptopbatteries.com/-c301xmib-laptopbatterymodel1055.html Clevo Laptop
Anonymous said…
Hey,

When ever I surf on web I never forget to visit this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]my2ndhead.blogspot.com really contains lot of useful information. Do you pay attention towards your health?. Here is a fact for you. Recent Research indicates that nearly 60% of all U.S. adults are either chubby or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Therefore if you're one of these people, you're not alone. Its true that we all can't be like Brad Pitt, Angelina Jolie, Megan Fox, and have sexy and perfect six pack abs. Now the question is how you are planning to have quick weight loss? [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss[/url] is really not as tough as you think. Some improvement in of daily activity can help us in losing weight quickly.

About me: I am webmaster of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health trainer who can help you lose weight quickly. If you do not want to go under difficult training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effortless weight loss.
Anonymous said…
asthma is an epidemic [url=http://usadrugstoretoday.com/categories/anti-diabetische.htm]anti diabetische[/url] herpes and dizziness http://usadrugstoretoday.com/categories/hypnotherapy.htm walkin in sudden darkness blood coming down like water http://usadrugstoretoday.com/products/xtz--energy-booster-.htm
liquid cialis proper dosges [url=http://usadrugstoretoday.com/products/doxycycline.htm]doxycycline[/url] how to get a rock hard erection [url=http://usadrugstoretoday.com/products/herbolax.htm]water on diet[/url]
Anonymous said…
http://smokefreearizona.us/herbals/V4FTk8.html 125 vitamin d multiple myeloma prednisone avian vitamins minerals supplements does rogaine work on eyebrows [url=http://smokefreearizona.us/anti-depressantanti-anxiety/141.html]combivent inh 200[/url] http://smokefreearizona.us/anti-depressantanti-anxiety/74.html b12 deficiency treatment vitamin benefits of vitamin d dilantin false positive barbiturate pruitan pride vitamins [url=http://smokefreearizona.us/anti-depressantanti-anxiety/coffee-and-vitamins.html]coffee and vitamins[/url] http://smokefreearizona.us/female-enhancement/nzQoninN.html daily upper limit of vitamin d liver vitamins for hair acne vitamin supplement acai studies [url=http://smokefreearizona.us/hypnotherapy/62.html]ditropan xl sweating[/url] http://smokefreearizona.us/hypnotherapy/390.html allergic to echinacea too much vitamin e acai berrys and leukemia synthroid 100 mcg [url=http://smokefreearizona.us/female-enhancement/472.html]bio life vitamin[/url] http://smokefreearizona.us/patches-new/di6djuWPQb.html deficiency symptoms of vitamin d lafeber bird vitamins diamox and slt vitamin e and heart [url=http://smokefreearizona.us/herbals/QMGAmFMn.html]eye health natural vitamin[/url] http://smokefreearizona.us/patches-new/di6djuWPQb.html deficiency symptoms of vitamin d ginseng dosages costco acai juice prednisone addiction [url=http://smokefreearizona.us/female-enhancement/bio-tech-pharmacal-inc-vitamin-d.html]bio-tech pharmacal inc vitamin d[/url] http://smokefreearizona.us/skin-care/463.html children taking detrol la asthma vitamin d echinacea leaf nutrients and vitamins [url=http://smokefreearizona.us/anti-depressantanti-anxiety/973Kjv.html]are centrum vitamins during pregnancy harmful[/url] http://smokefreearizona.us/skin-care/e-pill-vitamin.html e pill vitamin neurontin indications acid alpha cream lipoic vitamin k iceberg lettuce [url=http://smokefreearizona.us/patches-new/7gY5k.html]american biogenics vitamin a emulsion[/url] http://smokefreearizona.us/female-enhancement/rNZPnHN.html doxil with cytoxan gnc acai breeze bactrim and tamiflu together sustiva amphetamine [url=http://smokefreearizona.us/hypnotherapy/chemical-names-of-the-vitamins.html]chemical names of the vitamins[/url] http://smokefreearizona.us/body-building/a7pQiL_v.html active kids chewable vitamin vitamin d vegetable depakote and topamax used together motilium dispepsia [url=http://smokefreearizona.us/body-building/PEPcbrNm0E.html]beneficial vitamins fatty liver[/url]
Anonymous said…
http://forum.planhoster.com/index.php?topic=241642.new#new http://www.berenloopterschelling.nl/forum/viewtopic.php?f=3&t=76696 http://quickestresponse.com/salamutzforum/index.php?topic=205783.new#new http://koltatech.com/wb/viewtopic.php?f=2&t=184948
http://pwypnigeria.org/phpBB2/viewtopic.php?p=127810#127810 http://www.hiphopm.ilive.ro/forum/viewtopic.php?p=257785#257785 http://thefield.co.kr/bbs//zboard.php?id=download&page=1&page_num=10&select_arrange=headnum&desc=&sn=off&ss=on&sc=on&keyword=&no=4400&category= http://www.video-game-finder.com/phpBB2/viewtopic.php?p=78370#78370
http://www.quotile-sequencer.com/phpBB3/viewtopic.php?f=6&t=267906 http://www.knowflash.com/forums/viewtopic.php?p=122690#122690 http://mikka-do.ch/BG/Travian/org1T3/viewtopic.php?f=6&t=1146
Anonymous said…
acomplia rimonabant cheap online fedex [url=http://www1.chaffey.edu/news2/index.php?option=com_content&task=view&id=146&Itemid=63]acomplia in u s [/url] acomplia on line purchase
http://www1.chaffey.edu/news2/index.php?option=com_content&task=view&id=146&Itemid=63
Anonymous said…
acomplia forum [url=http://www1.chaffey.edu/news2/index.php?option=com_content&task=view&id=146&Itemid=63]buy acomplia online without a prescription [/url] acomplia no script pay master card
http://www1.chaffey.edu/news2/index.php?option=com_content&task=view&id=146&Itemid=63
Anonymous said…
http://alwayshealth.in/olmesartan/olmesartan-nitrendipine-equivalent-doses
[url=http://alwayshealth.in/china-tea/kosher-tea]mathematics for drug calculation[/url] origin of pharmacy [url=http://alwayshealth.in/smoke/esl-smoke-detecrors]esl smoke detecrors[/url]
stroud compounding and wellness pharmacy http://alwayshealth.in/omeprazole/omeprazole-outer-package-labelling
[url=http://alwayshealth.in/overdose/overdose-zolpidem]praire trail pharmacy in[/url] georgia state patrol drugs [url=http://alwayshealth.in/pravastatin/side-effect-of-taking-pravastatin]side effect of taking pravastatin[/url]
goalie mask safety health canada http://alwayshealth.in/no-prescription/hgh-prescription
[url=http://alwayshealth.in/stress-types/stress-management-and-college-students-and-counselor-resources]cheapest viagra online in the uk[/url] drug abuse lesson plans [url=http://alwayshealth.in/oxybutynin/chloride-oxybutynin]chloride oxybutynin[/url] cialis commercial funny [url=http://alwayshealth.in/stress/sub-points-about-stress]sub points about stress[/url]
Anonymous said…
laurence elivia http://topcitystyle.com/dolce-amp-gabbana-men-underwear-brand2.html leather clothes [url=http://topcitystyle.com/52-dolce-amp-gabbana-size3.html]mark stoecklein[/url] david bowie fashion lyrics
http://topcitystyle.com/bluish-grey-color113.html mens italian oxford shoes [url=http://topcitystyle.com/28-new-size18.html]womens saucony shoes[/url]
Anonymous said…
gay nineties fashion http://topcitystyle.com/brown-leather-shoes-color12.html clothes dye [url=http://topcitystyle.com/dark-grey-dolce-amp-gabbana-color16.html]design shoes[/url] polo ralph lauren shirts
http://topcitystyle.com/navy-blue-purple-jackets-amp-sweatshirts-color225.html clothes manufacturing in denver [url=http://topcitystyle.com/richmond-outwear-brand18.html]perfume homme yves saint laurent[/url]
Anonymous said…
calvin klein founduation http://topcitystyle.com/29-accessories-size16.html old fashioned rowing rudders [url=http://topcitystyle.com/-jeans-cut-pants-category27.html]laurens county sc property tax records[/url] laurentian university sudbury
http://topcitystyle.com/34-armani-size25.html designer ipod cases [url=http://topcitystyle.com/miss-sixty-brand25.html]donate clothes to charity[/url]
Anonymous said…
lauren ralph comforter set http://topcitystyle.com/versace-women-apos-s-long-sleeve-tops-brand1.html lauren london [url=http://topcitystyle.com/?action=products&product_id=2179]slip on horse shoes[/url] fashion modesl
http://topcitystyle.com/orange-casual-tops-color121.html designer shower curtains [url=http://topcitystyle.com/dolce-amp-gabbana-casual-tops-brand2.html]data system designers library[/url]

Popular posts from this blog

SLOG Latency

Heating up the Data Pipeline (Part 1)

Heating up the Data Pipeline (Part 2)