Under construction
DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware. The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware. If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware. |
Translation(s): none
Contents
Models covered
Xiaomi ?MiWifi mini
?MiWifi !Mini, ?MediaTek MT7620A (includes wifi b/n chip) MIPS SoC 580 MHz, RAM 128MB, Wi-Fi 802.11ac (?MediaTek MT7612), Flash 16MB, 100MiB Ethernet.
Overall Status
Core Components |
||
Boot Standard Kernel: |
|
|
Ethernet interface (): |
|
|
Hard drives: |
USB drives ok |
|
Extra Features |
||
Ethernet switch () |
|
|
WLAN interface Wi-Fi 802.11ac (?MediaTek MT7612) |
|
|
WLAN interface Wi-Fi 802.11b/g (?MediaTek MT7620A) |
|
|
Serial console (you have to solder it) |
|
|
LEDs |
|
Legend :
= OK ;
Unsupported(No Driver) ;
= Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
= Configuration Required;
= Only works with a non-free driver and or firmware
Important Note
This Debian installation is based on the OpenWRT kernel and it's modified init system. You may note this article, but it uses old version of ?OpenWrt(without procd). That's the reason you need to modify init program to spawn debian init instead of procd. Install OpenWRT on your router and make sure it works before attempting to install Debian. A working and configured OpenWRT system on the internal flash also works as a backup. If the USB drive containing the rootfs breaks, you will lose your Debian server, but at least the network routing still works with OpenWRT. Remember backups.
Installation
Build a custom OpenWRT image
Tweaking init
Creating config
Build
Flash image
Use open wrt guide.
OpenWRT extroot configuration
Set up the external root FS in OpenWRT. The configuration file /etc/config/fstab should have this kind of section: config mount
option target '/'
option fstype 'ext4'
option options 'rw,sync'
option enabled '1'
option enabled_fsck '0'
option device '/dev/sda1'
Create debian rootfs
Configure debian rootfs
WiFi
System Summary
lspci
lspci -nn
lsusb
lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Resources
Attachments
Some configuration files and sample outputs.
Useful Links
Credits