Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2018-03-21 21:18:54
Size: 5352
Comment:
Revision 5 as of 2018-03-21 21:32:17
Size: 5373
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
/!\ Under construction
Line 32: Line 33:
|| WLAN interface Wi-Fi 802.11ac (MediaTek MT7612) || {/!\} ||
|| WLAN interface Wi-Fi 802.11b/g (MediaTek MT7620A) || {/!\} ||
|| WLAN interface Wi-Fi 802.11ac (MediaTek MT7612) || /!\ ||
|| WLAN interface Wi-Fi 802.11b/g (MediaTek MT7620A) || /!\ ||
Line 58: Line 59:
# need to fix 'to' anchor, it's not reliable now ## need to fix 'to' anchor, it's not reliable now

/!\ 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

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

[ATTACH]

Boot Standard Kernel:

{X} / OpenWRT

Ethernet interface ():

{OK}

Hard drives:

USB drives ok

Extra Features

Ethernet switch ()

{OK}

WLAN interface Wi-Fi 802.11ac (?MediaTek MT7612)

/!\

WLAN interface Wi-Fi 802.11b/g (?MediaTek MT7620A)

/!\

Serial console (you have to solder it)

{OK}

LEDs

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = 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.

Credits



CategoryDebianOn CategoryDebianOn