For those who are interested I'm posting this from my Kubuntu Linux box using my Sony Ericsson K800i as modem and connected together via a USB cable.
Initialization file (/etc/wvdial.conf)
Select 'Phone Mode' when prompted on the phone after connecting it to the PC via the USB cable.
Sometimes using 'Phone = *99***2#' is required under 'Dialer Defaults' (matter of fact the number before the # could be anything between 1 and 10, and depends on the phone configuration/setup).
I left the username and password as above, as I get errors if I don't. You may even be required to leave the name and password blank.
To connect I type:
Some connection reports
After plugging in the phone via the USB cable I got:
And after doing some downloading (just a bit) I get:
And I disconnect using a simple 'ctrl-c' in the same terminal the connection was made in.
Initialization file (/etc/wvdial.conf)
Code:
# wvdial for Vodacom Data. Created by Tazz_tux
# Version 1.0
# wvdial k800i
# Dialer
[Dialer Defaults]
Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT
New PPPD = yes
[Dialer k800i]
Modem = /dev/ttyACM0
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
Init5 = AT+CGDCONT=1,"IP","internet";
ISDN = 0
Modem Type = Analog Modem
Select 'Phone Mode' when prompted on the phone after connecting it to the PC via the USB cable.
Sometimes using 'Phone = *99***2#' is required under 'Dialer Defaults' (matter of fact the number before the # could be anything between 1 and 10, and depends on the phone configuration/setup).
I left the username and password as above, as I get errors if I don't. You may even be required to leave the name and password blank.
To connect I type:
Code:
sudo wvdial k800i
Some connection reports
Code:
$ wvdial k800i
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
After plugging in the phone via the USB cable I got:
Code:
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 011: ID 0fce:d039 Sony Ericsson Mobile Communications AB
Bus 001 Device 001: ID 0000:0000
Code:
# tail -f /var/log/messages
............
Jul 22 19:33:04 - kernel: [ 1211.518994] usb 1-2: new full speed USB device using uhci_hcd and address 7
Jul 22 19:33:05 - kernel: [ 1211.700426] usb 1-2: configuration #3 chosen from 1 choice
Jul 22 19:33:05 - kernel: [ 1211.708380] cdc_acm 1-2:3.1: ttyACM0: USB ACM device
Jul 22 19:33:05 - kernel: [ 1211.714464] cdc_acm 1-2:3.3: ttyACM1: USB ACM device
Jul 22 19:33:05 - kernel: [ 1211.729328] usb0: register 'cdc_ether' at usb-0000:00:1d.0-2, CDC Ethernet Device, 02:80:37:09:03:00
Jul 22 19:33:05 - dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/usb0 for sub-path usb0.dbus.get.reason
............
And after doing some downloading (just a bit) I get:
Code:
$ ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:--.--.--.-- P-t-P:--.--.--.-- Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:132 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:84796 (82.8 KiB) TX bytes:14445 (14.1 KiB)
And I disconnect using a simple 'ctrl-c' in the same terminal the connection was made in.
Code:
Caught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> Connect time 19.0 minutes.
--> Disconnecting at Sun Jul 22 18:37:10 2007
Last edited: