[<<][openwrt][>>][..]
Fri Sep 6 17:52:25 EDT 2013

From scratch

Flashed the image using:

  mtd write /tmp/openwrt-brcm47xx-f7d3301-squashfs.trx linux

Now, how to configure a box like this?
I want to use it just as a switch / access point.

The OpenWRT docs don't use roboconfig for enabling the WAN port.
http://wiki.openwrt.org/doc/recipes/bridgedap



#!/bin/sh
# Minimal modification:
# 0 to 3 (labeled 4->1) and 4 (WAN) are all tied to the lan segment eth0.0
echo '            ' >/proc/switch/eth0/vlan/1/ports
echo '0 1 2 3 4 8t' >/proc/switch/eth0/vlan/0/ports 

killall dnsmasq
killall udhcpc
ifconfig eth0.1 down

ifconfig br-lan 192.168.6.252 netmask 255.255.255.0
route add default gw 192.168.6.1
echo nameserver 192.168.6.1 >/etc/resolv.conf



Can't get it to work properly..  Not in the right state of mind for
hard core debugging...


Anyway, using it in default config as normal router.




[Reply][About]
[<<][openwrt][>>][..]