[OpenWrt-Devel] AR9344 Openwrt - LAN and WAN interface link issue

Afkar Rafique afkar.ec at gmail.com
Wed Oct 28 21:31:58 EDT 2015


Hi Jow,

Thanks a lot for the reply. I have tried the switch command but getting
failed response as below:
root at openwrt:/# swconfig dev switch0 port 1 get link
failed
root at openwrt:/# swconfig dev switch0 port 2 get link
failed
root at openwrt:/# swconfig dev switch0 port 3 get link
failed
root at openwrt:/# swconfig dev switch0 port 4 get link
failed

Do i need to change the /etc/config/network file which i share in previous
mail.


One more thing, the switch command below both are same, then how will get
to know differentiate between WAN and LAN.
WAN:
swconfig dev switch0 port 1 get link

LAN:
swconfig dev switch0 port 1 get link

Could you please guide, as I newbie to this.

Regards,
Afkar


On Wed, Oct 28, 2015 at 11:29 PM, Jo-Philipp Wich <jow at openwrt.org> wrote:

> Hi Afkar,
>
> WAN:
>
> swconfig dev switch0 port 1 get link
>
> LAN:
>
> swconfig dev switch0 port 1 get link
> swconfig dev switch0 port 2 get link
> swconfig dev switch0 port 3 get link
> swconfig dev switch0 port 4 get link
>
>
> ~ Jow
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151029/6eda50d5/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list