OpenWrt Forum Archive

Topic: OpenWRT CC for AR9331 board - questions

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everybody!

I've several questions regarding OpenWRT itself and it's adaptation to AR9331 development board. I'm just a few weeks in Linux so please don't kick me too strong)
1 - is it possible to change the LAN ports order? I'm using a tp-link profile as a basis but it has a reverse ports numbering, i.e. LAN1=P4, LAN2=P3...
2 - I've made some mistake in 01_led, mach-xxx.c etc. and now there is no LEDs configuration created in etc/config/system file (it just the same like in wrt/package/base-files/files/etc/config). I don't know how to troubleshoot this problem, for me all modifications I've done are correct, GPIO - LEDs relations/triggers are working. As a workaround I'm using a manually created system config file in wrt/files/etc/config
3 - How to create a one-time executing script - I need to make some setup during the first boot.

OpenWRT guru, please help)
Thank you in advance!

Question 2 is closed (+ I found how to customize System LED)

The discussion might have continued from here.