Published February 9, 2011 | https://doi.org/10.59348/draft-rmd94

Android and Eduroam

Creators & Contributors

Feature image
Eduroam

Image credit: Copyright Eduroam, used here as fair use to indicate the network in question.

It seems there's a few bugs in various Android variants that prevent a valid routing table being setup when connecting to an institutional eduroam network. The problem, which I have seen people reporting on XDA, occurs when you can get onto the wifi network, but still no resources are available.

You'll need a rooted device to fix this, and it's a clumsy workaround, but here's what I did on the University of Sussex campus.

1.) Dump a valid routing table from a device that works:

sudo route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.8.5        *               255.255.255.255 UH    0      0        0 wlan0
link-local      *               255.255.0.0     U     1000   0        0 wlan0
default         10.0.8.5        0.0.0.0         UG    0      0        0 wlan0

2.) Shell into your android device and check the routing table there:

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

What a surprise, it's empty.

3.) Add a route to your gateway and then a default route using the gateway

route add 10.0.8.5 dev eth0
route add default gw 10.0.8.5 dev eth0
route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.8.5        *               255.255.255.255 UH    0      0        0 eth0
default         10.0.8.5        0.0.0.0         UG    0      0        0 eth0

Hurrah! You are now connected. It's probably worth putting this in a script which you can automatically run with Script Kitty or the such like.

4.) Test connectivity

ping google.com
PING google.com (74.125.230.116) 56(84) bytes of data.
64 bytes from 74.125.230.116: icmp_seq=1 ttl=53 time=14.8 ms

Android and Eduroam was originally published by Martin Paul Eve at eve.gd: Martin Paul Eve on February 09, 2011.

Files

10.59348_draft-rmd94.pdf

Files (111.1 kB)

Name Size Download all
md5:8496d14cd9257e968a4f03dab8037fee
111.1 kB Preview Download

Additional details

Description

Image credit: Copyright Eduroam, used here as fair use to indicate the network in question. It seems there's a few bugs in various Android variants that prevent a valid routing table being setup when connecting to an institutional eduroam network. The problem, which I have seen people reporting on XDA, occurs when you can get onto the wifi network, but still no resources are available.

Identifiers

GUID
https://doi.org/10.59348/draft-rmd94
URL
https://eve.gd/2011/02/09/android-and-eduroam/

Dates

Issued
2011-02-09T00:00:00Z
Updated
2011-02-09T10:40:21Z