This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user_guide:md_on_lede [2017/04/06 12:32] admin [Check out the code] |
user_guide:md_on_lede [2017/04/09 04:56] (current) admin [Preset for a certain model and server] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== Preparing the environment ===== | ===== Preparing the environment ===== | ||
- | * We assume you have a standard install of the Ubuntu 14.04 operating system. | + | * We assume you have a standard install of the Ubuntu 16.04 operating system. |
* You need to install certain required packages which the LEDE build environment needs to function correct. | * You need to install certain required packages which the LEDE build environment needs to function correct. | ||
<code bash> | <code bash> | ||
Line 217: | Line 217: | ||
option id_if 'eth0' | option id_if 'eth0' | ||
</code> | </code> | ||
+ | |||
+ | ==== Preset for a certain model and server ==== | ||
+ | * Should you wish to already have the firmware setup when you flash it (As needed for Over The Air OTA upgrades) check the following additional items. | ||
+ | * Specify the server it is pointing to | ||
+ | <code bash> | ||
+ | vi ./package/zzz-MESHdesk/files/MESHdesk/meshdesk | ||
+ | </code> | ||
+ | * Under **internet1** the value of **ip** | ||
+ | * Under **settings** the value of **hardware** should specify the correct value of the model you use. Available options are in the same file. | ||
+ | * Then you need to specify a system config file to define the LED we will use to indicate the mesh traffic | ||
+ | <code bash> | ||
+ | vi ./files/etc/config/system | ||
+ | </code> | ||
+ | * Use this as a reference. | ||
+ | <code bash> | ||
+ | config system | ||
+ | option ttylogin '0' | ||
+ | option log_size '64' | ||
+ | option urandom_seed '0' | ||
+ | option timezone 'SAST-2' | ||
+ | option hostname '505' | ||
+ | |||
+ | config timeserver 'ntp' | ||
+ | option enabled '1' | ||
+ | option enable_server '0' | ||
+ | list server '0.lede.pool.ntp.org' | ||
+ | list server '1.lede.pool.ntp.org' | ||
+ | list server '2.lede.pool.ntp.org' | ||
+ | list server '3.lede.pool.ntp.org' | ||
+ | |||
+ | config led 'wifi_led' | ||
+ | option name 'wifi' | ||
+ | option trigger 'netdev' | ||
+ | option dev 'bat0' | ||
+ | option mode 'link tx rx' | ||
+ | option sysfs 'zbt-wa05:blue:air' | ||
+ | |||
+ | </code> | ||
+ | |||
* Now the tweaks are completed we can select the packages to include. | * Now the tweaks are completed we can select the packages to include. | ||
Line 271: | Line 310: | ||
| **Kernel modules -> USB support -> kmod-usb2** | Required for USB support in device | | | **Kernel modules -> USB support -> kmod-usb2** | Required for USB support in device | | ||
| **Utilities -> usb-modeswitch** | Required to switch the mode of the USB stick from storage to modem | | | **Utilities -> usb-modeswitch** | Required to switch the mode of the USB stick from storage to modem | | ||
+ | |||
+ | |||
+ | |||
+ | ==== Atheros based 802.11AC ==== | ||
+ | |||
+ | * If you build firmware for hardware that includes the **ATH10K** driver, be sure to also include the binary blob firmware package. | ||
+ | * The following table can be uses as a reference | ||
+ | |||
+ | ^ Hardware ^ Firmware Package ^ | ||
+ | | Yuncore XD3200 | ath10k-firmware-qca988x | | ||