Fon
From SOWNWiki
Have installed OpenWrt on a fon using a serial cable (9600 8-N-1).
Contents
Kernel version
root@OpenWrt:/# uname -r 2.6.21.5
Free space
root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on none 6.6M 24.0k 6.6M 0% /tmp tmpfs 512.0k 0 512.0k 0% /dev /tmp/root 1.0M 1.0M 0 100% /tmp/root /dev/mtdblock3 5.9M 328.0k 5.6M 5% /jffs /jffs 1.0M 1.0M 0 100% /
CPU and Mem Info
root@OpenWrt:/# cat /proc/cpuinfo system type : Atheros AR2315 processor : 0 cpu model : MIPS 4KEc V6.4 BogoMIPS : 183.50 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : no ASEs implemented : VCED exceptions : not available VCEI exceptions : not available
root@OpenWrt:/# cat /proc/meminfo
MemTotal: 13620KiB0.013 GiB
13.301 MiB
1.268461e-5 TiB
MemFree: 5808 kB
Buffers: 852 kB
Cached: 2880 kB
SwapCached: 0 kB
Active: 2508 kB
Inactive: 1976 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 800 kB
Mapped: 756 kB
Slab: 2152 kB
SReclaimable: 392 kB
SUnreclaim: 1760 kB
PageTables: 184 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 6808 kB
Committed_AS: 2720 kB
VmallocTotal: 1048404 kB
VmallocUsed: 900 kB
VmallocChunk: 1047336 kB
Installed packages
Standard install 7.07
root@OpenWrt:~# ipkg list_installed base-files-atheros-2.6 - 9-8181 - bridge - 1.0.6-1 - busybox - 1.4.2-2 - dnsmasq - 2.38-1 - dropbear - 0.49-2 - hotplug2 - 0.9+r102-1 - iptables - 1.3.7-1 - kernel - 2.6.21.5-atheros-1 - kmod-madwifi - 2.6.21.5+r2568-20070710-atheros-1 - kmod-ppp - 2.6.21.5-atheros-1 - kmod-pppoe - 2.6.21.5-atheros-1 - libgcc - 4.1.2-9 - mtd - 5 - ppp - 2.4.3-7 - ppp-mod-pppoe - 2.4.3-7 - uclibc - 0.9.28-9 - udevtrigger - 106-1 - wireless-tools - 29-1 - Done.
Sown[at]home
ipkg install bash ipkg install libncurses (required for bash if not already present)
dnsmasq
Parameter: dhcp-script=/bin/program [event type] [mac] [ipaddr] [host] Where event type is one of old, add, del