Archive for the 'Computers & Tech.' Category


Vodafone, you’re making things difficult 0

In a few weeks my contract with Vodafone is expiring. This coincides with the (suspected) release of the iPhone 4G.

My iPad is using Telstra Next-G for mobile coverage, so I used the SpeedTest iPhone application to check each carrier’s connectivity from my office.

Each test was run once, so the results might vary if I used actual science and statistics to even things out, but that doesn’t reflect my real-life usage, so I opted for the “one chance to impress me” approach.

Download Upload
Telstra 1429 kbps 252 kbps
Vodafone 946 kbps 103 kbps

As you can see, Telstra’s network was about 1.5x faster downloading, and 2.5x faster uploading. Certainly, they’re different devices, but I think it’s comparable.

I just wish Telstra wasn’t, well, Telstra.

BarCamp 4 0

On Saturday I attended BarCamp 4 at East Perth TAFE. It was a really well organised event (Matt and Darcy did a great job) and the content presented by the speakers was really engaging and interesting.

I saw Jessica Ender’s talk on form design as well as Samuel Spencer’s talk on the Australian Bureau of Statistics and their adoption of open data formats for delivering data sets to the public.

My talk was on after lunch, and I think me wandering around in a blue gi drew a little bit of attention (which if I’m being honest, I was banking on) and had people interested. Aaron helped me with the talk and received a few knocks to the head as thanks - his noggin was determined to meet the carpet-covered-concrete as often as it could.

I talked about the overlap I see between my jiu-jitsu training and every day business life, and my hope is that I’ll get the audience thinking about all the areas of their lives, which they may have previously considered insular or separate, and how they might in fact be connected and relevant.

I personally had a great time at the event, and The Frontier Group will be sponsoring it again in the future. I was disappointed that another engagement meant I couldn’t stay for the whole day, but I was very pleased with what I did get to partake in. There were a few of us pressuring Matt to plan for the next BarCamp in 6 months, but we’ll see how that goes.

I’ve uploaded the slides from my talk if you’d like to check them out.

Technical explorer 2

Today we bought a new network switch for work. It’s a managed switch and provides a few different ways you can configure it, including telnet, SSH and a web interface. It’s a Cisco/Linksys SRW2024, which is part of Cisco’s small business networking equipment offering.

I’m configuring it to have two VLANs; one for regular IP traffic and the other for our iSCSI network. I managed to lock myself out of the web interface by assigning all the ports to one of the two VLANs I’d created, and not leaving any ports attached to the default VLAN. This default VLAN had the management IP is attached to it.

Thankfully my new Acer Aspire X1800 desktop (which by the way, for $398 is a totally awesome Ubuntu desktop) has a COM port, so I connected up the serial cable and used screen to bring up a console connection:

screen /dev/ttyS0 38400

With this I could log in, then access the lcli command to give me a more meaningful console.

srw2024# configure
srw2024(config)# interface ethernet g24
srw2024(config-if)# switchport access vlan 1
srw2024(config-if)# exit
srw2024(config)# exit
srw2024# show vlan

Vlan       Name                   Ports                Type     Authorization
---- ----------------- --------------------------- ------------ -------------
 1           1                 g24,ch(1-8)            other       Required
 2         DATA               g(1-7,13-20)          permanent     Required
 3         ISCSI              g(9-12,21-23)         permanent     Required    

srw2024#

With that I had successfully removed the port from the ISCSI VLAN and replaced it into the default VLAN, making the web management console available.

I’ve never played around with Cisco gear before, but I suspect that this is similar to how IOS works.

I was happy that, even without any IOS experience, I was able to dig about inside the switch and get it back to being usable again. Now to try and attach g24 to multiple VLANs.

Using bwm-ng to monitor disk usage 0

If you’ve used UNIX-based systems for any length of time, there’s a good chance that you’ve come across bwm, or the next-generation version, bwm-ng. It shows real-time data flow across your various network interfaces:

  bwm-ng v0.6 (delay 0.500s); press 'ctrl-c' to end this
 /proc/net/dev
 |         iface                    Rx                   Tx               Total
 ==============================================================================
              lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
            eth0:         707.88 KB/s          707.88 KB/s          707.88 KB/s
 ------------------------------------------------------------------------------
           total:         707.88 KB/s          707.88 KB/s          707.88 KB/s

I was wondering if there was a similar tool to monitor the flow of data across disks, and asked the mighty Google as such. Through the results I gathered that in bwm-ng v0.6 the tool gained this feature. I checked my local copy of bwm-ng, and sure enough it was v0.6, so I had this functionality I just needed to specify the input as disk (all disks visible to the system, including RAM disks) or libstatdisk (just the physical hard disks - much more meaningful):

mlambie@falcon:~$ bwm-ng -i libstatdisk

Results in:

 bwm-ng v0.6 (delay 0.500s); press 'ctrl-c' to end this
 libstatdisk
 \         iface                    Rx                   Tx               Total
 ==============================================================================
             sda:       11624.00 KB/s        11624.00 KB/s        11624.00 KB/s
             sdb:           0.00 KB/s            0.00 KB/s            0.00 KB/s
 ------------------------------------------------------------------------------
           total:       11624.00 KB/s        11624.00 KB/s        11624.00 KB/s

Field testing the iPhone 3G 1

I have an iPhone 3G, and lately I’ve been saying that it’s the best gadget I’ve ever owned, and the worst phone I’ve ever owned. There’s been two main reasons why, one of which Tony helped fix a few days ago. Allow me to tell you a story.

Firstly, ever since I installed the iPhone SDK (software development kit; the tools necessary to build applications for the iPhone) I started getting an error everytime I tried to sync the device. Tony pointed out that leaving tethering enabled caused issues, and disabling it on the iPhone has meant this probem went away. I think it was just a co-incidence that I’d installed the SDK, but it might not have been; it didn’t cause that error previously when tethering was enabled.

More importantly though, in the last few months I’ve had more dropped calls, failed calls and general frustrations with the iPhone than I’ve ever had with any phone, ever before. There’s a specific section of Berwick Street that, without fail, will disconnect any calls as I drive through it. My tech-mind put that down to the phone jumping from one cell tower to another, and that made sense. Then the calls started to fail anytime I’d attempt to make them. Then they’d start dropping with a “call failed” error when people called me. Not to mention that the mic stopped working for a while, and I’d have to switch to speaker mode to talk to anyone, though I think that’s more to do with crap getting in the headphone jack (which I use all the time in the car, for music and podcasts) and it thinking that an audio cable is attached.

As you can imagine, this is all quite frustrating, considering how important my phone is for work, let alone socially. There’s little relief in the knowledge that it’s fairly well accepted that 3G on the iPhone uhh 3G isn’t all it’s cracked up to me. The problem is, who’s to blame - the carrier (in this case Vodafone Australia), Apple, or Infineon, the 3G chipset manufacturer?

My short-term solution has been to disable the 3G network, and stick to WIFI when I’m at home or in the office, and regular ol’ 1G (or is it 2G, or 2.5G, or 3.14G?) when I’m making calls. That works kinda OK, but it’s annoying having to go into the settings to enable 3G anytime I check Twitter at a cafe, for example. I know, it’s such a first-world-problem, isn’t it?

Earlier this morning I found out that the iPhone supports a field test mode, which you can access by dialing:

*3001#12345#*<call>

Don’t forget that last star - I was missing it off and getting a “Error performing request No Network Service” message popping up.

There’s a whole raft of information that’s available here, but the only bit that interests me is the signal strength indicator that appears in the top left corner, where the “bars” normally are. This turns into a negative integer, where the higher the number (closer to zero) the better the signal. For the mathematically-challenged, this means -60 is better than -80. According to TestFreaks (when they tested the Cell Ranger Port, an interesting signal amplifier):

Signal Range Result
-80 to -70 dBm Reasonably strong signal
-107 to -90 dBm Weak signal
-113 dBm No servicable signal

For me, sitting at my desk in West Perth I get -81, which shows up as 5 bars. To be fair, the downstairs office is three walls of concrete, with three storeys of concrete above above, and a wrought iron clad window. It’s pretty much impervious to radio frequency signals. If I cover the antenna area (which is at the base of the handset, incidentally right where people tend to hold their phone) then the signal drops to -95, which is a significant change. I figured I’d check out the reception on Wellington Street, where to my surprise I get a solid -57.

OK… now we’re getting somewhere.

Further investigation also revealed an CNet article which suggests that you can boost the signal by attaching a piece of sticky-tape to the backside your SIM - it’s got something to do with the SIM making firmer contact with the phone. They also recommend using an eraser to remove any oxidation that might have ended up on the SIM. It’s all about the contacts, baby!

And then it hit me - a few weeks ago my phone reported that it had no SIM! I rebooted the phone and it worked fine, so I had just dismissed it as the phone being silly. Maybe there was a connection issue that was causing problems?

I dug out some scotch tape and found a paperclip on Hale’s desk, and went to work. I stuck two pieces of tape to the back of the SIM, just to be sure. I cleaned off the oxidation with an eraser. This changed resulted in -81 inside, -51 on Wellington Street, so no change inside, but a jump of 6 points outside. That’s not bad, but might just be a regular fluctuation.

As a last test, I checked the inside strength again. I saw the inside value change from -73 (momentarily) to -79, and then hover around -75. Then back up to -81.

The end result: I’m not sure that the hackery did much, in fact I don’t think it changed anything to be honest. I think what’s more likely is that Vodafone are being a little generous with their “convert signal reading to bars” function, and should be showing me less bars when I have a poorer signal.

Either way, I’m now armed with a snugly-seated-deoxidised SIM, and the tools to measure signal strength next time I get a drop out. I’ll keep you updated.

Next Page »