Mandriva Spring with Moto Rokr E2



Using Motorola Rokr E2 as Modem to connect Internet with Mandriva Spring 2008.1
Motorola Rokr E2
-Goto Main Menu
-Settings
-Connections
-USB Settings
-Choose Modem

On Mandriva Spring 2008.1 with wvdial
Install wvdial first

[root@box bayu]# urpmi wvdial
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "main_speedy")
libwvstreams4.4 4.4 3mdv2008.1 i586
libxplc0 0.3.13 3mdv2008.1 i586
wvdial 1.60 1mdv2008.1 i586
1.9MB of additional disk space will be used.
729KB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n)

http://opensource.telkomspeedy.com/repo/mandriva/official/2008.1/i586/media/main/release/libxplc0-0.3.13-3mdv2008.1.i586.rpm
http://opensource.telkomspeedy.com/repo/mandriva/official/2008.1/i586/media/main/release/wvdial-1.60-1mdv2008.1.i586.rpm
http://opensource.telkomspeedy.com/repo/mandriva/official/2008.1/i586/media/main/release/libwvstreams4.4-4.4-3mdv2008.1.i586.rpm
installing libxplc0-0.3.13-3mdv2008.1.i586.rpm wvdial-1.60-1mdv2008.1.i586.rpm libwvstreams4.4-4.4-3mdv2008.1.i586.rpm from /var/cache/urpmi/rpms
Preparing... ##########################################################################################
1/3: libxplc0 ##########################################################################################
2/3: libwvstreams4.4 ##########################################################################################
3/3: wvdial ##########################################################################################
[root@box bayu]#

then run

[root@box bayu]# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- ERROR
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
/etc/wvdial.conf
: Can't open '/etc/wvdial.conf' for reading: No such file or directory
/etc/wvdial.conf
: ...starting with blank configuration.
Modem configuration written to /etc/wvdial.conf.
ttyACM0
: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[root@box bayu]#


Edit config file /etc/wvdial, this for my provider

#telkomsel
[Dialer telkomsel]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”telkomsel”
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Username = “wap”
Password = “wap123″

#three
[Dialer three]
Modem = /dev/ttyACM0
Baud = 460800
Init1 =ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”3gprs”
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Username = “3gprs”
Password = “3gprs”

#indosat
[Dialer indosat]
Modem = /dev/ttyACM0
Baud = 460800
Init1 =ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”www.indosat-m3.net”
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Username = “gprs”
Password = “im3”

# xl
[Dialer xl]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”www.xlgprs.net”
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Username = “xlgprs”
Password = “proxl”

Setting for GPRS Access Point.
telkomsel->telkomsel
three->3gprs
indosat->www.indosat-m3.net
xl->www.xlgprs.net

OK, let's do it

$ wvdial

Eg :
$ wvdial telkomsel
$ wvdial three
$ wvdial indosat
$ wvdial xl


end

I'm Linux Girl