GL-MT300A What to install on trunk DD

As trunk is very minimal, here is list, what I do install:

1. Before extroot:

opkg install kmod-rt2800-usb

[ 1782.369777] usbcore: registered new interface driver rt2800usb

opkg install kmod-sdhci-mt7620
[ 1832.552022] sdhci: Secure Digital Host Controller Interface driver
[ 1832.558421] sdhci: Copyright(c) Pierre Ossman
[ 1832.571182] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1832.663951] MTK MSDC device init.
[ 1832.681538] mtk-sd: MediaTek MT6575 MSDC Driver
[ 1832.899725] mmc0: new high speed SDHC card at address 0007
[ 1832.905767] mmcblk mmc0:0007: no of_node; not parsing pinctrl DT
[ 1832.943689] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[ 1832.950744]  mmcblk0: p1 p2

# Fix for postinst package
root@OpenWrt:/usr/lib/opkg/info# cat kmod-sdhci.postinst-pkg
#!/bin/sh
[ -z "$IPKG_INSTROOT" ] || exit 0
. /lib/functions.sh

insert_modules sdhci #sdhci-pltfm


opkg install blkid



opkg install kmod-usb-storage

[  288.446755] SCSI subsystem initialized
[  288.550476] usbcore: registered new interface driver usb-storage



opkg install fdisk
opkg install kmod-fs-ext4
opkg install e2fsprogs
opkg install opkg

install kmod-usb-storage-extras
opkg install block-mount

2. extroot...
root@OpenWrt:~# dd if=/dev/zero of=/dev/mmcblk0

root@OpenWrt:~# fdisk /dev/mmcblk0
[  486.210189]  mmcblk0: p1 p2




3. After extroot:
opkg install nmap
opkg install samba36-client samba36-server

opkg install diffutils
opkg install curl
opkg install ca-certificates

opkg install nano
opkg install mc

opkg install 6in4
[  938.671923] sit: IPv6 over IPv4 tunneling driver




Comments

Popular posts from this blog

Hardening OpenWRT - adding non-root user account

Dropbear SSH keys and autossh on OpenWRT

SSH Tunel with OpenWRT