### Install Project Dependencies Source: https://github.com/gl-inet/docs4.x/blob/master/README.md After activating the virtual environment, install all necessary project dependencies using pip. ```bash pip install -r requirements.txt ``` -------------------------------- ### Start Qlog Capture Source: https://github.com/gl-inet/docs4.x/blob/master/docs/en/docs/tutorials/get_module_logs.md Initiate qlog capture to the specified USB flash disk path. Ensure the path is correct for your device. ```bash qlog-ar9531-sha256-75fe8b -s /tmp/mountd/disk1_part1/qlogs_$(date +%Y%m%d%H%M) & ``` -------------------------------- ### Start Qlog Capture for MTK7981A Source: https://github.com/gl-inet/docs4.x/blob/master/docs/en/docs/tutorials/get_module_logs.md Start qlog capture for MTK7981A devices, specifying the configuration file and the output path on the USB flash disk. The '&' runs the command in the background. ```bash qlog-mtk7981a-sha256-78dda4 -f /etc/default_v15.cfg -s /tmp/mountd/disk1_part1/qlogs_$(date +%Y%m%d%H%M) & ``` -------------------------------- ### Install Material for MkDocs Source: https://github.com/gl-inet/docs4.x/blob/master/README.md Install the Material for MkDocs theme directly using pip if needed. ```bash pip install mkdocs-material ``` -------------------------------- ### Install Hide.me VPN Client on GL.iNet Router Source: https://github.com/gl-inet/docs4.x/blob/master/docs/en/docs/tutorials/how_to_get_configuration_files_from_wireguard_service_providers.md This command-line script installs the Hide.me VPN client on your GL.iNet router. It requires SSH access and will prompt for your Hide.me username and password. ```bash curl -fsSL https://raw.githubusercontent.com/eventure/hide.client.routers/master/glinet_v4/hidemevpn | sh -s install ``` -------------------------------- ### Serve MkDocs Documentation Locally Source: https://github.com/gl-inet/docs4.x/blob/master/README.md Run MkDocs to serve the documentation locally. Specify the configuration file for the desired language. ```bash mkdocs serve -f docs/en/mkdocs.yml ``` ```bash mkdocs serve -f docs/de/mkdocs.yml ``` ```bash mkdocs serve -f docs/es/mkdocs.yml ``` ```bash mkdocs serve -f docs/jp/mkdocs.yml ``` -------------------------------- ### Download Configuration and Qlog Tool for MTK7981A Source: https://github.com/gl-inet/docs4.x/blob/master/docs/en/docs/tutorials/get_module_logs.md Download the default configuration file and the qlog tool for MTK7981A devices from the GL.iNet server. Verify the SHA256 checksums. ```bash cd /etc/ && wget https://fw.gl-inet.com/tools/quectel_tool/default_v15.cfg ``` ```bash cd /usr/bin/ && wget https://fw.gl-inet.com/tools/quectel_tool/qlog-mtk7981a-sha256-78dda4 ``` ```bash chmod 775 qlog-mtk7981a-sha256-78dda4 && sha256sum qlog-mtk7981a-sha256-78dda4 && sha256sum /etc/default_v15.cfg ```