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.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.



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!
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.
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

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.

Nov 15 17:58:49 localhost dhclient: DHCPREQUEST on wlan0 to 10.101.0.1 port 67
Nov 15 17:58:49 localhost dhclient: DHCPACK from 10.101.0.1
Nov 15 17:58:49 localhost dhclient: bound to 10.101.1.226 -- renewal in 70 seconds.
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.
http://www.gnermobileoffice.train (192.168.0.1)
http://ims.gnermobileoffice.train (10.101.0.1)
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.
| 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 |
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.
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..
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.