bawdo.comへようこそ
Created: 2007-02-27 14:20:41

Using the modem in KDDI phones for mobile Internet connectivity

A 2.4 Mbps connection with a mobile phone

This is related to an earlier blog I wrote about connecting my W41H up. I have recently bought a new W52T and found the setup is identical so I though I would elaborate on my earlier post within the context of a Gentoo install. 

I'm using wvdial and the 2.6.19-r5 kernel.

Kernel Configuration

Device Drivers-->USB support
        USB Modem (CDC ACM) support
    Device Drivers-->Network device support-->
        All PPP and SLIP/CSLIP Options

Grab wvdial 

emerge -av wvdial

Add new udev rule (Optional Step)

Add the following line to /etc/udev/rules.d/40-kddi.rule 

KERNEL=="ttyACM[0-9]",             NAME="%k", GROUP="dialout",                 OPTIONS="last_rule"

Now reload the udev rules and restart udev: 

udevcontrol reload_rules
udevstart

Configure wvdial

Step One: Plug the phone into the laptop using the cable that came with the phone.

Step Two: On the phone choose "Data Comm/Trans" within the dialog that pops up. If this does not happen you will need to search for the "Data Comm/Trans" option some where under USB setup on your phone.

Step Three: On your Linux box command line type the following: dmesg | grep acm

Look for something similar to this. In particular take note of ttyACMx:

[4294919.967000] cdc_acm 1-1:1.0: ttyACM0: USB ACM device

Step Five: Configure a ppp conection by creating /etc/wvdial.comf with the following contents:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2

Modem Type = USB
Modem ISDN = 0
Password = au
Username = au@au-win.ne.jp
Modem = /dev/ttyACM0
Baud = 460800
Phone = *99**24#

Step Six: Start your wvdial connection by typing wvdial as root on the command line. To end the connection press ctrl+c. The amount of time the connection was up will be shown in the output of the wvdial command.

If you would like to see how many packets you have sent and received you can type ppstat -a whilst the connection is up.

And that's it :-)

Regards, Bawdo


Comments

edward

Using a phone as a modem is not covered by the fixed charge plans so this sort of access could be very expensive. From the kddi site[1]

\"Data communications through connection to a mobile PC or PDA, or any data communications other than EZweb, E-mail or PC site viewer are not covered by maximum charges.\"

1. http://www.au.kddi.com/english/data/packetwin/charge/waribiki.html
Comment Left: 2007-09-14 11:44:04

USA

fngxly shqoxlhqgnjs, [url=http://egwukutsroqn.com/]egwukutsroqn[/url], [link=http://nclvkqhndygb.com/]nclvkqhndygb[/link], http://lrujnvfwbfmk.com/
Comment Left: 2010-09-06 06:39:52

Post a comment

Sorry this is required to help avoid spam.
You can use the following tags in your comments: <a> , <b> , <i> & <br>. Also note you don't really need to use any <br> tags as carriage returns will be automatically translated into <br> tags.

NOTE all fields are required.

Wikipedia Affiliate Button

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License