Netgear WNR3500L v2

Netgear WNR3500L v2

  • model: Netgear WNR3500L v2
  • band: 2.4 GHz
  • performance: N300 - 300 Mbps
  • security: WPA, WPA2-PSK
  • cpu: BCM5357 @ 480MHz, MIPS 74k
  • memory: 128 MB RAM
  • storage: 128 MB nand flash
  • radios: 1
  • antennas: 2 x internal
  • ethernet: 5 ports (4 x LAN, 1 x WAN) - Gigabit,
  • usb: 1 x usb 2.0 port
  • power: 12 V DC (center positive), 1.5A

back to network page.

Links

www.myopenrouter.com, DD-WRT wiki: wl_command, myopenrouter.com - WNR3500 identify, WNR3500Lv2 debrick, WNR3500Lv2 install third party firmware, WNR3500L hard reset, OpenWRT Netgear WNR3500L,

alternative firmware: Tomato by Shibby, FreshTomato,

History

2024-01-09: I see (in Home Assistant logs) that it has trouble connectint to the Mill heaters, so I reboot this AP.

2024-01-07: checked the AP via web gui and ssh, it still responds

tingo@kg-core2:~ $ ssh root@kg-wnr
root@kg-wnr3500l.kg4.no's password: 


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ======================================================== 
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  16:59:25 up 340 days,  6:32
 Load average: 0.04, 0.04, 0.00
 Mem usage: 17.5% (used 21.68 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  - 
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ======================================================== 

uptime is 340 days now.

2023-01-29: checked the AP (via web gui) today to see if it was working, it appears to be. No need for a restart yet.

2022-10-29: tested the suspect psu with the other WNR3500L. Yup, the psu is broken.

2022-10-29: the power supply had given up. It still shows 12V with no load, but it is suspect. I replaced it with one from another WNR3500L. And the AP is back up again

tingo@kg-core2:/zt/t2/work/home_assistant/esphome/20211229_sensor_nodemcu $ ssh root@kg-wnr
root@kg-wnr3500l.kg4.no's password: 


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ======================================================== 
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  16:47:31 up 3 min
 Load average: 0.16, 0.30, 0.14
 Mem usage: 17.2% (used 21.28 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  - 
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ======================================================== 

ports

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled gigabit
Port 0:   DOWN enabled stp: none vlan: 2 jumbo: off mac: 00:00:00:00:00:00
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: b4:2e:99:1f:c5:a7
Port 2:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 74:44:01:36:4b:68

good.

2022-07-02: check uptime

tingo@kg-core2:~ $ ssh root@kg-wnr
root@kg-wnr3500l.kg4.no's password: 


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ======================================================== 
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  11:38:20 up 194 days, 15:15
 Load average: 0.16, 0.09, 0.01
 Mem usage: 17.4% (used 21.52 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  - 
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ======================================================== 

normal, check ports

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled gigabit
Port 0:   DOWN enabled stp: none vlan: 2 jumbo: off mac: 00:00:00:00:00:00
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: b4:2e:99:1f:c5:a7
Port 2:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 74:44:01:36:4b:68

uplink port is gigabuit speed - good.

2021-12-15: I restarted the AP because some devices complained that they couldn't get online.

2021-10-14: check uptime

tingo@kg-core2$ ssh root@kg-wnr
root@kg-wnr3500l.kg4.no's password: 


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ======================================================== 
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  19:52:56 up 47 days, 23:52
 Load average: 0.01, 0.04, 0.00
 Mem usage: 17.4% (used 21.54 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  - 
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ======================================================== 

normal, check ports

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled gigabit
Port 0:   DOWN enabled stp: none vlan: 2 jumbo: off mac: 00:00:00:00:00:00
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: b4:2e:99:1f:c5:a7
Port 2:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 74:44:01:36:4b:68

now, that is nice.

2021-08-20: the ethernet port is still 100hd

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled 
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: b4:2e:99:1f:c5:a7
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68

unplug and replug, does it help? Nope, still 100hd. Oh well.

2021-07-07: the AP has been up for 145 days.

root@kg-wnr:/tmp/home/root# mymotd
 ======================================================== 
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  16:42:36 up 145 days, 22:06
 Load average: 0.01, 0.02, 0.00
 Mem usage: 17.4% (used 21.57 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  - 
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ======================================================== 

Some of my devices have trouble connecting, so I reboot the AP from the web gui. Needed two tries: om the first try it didn't reboot for some reason.

2021-07-07: I re-created this page on my self-hosted web server.

2020-12-08: reboot - I rebooted the AP.

2020-03-27: moved to channel 10:

root@kg-wnr:/tmp/home/root# mymotd
 ========================================================
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  01:30:13 up 122 days, 13:57
 Load average: 0.91, 0.25, 0.07
 Mem usage: 17.3% (used 21.45 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  -
 WL0 : 2,4GHz @ kg4 @ channel: NO10 @ 74:44:01:36:4B:6A
 ========================================================

status

root@kg-wnr:/tmp/home/root# wl status
SSID: "kg4"
Mode: Managed    RSSI: 0 dBm    SNR: 0 dB    noise: -87 dBm    Channel: 10u
BSSID: 74:44:01:36:4B:6A    Capability: ESS ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
802.11N Capable:
    Chanspec: 2.4GHz channel 8 40MHz (0x2e08)
    Control channel: 10
    802.11N Capabilities:
    Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 32 ]

ok

2020-03-27: checking the AP

tingo@kg-core2$ ssh root@kg-wnr
root@kg-wnr3500l.kg4.no's password:


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ========================================================
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  01:20:59 up 122 days, 13:48
 Load average: 0.01, 0.02, 0.00
 Mem usage: 17.4% (used 21.59 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  -
 WL0 : 2,4GHz @ kg4 @ channel: NO5 @ 74:44:01:36:4B:6A
 ========================================================

that login thing is just mymotd in .profile:

root@kg-wnr:/tmp/home/root# more .profile
/usr/sbin/mymotd

and

root@kg-wnr:/tmp/home/root# mymotd
 ========================================================
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  01:21:53 up 122 days, 13:49
 Load average: 0.04, 0.03, 0.00
 Mem usage: 17.4% (used 21.55 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  -
 WL0 : 2,4GHz @ kg4 @ channel: NO5 @ 74:44:01:36:4B:6A
 ========================================================

check ports

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled gigabit
Port 0:   DOWN enabled stp: none vlan: 2 jumbo: off mac: 00:00:00:00:00:00
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: b4:2e:99:1f:c5:a7
Port 2:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 74:44:01:36:4b:68

good.

2019-09-20: upgraded to Tomato by shibby release 140 (tomato-Netgear-3500Lv2-K26USB-1.28.RT-N5x--140-AIO.chk) by uploading the file in Administration, Upgrade. New login

tingo@z30b:~$ ssh root@kg-wnr
root@kg-wnr's password:


Tomato v1.28.0000 MIPSR2-140 K26 USB AIO
 ========================================================
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  22:08:08 up 1 min
 Load average: 1.22, 0.48, 0.17
 Mem usage: 17.4% (used 21.49 of 123.77 MB)
 LAN1 : 10.1.10.12/16 @ DHCP:  -
 WL0 : 2,4GHz @ kg4 @ channel: NO5 @ 74:44:01:36:4B:6A
 ========================================================

but ethernet port is still 100hd. oh well

root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: e4:f8:9c:50:6f:2c
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68

ok

2019-09-20: the AP was showing 100 half duplex on the ethernet network port, so I rebootet the AP. Nope, still shows 100HD

root@kg-wnr:/tmp/home/root# robocfg show
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: e4:f8:9c:50:6f:2c
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68
VLANs: BCM5325/535x enabled mac_check mac_hash

try to unplug and re-plug the cable - didn't help. Try to change via robocfg

root@kg-wnr:/tmp/home/root# robocfg port 1 media 100fd
root@kg-wnr:/tmp/home/root# robocfg showports
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: e4:f8:9c:50:6f:2c
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68

don't work either. Doesn't look like this router understands Gigabit:

root@kg-wnr:/tmp/home/root# robocfg port 1 media 1000fd
Invalid media '1000fd'.
root@kg-wnr:/tmp/home/root# robocfg port 1 media 1000hd
Invalid media '1000hd'.

just give up.

2018-08-08: OpenWRT 18.06.0 supports the WNR3500L v2. Unfortunately, wireless 2.4 GHz is not supported, which makes it pointless to run OpenWRT on it for a Wi-Fi access point.

2017-08-05: LEDE 17.01.2 supports the WNR3500L v2, even if OpenWRT didn't have support: https://wiki.openwrt.org/toh/netgear/wnr3500l. Messages in the LEDE forum indicates that LEDE isn't working on this router.

2016-09-25: switch - port 1 is still 100HD (half duplex). Perhaps I should replace the cable.

root@kg-wnr:/tmp/home/root# robocfg show
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: 50:46:5d:8b:a2:ea
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68

ok.

2016-09-25: nvram - the web gui now says (under Administration, Configuration):

Total / Free NVRAM:32.00 KB / 9804 (29.92%)

nice. And from cmd line:

root@kg-wnr:/tmp/home/root# nvram show | tail -1
1076 entries, 22945 bytes used, 9823 bytes free.

ok.

2016-09-25: ssh access looks a bit different now:

tingo@kg-core1$ ssg root@kg-wnr
Warning: Permanently added 'kg-wnr3500l.kg4.no' (RSA) to the list of known hosts.
root@kg-wnr3500l.kg4.no's password:


Tomato v1.28.0000 MIPSR2-123 K26 USB AIO
 ========================================================
 Welcome to the Netgear WNR3500L v2 [TomatoUSB]
 Uptime:  19:47:20 up 11 min
 Load average: 0.02, 0.08, 0.07
 Mem usage: 16.7% (used 20.65 of 123.77 MB)
 WAN : 0.0.0.0/0 @ 74:44:01:36:4B:69
 LAN : 10.1.10.12/16 @ DHCP:  -
 WL0 : kg4 @ channel: NO6 @ 74:44:01:36:4B:6A
 ========================================================

root@kg-wnr:/tmp/home/root#

it is nice to have this info available when you log in via ssh.

2016-09-25: default - reconfigure - I noticed that the router had 0 (zero) nvram bytes free, so I took the recommeded action, I cleared to default values and configured up the router (sorry, access point) manually again. Yes, this required connecting it with a cable to a laptop (default settings include the 192.168.1.1 ip address too).

2016-09-25: the brctl (bridge control) command:

root@RT-744401364B68:/tmp/home/root# brctl show
bridge name    bridge id        STP enabled    interfaces
br0        8000.744401364b68    yes        vlan1
                            eth1

show MAC list

root@RT-744401364B68:/tmp/home/root# brctl showmacs br0
port no    mac addr        is local?    ageing timer
  1    00:04:20:12:92:e6    no          16.52
  1    00:04:20:18:20:31    no          41.47
  1    00:04:20:1b:ec:99    no          15.41
  1    00:18:dd:41:02:b7    no           7.08
  1    02:d2:06:42:73:cf    no          40.08
  1    08:60:6e:81:a4:82    no         234.79
  1    28:28:5d:a0:e2:30    no           1.79
  1    30:85:a9:eb:f2:a2    no         282.13
  1    50:46:5d:8b:a2:ea    no           0.01
  2    50:56:a8:03:04:66    no          50.88
  1    50:67:f0:5e:50:ba    no           0.39
  1    50:67:f0:5e:53:56    no           0.55
  2    60:fe:1e:41:16:71    no           2.10
  1    6c:ad:f8:8c:3b:41    no           4.39
  2    74:44:01:36:4b:68    yes           0.00
  1    74:44:01:36:4b:69    yes           0.00
  1    80:ee:73:60:61:0c    no           2.15
  1    94:de:80:be:0b:a4    no          13.83
  1    b0:b2:dc:03:83:c4    no           1.94
  1    b0:b2:dc:03:86:70    no           0.56
  1    b0:b2:dc:e3:c5:f9    no           0.17
  1    b8:27:eb:67:29:4b    no           0.86
  1    e4:f8:9c:50:6f:2c    no          17.00
  2    f4:b8:5e:ca:3d:a9    no          24.71

nice.

2016-09-25: the 'ip' command:

root@RT-744401364B68:/tmp/home/root# ip link
1: lo: <LOOPBACK,MULTICAST,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,ALLMULTI,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
7: imq0: <NOARP> mtu 1500 qdisc noop qlen 30
    link/void
8: imq1: <NOARP> mtu 1500 qdisc noop qlen 30
    link/void
12: vlan1@eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
    link/ether 74:44:01:36:4b:69 brd ff:ff:ff:ff:ff:ff
13: vlan2@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
14: br0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
root@RT-744401364B68:/tmp/home/root# ip addr
1: lo: <LOOPBACK,MULTICAST,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,ALLMULTI,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
7: imq0: <NOARP> mtu 1500 qdisc noop qlen 30
    link/void
8: imq1: <NOARP> mtu 1500 qdisc noop qlen 30
    link/void
12: vlan1@eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
    link/ether 74:44:01:36:4b:69 brd ff:ff:ff:ff:ff:ff
13: vlan2@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
14: br0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
    link/ether 74:44:01:36:4b:68 brd ff:ff:ff:ff:ff:ff
    inet 10.1.10.12/16 brd 10.1.255.255 scope global br0

ok.

2016-09-25: the robocfg command can be used to show and manage switch status:

root@RT-744401364B68:/tmp/home/root# robocfg show
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: 50:46:5d:8b:a2:ea
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68
VLANs: BCM5325/535x enabled mac_check mac_hash

can I change port 1 to 100FD?

root@RT-744401364B68:/tmp/home/root# robocfg port 1 media 100FD

did it work?

root@RT-744401364B68:/tmp/home/root# robocfg show
Switch: enabled
Port 0:   DOWN enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
Port 1:  100HD enabled stp: none vlan: 1 mac: 50:46:5d:8b:a2:ea
Port 2:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5:   10HD enabled stp: none vlan: 1 mac: 74:44:01:36:4b:68
VLANs: BCM5325/535x enabled mac_check mac_hash

nope. commands

root@RT-744401364B68:/tmp/home/root# robocfg
Broadcom BCM5325/535x/536x/5311x switch configuration utility
Copyright (C) 2005-2008 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright (C) 2005 Dmitry 'dimss' Ivanov of "Telecentrs" (Riga, Latvia)

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Usage: robocfg <op> ... <op>
Operations are as below:
    show -- show current config
    showports -- show only port config
    showmacs -- show known MAC addresses
    switch <enable|disable>
    port <port_number> [state <enabled|rx_disabled|tx_disabled|disabled>]
        [stp none|disable|block|listen|learn|forward] [tag <vlan_tag>]
        [media auto|10HD|10FD|100HD|100FD|1000HD|1000FD] [mdi-x auto|on|off]
        [jumbo off|on]
    vlan <vlan_number> [ports <ports_list>]
    vlans <enable|disable|reset>

    ports_list should be one argument, space separated, quoted if needed,
    port number could be followed by 't' to leave packet vlan tagged (CPU
    port default) or by 'u' to untag packet (other ports default) before
    bringing it to the port, '*' is ignored

Samples:
1) ASUS WL-500g Deluxe stock config (eth0 is WAN, eth0.1 is LAN):
robocfg switch disable vlans enable reset vlan 0 ports "0 5u" vlan 1 ports "1 2 3 4 5t" port 0 state enabled stp none switch enable
2) WRT54g, WL-500g Deluxe OpenWRT config (vlan0 is LAN, vlan1 is WAN):
robocfg switch disable vlans enable reset vlan 0 ports "1 2 3 4 5t" vlan 1 ports "0 5t" port 0 state enabled stp none switch enable

good to know.

2016-09-25: what can the wl command show us?

root@RT-744401364B68:/tmp/home/root# wl status
SSID: "kg4"
Mode: Managed    RSSI: 0 dBm    SNR: 0 dB    noise: -87 dBm    Channel: 6
BSSID: 74:44:01:36:4B:68    Capability: ESS ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5 6 9 11 12 18 24 36 48 54 ]
802.11N Capable:
    Chanspec: 2.4GHz channel 6 20MHz (0x2b06)
    Control channel: 6
    802.11N Capabilities:
    Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]

same as "assoc":

root@RT-744401364B68:/tmp/home/root# wl assoc
SSID: "kg4"
Mode: Managed    RSSI: 0 dBm    SNR: 0 dB    noise: -89 dBm    Channel: 6
BSSID: 74:44:01:36:4B:68    Capability: ESS ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5 6 9 11 12 18 24 36 48 54 ]
802.11N Capable:
    Chanspec: 2.4GHz channel 6 20MHz (0x2b06)
    Control channel: 6
    802.11N Capabilities:
    Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]

band info

root@RT-744401364B68:/tmp/home/root# wl band
b
root@RT-744401364B68:/tmp/home/root# wl bands
b

there is only one band - "b". capabilities

root@RT-744401364B68:/tmp/home/root# wl cap
ap sta wet mac_spoof led wme pio 802.11d 802.11h rm cqa mbss16 afterburner ampdu amsdurx amsdutx wmf rxchain_pwrsave radio_pwrsave bcm_dcs

channel info

root@RT-744401364B68:/tmp/home/root# wl channel
No scan in progress.
current mac channel    6
target channel    6

driver info

root@RT-744401364B68:/tmp/home/root# wl dump
wl0: Jan 23 2013 14:32:57 version 5.110.27.20012

resets 7
perm_etheraddr 74:44:01:36:4b:68 cur_etheraddr 74:44:01:36:4b:68
board 0x52b, board rev 0.2
rate_override: A 0, B 0
ant_rx_ovr 3 txant 3

BSS Config 0: "kg4"
enable 1 up 1 wlif 0x00000000 "eth1"
wsec 0x4 auth 0 wsec_index 2 wep_algo 4
current_bss->BSSID 74:44:01:36:4b:68
current_bss->SSID ""

AS_IN_PROGRESS() 0 stas_associated 0
aps_associated 1
BSSID 74:44:01:36:4b:68

channel list

root@RT-744401364B68:/tmp/home/root# wl chanlist
chanlist
    Deprecated. Use channels.

root@RT-744401364B68:/tmp/home/root# wl channels
1 2 3 4 5 6 7 8 9 10 11 12 13

current tx power settings

root@RT-744401364B68:/tmp/home/root# wl curpower
Power Control:         On, HW
Current channel:     6
BSS channel:         6
BSS Local Max:        20.0  dBm
BSS Local Constraint:     0.0  dB
User Target:        16.25 dBm
SROM antgain:         2G: 2.0 dB, 5G: 0.0 dB

Regulatory Limits:
CCK                    : 17.0
CCK CDD 1x2            :  0.0
CCK CDD 1x3            :  0.0
Legacy OFDM 20MHz SISO : 17.0
Legacy OFDM 20MHz CDD  : 17.0
MCS 0-7 20MHz SISO     : 16.0
MCS 0-7 20MHz CDD      : 13.0
MCS 0-7 20MHz STBC     : 13.0
MCS 8-15 20MHz SDM     : 13.0
Legacy OFDM 40MHz SISO : 16.0
Legacy OFDM 40MHz CDD  : 13.0
MCS 0-7 40MHz SISO     : 16.0
MCS 0-7 40MHz CDD      : 13.0
MCS 0-7 40MHz STBC     : 13.0
MCS 8-15 40MHz SDM     : 13.0
MCS 32                 : 16.0

Board Limits:
CCK                    :  0.0
CCK CDD 1x2            :  0.0
CCK CDD 1x3            :  0.0
Legacy OFDM 20MHz SISO : 61.50
Legacy OFDM 20MHz CDD  : 61.50
MCS 0-7 20MHz SISO     : 61.50
MCS 0-7 20MHz CDD      : 61.50
MCS 0-7 20MHz STBC     : 61.50
MCS 8-15 20MHz SDM     : 61.50
Legacy OFDM 40MHz SISO : 60.50
Legacy OFDM 40MHz CDD  : 60.50
MCS 0-7 40MHz SISO     : 60.50
MCS 0-7 40MHz CDD      : 60.50
MCS 0-7 40MHz STBC     : 60.50
MCS 8-15 40MHz SDM     : 60.50
MCS 32                 : 60.50

Power Target:
CCK                    :  8.0
CCK CDD 1x2            :  0.0
CCK CDD 1x3            :  0.0
Legacy OFDM 20MHz SISO : 14.50
Legacy OFDM 20MHz CDD  : 11.50
MCS 0-7 20MHz SISO     : 14.50
MCS 0-7 20MHz CDD      : 11.50
MCS 0-7 20MHz STBC     : 11.50
MCS 8-15 20MHz SDM     : 11.50
Legacy OFDM 40MHz SISO :  0.0
Legacy OFDM 40MHz CDD  :  0.0
MCS 0-7 40MHz SISO     :  0.0
MCS 0-7 40MHz CDD      :  0.0
MCS 0-7 40MHz STBC     :  0.0
MCS 8-15 40MHz SDM     :  0.0
MCS 32                 :  0.0

Maximum Power Target among all rates:    14.50  14.50 
Rate index with Maximum Power Target:    4     4    
Last adjusted est. power            :    0.0  7.75 

wow, long list G mode

root@RT-744401364B68:/tmp/home/root# wl gmode
54g Auto (1)
root@RT-744401364B68:/tmp/home/root# wl gmode_protection
0

is the interface up?

root@RT-744401364B68:/tmp/home/root# wl isup
1
yes (0 = down)

key

root@RT-744401364B68:/tmp/home/root# wl primary_key
Key 2 is primary

good to know hw revision info

root@RT-744401364B68:/tmp/home/root# wl revinfo
vendorid 0x14e4
deviceid 0x4329
radiorev 0x52057000
chipnum 0x5357
chiprev 0x1
chippackage 0xa
corerev 0x1c
boardid 0x52b
boardvendor 0x14e4
boardrev 0.2
driverrev 0x5648a89
ucoderev 0x2a30835
bus 0x0
phytype 0x4
phyrev 0x9
anarev 0x0

might be useful ssid

root@RT-744401364B68:/tmp/home/root# wl ssid
Current SSID: "kg4"

version info

root@RT-744401364B68:/tmp/home/root# wl ver
5.110 RC27.20012
wl0: Jan 23 2013 14:32:57 version 5.110.27.20012

WEP?

root@RT-744401364B68:/tmp/home/root# wl wepstatus
4

WET

root@RT-744401364B68:/tmp/home/root# wl wet
0

wireless security bit vector

root@RT-744401364B68:/tmp/home/root# wl wsec
4
(1 = WEP, 2 = TKIP, 4 = AES, 8 = WSEC in software)

hmm, shouldn't this be 6 for TKIP + AES? WPA authorization mode

root@RT-744401364B68:/tmp/home/root# wl wpa_auth
0x4 WPA-PSK

that one is correct at least. Other commands

root@RT-744401364B68:/tmp/home/root# wlconf
Usage: wlconf <ifname> up|down

nice.

2016-09-22: and after a power outage some days ago, the Password encryption problem re-appeared. On the overviev page, under Wireless, Security, it read: "WPA Personal (PSK) + undefined". After I changed it from "TKIP" to "TKIP/AES" Security (on the overview page) now reads: "WPA Personal (PSK) +AES". Now all I need to do is make this setting persistent.

2016-08-28: some time ago, I had discovered that devices had trouble connecting to this accesspoint. Today I figured out the cause, and fixed it. Password encryption was set to "TKIP", I changed it to "TKIP/AES" and now devices can connect again.

2014-12-23: test ssh login

tingo@kg-u35jc:~/work/u35jc$ ssh root@kg-wnr
root@kg-wnr's password:


Tomato v1.28.0000 MIPSR2-123 K26 USB AIO
root@RT-744401364B68:/tmp/home/root#

it works.

2014-12-23: configuration - first I added the required information to my dns server. Next, I configured the router (uh, sorry, access point) with ip address, netmask, gateway, dns server and disabled DHCP. testing verified that the WAN port doesn't work, even if it is bridged to br0 (lan ports).

2014-12-22: configuration - I disabled the WAN port and bridged it to LAN (br0), I set the wireless to access point, set my own ssid, set WPA2 /AES and my own shared key.

2014-12-22: upgrade firmware - I had already downloaded the needed file (tomato-Netgear-3500Lv2-K26USB-1.28.RT-N5x--123-AIO.chk). I go to advanced, administration, router upgrade. I select the file and press upload, confirm ("are you sure"), get a warning that the firmware is the same version (??) and ok that one too. After the reboot the router runs Tomato 1.28 by shibby. I set a password on the admin user.

2014-12-22: checking defaults: I connect the router (via ethernet cable) to a linux laptop, fire up a browser (Opera) and go to 192.168.1.1. After logging in (default username and password), I go to advanced. The router runs firmware V1.0.0.10_30.0.43,

2014-12-22: looking for firmware, it looks like there is a Tomato for this router: K26RT-N, nice.

2014-12-22: since my good old Linksys WRT54G died earlier this year, I've been looking for a new router. Well, I suddenly remembered that I had this one. Opening the package, it seems I never used it, I have labled the psu, but the router itself was still in plastic. Package contents:

1 x WNR3500L v2 (serial number: 2P611B7G02984)
1 x power adapter, 12 VDC @ 1.5 A, model: MV18-9120150-C5)
1 x plastic stand
1 x ethernet cable, yellow, 1m
1 x CD - "Reesource CD version 1.0"
1 x installation guide (paper, A5)

That's it.

2012-03-19: I picked up the package from Komplett.no at Sofienberg postkontor this evening.

2012-03-15: I ordered this router (with other stuff) from Komplett.no for NOK 699.-