Again, I've taken advantage of WIP day to get help from GLP.  I'm trying 
to pay back by noting problems.

Last WIP day, I installed x-wrt 7.07 on my WR850g.  I found and
reported some problems.

Still not fixed: diag.c does not properly identify this router, even
though it tries.  I've posted a fix for this but I've not noticed any
action.

  https://dev.openwrt.org/ticket/1936

==> Could someone commit the change I suggested near the end of that
    ticket?


My router treated LAN port 4 as if it were the WAN port and the WAN
port as if it were a LAN port.  This is because /etc/config/network
had a couple of lines wrong:
WRONG:
    config switch eth0
            option vlan0        "1 2 3 4 5*"
            option vlan1        "0 5"
RIGHT:
    config switch eth0
            option vlan0        "0 1 2 3 5*"
            option vlan1        "4 5"
This was not easy for a newbie to figure out, but working backwards
from the configuration, you can imagine the symptoms.

I don't know why this configuration was set up incorrectly.  In particular, 
when I
installed 7.09 (see later) this problem did not reappear.


Since diag.c had a bug, I decided to work around it by setting an
nvram variable:
        nvram set MOTO_BOARD_TYPE=WR_FEM1
        nvram commit
This variable is not normally set on my model; I hope that no bad side
effects result.

Notice the nvram commit.  I did not know this was necessary or
possible so I had a few confusing set-reboot cycles where the variable
was unset after each reboot.

==> The nvram command's usage string should list "commit" as an
    option.  https://dev.openwrt.org/ticket/2613

Now, on rebooting, /proc/diag/model is correct.


I was ready to install 7.09.  The wiki page is unclear but it seems
that openwrt cannot accept the wr850 binary distributed by x-wrt (or,
I assume, OpenWRT).  A header, needed by the Motorola firmware flasher
must be removed for the OpenWRT flasher.

I used the new, improved motorola-bin --strip command.  This was
checked in last week but I had a copy since I was the one who made
added this feature.

I've worked on the wiki page for this router:
  http://wiki.openwrt.org/OpenWrtDocs/Hardware/Motorola/WR850G

When I installed, I removed the WAN connection.  I was not sure which
port it should be in after installation.  It turned out that it should
be in the WAN port!

I looked in /etc/config/network, and it was as I thought it should be.
But I'm not sure why.  I had left the original one in
/etc/config/netowrk.ORIG and that was gone.  So I'm guessing that
with diag correctly setting /proc/diag/model, the installer got
/etc/config/network right.  But maybe it reserved my version.

==> determine if fixing diag.c fixes swapping of WLAN and VLAN4 ports.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to