skietOOg
New Member
Using 8-ta 10Gig, Huawei E173 modem on openSUSE 11.4
Modem setup was straightforward with Yast->Modem on /dev/ttyUSB0
I created a new provider called 8-ta: Phone number *99#, username 'guest', leave password blank
Under 'how the interface should be set up' select Automatically
tick "dial on demand"
tick "modify DNS when connected"
Enter DNS servers to use as a starting point, they will be overridden with DNS servers from 8-ta when you connect
tick "External firewall interface"
Leave IP settings (dynamic, default route)
To ask for balance, you need to send a USSD query.
Install gsm-ussd, OR ussdq
for gsm-ussd, see http://mybroadband.co.za/vb/showthr...D-(gsm-ussd)?p=4866874&viewfull=1#post4866874
for ussdq, you have to compile from source at http://sourceforge.net/projects/ussdq/
To request your data balance, do one of the following as root (su -)
>gsm-ussd (this works if you've changed the defaults in /usr/bin/gsm-ussd, see the link above)
>gsm-ussd -m /dev/ttyUSB2 *188#
>ussdq -i /dev/ttyUSB2 *188#
8-ta sends the usage report to you via sms.
Using Yast, install "gammu" (repo openSUSE-11.4-Oss)
gammu came pre-installed with my openSUSE version
First configure gammu by doing the following as root (su -)
>gammu-config
Change Port to /dev/USB2
Leave rest defaults
Now clear all sms's from device to stop clutter, as root:
>gammu deleteallsms 1 (clear inbox on sim)
>gammu deleteallsms 3 (clear inbox in memory)
To get all sms's from device, do the following as root
>gammu getallsms
Now that everything is setup, to get your balance type as root:
>gsm-ussd
Your balances will be sent to you via SMS, Thank you.
>gammu getallsms
Location 0, folder "Inbox", SIM memory, Inbox folder
SMS message
SMSC number : "+2781191"
Sent : Fri Nov 18 22:34:56 2011 +0200
Coding : Default GSM alphabet (no compression)
Remote number : "+2781188"
Status : Read
You have used 4302 MB of data and have 4572 MB available. 4572 MB will expire on 30/11/2011.
1 SMS parts in 1 SMS sequences
>gammu deleteallsms 1
Deleting SMS from "Inbox" folder: *
>
Modem setup was straightforward with Yast->Modem on /dev/ttyUSB0
I created a new provider called 8-ta: Phone number *99#, username 'guest', leave password blank
Under 'how the interface should be set up' select Automatically
tick "dial on demand"
tick "modify DNS when connected"
Enter DNS servers to use as a starting point, they will be overridden with DNS servers from 8-ta when you connect
tick "External firewall interface"
Leave IP settings (dynamic, default route)
To ask for balance, you need to send a USSD query.
Install gsm-ussd, OR ussdq
for gsm-ussd, see http://mybroadband.co.za/vb/showthr...D-(gsm-ussd)?p=4866874&viewfull=1#post4866874
for ussdq, you have to compile from source at http://sourceforge.net/projects/ussdq/
To request your data balance, do one of the following as root (su -)
>gsm-ussd (this works if you've changed the defaults in /usr/bin/gsm-ussd, see the link above)
>gsm-ussd -m /dev/ttyUSB2 *188#
>ussdq -i /dev/ttyUSB2 *188#
8-ta sends the usage report to you via sms.
Using Yast, install "gammu" (repo openSUSE-11.4-Oss)
gammu came pre-installed with my openSUSE version
First configure gammu by doing the following as root (su -)
>gammu-config
Change Port to /dev/USB2
Leave rest defaults
Now clear all sms's from device to stop clutter, as root:
>gammu deleteallsms 1 (clear inbox on sim)
>gammu deleteallsms 3 (clear inbox in memory)
To get all sms's from device, do the following as root
>gammu getallsms
Now that everything is setup, to get your balance type as root:
>gsm-ussd
Your balances will be sent to you via SMS, Thank you.
>gammu getallsms
Location 0, folder "Inbox", SIM memory, Inbox folder
SMS message
SMSC number : "+2781191"
Sent : Fri Nov 18 22:34:56 2011 +0200
Coding : Default GSM alphabet (no compression)
Remote number : "+2781188"
Status : Read
You have used 4302 MB of data and have 4572 MB available. 4572 MB will expire on 30/11/2011.
1 SMS parts in 1 SMS sequences
>gammu deleteallsms 1
Deleting SMS from "Inbox" folder: *
>
Last edited: