Commit Graph

17 Commits

Author SHA1 Message Date
John Crispin
bad57a30f6 ec420: fix generation of br-lan
OpenWrt does not allow bridges with no default interfaces.

Fixes: WIFI-756
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-17 08:27:38 +02:00
John Crispin
f8a2150f66 base-files: add the wlan-ap repo hash
currently the banner will show the revision of the build tree.
This patch adds the hash of the wlan-ap tree.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 08:28:44 +02:00
John Crispin
34897d13e1 Revert "opensync: populate Wifi_Route_State"
This reverts commit 42fc1965cd.

The commit was causing issues when updating NM2 state.

Fixes: WIFI-702
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 07:40:19 +02:00
John Crispin
42fc1965cd opensync: populate Wifi_Route_State
This populates the ipv4 routes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
f11c74f1aa ipq40xx: fix oap-110 mdio
The board support patch was missing the pinctrl for the mdio bus.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:16:29 +02:00
John Crispin
96416e59a5 ipq40xx: fix oap-110 bootargs
The board support patch was missing the boortargs-append line in the dts.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 15:36:08 +02:00
John Crispin
0c49d4ec3e ipq40xx: add edgecore OAP100
flashing the unit
* first update to latest edcore FW as per the PDF instructions
* boot the initramfs
  - tftpboot 0x88000000 openwrt-ipq40xx-generic-edgecore_oap100-initramfs-fit-uImage.itb; bootm
* inside the initramfs call the following commiands
  - ubiattach -p /dev/mtd0
  - ubirmvol /dev/ubi0 -n0
  - ubirmvol /dev/ubi0 -n1
  - ubirmvol /dev/ubi0 -n2
* scp the sysupgrade image to the board and call
  - sysupgrade -n openwrt-ipq40xx-generic-edgecore_oap100-squashfs-nand-sysupgrade.bin

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-08 12:37:10 +02:00
John Crispin
a2187f5a8c base-files: default passwd
ttylogin was open when hitting enter really early in the boot.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 11:54:21 +02:00
John Crispin
f2ad970ed9 base-files: update banner
Use OpenWiFi as the banner text.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-01 10:19:34 +02:00
John Crispin
ef59c4c6e4 opensync: add netifd manager
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-31 14:12:11 +02:00
John Crispin
082c895c34 base-files: set default password to "openwifi"
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-30 16:52:01 +02:00
Rick Sommerville
6a6cb55ff0 opensync: Support Multi-SSID per radio. Support radioX -> wlanX-Y naming convention.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-07-30 07:55:38 +02:00
John Crispin
a98b0eac77 ecw5211: make the board use the unified opensync target
Drop the vendor specific target. Also fix ct-fwcfg for this board.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
John Crispin
43573f67e8 opensync: stop and disable the webserver
Once the AP connected to the cloud for the first time we wait 5 minutes.
Once that period is over we stop and disable the webserver. It is only
intended for initial WAN bringup during deployment.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
John Crispin
63dd655ea4 tplkin/ec420: add board support
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-22 14:58:04 +02:00
John Crispin
d8091386bf opensync: update to 2.0.5.0
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00
John Crispin
ae51caf8a5 wlan-ap: initial import
based on the develop branch -> 6af07cd39cfa06ec8eb4d6182c7d7923236c2dbf

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-01 15:35:04 +02:00