Background
I wanted to use a 3G dongle with a twin SIM card as my Internet connection when I’m traveling. I have earlier decribed howto share the Internet connection and make it more flexible by using an OpenWRT router with USB interface as a bridge between Wlan and 3G/GPRS provided internet.
Unfortunatly Tele2s support personel cannot keep track of the unlogical rules among their different subscriptions so they fouled my to buy a twincard to my regular subscription and use that for data. After a couple of more calls to Tele2, including that they listened to a recording of when I ordered the twincard I have to give up that track because it was not possible. The twincard only works for phone calls, not data connections and especially not when I had a flatrate subscription on my master SIM card.
After some investigation I came to the conclusion that I have to use my Regular phone, a HTC Desire with Android as my connection to internet.
Unfortunatly the work done with getting the USB 3G dongle was a waste of time.
Read the rest of this entry »
Background
After waiting for the Hummingbird release for the LaFonera 2.0G a long time and discussed with the Fon support team when 3G dongles will work, I gave up and installed OpenWRT on my LaFonera 2.0G router.
I’m sorry FON, you have a cool idea and nice routers but your unlogical approach to the users and communtity, finally got me to install plain OpenWRT instead.
Installation
After alot of googling and testing and downloading, reading and so on, I finally run into a guide that worked for me.
Most of the descriptions and howto assumes that the RedBoot will accept to download a new firmware via TFTP, this is true with the early releases of 2.0G , but the one sold now do not have this feature.
The trick is to install a firmware that allows changing the RedBoot partition of the memory, change the RedBoot parttion and install OpenWRT via TFTP.
The guide is unfortunatly in French, but google translate helped me to translate it to English.
The pitfalls I run into is to reboot the device several timesafter installing the hacked version of FON firmware: FON2202_2.2.5.0_Flipper_RedBootC_VoteGOP.image
The only difference is that I used a later version of OpenWRT. I used Backfire 10.03 instead of Kamikaze 8.9.1
Background
After succesfully installed my new Linksys WRT160NL with OpenWrt, the next step is to configure it. As the summer is approaching and my need for Internet access in our summer cottage will arrise. The summer cottage is in the middle of nowhere so it would be handy to put a USB dongle and the Wlan router in the spot with best 3G field strength and use the WiFi to connect several computers to the router and Internet.
The 3G USB modem is a Huawei modem I bought for 20 EUR and unlocked using this guide.
I found an excellent guide describing excactly what I wanted todo but it did not work 100% in my environment so I will describe what I did to get it running. Read the guide to get background and deeper explanation of how things are done. This guide assumes that you have read the guide, basic knowledge of OpenWRT, howto edit files in a Linux environment and so on. Read the rest of this entry »
Background
After getting fedup with the bad fon support I decided to give a new wireless router a try. After browsing internet and openwrt forums I thought that a Linksys WRT160NL would fulfill my requirements:
The requrements are:
Read the rest of this entry »
This is old news but still important.
- OpenBSD 4.7 RELEASED -------------------------------------------------
May 19, 2010.
We are pleased to announce the official release of OpenBSD 4.7.
This is our 27th release on CD-ROM (and 28th via FTP). We remain
proud of OpenBSD's record of more than ten years with only two remote
holes in the default install.
Read the rest of this entry »
I have registred me to attend the open Splunk event in Stockholm. Within 24 hours I got an email telling that they do not want competitors at the event and would like to discuss the purpose of me attending.
I called the Splunk representative and told him that op5 thinks Splunk is a competitor in some cases and in some cases we have products that run in parallel at customer sites. We want to integrate op5 Monitor with Splunk because we have got the question a couple of times from customers and potential customers. My intention of attending the meeting is to get a better understanding of Splunk so op5 can integrate our products, so our customers get the products that suits them best. If Splunk wants to be part of the integration, the better.
The Splunk representative still do not want me to attend. At Splunk they will discuss this matter internally but so far, this is their view.
I would really like to make a parallel with another op5 competitor, Würth, at their event they invited op5 as key speaker and I really recommend Splunk to reconsider their decision.
I’m the happay owner of a Huawei E1750 modem and it is real easy to get it running in Ubuntu. This guide will probably work with many other 3G USB modems.
Just type from the command line:
sudo apt-get install usb-modeswitch
Plug in the modem
Go to the Network manager and enter your Mobile Broadband credentials and now it works!
I found a new favorite app to my Android, mythmote.
By using it you can turn your Android into a remote control for MythTV. On the mythfrontend telnet control must be enbled and it is found under Setup-Setup-General and check "Enable Network Remote Control Interface".
The Android uses wifi to connect to the telnet server at the mythfront.

I wanted to unlock my operator locked Huawei e1750 modem. After googling I found this page in swedish.
The unlock code can be calculated by using the IMEI number, the unlock code is sent by using AT commands.
I have succesfully tested this on e1750 and e1550.
I also tried it on e220 and it did not work.
Read the rest of this entry »
With my new and fancy HTC Desire I wanted to look at my Nagios or op5 Monitor status. I have found two apps Nagroid and NagMonDroid.
Read the rest of this entry »
I wanted to use the Android SDK on my Ubuntu machine, mainly to grab screenshoots but also to play around with it.
I followed the guidelines at this guide, but it did not work. DDM just show garbage as the device and when trying to get a screenshoot it complained with:
54:42 W/ddms: Unable to get frame buffer: device (????????????)
request rejected: insufficient permissions for device Read the rest of this entry »
After waiting for several weeks, my new phone, a HTC Desire has finally arrived. I have been a heavy cellphone user since started working as a Tivoli consultant in -98. I bought my first cellphone -94 and have had several so called smart phones both from Nokia and Ericsson.
For the first time I felt that this is more than a phone, for the first time calender integration works, for the first time I can use the builtin GPS, for the first time accessing the web with a phone works, for the first time downloaded software really works.
Read the rest of this entry »
I have not updated my blog lately because of heavy traveling. In Tuesday, after visiting GoOpen 2010, I took this picture at Gardemoen, Oslo. I was very lucky because my flight was DY3774

It seams like I was in luck and used an ash hole to get home:-)

op5 will release op5 Monitor 5.0 April the 13:th including:
- Ninja, the new Nagios GUI
- Merlin, database backend and support for load balancing and redunduncy in Nagios
- NagVis, Nagios visualization including integration with Google maps
- Nacoma, a Nagios webconfigurator tool
- Reports, good looking SLA reports, new Availabilty reports, new Trend reports, filter notifications and more.
- and much more….
You are welcome to a release party together with op5, customers and partners.
Welcome!!
Background
I bought a Fonera 2.0g WLAN router and I wanted to extend the functionality to have the possibility to add packages from OpenWRT. I also wanted the possibility to manage my new router with ssh.
The way to achive this is by installing developer firmware.
When using a cool router software like OpenWRT it is a good idea to monitor the network usage. This article describe howto get SNMP on your OpenWRT based router.
Background
I got an unused La Fonera router by a collegue. They can be bought from http://www.fon.com for approximately 40 Euro including freight. The purpose of the Fon community is to build a community of hotspots around the world so every owner of a La Fonera could use any other La Fonera router in the world.
I am curios about the legal aspect if someone in the Fon community uses my internet connection to do something bad, like download copyrighted software, hack CIA or whatever.
The La Fonera router is real cool because:
- Looks good so it has a high wife acceptance factor
- Hackable, the firmware could be replaced with for example OpenWRT, DD-WRT, Jasager and others…
- Even more hackable, there are several guides and howtos to modify the La Fonera hardware.
- Cheap, in the good old days it was possible to get one for free. Read the rest of this entry »
Background
It is always a good idea to monitor the server hardware, in many cases the root cause of the probblem is hardware related like: a fan stops and the temperature gets to high, dust in the machine makes it to hot, disks that fails, memory corruption and so on. This article will describe howto enable hardware monitoring on a HP Proliant running CentOS Linux and then howto collect the data with Nagios or op5 Monitor. The procedure is the same with RedHat Enterprise Linux and similiar with Suse Enterprise server.
The HP manuals and information is bloated with irrelevant information and I had to struggle several hours, ask collegues to get it running. I hope this blog article will help others to get monitoring of HP Proliant using HP Insight Manager easier to setup.
The release of the next generation Open Source Network Monitoring Software is only weeks away with the release of op5 Monitor 5. Here you can download a Beta version of the sofware intended for testing och evaluation or try it at a live demo.
The op5 Monitor Beta use Ninja as GUI and Merlin as a databasebackend.
I have an old iPod G3 player that I haven’t used for several years. The main reason is that it is full of Apple vendor lock-in "features". The most annoying issues are:
- Hard to manage without iTunes
- iTunes is crap
- Cannot play ogg and flac
- I just want to attach it and it should popup like a USB disk, drop the files into it, detach and play the songs.
I got a hint from a friend that I should try RockBox, so I download it and used the very simple installer on linux and it works perfectly well. All the drawbacks mentioned above are solved and as a bonus the gui is much better.
Now I can:
- Play ogg
- Play flac
- Customize the GUI
- Change myriads of settings
- Throw away mysterious sync software like iTunes and others.
- Attach it as a USB disk, drop my media files into it, detach and play them
If you are lucky and owns a Rockbox supported media player, update it. You will not regret it.

I have read the book Asterisk now by Nir Simionovich, published in March 2008. The book was a big disappointment, the reason is that the book do not cover the software used in AsteriskNOW today. The book cover the Asterisk GUI but AsteriskNOW is using FreePBX instead which is totally different. One main reason to use AsteriskNow is to avoid the sometimes cumbersome task to install Linux or a similair operating system, download, compile and configure Asterisk using cryptic text files. So an accurate description of the GUI used is essential for a book like this and unfortunatly the book is to old. I do not intend to install an old version of AsteriskNOW just for a bookreview so I cannot tell how accurate the book is. So my recommendation is to wait for an updated version of AsteriskNow book.
Links
An email sent to op5-users from op5s CTO, Peter Östlin.
–cut–
Hi All,
The op5 devel team has been kind of quiet on the list lately. The
reason for this is that we have been working very hard to complete the
next release of Merlin and Ninja. The result of this will be the
release of op5 Monitor 5.0 scheduled for public availability April 13.
In this release Merlin and Ninja will be version 1.0 which mean all
our customers and users will benefit from production quality tools.
Read the rest of this entry »
Background
I was with my geekfriends at a ski resort and I managed to get an Internet connection using a cellphone. Of course I wanted to share it with my friends. As geeks we brought a switch and a couple of ethernetcables.
Solution
Using this script on a Ubuntu 9.10 I managed to share my connection:
sudo ifconfig eth0 10.8.16.1
sudo sysctl -w net.ipv4.ip_forward=1
sudo sysctl -w net.ipv4.conf.default.forwarding=1
sudo sysctl -w net.ipv4.conf.all.forwarding=1
sudo iptables -P FORWARD ACCEPT
sudo iptables --table nat -A POSTROUTING -o ppp0 -j MASQUERADE
Conmnect everymachine with the switch and the clients just needed to use a 10.0.0.0/8 network adress and add 10.8.16.1 as default gateway and it works!