check out my new blog at gmarik.info/blog

Wednesday, October 29, 2008

Peoplenet on Ubuntu Linux

I've got CCU-550(3G/UMTS) modem.
I've never installed modems on Linux before so I just hoped that newest distros have right tools to do that.

I wanted to start using it quickly therefore began with NetworkManager's PointToPoint connection option. But it didn't want to work...

Then I looked at pppd stcripts. But it didn't work for me either...

At that point I didn't have internet access so the only option i could progress with was reading man pages for wvdial.

Interesting what man page says about wvdial - PPP dialer with built-in intelligence.
And it turned out to be true :)

So i launched
$man 5 wvdial.conf


copied sample configuration to /etc/wvdial.conf and modified to look like:
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init = ATZ
Phone = #777
Username = 80921111111@people.net.ua
Password = 111111


To get the proper Modem location i did:
$dmesg |grep tty
[ 164.384650] cdc_acm 2-1:1.0: ttyACM0: USB ACM device


Then launching:
$wvdial


I got it working:

$ ifconfig |\grep -A 1 ppp
ppp0 Link encap:Point-to-Point Protocol
inet addr:my.ip.addr.ess P-t-P:pp.ip.addr.ess Mask:255.255.255.255


Wow! Nice! :)

Labels: , , , , , , ,

0 Comments:

Post a Comment

<< Home