Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: telemetry/third_party/web-page-replay/documentation/GettingStarted.md

Issue 2836303002: Revert of Roll WPR to the lastest commit (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « telemetry/third_party/web-page-replay/certutils_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/third_party/web-page-replay/documentation/GettingStarted.md
diff --git a/telemetry/third_party/web-page-replay/documentation/GettingStarted.md b/telemetry/third_party/web-page-replay/documentation/GettingStarted.md
index b1c6dd180554ca520d7b599df5435cbc171b9d26..90790b4dd5cf244f153824903ee3dae90456864e 100644
--- a/telemetry/third_party/web-page-replay/documentation/GettingStarted.md
+++ b/telemetry/third_party/web-page-replay/documentation/GettingStarted.md
@@ -14,11 +14,43 @@
```
$ cd web-page-replay
```
-## Network simulation
-For network simulation, you can use https://github.com/WPO-Foundation/tsproxy
-which works on most platforms. More realistic network simulation options can be
-achieved through using tools like dummynet, but those only support limited
-platforms.
+## Linux-specific install steps
+On Linux, Dummynet must be installed to simulate network conditions.
+
+1. For the Linux code, try downloading the [latest linux sources from Marta
+Carbone](http://info.iet.unipi.it/~marta/dummynet/). These are more up-to-date than what is found on the [Dummynet
+homepage](http://info.iet.unipi.it/~luigi/dummynet/).
+2. Build and install:
+```
+$ tar -C /tmp -xvzf ipfw3-20120119.tgz
+$ cd /tmp/ipfw3-20120119
+$ make
+[Ignore output like the following:]
+ echo " ERROR: Kernel configuration is invalid.";\
+ echo " include/generated/autoconf.h or
+include/config/auto.conf are missing.";\
+ echo " Run 'make oldconfig && make prepare' on kernel
+src to fix it.";\
+[The lines will print without "echo" if there is an actual error.]
+$ sudo insmod dummynet2/ipfw_mod.ko
+$ sudo cp ipfw/ipfw /usr/local/sbin
+```
+3. To remove it later
+```
+$ sudo rmmod ipfw_mod.ko
+```
+## Windows-specific install steps
+*Windows support is experimental and not well tested.* On Windows XP, the
+Dummynet driver must be installed to simulate network conditions
+(Drivers for Windows Vista and Windows 7 are currently unavailable).
+
+1. Control Panel -> Network Connections -> Right-click adapter in use ->
+select Properties
+2. Click Install... -> Service -> Add... -> Have Disk...
+3. Browse... ->
+web-page-replay-read-only\third_party\ipfw_win32\netipfw.inf
+4. Click Open -> Ok -> Ok
+ - Accept any warnings for installing an unknown driver
# Record
First you must record the web page or pages that you wish to replay.
« no previous file with comments | « telemetry/third_party/web-page-replay/certutils_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698