Saturday, January 10, 2009
USSD Spec - Stage 2
Unstructured Supplementary Service Data (USSD) - Stage 2
ETSI TS 100 549 V7.0.0 (1999-08)
USSD Spec - Stage 1
Technical Specification Group Services and System Aspects;
Unstructured Supplementary Service Data (USSD) - Stage 1
(Release 1999)
22090-310
SMPP protocol spec
Saturday, December 20, 2008
Globul 3G data connect
I got a ZTE MF632 device working under Ubuntu Hardy with KPPP.
- Create a new file /etc/udev/rules.d/57-zte-net.rules and put the following in it
ACTION!="add", GOTO="ZTE_End"
# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"
LABEL="ZTE_ZeroCD"
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
RUN+="/sbin/rmmod usb_storage"
LABEL="ZTE_Modem"
# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001",
# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE="660", GROUP="dialout"
LABEL="ZTE_End"
- Plug your device in the USB port. This should create three new devices /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2. You now can use the first one to connect to the network.
- Use your favourite PPP program to configure new connection. Don't forget to set the following parameters:
Modem initialization string 2 = AT+CGDCONT=1,"IP","globul"
Phone = *99***1#
Username = globul
Password = globul
Friday, September 26, 2008
VMware && USB && Ubuntu ?
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
Then conect with VM->Removable devices -> USB devices
Thursday, September 25, 2008
OpenSSL commands
Check certificate details:
openssl verify -verbose -issuer_checks server.crt
Generate new sertificate:
openssl req -new -x509 -days 365 -key server.key -out server.crt
Check the modulus of an SSL certificate and key:
openssl rsa -noout -modulus -in server.key | openssl md5
openssl x509 -noout -modulus -in server.crt | openssl md5
Monday, May 12, 2008
Internet via WM6 device on Linux (USB)
This article shows how to use a Windows Mobile 5/6 device’s GPRS connecton with USB cable on Linux. The ‘conventional’ way is to use the /dev/ttyUSB device as a regular modem but since we are quite off the dial-up era we want to connect in a more modern way.
Microsoft provides a Remote NDIS stack, a derivative of the original USB communications device class CDC to connect usb devices. It can be used in linux with the rndis_host kernel module. To avoid patching your kernel there is a simple way to get an internet connection.
svn co https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install
Now just plug in the USB cable and connect your device to the network through the Network sharing menu. Voila