I am trying to use D-Link DWM-156 on my ARM board to access Internet.
Here is my wvdial.conf:
Code: Select all
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
[Dialer mtn]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
Username = { }
Password = { }
Baud = 921600
But when I try this command on my ARM board (running lubuntu kernel 3.4.79), it fails. Here is the output:
Code: Select all
linaro@cubietruck:~$ sudo wvdial mtn
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","mtnirancell"
AT+CGDCONT=1,"IP","mtnirancell"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
OK
--> Invalid dial command.
--> Disconnecting at Sun Mar 1 22:38:37 2015
Here is the lsusb:
Code: Select all
linaro@cubietruck:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 2001:7d01 D-Link Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
linaro@cubietruck:~$ dmesg
[code][ 4227.094883] ehci_irq: port change detect
[ 4227.373656] usb 4-1: new high-speed USB device number 2 using sw-ehci
[ 4227.526809] scsi3 : usb-storage 4-1:1.0
[ 4228.526670] scsi 3:0:0:0: CD-ROM HSPA USB SCSI CD-ROM 6225 PQ: 0 ANSI: 0 CCS
[ 4228.537447] sr0: scsi3-mmc drive: 0x/0x caddy
[ 4228.546755] sr 3:0:0:0: Attached scsi CD-ROM sr0
[ 4228.791382] ehci_irq: port change detect
[ 4228.795433] usb 4-1: USB disconnect, device number 2
[ 4229.343662] ehci_irq: port change detect
[ 4229.623657] usb 4-1: new high-speed USB device number 3 using sw-ehci
[ 4229.797248] option 4-1:1.2: GSM modem (1-port) converter detected
[ 4229.806876] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 4229.819354] option 4-1:1.3: GSM modem (1-port) converter detected
[ 4229.832177] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 4229.840851] option 4-1:1.4: GSM modem (1-port) converter detected
[ 4229.848964] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 4229.856329] option 4-1:1.5: GSM modem (1-port) converter detected
[ 4229.865938] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 4229.892012] scsi4 : usb-storage 4-1:1.6
[ 4230.898800] scsi 4:0:0:0: Direct-Access HSPA USB SCSI CD-ROM 6225 PQ: 0 ANSI: 0 CCS
[ 4230.920225] sd 4:0:0:0: [sda] Attached SCSI removable disk
I wonder what is missing/misconfigured on my ARM board and is causing this issue.
Any idea?