I can open the device and can make calls (using wvdial) on it but i dont success to setup the ppp network interface. Are you doing 'echo MotNet > /proc/usbd-switch' after plug the usb? Can you paste the options your ppp configuration?
I am having this error with the latest stable wvdial/wvstreams on my
Arch Linux 2.6.13.x laptop when using the E680i as a modem:
--> Cannot open /dev/ttyACM0: Cannot get information for serial port.
The device exists (udev automatically creates the ttyACM0 when I plug the E680i in) and can be found as a "Motorola USB modem" under /proc and the needed usbserial and cdc_acm modules are loaded too. The E680i has the usb mode set to "modem" and I have loaded the "modem" application which is also set to "usb cable". GPRS is also enabled on the phone.
Please note that wvdial/wvstreams is setup correctly (I run it as
root), just yesterday I made a call out to GPRS with my husband's
SonyEricsson phone, through Infrared! So, wvdial does work in general!
But it doesn't seem to work when the modem/phone is usb-based, as the E680i is.
Trying to run the call via pppd instead of wvdial, I get this instead:
"Failed to set PPP kernel option flags: Inappropriate ioctl for device"
Is this a kernel, udev, module or wvdial/wvstreams bug, you reckon? On
my side, I seem to have taken care of everything that online tutorials
speak of.
Has ANYONE made the E680i work as a modem via USB under Linux with a 2.6.x kernel?
I can open the device and can make calls (using wvdial) on it but i dont success to setup the ppp network interface. Are you doing 'echo MotNet > /proc/usbd-switch' after plug the usb? Can you paste the options your ppp configuration?
Oh, my God! I just try it yesterday. My OS is Fedora Core 4, linux kernel is 2.6.11, ttyACM0 works fine, wvdial can CONNECT, but pppd failed(IPCP negotiation failed), so I can't get ip addr...
Anyone get success?
I got:
ATZ
OK
AT+CGDCONT=1,"IP","internet.urs"
OK
ATD*99#
CONNECT
Serial connection established.
using channel 19
Using interface ppp3
Connect: ppp3 <--> /dev/ttyACM1
sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0xba419a46>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0xba419a46>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic
0x6040000> <pcomp> <accomp>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <auth pap> <magic
0x1a040000>]
sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <auth pap> <magic
0x1a040000>]
sent [PAP AuthReq id=0x1 user="mobi" password=<hidden>]
sent [PAP AuthReq id=0x2 user="mobi" password=<hidden>]
rcvd [PAP AuthAck id=0x2 "Welcome to Motorola A760 Software Modem!"]
Remote message: Welcome to Motorola A760 Software Modem!
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x2]
sent [IPCP ConfNak id=0x2 <addr 0.0.0.0>]
rcvd [LCP TermReq id=0x3 00 00 00 00 00 00]
LCP terminated by peer (^@^@^@^@^@^@)
sent [LCP TermAck id=0x3]
rcvd [LCP TermReq id=0x3 00 00 00 00 00 00]
sent [LCP TermAck id=0x3]
Modem hangup
Connection terminated.
I have the same problem
root@lenovo-ltkun:/home/ltkun# wvdial
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }<}!}$}%\}"}&} } } } }#}$@#}%}&|}#} } }'}"}(}"%Q~
--> PPP negotiation detected.
--> Starting pppd at Fri Mar 24 10:48:30 2006
--> Pid of pppd: 5171
--> Using interface ppp0
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> pppd: 锟斤拷锟?5][08]0[05][08]
--> Disconnecting at Fri Mar 24 10:48:46 2006
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for
more information.
--> Auto Reconnect will be attempted in 5 seconds
ltkun@lenovo-ltkun:~$ more /var/log/messages|tail
Mar 24 10:42:25 localhost syslogd 1.4.1#17ubuntu4: restart.
Mar 24 10:48:30 localhost pppd[5171]: pppd 2.4.4b1 started by root, uid 0
Mar 24 10:48:30 localhost pppd[5171]: Using interface ppp0
Mar 24 10:48:30 localhost pppd[5171]: Connect: ppp0 <--> /dev/ttyACM0
Mar 24 10:48:37 localhost pppd[5171]: Remote message: Welcome to Motorola A760
Software Modem!
Mar 24 10:48:37 localhost pppd[5171]: PAP authentication succeeded
Mar 24 10:48:46 localhost pppd[5171]: LCP terminated by peer (^@^@^@^@^@^@)
Mar 24 10:48:46 localhost pppd[5171]: Modem hangup
Mar 24 10:48:46 localhost pppd[5171]: Connection terminated.
Mar 24 10:48:46 localhost pppd[5171]: Exit.
ltkun@lenovo-ltkun:~$ more /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = *99***1#
Username = *
Password = *
need help..
think this problem solved with article from eugenia in osnews
add in /etc/ppp/options:
:192.168.0.254
(this is a dump ip address for ppp0, you can use :10.64.64.64 too)
(thanks too eugenia for her nice article)
but the problem is...
as anyone have success story for this in linux?
(so perhaps my kernel version had the cause for this, ehmm maybe..)
using FC5 with 2.6.16-2133, using system-config-network
you can use a create new modem connection, and add
---
novj
:10.64.64.64
---
in options tab in the properties for the connection
but the result, the connection is so slow than in the windoz![]()
(in same laptop, quite stable but some site can't access,
that's quite strange, maybe because something...)
but in other hand for the local connection, like the website of my GSM provider I used can access it with 5-6 kbps
tryin also:
adding "mtu 500", in pppd options
no difference for the connection
any special AT command that I must add?
or maybe this strage modem e680i can't used properly in linux or not yet?![]()
(too bad coz, the main reason I bought this...its powered by linux![]()
I think connect via BT is much easier, but I have problem of slow speed and random link drop, the same setup(Kubuntu) works with Nokia no problem.