WRT54gl
Default Settings
To login to default WRT54GL software use no user and as password admin.
Set Boot Wait
To set boot_wait, login to the router and execute:
nvram set boot_wait=on
nvram commit
rebootUpload Original Firmware
To switch back to the original firmware enable the boot_wait at first. The timing here is the critical step. Open one window and insert there as command:
ping -w 5 -t 192.168.1.1When in boot_wait the IP is always 192.168.1.1.
Now start a tftp program and insert:
Host: 192.168.1.1
Port: 69When you get a ping reply use put to upload the firmware to the router. Now it takes some time to complete the flash operation, after it you can access the router via http://192.168.1.1
Build the eibd Package
We use openwrt to do this, download it with:
svn co svn://svn.openwrt.org/openwrt/branches/backfire
cd backfire
./scripts/feeds update
./scripts/feeds install uclibcxx
./scripts/feeds install libxml2
./scripts/feeds install libusb
./scripts/feeds install argp-standaloneNow we setup the package:
mkdir -p package/bcusdk/patches
cd package/bcusdkCopy here the Makefile.
Configure everthing we need:
cd -
make menuconfigGo into menu Libraries and select the following packages by using the m key:
argp-standalone
libusb
libxml2
pthsem
uclibcxxGo into the menu Network and select the package:
eibdExit and save
Now we compile everything:
make V=99To compile later only a certain package use:
make package/bcusdk/{clean,compile} V=99