Skip to main content

Dell 5530 / Ericsson f3507g 3G Signal Monitor on Linux

A few months back I made a python script available which monitored the Dell 5530 / Ericsson f3507g mobile broadband modem in Linux providing network, access type and signal information to a file for other programs (such as Conky) to pick up and display the data.

I've since updated this program to now use PyGTK to display a status icon indicating the signal strength and the access type. Through this icon the radio state can be changed to enforce 3G only, GPRS only or 3G preferred connections (aswell as turning the radio off).

The script should work in tandem to network-manager so you can still get online using something you already use. The only addition is a new status icon with your signal strength - something ModemManager should resolve when it becomes available as standard in a few months time. If you can't wait that long and want signal monitoring, then this is for you!

Additionally, if you use vnstat to monitor your bandwidth, clicking the status icon will display your current months usage for ppp0.

Dell 5530 / Ericsson f3507g 3G Signal Monitor for Linux

Update: Now lives on GitHub at https://github.com/bazwilliams/dell5530mon

Hopefully someone may find this program useful! If you do, why not consider donating to Multiple Sclerosis? There is a sponsorship button on the front page of my blog or at JustGiving

Comments

R said…
In case you get an error:

$ ./dell5530_mon.py
Traceback (most recent call last):
File "./dell5530_mon.py", line 6, in <module>
import serial
ImportError: No module named serial

do

$ sudo apt-get install python-serial

(That would be for a Debian based system like Ubuntu. Adapt to yours)

Popular posts from this blog

Howto: Ubuntu 8.10, Dell 5530, 3G/WWan and GPS

There is an updated howto on the Dell 5530 using my own python based monitoring tool at http://blog.bjw.me.uk/2009/03/dell-5530ericsson-f3507g-on-linux.html

Introduction

Here is a Howto document for getting the Dell 5530 wwan card working along with the onboard GPS under Ubuntu 8.10. This card does not work conveniently with the bundled Network Manager software, but replacing NetworkManager with other utilities will give the ability to get online using a pretty GUI and not have to resort to using wvdial and the command line...

It should also work with the Ericsson f3507g as I believe the Dell 5530 is a rebadged version of this module.

Check Hardware

First you need to check the modem is detected correctly. On my computer, the modem is detected out of the box by the cdc_acm module and exposes three serial ports (/dev/ttyACM[0,1,2]) for communication. Check by running:

dmesg | grep ACM

Mine shows the following:


[ 34.385302] cdc_acm 1-6:1.1: ttyACM0: USB ACM device
[ 34.390039] cdc_a…

BBC Micro:bit Toothbrush Timer

A few months back I bought a BBC Micro:bit at the Science Centre in Glasgow and it's been fun building apps with the single board device. I thought I'd write a blog entry about the latest project which will be a more permanent installation in our bathroom.

A toothbrush timer!

Kitronik sell an add on board which provides power from a coin cell battery and a piezo buzzer called a Mi:power, they also sell a Mi:power case which is designed to fit around a Micro:bit fitted with the Mi:power. This assembly combined with some code offers a neat toothbrushing timer. By using the display on the front we provide a short countdown - with a little tune through the buzzer. The program show 6 areas of the mouth to brush each for 20 seconds before showing a toothy grin and a finishing tune. Each time the area of the mouth changes it plays a 'level up' style jingle.



Links to the parts:
Mi:power https://www.kitronik.co.uk/5610-mipower-board-for-the-bbc-microbit.html
Mi:power case htt…

12 Factor Config for .Net on Mono in a Docker

Recently I've been thinking about how to run a .Net application using Mono inside a Docker, along with this we'd like to use Twelve Factor config.

Whilst it is possible to use some library to access environment variables instead of using appSettings it becomes difficult for database and message broker URLs which other libraries may expect to find within the App.config or Web.config file.

The solution I came up with follows:
Build the application without an App.config moving the existing configuration file renaming it App.config.template. 
Substitute any environment variables you want with ${}.  E.g:
<amqp> <connections> <connection name="rabbit" server="${RABBITMQ_URL}" password="${RABBITMQ_PASSWORD}" /> </connections> </amqp>
Include within the Docker image a script named sub.sh similar to this and add it to /conf:
#!/bin/shwhile read line doeval echo "$line"done Add your config template to /conf
Then …