Installing OpenWrt on a Linksys WRT350Nv2

Posted by Benoit Papillault on Mar 10, 2010 in Linux |

The WRT350Nv2 Linksys router is a 802.11bgn router (so, operating only in the 2.4GHz band). Its use with the original firmware is impossible since it is nearly impossible to connect using Wi-Fi, even with the use of the latest Linksys firmware (incredible isn’t it?). After installing OpenWrt within few minutes, the Wi-Fi connection has been working right away. Here are the installation steps:

  1. First of all, I downloaded a ready-made firmware (right, I did not want to wait) here : ftp://ftp.maddes.net/openwrt/kamikaze/orion/build_19875/squashfs_2.6.32.8/NOT_FOR_NEWBIES_openwrt-wrt350nv2-squashfs-webupgrade.img
  2. Next, you just need to go to the web interface of the Linksys and upload the .img file as a firmware upgrade
  3. After a whole minute, the new access point is reachable using the default IP address : 192.168.1.1
  4. In order to configure it, just go to /etc/config/network and /etc/config/wireless

Some information are then accessible :

dmesg:

Linux version 2.6.32.8 (openwrt@debian5) (gcc version 4.3.3 (GCC) ) #1 Fri Feb 26 22:25:43 CET 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Linksys WRT350N v2
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c02a6888, node_mem_map c02b8000
 Normal zone: 64 pages used for memmap
 Normal zone: 0 pages reserved
 Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 29704KB available (2512K code, 137K data, 96K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181L-Rev-A1. TCLK=166666667.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10 64bit mmio pref: [0xf1000000-0xf10fffff]
pci 0000:00:00.0: reg 18 32bit mmio: [0x000000-0x1ffffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10 64bit mmio pref: [0x000000-0x1ffffff]
pci 0000:01:00.0: reg 18 64bit mmio pref: [0x10000000-0x1fffffff]
pci 0000:01:00.0: reg 20 64bit mmio: [0xf1000000-0xf10fffff]
pci 0000:01:00.0: reg 30 32bit mmio pref: [0xe0000000-0xe7ffffff]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:01:07.0: reg 10 32bit mmio: [0x40000000-0x4000ffff]
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 58
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 7 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000100000 : "kernel"
0x000000100000-0x000000750000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=250000, len=500000
0x000000250000-0x000000750000 : "rootfs_data"
0x000000760000-0x0000007a0000 : "lang"
0x0000007a0000-0x0000007c0000 : "nvram"
0x0000007c0000-0x000000800000 : "u-boot"
0x000000750000-0x000000760000 : "eRcOmM_do_not_touch"
0x000000000000-0x000000750000 : "image"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:00:00:00:51:81
i2c /dev entries driver
Registered led device: wrt350nv2:green:power
Registered led device: wrt350nv2:green:security
Registered led device: wrt350nv2:orange:power
Registered led device: wrt350nv2:green:usb
Registered led device: wrt350nv2:green:wireless
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
Distributed Switch Architecture driver version 0.1
eth0[0]: detected a Marvell 88E6131 switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
Freeing init memory: 96K
Please be patient, while OpenWrt loads ...
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
device lan2 entered promiscuous mode
device eth0 entered promiscuous mode
device lan1 entered promiscuous mode
device lan3 entered promiscuous mode
device lan4 entered promiscuous mode
lan4: link up, 100 Mb/s, full duplex, flow control disabled
br-lan: port 4(lan4) entering forwarding state
Generic kernel compatibility enabled based on linux-next next-20100113
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81 mem=0xc2a60000, irq=36
cfg80211: Calling CRDA for country: US
PPP generic driver version 2.4.2
cfg80211: Regulatory domain changed to country: US
 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
 (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
 (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (465 buckets, 1860 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
device wlan0 entered promiscuous mode
br-lan: port 5(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 5(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 5(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 5(wlan0) entering disabled state
cfg80211: Calling CRDA for country: FR
cfg80211: Regulatory domain changed to country: FR
 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
 (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
 (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
 (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
device wlan0 entered promiscuous mode
br-lan: port 5(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 5(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 5(wlan0) entering forwarding state

/proc/cpuinfo

Processor    : Feroceon rev 0 (v5l)
BogoMIPS    : 332.59
Features    : swp half fastmult edsp
CPU implementer    : 0x41
CPU architecture: 5TEJ
CPU variant    : 0x0
CPU part    : 0x926
CPU revision    : 0

Hardware    : Linksys WRT350N v2
Revision    : 0000
Serial        : 0000000000000000

/proc/meminfo

MemTotal:          29800 kB
MemFree:           12740 kB

/proc/partitions

major minor  #blocks  name

 31        0       1024 mtdblock0
 31        1       6464 mtdblock1
 31        2       5120 mtdblock2
 31        3        256 mtdblock3
 31        4        128 mtdblock4
 31        5        256 mtdblock5
 31        6         64 mtdblock6
 31        7       7488 mtdblock7

Comments are closed.

Copyright © 2024 Blog de Benoit Papillault ! All rights reserved. Theme by Laptop Geek.