LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-16-2007, 07:55 PM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 679

Rep: Reputation: 42
Question Motorola E815 evdo can't dial phone


Thanks for all the advice.

I am trying to get my Motorola e815 cell phone to access the web via EVDO and data cable or bluetooth in Lenny. I have it working in vista, but I had to get the drivers from the Motorola Developers site. They don't sell the vista drivers. Only for 2000 and xp are included in the $74 cd & data cable kit.

System info:
hp dv 9000 series
64bit debian testing (lenny) mostly up to date
6.2.21amd64 kernel
kde (used exclusively)
gnome
kppp **
kmobile tools **
bluetooth (deamon & obex server & client) works fine with phone
kandy mobile phone tool **

** Have tried to access the phone with these without success.

I suspect that I am not pointing the app at the correct /dev/??. I am not sure that I even have, or need to have a driver for the Motorola E815. I have googled for a linux driver and seen no indication that one exists. I know that I don't need one to access the phone via bluetooth for file transfers and what not.

My directory structure shows character devices in /dev/bus/usb/001 and /002 When I plug the phones usb data cable a new character shows up in /dev/bus/usb/002/(currently)006.

Code:
diff /proc/bus/usb/devices devices | grep Vendor
< P:  Vendor=0000 ProdID=0000 Rev= 2.06
< P:  Vendor=22b8 ProdID=2a62 Rev= 0.01
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> P:  Vendor=0a5c ProdID=4500 Rev= 1.00
> P:  Vendor=0a5c ProdID=2100 Rev= 1.00
Code:
# modprobe usbserial Vendor=0000 ProdID=0000
FATAL: Error inserting usbserial (/lib/modules/2.6.21-2-amd64/kernel/drivers/usb/serial/usbserial.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg reveals
Code:
SoftMAC: Open Authentication completed with 00:13:c4:ce:31:02
usb 2-6: new full speed USB device using ohci_hcd and address 6
usb 2-6: configuration #1 chosen from 1 choice
cdc_acm 2-6:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usb 2-6: USB disconnect, address 6
usb 2-6: new full speed USB device using ohci_hcd and address 7
usb 2-6: configuration #1 chosen from 1 choice
cdc_acm 2-6:1.0: ttyACM0: USB ACM device
usb 2-6: USB disconnect, address 7
usb 2-6: new full speed USB device using ohci_hcd and address 8
usb 2-6: configuration #1 chosen from 1 choice
cdc_acm 2-6:1.0: ttyACM0: USB ACM device
usbserial: Unknown parameter `Vendor'
It seams that the correct module is being installed when I connect the data cable. This leads me back to the idea that I am not setting up the app correctly.

The instructions hear http://www.linux.com/articles/52729 say that I should have a file /dev/ttyACM0 but I don't. The file structure I have dosen't line up with the listings avalible in kppp to set up a modem. The listings in kppp are not changeable unless it is done in a config some where. I have not searched that out yet.

This is several hours later and a reboot and when I pluged in my data cable I am back to having /dev/bus/usb/001/005 as a new entry after connecting the phone.

Although I can change the setting to /dev/bus/usb/001/005 setting in kmobiletools I can't access the phone to cause it to dial out or anything else.

I get no response out of kandy either.

When I connect to the phone via bluetooth I can see that the phone has a dialout feature listed but when I try to launch it I get:

Code:
Open 'sdp://[00:19:c0:1c...ne&rfcommchannel=8'?
Type: Bluetooth Dial-Up Networking Profile
open with results in:

Code:
Could not stat sdp://[00:19:c0:1c:ef:6b]/params?name=motorola%20phone&rfcommchannel=8. Unknown device
if I try to save it I get:

Code:
is a folder, but a file was expected.
As previously stated file transfer seams to work fine in bluetooth.

When I plug in my bluetooth adapter 4 new character devices show up in /dev/bus/usb/001/***.

After initializing the adapter with:
Code:
# hciconfig hci0 reset
and
Code:
# hcitool scan
I lose 2 of those character devices but can access the phone.

Konqueror reports the url of the phone when connected via bluetooth as sdp://motorola phone/ but I don't know how to turn that into a device listing I can use to cause the phone to dial out.

Later again:
Starting the computer with the phone pluged in resulted in:
Code:
# lsusb
Bus 002 Device 003: ID 0c45:62c0 Microdia
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 22b8:2a62 Motorola PCS
Bus 001 Device 001: ID 0000:0000
Code:
# dmesg
cdc_acm 1-2:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
So it seams that a driver is being installed for the phone.

Still don't know how to access the dial out feature. Would really like to get it to work because I don't like booting to vista just to surf and check email.

I have done a fair amount of google but haven't found much to help me get set up correctly.

Any information/pointers/ideas would be much apprecieated.

Thanks to all. Even if you only read my post.
 
Old 10-17-2007, 07:46 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
I've got a cingular/ATT EVDO card working on Debian Sid without issue. 2 things to bear in mind are that:

1) Mine is a PCMCIA card, as opposed to a phone, but it does the exact same thing, the card dials out to the cingular/ATT server, and it grabs an IP and DNS, and I have mobile internet everywhere.

2) You'll need to get the access numbers and login info somewhere off the net. That's how I found what to tell my EVDO card to call. The phone numbers and username/pass are usually super standard, but you have to get them right, or the call won't happen.

My PCMCIA card gets seen as /dev/ttyUSB0. I have seen plenty of examples on EVDO sites where the card gets seen as /dev/ttyACM0, so that is a strong possibility too. Besides the login info, I use the program wvdial to call into the network. I found a .deb file online at this site, http://www.carillonis.com/~ppatters/kwvdial.html it is a Sid .deb file, which as he warns, may not work for you. If it fails, he has the sources so you can roll your own. Once you get that installed, you have to edit up the /etc/wvdial.conf file. Here is mine, which works for cingular/ATT:

Code:
jim@jimsworktop:~$ cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>

[Dialer cingular]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
Username = ISP@CINGULARGPRS.COM
Password = CINGULAR1
Phone = *99***1#
Stupid Mode = 1
Init3 = AT+CGDCONT=1,"IP","isp.cingular"
Dial Attempts = 3
That is the phone number that my card dials, *99***1#. That isn't me trying to be obscure.

Here is how I run the program, and signs of a successful connection:

Code:
jim@jimsworktop:~$ sudo wvdial cingular
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> 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","isp.cingular"
AT+CGDCONT=1,"IP","isp.cingular"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT 3600000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Wed Oct 17 14:13:02 2007
--> Pid of pppd: 7305
--> Using interface ppp0
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> local  IP address 166.217.233.188
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> remote IP address 10.64.64.64
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> primary   DNS address 66.209.10.202
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> secondary DNS address 66.102.163.232
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
Caught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> Connect time 109.2 minutes.
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> pppd:  [02][06][08]�[02][06][08]�[01][06][08]
--> Disconnecting at Wed Oct 17 16:02:16 2007
So in short, just get your laptop to see the phone as some device, and dial through it, with the info for Motorola.

Peace,
JimBass
 
Old 10-18-2007, 10:28 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 679

Original Poster
Rep: Reputation: 42
Thumbs up success

Thanks Jim

I see that you are using the 2.6.22 kernel. How is the stability on it? I am using 2.6.21 and it seams to forget what it is suppose to be doing during boot and shutdown and requires a hard boot to clear. Some times several in a row. I have .22 installed but I can only use one because my nvidia graphics can only be setup to use one kernel version. I think that is kind of stupid. There ought to be some way to use a gui through nvidia on more than one kernel version at a time. I haven't set up the 2.6.22 because I have to uninstall the existing driver to install the new one. The last time I tried that I had to do a complete reinstall. It was still a young system and so not a big issue. Now however I have all my business files on-board and apps installed along with many hours of config. Losing that would really suck.

I tried some packages out of unstable some time ago and that forced me into a reinstall too, so I hesitate to try that again for the same reason.

Quote:
You'll need to get the access numbers and login info somewhere off the net.
The agent at Alltel gave me most of the info I need to set up the call, so that should not be a problem. He also gave me the number for "advanced technical" support and they seamed to be willing to help with the setup if I ran into trouble.

I have compiled a few kernels, but only with the help of a couple of good how-to's. The last thing I tried to compile was wine. I gave up on that because I couldn't get the dependencies resolved. I think that was mostly because of the way the directories are set up in Debian for the 64 bit system. That whole 32bit apps in a 64bit system thing.

I see that KWvDial is a i386 package compiled against SID. Not sure that would work in my system as I don't have anything from SID installed and I have a 64 bit system.

Thanks again JimBass. Under your guidance I discovered that my phone does show up as ttyACM0. I pointed kppp at it and now all I need is to get it configured correctly. I did get it to dial but it came back with:
Code:
The pppd daemon died unexpectedly!
Exit status: 1 (An immediately fatal error of some kind occurred, such as an essential system call falling, or running out of virtual memory.)
See 'man pppd' for an explanation of the error codes or take a look at the kppp FAQ on http://developer.kde.org/~kppp/index.html
The log shows:
Code:
Oct 18 21:55:34  pppd[4668]: The remote system is required to authenticate itself
Oct 18 21:55:34  pppd[4668]: but I couldn't find any suitable secret (password) for it to use to do so.
Oct 18 21:55:34  pppd[4668]: (None of the available passwords would let it use an IP address.)
Not sure if 'The remote system' refers to Alltel or to my system. My system. From the README.Debian:
Code:
KPPP also requires that the ppp daemon be run with the "noauth" option.
However, pppd's default setting, in /etc/ppp/options, is "auth", and for
security reasons it should remain so. To work around this problem, uncomment
"noauth" in /etc/ppp/peers/kppp-options. You should then be able to connect.
After I uncommented the line it the kppp-options file I was able to connect. I am not sure that my connection speed is all it should be, but I have a good starting point.

I am still interested in the stability of the 2.6.22 kernel and what not at the start of this post. Thanks again JimBass. Even if you only listen to my thoughts. Some times the best help is writing it out. Thanks for listening.
 
Old 10-19-2007, 03:30 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
No problem man, I'm glad to help, even if helping in this case = listening!

I haven't had any problems with 2.6.22 on my IBM T42 Thinkpad.It has behaved rather well. On the desktop, I have an issue with it, but it is a known bug in the kernel. I have an intel gigabit NIC built into the motherboard of my Sid server, and there is a known bug in 2.6.22. I haven't done any research on it, but it is documented. For some reason, the bug causes anything you do with the NIC to fail the first time you try it. If I try to look at the yahoo webpage, it will fail out the first attempt, and succeed on the second. It fails to load every page on the web with the first attempt, and will always succeed on the 2nd. That isn't a problem with the kernel really, just a driver. I'm actually going to compile 2.6.23.1 this weekend, and see how that behaves.

The connection speed on my card is not good at all. Trying to download anything, even a single .jpg attachment to an email takes time. That is true in both linux and windows. Its great that you can have internet anywhere, but the speed is really inadequate to use.

Peace,
JimBass
 
Old 10-20-2007, 10:48 PM   #5
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 679

Original Poster
Rep: Reputation: 42
Post observations

Thanks again.

Thanks for the thoughts JimBass.

Some things to report.

There seams to be some kind of bug in my system. I suspect that it is in the Motorola E815 software. I have had to remove the battery to clear the phone. Some times the screen will go black and you can't see anything on it. This is a pre-existing thing that happens periodically. Twice after using the phone through the kppp interface the menu system on the phone didn't work until after rebooting it. Then things went back to normal. Because of the pre-existing thing I suspect the phone. I will be checking on an update for it. I don't know if this is an issue in vista or not as I don't use it now that I have it working in Lenny.

Item 2 is a charging issue. Not a serious one but a need to know thing. The E815 does not charge off the usb port. I have to plug my charger into the data cable to be able to charge the battery during online use. Without charging the battery life is about 3 hours. If I plug the data cable into the laptop first then hook up the charger and then plug into the phone it does not charge. If however I hook up the charger to the data cable then the phone (and make sure it is charging) and the laptop last it charges fine. Like I said, not a big issue if done in the correct order.

The third item in most likely my fault. Some how during this process I have managed to mess up my wireless network. It use to be that when I would boot the system it would pick up an ip on my home network. Now I have to restart the adapter with a program called "Networking". "Network Tools" will not reactivate the network and trying it through the "Control Center" doesn't work either. Yes I used root privileges. I don't know what I changed or how I changed it.

The symptom is that on boot the first time it access the wifi there is this message:
Code:
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
As I recall it would pick up its ip and then go on. Then when it accessed the wifi the second time it would bind the ip to the card. Both were fairly fast. Now however it sets there sending and listening on several ports and finally goes to sleep (none of this shows in dmesg) then the boot sequence continues. Then later it enables the radio and one would think that all is normal yet I can't access the network without reactivating the wifi.

It almost acts like it does when I am in a strange location on boot and it can't find my home network. But then I could fire up "KWifiManager" and connect. Now I can't even do that at home without reactivating the wifi.

I have concluded that I have turned something off but I can't find it to turn it back on.

Ideas? What am I missing?

Thanks
 
Old 10-25-2007, 09:36 PM   #6
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 679

Original Poster
Rep: Reputation: 42
I have played with the network settings some more and now my connection is functioning like it was.

Thanks.
 
Old 11-01-2007, 06:59 AM   #7
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Rep: Reputation: 30
Hi guyz it is so nice to hear you guys have made your phone to talk to your linux box. i have a sony ericsson W850i with gprs in india. all details are same except i'm not having a username & password. my service provider (airtel) doesn't give any authentication. all i have configured in my phone is apn (airtelwap.com), proxy (100.001.200.099:8080) and the phone connects to internet. the same i'm using in windows xp to dial without username & password and getting connection. but in linux wvdial says the configuration does not suppied a valid username and password and dies out. pls help to configure wvdial for my settings.
 
Old 11-01-2007, 06:10 PM   #8
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 679

Original Poster
Rep: Reputation: 42
Quote:
Originally Posted by gopi.d View Post
Hi guyz it is so nice to hear you guys have made your phone to talk to your linux box. i have a sony ericsson W850i with gprs in india. all details are same except i'm not having a username & password. my service provider (airtel) doesn't give any authentication. all i have configured in my phone is apn (airtelwap.com), proxy (100.001.200.099:8080) and the phone connects to internet. the same i'm using in windows xp to dial without username & password and getting connection. but in linux wvdial says the configuration does not suppied a valid username and password and dies out. pls help to configure wvdial for my settings.
I don't know about wvdial. I never downloaded it or installed it. Once I found out where to point kppp everything came up fine. If you have kde installed you may have it. Dosen't hurt to try it.

I have accessed the e815 through xp and after a short time the connection begins to malfunction and corrupts the os in the phone.

Thanks to all.
 
  


Reply

Tags
evdo, modem


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Motorola MOTOROKR phone not detected sakitram Linux - Hardware 6 09-10-2008 06:27 PM
LXer: Motorola to launch Linux phone in U.S. LXer Syndicated Linux News 0 05-16-2007 10:46 PM
Bluetooth to EVDO phone Ransak Linux - Wireless Networking 1 02-22-2007 07:27 PM
Connect to Motorola bluetooth phone mindcry Linux - Software 2 05-21-2006 04:15 PM
core2 + motorola v300 usb phone tibbitts Fedora 2 09-25-2004 09:34 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration