This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_guide:md_on_lede [2016/11/22 09:33] – [Default mode] admin | user_guide:md_on_lede [2017/04/09 04:56] (current) – [Preset for a certain model and server] admin | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Preparing the environment ===== | ===== Preparing the environment ===== | ||
- | * We assume you have a standard install of the Ubuntu | + | * We assume you have a standard install of the Ubuntu |
* 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 21: | Line 21: | ||
===== Check out the code ===== | ===== Check out the code ===== | ||
- | * Since there is not a stable | + | * We will use the **17.0.1 release** of LEDE which is the first stable release |
+ | |||
+ | <WRAP center round tip 100%> | ||
+ | * Please note that we use the **release 17.0.1** and not the **lede-17.01 | ||
+ | * Refer to this URL for the different releases and branches: https:// | ||
+ | </ | ||
<code bash> | <code bash> | ||
cd ~ | cd ~ | ||
Line 27: | Line 33: | ||
cd lede | cd lede | ||
git clone https:// | git clone https:// | ||
+ | #To see the tags (releases) | ||
+ | git fetch --tags | ||
+ | git tag -l | ||
+ | #Checkout the 17.0.1 release | ||
+ | git checkout v17.01.0 | ||
</ | </ | ||
- | * This will create a folder called **source** where the build environemnt | + | * This will create a folder called **source** where the build environment |
- | <WRAP center round tip 90%> | + | <WRAP center round tip 100%> |
- | * Should you wish to update an existing checked out source, use the following command: | + | <wrap em>Please refrain from using the current development branch or even the **lede-17.01** branch since something in that code breaks the Batman-adv mesh in the MESHdesk firmware making it useless.</wrap> |
- | <code bash> | + | |
- | cd ~ | + | |
- | cd lede/source | + | |
- | git pull | + | |
- | </code> | + | |
</ | </ | ||
Line 211: | Line 217: | ||
option id_if ' | option id_if ' | ||
</ | </ | ||
+ | |||
+ | ==== 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 ./ | ||
+ | </ | ||
+ | * 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 ./ | ||
+ | </ | ||
+ | * Use this as a reference. | ||
+ | <code bash> | ||
+ | config system | ||
+ | option ttylogin ' | ||
+ | option log_size ' | ||
+ | option urandom_seed ' | ||
+ | option timezone ' | ||
+ | option hostname ' | ||
+ | |||
+ | config timeserver ' | ||
+ | option enabled ' | ||
+ | option enable_server ' | ||
+ | list server ' | ||
+ | list server ' | ||
+ | list server ' | ||
+ | list server ' | ||
+ | |||
+ | config led ' | ||
+ | option name ' | ||
+ | option trigger ' | ||
+ | option dev ' | ||
+ | option mode 'link tx rx' | ||
+ | option sysfs ' | ||
+ | |||
+ | </ | ||
+ | |||
* 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 265: | 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 | ||
+ | | Yuncore XD3200 | ||