How to tether a Motorola Razr to my Puppy 3.01/ChurchPup PC?

Using applications, configuring, problems
Message
Author
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

How to tether a Motorola Razr to my Puppy 3.01/ChurchPup PC?

#1 Post by edoc »

I need to tether a Motorola Razr cellphone to my Puppy 3.01/ChurchPup PC.

I found a thread here. that appears to show it can work.

Any thoughts as to how I might bring it across to Puppy?

BTW: ChurchPup does not include wvdial so I look for the .pup and add it.
First, I created my wvdial.conf file
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+cgdcont =1, "IP", "isp.cingular"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = CINGULAR1
Username = ISP@CINGULARGPRS.COM
Stupid mode = 1

Next, I created a small shell script called wvdstart.sh:

Code Sample
#!/bin/sh
sudo su -c "wvdial --config /home/dsl/wvdial.conf"


Then, I used icontool to create a "Tether" icon to start wvdial in a terminal window:
Code Sample

aterm -e /home/dsl/wvdstart.sh

I've tested this with a Motorola RAZR, Nokia 6555, and Sony Ericsson W580i. They all work perfectly!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#2 Post by edoc »

Just found this as well, don't know if it helps any ...

http://lists.opensuse.org/opensuse/2007 ... 00023.html
On Wednesday 31 January 2007, Jorge Fábregas wrote:
> Hello everyone,
>
> I have a Motorola RAZR cell phone (which is very common these days) and I
> wanted to know what tools were out there to sync the phone with my Linux
> desktop.
>
> So far, I have installed "kmobiletools" to sync the address book (against my
> KDE address book) and "moto4lin" to upload/download files from the phone
> (audio files, images etc). It seems I need to use a tool to sync the address
> book and another tool to transfer pictures & music :(
>
> What are you guys using? Anything better than the above apps?

I found that I have better functionality with the blue tooth interface than
the hard wired one.

Pictures, sounds, and even using the phone as a modem work, but
the address book, and calendar are a bit more flaky under linux
if you ask me.

You can use sox (or other mp3 tools) to create ringtones, and move
the onto or off of the phone, but be very careful when deleting any of
the supplied ringtones. They are assigned to various callers and
ring styles via a number, and if you delete tones such that a number
no longer exists, (like say deleting tones 30 thru 35 when 34 is assigned
when your mom calls) then you can't even edit that entry in the
phone book till you add that many tones back on. Pretty dumb.

There are tools out there for windows which let you hack the phone
in many ways, some good, some bad. You can get it to record much
longer videos etc.

You may want to surf on over to the modomoders web site, but
its mostly windows stuff.

I am not aware of any unified software that does everything all in
one place, neither for windows or linux. Even the Motorola software
does not allow access to most features the phone is capable of.

Recommend this page:
http://www.russellbeattie.com/notebook/1008782.html
Once you do most or some of his changes the phone actually
becomes much more user friendly.

The gmail for mobile and google maps work flawlessly. We took
a driving trip thru the southwest last summer with nothing but
the Razr for guidance. Google Map is awesome. And its
not just for razrs.

--
_____________________________________
John Andersen
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#3 Post by edoc »

Just downloaded and tried to install:
wvdial-1.53-2.pet 174 KB 09/26/2007 02:10:00 PM

It starts the usual Puppy Package Manager install then just disappears, none of the conformation or install completed windows.

NOTE: When I try to run wvdial from Console I get:
# wvdial
--> WvDial: Internet dialer version 1.41
--> Cannot open /dev/xmbb: No such file or directory
#
If that helps ... Help, please???
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#4 Post by edoc »

It has been a little while since my prior post requesting help.

Has anyone successfully tethered a Razr or Blackberry to Puppy 3.01 or ChurchPup?

Any hope the problem will be solved in 3.02 or 4.xx?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#5 Post by HairyWill »

Are you connecting the phone to the computer by usb cable or by bluetooth?
I successfully connected to vodafone in the UK using a nokia 6230i with a usb lead lead. Try running the script I used and see how close it gets.
http://www.murga-linux.com/puppy/viewtopic.php?t=26516

If you are using bluetooth, I know nothing about it.

Are you able to browse the web on the phone already?
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#6 Post by edoc »

I have been trying USB - Bluetooth adds a layer of complexity I just don't need to deal with! :-)

I have to head over to the church shortly but will try this - hopefully later this evening and report back.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#7 Post by edoc »

I just noticed one show-stopper ... your Puppy install recognizes your phone and mine does not recognize mine.

Someone somewhere must know how to get Puppy 3.01 to recognize the Motorola Razr phone - there are bazillions of them out there and I find it hard to believe that no one in the Puppy world has been able to communicate with them.

My Blackberry Pearl 8130 is recognized for the purpose of accessing the internal memory or the miniSD card in it but Puppy 3.01 also cannot communicate with the Blackberry Pearl 8130 it for the purpose of a cellphone modem connection.

I am guessing that there is something in common that is broken or missing in 3.01 or the underlying kernel but have no idea what that may be.

Oh well, perhaps it will intentionally or unintentionally fixed in 3.02 or 4.xx due to a change of some sort - or perhaps in the underlying kernel over which the Puppy developers have no control.

I am also having a problem with USB printers & CUPS that was new to 3.01 and no one has been able to solve it either - perhaps the cellphone and USB problems are related as they both involve USB.

It is frustrating because Puppy does so much so well!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#8 Post by HairyWill »

When you say puppy does not recognise your phone, what do you mean? Using the script that I posted what error message do you get? If none is there a message on the phone screen?
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#9 Post by edoc »

Sorry for the previous ... I removed my embarrassing error ... I had fat-thumbed your code! :oops:

Here is the output from your code correctly typed this time by me!

Code: Select all

# rxvt -e tail -f /var/log/messages &
[1] 4364
# 
TAIL
---------------------

Mar 6 13:02:18 (none) kern.debug kernel: PM: Writing back config space on devic e 0000:02:02.0 at offset b (was 165d14e4, writing 706152d)
Mar 6 13:02:18 (none) kern.debug kernel: PM: Writing back config space on devic e 0000:02:02.0 at offset 3 (was 0, writing 4008)
Mar 6 13:02:18 (none) kern.debug kernel: PM: Writing back config space on devic e 0000:02:02.0 at offset 2 (was 2000000, writing 2000001)
Mar 6 13:02:18 (none) kern.debug kernel: PM: Writing back config space on devic e 0000:02:02.0 at offset 1 (was 2b00000, writing 2b00106)
Mar 6 13:02:18 (none) kern.debug kernel: PM: Writing back config space on devic e 0000:02:02.0 at offset 0 (was 165d14e4, writing 165314e4)
Mar 6 13:02:19 (none) kern.info kernel: tg3: eth0: Link is up at 100 Mbps, full duplex.
Mar 6 13:02:19 (none) kern.info kernel: tg3: eth0: Flow control is on for TX an d on for RX.
Mar 6 14:44:32 (none) kern.info kernel: synaptics: using relaxed packet validat ion
Mar 6 19:13:17 (none) kern.info kernel: usb 1-2: new full speed USB device usin g uhci_hcd and address 5
Mar 6 19:13:17 (none) kern.info kernel: usb 1-2: configuration #1 chosen from 1 choice
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#10 Post by HairyWill »

I should have been more explicit.
The entire contents of the code block I posted is a single script. You will need to save this code into a script and then run it. ie

Open your home folder with rox
right-click
new
script
name the script mydialer.sh
right-click on mydialer.sh
open as text
now copy and past all the code
assuming you are editing in geany you can run the script with F5
if not open a console window in the directory where the script is
type
./mydialer.sh
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#11 Post by edoc »

To quote the guard at the gate to OZ "Weeeeelllll! Why didn't you saaaayyyy, so?" :lol:

It is always dangerous to presume that the one who is asking the question has anywhere near your skills. That is certainly the case when most people on this Forum try to help me! :roll:

OK, did as instructed and here is the output from Tail

Mar 7 08:32:51 (none) local2.info chat[3696]: send (AT+CGDCONT=1,"IP"^M)
Mar 7 08:32:51 (none) local2.info chat[3696]: expect (OK)
Mar 7 08:32:51 (none) local2.info chat[3696]: ^M
Mar 7 08:32:51 (none) local2.info chat[3696]: AT+CGDCONT=1,"IP"^M^M
Mar 7 08:32:51 (none) local2.info chat[3696]: ERROR
Mar 7 08:32:51 (none) local2.info chat[3696]: -- failed
Mar 7 08:32:51 (none) local2.info chat[3696]: Failed (ERROR)
Mar 7 08:32:51 (none) daemon.err pppd[3647]: Connect script failed
Mar 7 08:33:06 (none) daemon.info pppd[3647]: Terminating on signal 15
Mar 7 08:33:06 (none) daemon.info pppd[3647]: Exit.
Mar 7 08:33:14 (none) daemon.notice pppd[3714]: pppd 2.4.4 started by root, uid 0
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (ERROR)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (RING)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (BUSY)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (NO CARRIER)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (VOICE)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (NO DIALTONE)
Mar 7 08:33:15 (none) local2.info chat[3715]: abort on (NO ANSWER)
Mar 7 08:33:15 (none) local2.info chat[3715]: report (CONNECT)
Mar 7 08:33:15 (none) local2.info chat[3715]: send (ATZ^M)
Mar 7 08:33:15 (none) local2.info chat[3715]: expect (OK)
Mar 7 08:33:15 (none) local2.info chat[3715]: ATZ^M^M
Mar 7 08:33:15 (none) local2.info chat[3715]: OK
Mar 7 08:33:15 (none) local2.info chat[3715]: -- got it
Mar 7 08:33:15 (none) local2.info chat[3715]: send (AT+CGDCONT=1,"IP"^M)
Mar 7 08:33:15 (none) local2.info chat[3715]: expect (OK)
Mar 7 08:33:15 (none) local2.info chat[3715]: ^M
Mar 7 08:33:15 (none) local2.info chat[3715]: AT+CGDCONT=1,"IP"^M^M
Mar 7 08:33:15 (none) local2.info chat[3715]: ERROR
Mar 7 08:33:15 (none) local2.info chat[3715]: -- failed
Mar 7 08:33:15 (none) local2.info chat[3715]: Failed (ERROR)
Mar 7 08:33:15 (none) daemon.err pppd[3714]: Connect script failed
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
mbutts
Posts: 230
Joined: Sat 11 Nov 2006, 13:36
Location: sitn on an iceburg waiting for my next meal to swim by.

#12 Post by mbutts »

I see you are trying to get your Razr to work for internet. I got one to work for a friend of mine on 2.14r 1.01. Here is the link to my post.
http://www.murga-linux.com/puppy/viewtopic.php?t=26247
I was not able to get any other version of Puppy to work with it. I used wvdial and showed what I used for a dialing script. Alltel was the service provider for the phone.
Maybe this will help you with the script part, and you can do more research on what is different with other versions of Puppy. Since I don't own a Razr, I'm not able to play with one with other versions in my spare time.
Hope this helps.
Penguin, the OTHER white meat.
[url=http://www.puppyos.com][img]http://img293.imageshack.us/img293/5563/yxudnslbsx1jpglx3.png[/img][/url][img]http://i18.tinypic.com/2wd7o80.gif[/img]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#13 Post by edoc »

Thank you "mbutts"!

"HairyWill" is there anything you can spot in his procedure that may help me, please?

This is already well over my head. There are so many variables between versions of Puppy, wvdial, USB, types of cellphones ... sigh.

Is there a way that we can first test basic access to the Razr via USB? We may be trying to do too much all at once. As best I can tell Puppy 3.01 is not even seeing the Razr.

We are again faced with the loss of functionality when moving from 2.14 to 3.01, which makes little sense to me.

WDYT? :?:
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
mbutts
Posts: 230
Joined: Sat 11 Nov 2006, 13:36
Location: sitn on an iceburg waiting for my next meal to swim by.

#14 Post by mbutts »

I think the big hurdle is in getting the kernal to have the right drivers. In both the 2 and 3 series Puppies, when you do a usbview all but 2.14r have red for the vendor id and product id. 2.12r 1.01 was the only version of Puppy that I got it to recognize the Razr. I think the key is to get it recognized by your version of Puppy and show black text for them.
Once you have that figured out, it should be pretty straight forward by following steps in the thread. One variable will be the script you use in wvdial for your particular cellular provider. They will use different user names and passwords.
Penguin, the OTHER white meat.
[url=http://www.puppyos.com][img]http://img293.imageshack.us/img293/5563/yxudnslbsx1jpglx3.png[/img][/url][img]http://i18.tinypic.com/2wd7o80.gif[/img]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#15 Post by HairyWill »

When I plug my phone into the laptop it asks whether I want to use it as a data storage device or in enhanced mode. Confirming usb mass storage is working doesn't really have any relevance to a modem connection.

The log you have posted shows an OK after the first connection string.
I think this means that you just have to get the authentication details right.

Who is your network provider? I googled for, vodaphone gprs and maybe linux, to find the string I needed. It is the
(AT+CGDCONT=1,"IP"^M)
bit that needs tweaking. Vodafone don't require a username or password.

The reason I used my own script was because I wanted a single script that would work on a clean install. Wvdial does the same thing under the hood but you may find it easier to set up. I didn't, editing a config file is no easier than editing a script.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Th3_uN1Qu3
Posts: 141
Joined: Sun 27 May 2007, 17:31
Location: Bucharest, Romania

#16 Post by Th3_uN1Qu3 »

HairyWill wrote:Who is your network provider?
From his first post, it seems to be Cingular.
[b]Toshi Portege 4010[/b] | PIII Tualatin 933MHz | 512MB RAM | Cyberblade 16MB | 30GB | WiFi, IrDA | ~5 hrs runtime | WinMe :( |

[img]http://img230.imageshack.us/img230/8125/userbar654682fy5.gif[/img]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#17 Post by edoc »

My provider is Alltel, same as mbutts.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#18 Post by edoc »

Can someone suggest a modified version of HairyWill's script based on mbutt's wvdial code that may work for Alltel?

It would be interesting to try and step through the script to see where it breaks with 3.01 as a way to perhaps identify what was broken in 3.01.

Two problems that returned in 3.01 that had been solved in a prior release were the three-step Caps Lock once engaged and the occasional hiccup where one will be typing and suddenly the cursor will appear elsewhere. These had been problems in older releases of Puppy which were fixed and then "un-fixed" in 3.01

I don't know if there are any hints as to the USB and cellphone modem problem in that but thought it worth mention just in case!

The promising possibility of of the 4.xx (Dingo?) project is that the Puppy code will be simplified to the point that one may have a fighting chance of knowing what to fix when problems like this occur - right now things are so complex that like MS and Apple it appears nearly impossible to successfully chase these code gremlins!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#19 Post by HairyWill »

Considering that mbutts got a connection working with your phone and your cell provider I think you wold be much better off following his instructions rather than playing with mine. To get mine working took several hours of research and at least 40 attempts to connect making minor changes to the script each time. I do not know how to include authentication details in my script, getting it working was more luck than judgment..
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
mbutts
Posts: 230
Joined: Sat 11 Nov 2006, 13:36
Location: sitn on an iceburg waiting for my next meal to swim by.

#20 Post by mbutts »

I ran HarryWills script and it looks to do about the same thing as what I did in my thread. I'll see if I can get a friend to bring over a Razr to try that script and modify it to work in 2.14r. HarryWill's is nice since it is a simple click to connect script. Mine, you had to go into console and type a command to connect. Hopefully I can come up with some feedback in the next week or so. We are starting to get busy here with warmer weather so I don't have as much time I can stay inside.
Penguin, the OTHER white meat.
[url=http://www.puppyos.com][img]http://img293.imageshack.us/img293/5563/yxudnslbsx1jpglx3.png[/img][/url][img]http://i18.tinypic.com/2wd7o80.gif[/img]

Post Reply