manu wrote:Hi !
>> Well, it basically runs here, but I still have some problems, like ipkg is broken
> ipkg should be fixed un trunk now
Does this mean that the wrt150n is now supported by openwrt ?
I plan to buy one. Any advice appreciated ;-)
I have a v1.1 version of this router.
With Kamikaze 7.09 (r10113, but previous revisions will probably also work) it's working over here. I haven't yet used it as I would use the WRT54GL's but it seems to be ok.
What's important is getting the acceptable version number in the firmware.
In the file 'target/linux/brcm-2.4/image/Makefile';
This didn't work:
$(call Image/Build/CyberTAN,$(1),wrt150n,N150,1.10.5,$(patsubst jffs2-%,jffs2,$(1)))
But this did (as previously suggested):
$(call Image/Build/CyberTAN,$(1),wrt150n,N150,1.51.3,$(patsubst jffs2-%,jffs2,$(1)))
After that (and rebuilding), the Linksys firmware accepts the OpenWRT firmware as an ugprade.
After (and before) flashing, nvram's boot_wait was set to 'off'. I immediately changed that to 'on'.
I just activated wireless and from a WRT54GL I see this in airodump:
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
00:CE:NS:0R:ED:2A 0 1088 0 0 5 48 WPA2 CCMP PSK SeriesN
Haven't yet connected, but it seems to be ok. I also don't have any wireless-N adapters so I'd only be able to test wireless B/G.
ipkg seems be working:
root@OpenWrt:~# ipkg install fdisk_2.12r-2_mipsel.ipk
Installing fdisk (2.12r-2) to root...
Configuring fdisk
Done.
Everything seems to be just like on a WRT54GL (not withstanding hardware differences). The only difference is that the VLANs don't seem to be setup according to how this takes place on a WRT54GL (see following ifconfig output). Seems like the old-fashioned VLAN setup (no .x (0<=x<16) suffix for the device names). Maybe it has a different port/vlan mapping than a WRT54GL, I'm still looking. Note from the same build, the VLAN suffix (.x) does appear on a WRT54GL, so I don't think this has anything to do with the (kernel) VLAN naming scheme.
Further info:
root@OpenWrt:/# cat /proc/cpuinfo
system type : Broadcom BCM4704 chip rev 9
processor : 0
cpu model : BCM3302 V0.6
BogoMIPS : 262.96
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 14647296 11386880 3260416 0 1073152 3485696
Swap: 0 0 0
MemTotal: 14304 kB
MemFree: 3184 kB
MemShared: 0 kB
Buffers: 1048 kB
Cached: 3404 kB
SwapCached: 0 kB
Active: 2704 kB
Inactive: 1764 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14304 kB
LowFree: 3184 kB
SwapTotal: 0 kB
SwapFree: 0 kB
root@OpenWrt:/# lsmod
Module Size Used by Tainted: P
wlcompat 14944 0 (unused)
ip_conntrack_tftp 1712 0 (unused)
ip_nat_irc 2336 0 (unused)
ip_conntrack_irc 3128 1
ip_nat_ftp 2960 0 (unused)
ip_conntrack_ftp 4272 1
tun 4504 0 (unused)
nfs 88712 0 (unused)
lockd 61804 0 [nfs]
sunrpc 76912 0 [nfs lockd]
wl_mimo 710464 0 (unused)
switch-robo 4540 0 (unused)
switch-core 4864 0 [switch-robo]
diag 25520 0 (unused)
root@OpenWrt:/# df
Filesystem 1k-blocks Used Available Use% Mounted on
none 7152 24 7128 0% /tmp
/dev/mtdblock/4 1472 324 1148 22% /jffs
mini_fo:/jffs 1792 1792 0 100% /
root@OpenWrt:/# brctl show
bridge name bridge id STP enabled interfaces
br-lan 8000.001c10919345 no eth0
wl0
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:CE:NS:0R:ED:2A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2212 errors:0 dropped:0 overruns:0 frame:0
TX packets:1852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:479420 (468.1 KiB) TX bytes:474204 (463.0 KiB)
eth0 Link encap:Ethernet HWaddr 00:CE:NS:0R:ED:2A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2200 errors:0 dropped:0 overruns:0 frame:0
TX packets:1846 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:518389 (506.2 KiB) TX bytes:481171 (469.8 KiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:CE:NS:0R:ED:2A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:648 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:209304 (204.3 KiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wl0 Link encap:Ethernet HWaddr 00:CE:NS:0R:ED:2A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:199
TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:2 Base address:0x4000
root@OpenWrt:~# cat /proc/switch/eth0/driver
bcm53xx
root@OpenWrt:~# cat /proc/switch/eth0/vlan/0/ports
0 1 2 3 4 5u
root@OpenWrt:/# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root /rom squashfs ro 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
none /tmp tmpfs rw,nosuid,nodev 0 0
none /dev/pts devpts rw 0 0
/dev/mtdblock/4 /jffs jffs2 rw 0 0
mini_fo:/jffs / mini_fo rw 0 0
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "cfe"
mtd1: 003b0000 00010000 "linux"
mtd2: 001c1c00 00010000 "rootfs"
mtd3: 00010000 00002000 "nvram"
mtd4: 00170000 00010000 "rootfs_data"
root@OpenWrt:/# cat /proc/interrupts
CPU0
2: 32353 MIPS wl0
3: 21 MIPS gpio, serial
4: 6951 MIPS eth0
5: 1594 MIPS eth1
7: 240229 MIPS timer
ERR: 0
root@OpenWrt:/# cat /proc/iomem
00000000-00ffffff : System RAM
00001000-0016e8d7 : Kernel code
00188000-001a0fff : Kernel data
18001000-18001fff : b44
18002000-18002fff : b44
root@OpenWrt:/# cat /proc/devices
Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 tts/%d
5 cua/%d
10 misc
90 mtd
128 ptm
136 pts/%d
162 raw
253 nvram
254 gpio
Block devices:
31 mtdblock