Thursday, May 13, 2010

Escape character \& Ampersand in ruby wget call fails

This is because ruby is not built to handle a bash escape with the ampersands in them. The correct way to solve this problem is by using the open-uri library supported by ruby.

An example is as shown here:
require 'open-uri'
open('http://www.mywebpage.com\&param=45')

Monday, May 10, 2010

How to enable packages like Wifi in click modular router

Special features which have custom elements like wifi, analysis, ethernet, ip6, ipsec, and radio are not included in the default compiled click modular router. They are called as groups and need to be explicity enabled during compilation by using:
./configure –enable-groupname


E.g:
./configure –enable-wifi