Tue, 14 Nov 2006
Mitsubishi Diamond R100 with OpenWRTThough I have not actively partaken in melb wireless I have remained on their mail list for the occasional interesting nerd discussion - from there I heard of a cheap deal wireless routers capable of running OpenWRT, so I snarfed one.
Installing the Asus wl500g version of OpenWRT White Russian RC6 via tftp I was able to get this excellent little distro up an running quickly, even booting with root on a USB key.. running it in bridged client mode so I can plug PCs in down the other end of the house, but fun having a well put together old school minimal Linux distro to play with as well.
Lets see how long I last with swap running on a USB memory stick..
Here is the output of dmesg, for the curious:
CPU revision is: 00024000 Enabling BCM4710A0 cache workarounds. Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes. Primary data cache 4kB, 2-way, linesize 16 bytes. Linux version 2.4.30 (mbm@reboot) (gcc version 3.4.4 (OpenWrt-1.0)) #1 Mon Nov 6 17:35:21 PST 2006 Setting the PFC value as 0x15 Determined physical RAM map: memory: 01000000 @ 00000000 (usable) On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200 CPU: BCM4710 rev 0 at 125 MHz Using 62.400 MHz high precision timer. !unable to setup serial console! Calibrating delay loop... 82.94 BogoMIPS Memory: 14212k/16384k available (1464k kernel code, 2172k reserved, 104k data, 84k init, 0k highmem) Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, 8192 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX PCI: Fixing up bus 0 PCI: Fixing up bridge PCI: Setting latency timer of device 01:00.0 to 64 PCI: Fixing up bus 1 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Registering mini_fo version $Id$ devfs: v1.12c (20020818) Richard Gooch (firstname.lastname@example.org) devfs: boot_options: 0x1 JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled b44.c:v0.93 (Mar, 2004) PCI: Setting latency timer of device 00:02.0 to 64 eth0: Broadcom 47xx 10/100BaseT Ethernet 00:11:2f:e1:00:4a PCI: Setting latency timer of device 00:08.0 to 64 eth1: Broadcom 47xx 10/100BaseT Ethernet 00:11:2f:e1:00:4a Amd/Fujitsu Extended Query Table v1.1 at 0x0040 Physically mapped flash: Swapping erase regions for broken CFI table. number of CFI chips: 1 cfi_cmdset_0002: Disabling fast programming due to code brokenness. Flash device: 0x400000 at 0x1fc00000 bootloader size: 262144 Physically mapped flash: Filesystem type: squashfs, size=0xda5f3 Creating 5 MTD partitions on "Physically mapped flash": 0x00000000-0x00040000 : "cfe" 0x00040000-0x003f0000 : "linux" 0x000bf400-0x001a0000 : "rootfs" mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only 0x003f0000-0x00400000 : "nvram" 0x001a0000-0x003f0000 : "OpenWrt" Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) ip_conntrack version 2.1 (5953 buckets, 5953 max) - 332 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing unused kernel memory: 84k freed Warning: unable to open an initial console. Algorithmics/MIPS FPU Emulator v1.5 diag: Detected 'ASUS WL-500g' Probing device eth0: No Robo switch in managed mode found Probing device eth1: No Robo switch in managed mode found Probing device eth2: No such device Probing device eth3: No such device BFL_ENETADM not set in boardflags. Use force=1 to ignore. b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. mini_fo: using base directory: / mini_fo: using storage directory: /jffs usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Setting latency timer of device 00:04.0 to 64 usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2 usb-ohci.c: usb-00:04.0, PCI device 14e4:4715 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. hub.c: new USB device 00:04.0-1, assigned address 2 Journalled Block Device driver loaded scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Model: USB DISK Pro Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Vendor: Model: USB DISK Pro Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 SCSI device sda: 971776 512-byte hdwr sectors (498 MB) sda: Write Protect is off Partition check: /dev/scsi/host0/bus0/target0/lun0: p1 SCSI device sdb: 2880 512-byte hdwr sectors (1 MB) sdb: Write Protect is off /dev/scsi/host0/bus0/target0/lun1: unknown partition table WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 jffs2: attempt to mount non-MTD device 08:01 SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal EXT3-fs: mounted filesystem with ordered data mode. jffs2.bbc: SIZE compression mode activated. PCI: Setting latency timer of device 01:02.0 to 64 PCI: Enabling device 01:02.0 (0004 -> 0006) eth2: Broadcom BCM4320 802.11 Wireless Controller 188.8.131.52 Probing device eth0: No Robo switch in managed mode found Probing device eth1: No Robo switch in managed mode found Probing device eth2: [switch-robo.c:90] SIOCGETCPHYRD failed! [switch-robo.c:90] SIOCGETCPHYRD failed! No Robo switch in managed mode found Probing device eth3: No such device BFL_ENETADM not set in boardflags. Use force=1 to ignore. device eth0 entered promiscuous mode b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. device eth2 entered promiscuous mode eth2: attempt to add interface with same source address. br0: port 2(eth2) entering listening state br0: port 1(eth0) entering listening state br0: port 2(eth2) entering learning state br0: port 1(eth0) entering learning state br0: port 2(eth2) entering forwarding state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state br0: topology change detected, propagating b44: eth1: Link is up at 100 Mbps, full duplex. b44: eth1: Flow control is off for TX and off for RX. Adding Swap: 32760k swap-space (priority -1) device prism0 left promiscuous mode