Projecte

General

Perfil

Actions

Error #361

tancat

TL WR-842ND-v2: The default flash has wan and lan swapped.

Afegit per Roger Pueyo Centelles fa casi 9 anys. Actualitzat fa més de 8 anys.

Estat:
Tancat
Prioritat:
Baixa
Categoria:
Devices
Versió prevista:
-
Inici:
25-05-2015
Data de venciment:
% realitzat:

0%

Temps previst:
Temps invertit:

Descripció

I got an image built for the WR-842ND-v2 and so far we are good. Hopefully I can get some time to submit a patch to setup the eth0 and eth1 correctly. The default flash has wan and lan swapped. Eth0 is wan and Eth1 is lan.

Dan

Actions #1

Actualitzat per Roger Pueyo Centelles fa més de 8 anys

  • Estat ha canviat de Nou a Resolt

See commit 10990f41. Added a hook for this device setting the default eth0 and eth1 roles as wan and lan, respectively.

Actions #2

Actualitzat per Roger Pueyo Centelles fa més de 8 anys

  • Estat ha canviat de Resolt a Tancat
Actions #3

Actualitzat per Roger Pueyo Centelles fa més de 8 anys

I found an error in this file:

https://github.com/routek/qMp/blob/testing/packages/qmp-system/files/etc/qmp/hooks/scripts/tl-wr842n-v2.sh

#!/bin/sh
  1. Stage = [birth|firstboot|anyboot|preconf|postconf]
    STAGE="$1"

[ "$STAGE" == "birth" ] && {
echo "Configuring network for TL-WR842N[D]-v2"
uci set qmp.interfaces.lan_devices="eth1"
uci set qmp.interfaces.lan_devices="eth0"
uci commit qmp
}

uci set qmp.interfaces.lan_devices="eth0" should be uci set qmp.interfaces.wan_devices="eth0"

This relates to issue #361.

Dan

Actions

També disponible a: Atom PDF