Tonight I was trying to install an application in Wine that required Gecko in order to complete the setup process. I received a popup asking me if I wanted to install Gecko, and clicked Yes. After a moment, the dialog simply disappeared, not having completed the Gecko installation. Okay, fine. I’ll install it using winetricks.
# jeff@js3:~> winetricks gecko Executing wget -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://source.winehq.org/winegecko.php?v=0.9.1 --2009-06-21 02:12:33-- http://source.winehq.org/winegecko.php?v=0.9.1 Resolving source.winehq.org... 209.46.25.134 Connecting to source.winehq.org|209.46.25.134|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://heanet.dl.sourceforge.net/sourceforge/wine/wine_gecko-0.9.1.cab [following] --2009-06-21 02:12:34-- http://heanet.dl.sourceforge.net/sourceforge/wine/wine_gecko-0.9.1.cab Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142 Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. --2009-06-21 02:12:35-- (try: 2) http://heanet.dl.sourceforge.net/sourceforge/wine/wine_gecko-0.9.1.cab Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying.
You get the idea. On and on it went, trying each mirror and failing on each one. Alright, that’s weird. But fine, I’ll download it from SourceForge. Unfortunately, no matter which mirror I selected, Firefox kept returning “Connection interrupted.”
After a bit of Googling, it was suggested that it may be a router problem. I run dd-wrt on my router, so I logged in and checked my security settings. Sure enough, I saw that ActiveX was being filtered as shown below:

dd-wrt - Filter ActiveX
I unchecked Filter ActiveX, clicked Apply Settings, and voilà — suddenly I could download cab files again.
Just a note for anyone who might also be running dd-wrt and might experience the same problems installing Gecko for Wine.



