OpenWGT: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
# self-compile from sources (using the standarized development environment - WRTSDE) |
# self-compile from sources (using the standarized development environment - WRTSDE) |
||
# use an OpenWGT firmware image |
|||
# use the OpenWGT web installer (alpha stadium) - You will need an online connection during the whole installation process! |
|||
== Compiling OpenWGT from sources == |
== Compiling OpenWGT from sources == |
||
'''NOTE:''' Instead of compile OpenWGT for your own or using the web-installer, you can download the binaries we are using for our Netgear routers. |
|||
You can get it from: http://sar.informatik.hu-berlin.de/research/roofnet/openwgt/binary/ |
|||
See below how to install the binaries. |
|||
For self-compilation you will need: |
For self-compilation you will need: |
||
Line 48: | Line 45: | ||
== OpenWGT web- |
== Install OpenWGT via Netgear's web-frontend == |
||
We provide a web-installer to install then OpenWGT distribution, but note that the installer is under construction yet (alpha stadium). |
|||
# To use it for installing OpenWGT you first need a backup image for infecting the original Netgear firmware with the SAR-installer. You can get the file from http://sar.informatik.hu-berlin.de/research/roofnet/openwgt/netgear-sar-openwgt-installer.cfg. |
|||
# Login to your router's web-frontend (default at 192.168.1.1). |
|||
# Select ''Backup Settings''. |
|||
# Enter the location of the downloaded file at ''Restore Saved Setting from a File''. |
|||
# Click ''Restore'' to commit the changes. |
|||
# After reboot, connect the Netgear router with you Internet connection (You need to config) |
|||
web-installer TODO list: |
|||
* split the installer script (to show intermediate results) |
|||
Line 71: | Line 57: | ||
=== Setting up a netboot environment === |
=== Setting up a netboot environment === |
||
= Feature list = |
|||
=== Implemented === |
|||
* boot rootfs from USB devices |
|||
* ipkg |
|||
=== TODO === |
|||
* FLASH partition layout |
|||
* read network device configuration completly from NVRAM |
|||
* working madwifi for linux 2.4 |
Revision as of 22:38, 18 July 2005
Introduction
What is OpenWGT? OpenWGT is a Linux distribution designed to run on Netgear's WGT634U Wireless Media Routers. OpenWGT intents to be compatible to OpenWRT (a distribution for the Linksys WRT54G(S) broadband router).
This OpenWRT compatibility will be reached by compatibility in:
- Init process layout
- NVRAM layout
- ipkg management
- flash partition layout
Advantages
Why don't use the distributed Linux system?
- booting needs lots of time (> 2 minutes)
- it's hard to install own programs
- bad fallback strategy (if modifications fail)
Overview
OpenWGT consists of two parts:
- Linux kernel (2.4 or 2.6)
- Root file system
Installation
WARNING: The installation of OpenWGT is heavily under construction. So we recommend to continue the following steps only if you have a serial console for your Netgear WGT634U.
There are 2 possibilities to install the OpenWGT Linux distribution:
- self-compile from sources (using the standarized development environment - WRTSDE)
- use an OpenWGT firmware image
Compiling OpenWGT from sources
For self-compilation you will need:
- a toolchain for cross-compiling, since the Netgear WGT634U contains a Mipsel CPU.
- the SAR OpenWGT sources (these are an old snapshot from the OpenWRT project)
- sources of the Linux kernel from netgear
You can also download a complete OpenWGT construction kit from http://sar.informatik.hu-berlin.de/.../
Install OpenWGT via Netgear's web-frontend
Booting OpenWGT
TODO: Description of:
- boot from flash
- boot via network (TFTP/NFS)
Installing OpenWGT to flash
Setting up a netboot environment
Feature list
Implemented
- boot rootfs from USB devices
- ipkg
TODO
- FLASH partition layout
- read network device configuration completly from NVRAM
- working madwifi for linux 2.4