This article software link:
https://www.aliyundrive.com/s/6S51nttUAZa
In this article, after searching various tutorials on the Internet, I wrote a tutorial that can be used for self-test 2023.8.10
Before installing debian
Brush: choose according to the portable wifi model, my model is UFI003
Buy the cheapest portable WiFi below 15 and you can start with Xianyu 4g15 free shipping
A small screwdriver, WiFi network environment, Windows computer
Environment preparation:
- Environmental software preparation
- 9008 driver
- Qualcomm + Premium + Tool + V2.4
- MIKO (system backup and restore tool)
- adb
- Debian system mirror
Text references include: Portable WIFI brushing real Linux (Debian) system with expansion dock as an ultra-low power server_Portable WIFI brushing debian_A blog of a big carrot-CSDN blog https://blog.csdn.net/qq_36724501/article/details/127716153
Portable WiFi410 board to brush Debian installation Qinglong panel + Goudong script the most detailed tutorial =”//i2.wp.com/csdnimg.cn/release/blog_editor_html/release2.3.5/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N6B9″>https://blog.csdn .net/2301_76795286/article/details/129489528
Back up the original system
Enter 9008 mode
Press and hold the button on the portable wifi and plug it into the computer. After plugging into the computer, you can hear the prompt sound or wait for 5 seconds before releasing the button.
Install 9008 driver
After the installation is complete, press and unplug the portable wifi again
At this time, the device will enter 9008 mode, enter the device manager to check whether there is a device with port 9008.
Right-click This PC and select Manage.
Check if there is a 9008 device
Backup with MIKO
After the device enters the 9008 mode, you can open the MIKO loading partition, as shown in the figure to click
Click Read Full Image, select a save location for backup, about 5 minutes, see Success means the backup is complete.
After the backup is complete, you need to format the system and reinstall the original package
Recovery Tutorial
As shown in the picture, click flash – emmc, double-click the data text part, and select the bin package of 003
Click on the flash to start flashing, pay attention to whether there is any error on the right side, if so, close other programs that occupy the port, re-plug and re-write
Scan with Qualcomm Premium Tool V2.4
Unzip the Qualcomm Premium Tool in the compressed package, click “Click this to register first!”
Click to get the registration code
Then save it in the default directory
Double-click to run Qualcomm Premium Tool.exe
Click help, and then click Activate to find the previously generated file (my name here is aaaa), and you can activate it after selection
According to experience, when entering 9008, most of the sticks will flash their lights, and after entering 9008, the lights of any sticks will not light up.
After confirming that port 9008 appears, click qualcomm→partittion
Scan→do job, this means to read the partition, the meaning of start
After the partition is successfully read, it will automatically jump to the backup option. After checking backup all, click do job.
Choose a location to back up your own 9008 partition files. Remember to backup, backup, backup before flashing
After the backup is complete, open DiskGenius to read the system file
open system
Select these two files and drag them to the desktop
Open two files and open them with notepad, both are in the 177th line field, adb
The steps for the two files are the same, drag them back to DiskGenius just now and replace them all
Replace here too
Open adb
There are many ways to open
The debian folder uses cmd
Press Enter to open the command line and enter these two commands adb devices adb reboot bootloader
After the input is complete, it will be displayed
The second no response
Flash debian
Pay attention to cover the cover when installing, the lights on the main board are flickering too dazzling
Double click on this bat file
Press Enter according to the prompt
until it shows all done
about 5 minutes
Replug and unplug after installation, no need to press the button on the motherboard
Configure debian and install docker Qinglong panel
At this point, a RNDIS location device will appear in the device manager
Right click on Update Driver – Browse My Computer to find
Click in and wait a few seconds to select the network adapter
Click to install the driver
click to confirm
After the installation is complete, the network adapter module has one more remote NDIS compatible device
A network will appear in the lower right corner of the computer
click in
See that the IP address gateway is 192.168.68.1
Use xshell or crt finashell
add a connection
The account number is root password is 1
Click to accept and save
debian network configuration
Enter nmtui and press Enter – click edit – bridge – move to wifi with arrow keys – delete
Confirm deletion – press the down arrow key to move down and click OK to return to the previous page to enable connection – wifi – select your own wifi and enter the password
After confirming, esc exits and returns to the command line
type ifconfig
Check the ip of wlan, and then you can use this ip for ssh connection. You don’t need to plug this portable wifi into your computer all the time at home
Ping baidu.com to confirm network connection
no problem
Update debian source and install
Modify the default software source:
sudo vi /etc/apt/sources.list
Alibaba Cloud mirror source
Paste in crtl shift c
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb https://mirrors.aliyun.com/debian-security/ bullseye-security main deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
Note that copying may have less head and tail, complete and delete useless text by yourself
Hit the i key to enter the insert mode, press the key combination ctrl + shift + v to paste the copied content into the source file, hit the esc key twice to enter the command mode, enter
:wq
Command difference in vi editor
:wq
: means save and exit:wq!
: Indicates forced save and exit:x
: means save and exit:q
: means exit in vim:q!
: Indicates that it is forced to exit without saving, and the file will not be saved
Go back to the command line and enter
sudo sed -i '1c deb http://mirrors.tuna.tsinghua.edu.cn/Adoptium/deb buster main' /etc/apt/sources.list.d/AdoptOpenJDK.list gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 843C48A565F8F04B sudo gpg --armor --export 843C48A565F8F04B | sudo apt-key add -
typing in
sudo sed -i '1c #deb http://repo.mobian-project.org/ bullseye main non-free' /etc/apt/sources.list.d/mobian.list
Update software sudo apt-get update sudo apt-get upgrade
System update and install curl
apt -y update & amp; & amp; apt -y install curl
Install Fast Os Docker (docker management panel)
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
docker domestic source
echo ‘{“registry-mirrors”: [“https://alzgoonw.mirror.aliyuncs.com”]}’ > /etc/docker/daemon.json
Update the configuration and restart, otherwise it will not take effect
input the command:
systemctl restart docker & amp; & amp; systemctl status docker & amp; & amp; reboot
Install Qinglong panel
docker run -dit \ --name QL \ --hostname QL\ --restart always \ -p 9999:5700\ -v $PWD/QL/config:/ql/config \ -v $PWD/QL/log:/ql/log \ -v $PWD/QL/db:/ql/db \ -v $PWD/QL/scripts:/ql/scripts\ -v $PWD/QL/jbot:/ql/jbot\ whyyour/qinglong:latest
Qinglong panel access address
192.168.68.1:9999 or 192.168.1.6:9999
The knowledge points of the article match the official knowledge files, and you can further learn relevant knowledge Cloud native entry skill treeHomepageOverview 14803 people are learning systematically