wifi

In Portland for Ubuntu Live

Ubuntu Live kicks off tomorrow in Portland, OR, USA, back to back with OSCON.

The tale of air travel

I left London yesterday morning (after my brother accidentally woke me up an hour early), and almost didn’t make it out of Gatwick - due to terrible weather, all flights were delayed, and many cancelled. I went through the Trainee security queue, and they all ogled my laptop bag on the Xray machine (filled to the brim with interesting equipment, power supplies, and adaptors, as usual). The lad who frisked me was clearly very green, and I don’t think I could have got an unauthorised toothpick through ;-) Thankfully I wasn’t picked out for “special attention” again after that, although maybe 10% of people got taken away from the Immigration queue, in at Newark, New York. It’s quite a scary process - the queue moves very slowly, because everyone gets interviewed for 2-10 minutes. People with children get a long interview, and if you didn’t dot every I and cross every T on your forms, you get sent away, dismissively. Then, as I said, about 10% of passengers fail their interview (or are just unlucky), their papers are put in a big, zip lock bag, and the immigration official shouts for an “ESCORT!” to take them away, down the white corridor, from whence we presume they will never return… There were only 2 escorts, and they were working flat out…

Oh, btw, I’m a huge fan of the air power wiki. My laptop has a negligible battery life, and likes being tethered to the mains. Talking of which, on the 767 from London to New York, there were 110V power sockets under the seats - w00t :-)

My plane to Portland was packed, and delayed for almost 2hrs, in the Friday rush. :-( But I got there mostly on time, and crawled into my hotel bed before midnight, after, literally, a 24hr day. The hotel is dingy, but cheap & clean. And right next door to the convention centre, and a MAX tram stop.

The tale of dodgy wifi

I get free wifi from the Hotel across the street (they have an agreement with mine), but it’s dodgy as hell. It just dies without warning, and when it’s dead, it’s AP seems to cause havoc (when I try and associate with other networks, I always end up connecting to it).

Portland has a free MetroFi service, ad-supported. Which sucks - badly. The signal is mostly pretty poor (I can only get it with my laptop screen right against the window in my room), and when I’m around the town there is normally little signal. They’ve spread their APs over all 4 non-overlapping channels, polluting the spectrum. When you do have signal, the ad system means you get lots of 302 redirects, which don’t agree with my RSS reader, or me. I find myself proxying out over an SSH tunnel, for my sanity. :-( MetroFi—

Portland so far

Portland is nice enough. There is free public transport inside the city centre, it’s leafy, and the people seem friendly enough. But I haven’t really got a feel for it yet.

I poked around the Saturday market this morning, which could have been just about anywhere in the world (excepting the men selling US flags, and almost all the stalls having credit card facilities :-) ). Some nice work, and some good food (I had a spectacular omlette). I left when it started raining.

I went to see the Body Worlds 3 exhibition at the Oregon Museum of Science and Industry. Very interesting. You get a good feeling for human anatomy and muscle structure. The exhibits of tumours and healthy body parts were quite enlightening. The posed, plastinated cadavers got rather repetitive, although all well worth a close look. I found the exhibits of blood vessels only to be the most beautiful. But overall, I didn’t find it to be as mind-blowing or offensive as the media has made it out to be.

Tonight, I’m off to find some fellow Ubuntu Live’ers, unless the Jetlag gets to me first.

LRL2007 Roundup

Lugradio live is now finished and done. It was well worth attending - I really enjoyed it. Wolverhampton is a shit hole of note, but the conference itself was good.

Notable talks I saw were:

  • Malcolm Yates from Canonical: numerous talk on anything that he considered relevant :-)
  • Alan Cox on how to help in Open Source, and persuading hardware vendors to part with their documentation.
  • Matthew Garrett on Power Management
  • Scott James Remnant on 10 really cool things (quite a few of which didn’t work) :-)
  • Michael Sparks from the BBC on Kamelia - a concurrent programming framework
  • Becky Hogge from the Open Rights Group
  • Gervase Markhams brilliant talk - How to Win every argument. He went through various fallacies, and how to use them to your advantage.
  • Joe Born from Neuros

Talks that I missed, but want to catch up when they post the videos (any guesses why I’m blogging this :-)

  • Flumotion
  • IAAL (I am a lawyer)
  • Telepathy
  • Gong a Thong
  • Chris diBona
  • ELER

I walked off with a free Nokia N800, as I’d come from so far away. A man who flew in from Singapore also won one. I have a suspicion that the Californians should have got it instead of me, but the WiFi was down so nobody could google distances :-)

On that topic, I really think that all geeky events like this should have pervasive WiFi coverage. Some of us are a long way away from home, and would like to be able to read our mail in-between talks. Also, it makes the GPG key signing party easier. I didn’t pre-register for the signing, so only a couple of people signed my key, but I did get 2 CAcert assurances. I’ll try and get some more points while I’m in a part of the world, where you can actually find assurers.

The N800 is very cool. It’s ARM based, runs Linux (Maemo), and has decent WiFi / bluetooth abilities. If you want to quickly check your mail, watch youtube (yes it has flash) or do some basic IRC chatting in free wifi zone (i.e. a hotel reception area), then it rocks. The handwriting recognition isn’t great, and it’s quite different to what I’m used to on my P910. So I mostly use the on-screen keyboards (there is quite a good thumb-sized-keyboard option).

It uses Telepathy for Jabber IM, and has a few VoIP options: Gizmo, Skype, Google Talk. But the best part is that because it’s an open platform, you can run most Linux software on it. I’ve installed Xchat, Mplayer, and an Xterm, so far… Because my amd64 laptop can’t run Skype / flash, this is a really handy device to have around.

My train back was re-routed, and in total, it took 5hrs to get home :-( (fortunately I had a movie to watch on the n800)

Sharing a 3G connection with Ubuntu

Seeing as I carry around a vast array of equipment, in my massive, 10Ton backpack, I normally have a 3G card at hand. If I’m visiting someone who doesn’t have broadband themselves, or I’m sitting in a Coffee Shop with other laptop-lugging friends I might want to share my 3G connection with friends, via WiFi. (assuming I have a data bundle that month, or they understand the horrific 3G data pricing)

I wrote a little script to make this easy

  • It’s clearly Atheros-specific, but I’ve included more generic commands in comments. Obviously interface names would need to be changed
  • I dial the 3G connection before I run this, and disconnect afterwards, but it would be trivial to change that…
  • My dnsmasq.conf contains only the line dhcp-range=10.42.42.10,10.42.42.254,12h
  • Dnsmasq is configured not to run on startup, via update-rc.d

/usr/local/sbin/3g-ap:

#!/bin/sh

/etc/dbus-1/event.d/25NetworkManager stop
# Atheros:
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap
# Other:
#iwconfig ath1 mode master

iwconfig ath0 chan 3
iwconfig ath0 essid SR
iwconfig ath0 enc s:13Char-Passwd

ifconfig ath0 up 10.42.42.1 netmask 255.255.255.0
/etc/init.d/dnsmasq start

iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o ppp0 -s 10.42.42.0/24 -j MASQUERADE
sysctl -w net/ipv4/ip_forward=1

echo "Done - when finished, hit enter"
read ignoreme

/etc/init.d/dnsmasq stop
iptables -t nat -F POSTROUTING
sysctl -w net/ipv4/ip_forward=0

# Atheros:    
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode sta
# Other:
#iwconfig ath0 mode managed

/etc/dbus-1/event.d/25NetworkManager start
Syndicate content