Changes between Initial Version and Version 1 of Networking


Ignore:
Timestamp:
Jul 24, 2011, 2:32:34 PM (8 years ago)
Author:
amain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Networking

    v1 v1  
     1== DebWrt Networking ==
     2
     3The Debian package debwrt-net is the package with all DebWrt related network scripts and settings. In time will contain network configuration for many devices. But for now it can be used for broadcom based devices or as a template for other devices.
     4
     5Basically this package turns the device into a full Wireless Access Point / router. Much like stock OpenWrt would setup the router. It was tested on Asus WL-500g Premium v1.
     6
     7Important is to check the switch(robocfg) configuration. See OpenWrt hardware wiki for your device's specific switch port mappings and update /etc/network/interfaces.broadcom.
     8
     9== Installation ==
     10
     11  * Build from SVN or download http://www.debwrt.net/download/testing/packages/debwrt-net_0.1_all.deb
     12  * Install package
     13{{{
     14dpkg -i debwrt-net_0.1_all.deb
     15}}}
     16  * Create backup of /etc/network/interfaces
     17  * Enable the new configuration
     18{{{
     19ln -s /etc/network/interfaces.broadcom /etc/network/interfaces
     20}}}
     21  * reboot ( to load correct kernel modules, etc )
     22
     23== Full Wireless AP/Router/Firewall/DNS server/DHCP server ==
     24
     25  * Blacklists b43 driver
     26  * Loads wl driver
     27  * Everything is controlled from /etc/network/interfaces
     28  * Switch is configured ( '''note: check how the switch ports are configured''' )
     29  * Wireless G, channel 5
     30  * SSID: DebWrt
     31  * WPA2 PSK password: debwrtdebwrt
     32  * dnsmasq DHCP and DNS server ( 192.168.1.50 - 192.168.1.250 )
     33  * Minimum firewall with masquerade ( /etc/firewall/firewall.sh )
     34  * IP Forwarding enabled ( /etc/sysctl.d/debwrt.conf )
     35  * DHCP on WAN port
     36
     37== Tips ==
     38
     39  * dpkg -L debwrt-net for an overview of files and settings.
     40  * use a serial console to test things out
     41  * setup an alias interface bound to one or all of the switch ports with a specific IP to have a fallback in case things don't work.
     42  * you can always mount your root fs on another machine and move a working /etc/network/interfaces file back in place