GNER WiFi Access HOWTO

callum, 21-MAR-05, v0.2

Connecting

Introduction

This is a quick HOWTO for those using Linux to access the Internet from a Great North Eastern Railway train.

There is a bit of an assumption in this HOWTO that you have a functioning WiFi setup on your Linux Laptop. Good sites for setting up your linux laptop are Linux Laptop and if you are using a PRISM2 based chipset on pre-Fedora Core 2 then use the fantastic WLAN-NG tools at http://www.linux-wlan.com/linux-wlan.

Connecting to the network

If you have an older Linux 2.4 kernel (pre-Fedora Core 2) then you should investigate the wlan-ng system at http://www.linux-wlan.com/linux-wlan. Simply setup a file called wlancfg-train in the /etc/wlan directory. Make sure the settings are in infrastructure mode by setting the key: IS_ADHOC=n

More modern 2.6 kernels seem to support WiFi far better. Fedora Core 2 for example includes a working :-) wireless section in the system-config-network dialogue. Simply fill in the pretty boxes and you'll be connected.

Fedora Core 3 has much better support for WiFi including the excellent kwifimanager and better support for selecting WiFi networks in the system-config-network tool.

kwifimanager in action
kwifimanager in Fedora Core 3
It is worth remembering that WiFi networks don't always connect first time and it is worth getting to know how to look at the log files to see the connection process. To do this simply su - using your root password in a terminal window and view the log file in real time using tail -f /var/log/messages. There are some extracts from the log file later on this page.
system-config-network
system-config-network

WiFi config in system-config-network
system-config-network WiFi page

The setup in the dialogue above is slightly dangerous in that it will lock onto the first available network. Which could be your train or if you are in station - another train!

The Train WiFi

GNER use two main networks on the train. The trainbridge network is encrypted and seems to support inter carraige communications. The train network is the unencrypted system on channel 1.

Paying for it

If you are in first class - it is free! (The access points in the first class carraiges are differently configured to those in standard). The rest of us have to make do with the pay for system. It is just a case of popping the credit card number in and internet connectivity is granted. I have had varying degrees of success with the system; sometimes getting great connectivity for hours at a time; othertimes I simply cannot get through the authentication stage..

There are quite a few pages you can browse without signing on to the system and paying. Simply go to http://www.gnermobileoffice.train and a neat wee display of where you are will be on the page. A large proportion of the pages at http://www.gner.co.uk are available

http://www.gnermobileoffice.train
http://www.gnermobileofffice.train

Paying for the service is just your standard Worldpay system. You get a choice of times from 30 minutes to 3 hours online. This is acheived by a simple form of 4 buttons that will then redirect the browser to Worldpay. Do keep a record of the id it gives you because if you reset your WiFi card then you will have to retype this key in to get going again. This is the weak point of the service; I have always managed to get onto the train network but only 50% of the time manage to sucessfully get a connection to Worldpay. It often times out.

http://www.gnermobileoffice.train
Paying for it!

Technical

DHCP

The train has a DHCP server that will issue an address to you automagically when you try to connect to the SSID:train. It has a really short lease time and keeps refreshing; here is an extract from /var/log/messages

I have been travelling on the service since these were first installed and I have only ever had the address 10.101.1.226 even on different MAC addresses. After watching the traffic on the train network for many hours, it seems the WiFi service is not that popular yet and I rarely see another WiFi connected passenger.

Servers out there

The main servers on the train are:

Interestingly, the machine www.gnermobileoffice.train on my train is also known as GNER82205.mshome.net. Presumably this machine is the gateway to the internet. It is a Microsoft machine that seems to be running alot of system admin software, e.g. VNC and MS Terminal Server. ims.gnermobileoffice.train on the other hand is a locked down linux device that only exposes an SSH, HTTPS and a squid proxy to the net. Presumably this is a the firewall filter for assessing whether the attached WiFi node has paid or not.

Networks out there

Network NetType ESSID BSSID Channel Cloaked WEP MaxRate BestSignal
1 infrastructure trainbridge 00:0F:3D:9F:D7:CC 11 No Yes 36 15
2 infrastructure train 00:0F:3D:9F:D6:D6 1 No No 36 32
3 infrastructure trainbridge 00:0F:3D:9F:D0:E5 11 No Yes 36 40
4 infrastructure train 00:0F:3D:9F:DA:82 1 No No 36 10
5 infrastructure trainbridge 00:0F:3D:9F:DA:90 11 No Yes 36 23
6 probe 101 00:0C:F1:01:AF:44 0 No No 11 9
7 infrastructure trainbridge 00:0F:3D:9F:D7:E1 11 No Yes 36 48
8 infrastructure trainbridge 00:0F:3D:9F:D0:ED 11 No Yes 36 10
9 infrastructure train 00:0F:3D:9F:DA:26 1 No No 36 42
10 infrastructure trainbridge 00:0F:3D:9F:DA:7C 11 No Yes 36 21
Kismet scan of WiFi networks.

The 101 network may just be someone elses laptop in the carraige or a node past by the train. It is a shame that they didn't choose a mid-band channel to take advantage of the better power.

Protocols Supported

I haven't yet managed to find one that isn't. I use ssh a lot but sometimes the connection can be patchy. Ironically, if the train is trundling along at <80mph then a much better connection to the internet is available. The fast 225 trains at full whack rock around too much to type sensibly and the connection gets a bit patchy..

Connection Speed

I haven't worked this out yet because each train seems to be different and some are busy with other users. The website has a great picture with a picture of a satelite with "a broadband connection". In reality it feels like a 56kbs link using a GSM digital mobile relay.

FAQ



GNER is a Trademark of the Great North Eastern Railway, all information provided on an as is basis