Azitech

Azimout's Linux weblog

N73 as GSM modem

with 2 comments

Information below is a summary from here, here and here.

lsusb gives me:

Bus 002 Device 003: ID 0421:0486 Nokia Mobile Phones

so then I run

sudo modprobe usbserial vendor=0x0421 product=0x0486
sudo wvdialconf
sudo gedit /etc/wvdial.conf

and each time I want to connect I run wvdial. The result is:

WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT+CGDCONT=,,"web.omnitel.it"
WvDial Modem<*1>: AT+CGDCONT=,,"web.omnitel.it"
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT*99#
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT*99#
WvDial Modem<*1>: CONNECT
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
WvDial<*1>: Carrier detected.  Waiting for prompt.
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
WvDial<*1>: PPP negotiation detected.
WvDial<Notice>: Starting pppd at Fri Feb  1 14:49:32 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 21302
WvDial<*1>: Using interface ppp0
WvDial<*1>: local  IP address 83.225.58.94
WvDial<*1>: remote IP address 10.6.6.6
WvDial<*1>: primary   DNS address 83.224.66.134
WvDial<*1>: secondary DNS address 83.224.65.134

The pap and chap warnings can be avoided if i run sudo wvdial instead.

The problem is that after this, I still don’t seem to have connectivity, and I don’t know what else to try…

Advertisements

Written by azimout

17/10/2007 at 09:59

Posted in Reference

2 Responses

Subscribe to comments with RSS.

  1. To connect to Vodafone Italia, my /etc/wvdial.conf file looks like this:
    [Dialer Defaults]
    Modem = /dev/ttyACM0
    Baud = 460800
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=,,"web.omnitel.it"
    New PPPD = yes
    ISDN = 0
    Modem Type = USB Modem
    Phone = *99#

    Username = ”
    Password = ”

    azimout

    05/03/2008 at 17:15

  2. you can do the same through gnome-ppp. press detect to find the modem, add init3 as above (init1 is invisible, probably because it’s always ATZ, and init2 is already as above), then add the phone number…
    i found that it didn’t work with an empty username and password, but i added none none and it worked…

    azimout

    18/03/2008 at 09:39


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: