Install debian on WGT634U

Why debian?

 

There are many different OS (or distrubutions) that are able to run on the WGT634U, probably one of the most easiest to get upp and running is Openwrt, but since i had a lot of problem with Openwrt and the fact that it's is an operating system that some what are drifting away more and more from an standard linux installation. (Things like UCI and the constant search for an small footprint makes it harder and harder to do it the same way you do it in an standard linux distrubution.) This of course is not only bad, it has big advantages to. Like boot time and troughtput speed. I get 1.7MB/s NAT with Debian etch, with Openwrt i got 2.5MB/s.
 

Install

 

I have pretty much followed this howto: http://people.zoy.org/~walken/wgt634u/HOWTO.html However, since i have re-compiled the kernel and included kernel support for ip tables i will post my stuff here so you can use it instead if you like ip tables support without the need for setting up an mipsel development computer, wich took many working ours when using QEMU. (It was very slow, but it's open source and work, the developers have done a good work).
 
Get my kernel and file system. The kernel config file is not needed, its just for reference.
 
 
And then follow the original howto: http://people.zoy.org/~walken/wgt634u/HOWTO.html For simplicity i have only changed the kernel modules. There should be nothing else that differs, please email me if it does.
 

vlan config

 

If you want to use every port as an own vlan instead of the ussual two vlan (one for wan, one for lan) i recomend this settings
robocfg switch disable vlans reset vlans enable \
               vlan 0 ports "0 5" \
               vlan 1 ports "3 5" \
               vlan 2 ports "2 5" \
               vlan 3 ports "1 5" \
               vlan 4 ports "0 5" \
               vlan 5 ports "4 5" \
               switch enable
 
instead of these:
 
robocfg switch disable vlans reset vlans enable \
               vlan 1 ports "3 5t" \
               vlan 2 ports "2 5t" \
               vlan 3 ports "1 5t" \
               vlan 4 ports "0 5t" \
               vlan 5 ports "4 5u" \
               switch enable
 
This will create vlan1-4 named after port 1 to 4. and vlan5 to be wan port. This helped me from some strange behavior like Connections resets etc. Also it increased troughtput from 1.5MB/s to 1.7MB/s
 

Kernel Panic

I have had some kernel panics.. Done some changes and hopes it fixed.

 

Web interface

I'm working on an web interface.. Probably nothing of public interest since it's hard to make changes to.