[General] MTC E-go Device (and others) Under Linux
Burhan Khalid
burhan at kuwaitnet.net
Sun Mar 9 16:42:07 +03 2008
Salaam All:
I wrote this a while go for an internal company mailing list, but I
thought it might be worth sharing:
To make this device work in Linux, follow these steps:
1. Download the appropriate package files for your distribution from
https://forge.vodafonebetavine.net/frs/?group_id=12&release_id=11
Packages are available for Ubuntu Fiesty, Ubuntu Edgy, SLED 10,
FC7. Source code is also available (under GPL). If you want to compile
from source, you will need the following additional packages (and their
-dev components) on your system:
python python-dbus python-twisted python-serial python-glade2
python-pysqlite2 wvdial nozomi-source python-notify python-gnome2-extras
2. Start the application (vodafone-mobile-connect-card-driver-for-linux)
3. Plug in your device and WAIT. You have to wait for a minimum of 2
minutes before the device properly registers with dbus. You can monitor
the progress by tail -f /var/log/messages (or view the output of dmesg).
The light should stop blinking on the device once it is registered
properly. You should see something similar to this in your logs:
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
usb-storage: device ignored
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for
generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for
GSM modem (1-port)
option 1-2:1.0: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
4. You will get a notification message that a new device has been
detected by the vodafone dialer application. Accept the defaults for the
device (it will detect it correctly). You will see your network provider
and signal strength in the status bar of the application.
5. Settings; I only have settings for MTC (and half settings for
Wataniya). Call 121 if you have a Wataniya SIM. Go to Tools >
Preferences and change as follows:
MTC:
Username: hspss
Password: hspss
APN: hspss
Wataniya:
Username: ???
Password: ???
APN: action.wataniya.com
I recommend you use static DNS, as sometimes the DNS received by
the system is unreachable. You can use 208.67.222.222 and 208.67.220.220
as DNS.
6. After saving the settings, click on Connect. Wait a second or two,
and the system will connect. Note: when you do this, all default routes
are disconnected. So don't do this while you are SSH'd into a server
running some script. It might cause problems. You'll get output like
below in your log:
pppd[24431]: pppd 2.4.4 started by burhan, uid 1000
pppd[24431]: Using interface ppp0
pppd[24431]: Connect: ppp0 <--> /dev/ttyUSB0
pppd[24431]: Warning - secret file /etc/ppp/pap-secrets has world
and/or group access
pppd[24431]: Warning - secret file /etc/ppp/chap-secrets has world
and/or group access
pppd[24431]: CHAP authentication succeeded
pppd[24431]: CHAP authentication succeeded
pppd[24431]: Could not determine remote IP address: defaulting to
10.64.64.64
pppd[24431]: replacing old default route to eth0 [192.168.0.1]
pppd[24431]: local IP address 10.177.75.84
pppd[24431]: remote IP address 10.64.64.64
pppd[24431]: primary DNS address 10.11.12.13
pppd[24431]: secondary DNS address 10.11.12.14
pppd[24431]: Terminating on signal 15
pppd[24431]: Connect time 1.1 minutes.
pppd[24431]: Sent 5039 bytes, received 96 bytes.
pppd[24431]: restoring old default route to eth0 [192.168.0.1]
pppd[24431]: Connection terminated.
pppd[24431]: Exit.
7. There is no step 7. Click and Enjoy :) I accept donations in filafil
or shawarmas :P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3249 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://oskw.org/pipermail/general_oskw.org/attachments/20080309/e663179a/attachment.bin>
More information about the General
mailing list