This part is just for La Fonera. For WGT634U, please refer to the section called “Building HIP for OpenWRT on Netgear WGT634U”.
Your configuration should include these options:
Target System (Atheros [2.6]) Target Images (jffs2, squashfs) Image configuration ---> (static) LAN Protocol (NEW) (192.168.5.30) LAN IP Address (NEW) (255.255.255.0) LAN Network Mask (NEW) Base System ---> Configuration ---> Linux Module Utilities ---> [*] modprobe Libraries ---> <*> libuuid Network ---> <*> ipsec-tools <*> isakmpd <*> ip6tables <*> hostapd Kernel modules ---> Netfilter Extensions ---> <*> kmod-ip6tables <*> kmod-ipt-filter <*> kmod-ipt-ipsec <*> kmod-ipt-nat <*> kmod-ipt-queue Network Support ---> <*> kmod-ipsec <*> kmod-ipsec4 <*> kmod-ipsec6 <*> kmod-iptunnel4 <*> kmod-ipv6 <*> kmod-tun Other modules ---> <*> kmod-crypto Wireless Drivers ---> <*> kmod-madwifi Advanced configuration options (for developers) ---> Build Options ---> (8) Number of jobs to run simultaneously (for PISA development. Speeds up compilation dramatically on multicore systems)
You could also download a pre-configured configuration file for your device from http://hipl.hiit.fi/hipl/contrib/openwrt/7.09/config/dot_config_fonera, and place it as kamikaze_7.09/.config, and http://hipl.hiit.fi/hipl/contrib/openwrt/7.09/config/target/linux/atheros-2.6/config/default as kamikaze_7.09/target/linux/atheros-2.6/config/default.
Now build it.
$ make
If you cannot make jffs2 images without root privilege, try building with root privilege to get around it.
If you get any error during the build, try using the verbose mode to figure out what's going on.
$ make V=99
If the build has succeeded, you can see firmware images in your bin directory.
$ ls -l bin/ 1668 -rw-r--r-- 1 root root 1703936 2008-06-11 14:03 openwrt-atheros-2.6-root.jffs2-128k 1668 -rw-r--r-- 1 root root 1703936 2008-06-11 14:03 openwrt-atheros-2.6-root.jffs2-256k 1668 -rw-r--r-- 1 root root 1703936 2008-06-11 14:03 openwrt-atheros-2.6-root.jffs2-64k 1156 -rw-r--r-- 1 root root 1179648 2008-06-11 14:03 openwrt-atheros-2.6-root.squashfs 2380 -rwxr-xr-x 1 root root 2425928 2008-06-11 14:03 openwrt-atheros-2.6-vmlinux.elf 1032 -rw-r--r-- 1 root root 1048576 2008-06-11 14:03 openwrt-atheros-2.6-vmlinux.gz 776 -rw-r--r-- 1 root root 786432 2008-06-11 14:03 openwrt-atheros-2.6-vmlinux.lzma 4 drwxr-xr-x 2 root root 4096 2008-06-11 14:03 packages/
Install them on /tftpboot and write them on your device.