breadcrumbs: ‘CrOS network: notes on ChromiumOS networking > ’ page_name: fake-cromo title: fake-cromo
Usage:
Start the web server that emulates the carrier activation portal.
Rename eth0 to the name of the cellular device, as reported to shill
by the fake modemmanager. (The fake modemmanager is implemented in
the Modem class in flimflam_test.)
This means that we'll route “cellular” data traffic out our Ethernet
connection. Note, however, that fake-cromo let's us implement a
“captive portal” like mode. (That's implemented using iptables.)
Note further that the name of the cellular device must be pseudo-modem0,
as that's hard-coded in fake-cromo (and also used in a default argument
in the Modem class.)
Start fake-cromo