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
reboot
Upload 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.1
When in boot_wait the IP is always 192.168.1.1.
Now start a tftp program and insert:
Host: 192.168.1.1
Port: 69
When 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-standalone
Now we setup the package:
mkdir -p package/bcusdk/patches
cd package/bcusdk
Copy here the Makefile.
Configure everthing we need:
cd -
make menuconfig
Go into menu Libraries and select the following packages by using the m key:
argp-standalone
libusb
libxml2
pthsem
uclibcxx
Go into the menu Network and select the package:
eibd
Exit and save
Now we compile everything:
make V=99
To compile later only a certain package use:
make package/bcusdk/{clean,compile} V=99
Dec 16 | Edimax | 1 min read |