叁·分

又一个个人知识库

用户工具

站点工具


侧边栏

法律

杂技


本站作者尽量保证资料更新, 勘误请反馈

tech-notes:start

技术便笺

因为我很懒,就直接把列标放上来好了….

Homelab Setup

设备换代,闲置一台 NUC 10。藉此学习搭设域控和 VDI。

→ 阅读更多...

 

好用的 Windows 工具

分析磁盘占用:SpaceSniffer
可以分析哪些文件占据了C盘并删掉他们!
磁盘分区:MiniTool Partition Wizard Free
现在一般都不太需要给一块硬盘分多个区了,所以如果预装的电脑有多个分区的话,可以用这个工具把所有分区合并为一个。
 

OpenWRT for Linksys WRT1900ACS

Some thoughts for later use.

You might take a look at: https://divested.dev/unofficial-openwrt-builds/mvebu-linksys/ 38

David told us to go forward over a year ago and I’ve stuck with this since it arrived.

Straight forward how-to and a great video step by step process on how to build yourself.

I’ve got pretty well exactly what I use, no bloat, secure! plug n play.

A really good jump in if you’re considering a “roll your own” on this platform.

See: https://openwrt.org/docs/guide-developer/quickstart-build-images 14

opkg update && opkg install irqbalance luci-app-advanced-reboot luci-app-sqm luci-app-adblock luci-app-upnp luci-app-samba4 luci-app-watchcat luci-theme-material block-mount kmod-usb-storage kmod-usb-storage-uas kmod-usb-ohci kmod-usb-ohci-pci kmod-ata-ahci kmod-usb-uhci kmod-usb3 ntfs-3g fdisk luci-app-hd-idle luci-app-wireguard iperf3 nano

I noticed many people asking about Davidc502's firmware and todates firmware using same Software that Davidc502 put into his.

Some of you might benefit from using ImageBuilder, but before you do that.. Log into your Router.

ssh -l root 192.168.1.1

Then enter below command. This will give you a current list of all packages installed.

echo $(opkg list_installed | awk '{ print $1 }')

the bottom 2 commands, one or the other will work, but they give you a standard line by line list. Really not needed for imagebuilder.

# ls /overlay/upper/usr/lib/opkg/info/*.list | sed -e 's/.*\///' | sed -e 's/\.list//'
ls /usr/lib/opkg/info/*.list | sed -e 's/.*\///' | sed -e 's/\.list//'

Then when you have your list, comb through it, remove unneeded stuff and shorten the version string packages to just the package name or you will run into future issues if you are to do this again.

Make sure you have latest imagebuilder for your Router.

make image PROFILE=linksys_wrt3200acm FILES=files/ PACKAGES="6in4 adblock alsa-lib attr avahi-dbus-daemon base-files bcp38 block-mount busybox ca-bundle ca-certificates cgi-io collectd collectd-mod-cpu collectd-mod-interface collectd-mod-iwinfo collectd-mod-load collectd-mod-memory collectd-mod-network collectd-mod-rrdtool collectd-mod-sensors collectd-mod-thermal coreutils coreutils-sort curl dbus ddns-scripts dmesg dnscrypt-proxy2 dnsmasq dropbear etherwake firewall fstools fwtool getrandom gzip haveged hostapd-common htop ifstat iftop igmpproxy ip6tables iperf3 ipset iptables iptables-mod-conntrack-extra iptables-mod-ipopt iw iwinfo jansson jshn jsonfilter kernel kmod-asn1-decoder kmod-bluetooth kmod-bonding kmod-btmrvl kmod-cfg80211 kmod-crypto-aead kmod-crypto-authenc kmod-crypto-cmac kmod-crypto-crc32c kmod-crypto-ecb kmod-crypto-ecdh kmod-crypto-hash kmod-crypto-hmac kmod-crypto-kpp kmod-crypto-manager kmod-crypto-md5 kmod-crypto-null kmod-crypto-sha1 kmod-crypto-sha256 kmod-crypto-sha512 kmod-crypto-user kmod-cryptodev kmod-fs-ext4 kmod-fs-msdos kmod-fs-ntfs kmod-fs-vfat kmod-fuse kmod-gpio-button-hotplug kmod-hid kmod-hwmon-core kmod-hwmon-pwmfan kmod-i2c-core kmod-ifb kmod-input-core kmod-input-evdev kmod-ip6tables kmod-ipt-conntrack kmod-ipt-conntrack-extra kmod-ipt-core kmod-ipt-ipopt kmod-ipt-ipsec kmod-ipt-ipset kmod-ipt-nat kmod-ipt-offload kmod-ipt-raw kmod-iptunnel kmod-iptunnel4 kmod-lib-crc-ccitt kmod-lib-crc16 kmod-lib-crc32c kmod-lib-textsearch kmod-mac80211 kmod-mmc kmod-mwlwifi kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-flow kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-nf-nathelper-extra kmod-nf-reject kmod-nf-reject6 kmod-nfnetlink kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-ppp kmod-pppoe kmod-pppox kmod-regmap-core kmod-sched kmod-sched-cake kmod-sched-connmark kmod-sched-core kmod-scsi-core kmod-sit kmod-slhc kmod-sound-core kmod-tun kmod-usb-core kmod-usb-ehci kmod-usb-ohci kmod-usb-ohci-pci kmod-usb-storage kmod-usb-storage-extras kmod-usb-uhci kmod-usb2 kmod-usb2-pci kmod-usb3 krb5-libs libarchive libatomic1 libattr libavahi-client libavahi-dbus-support libblobmsg-json libbz2 libc libcap libcomerr0 libcurl4 libdaemon libdbus libelf1 libevent2 libexif libexpat libffmpeg-mini libflac libgcc1 libgcrypt libgmp10 libgnutls libgpg-error libhavege libiconv-full2 libid3tag libintl-full8 libip4tc2 libip6tc2 libipset13 libiwinfo-lua libiwinfo20210430 libjpeg libjson-script libldns libltdl7 liblua5.1.5 liblucihttp-lua liblucihttp0 liblzma liblzo2 libmbedtls12 libmnl0 libnatpmp1 libncurses6 libnetsnmp libnl-tiny libogg0 libopenssl-afalg_sync libopenssl-conf libopenssl1.1 liboping libpam libpcap1 libpci libpcre libpopt0 libpthread libreadline8 librrd1 librt libsensors5 libsodium libss2 libsysfs2 libtasn1 libtirpc libubox libubus-lua libubus libuci-lua libuci20130104 libuclient libuuid1 libvorbis libwolfssl libxtables12 lm-sensors logd lua luci luci-app-adblock luci-app-advanced-reboot luci-app-bcp38 luci-app-ddns luci-app-firewall luci-app-openvpn luci-app-opkg luci-app-qos luci-app-samba4 luci-app-sqm luci-app-statistics luci-app-uhttpd luci-app-upnp luci-app-watchcat luci-app-wol luci-base luci-compat luci-lib-httpprotoutils luci-lib-ip luci-lib-ipkg luci-lib-iptparser luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-mod-network luci-mod-status luci-mod-system luci-proto-ipv6 luci-proto-ppp miniupnpd mtd mwifiex-sdio-firmware mwlwifi-firmware-88w8864 mwlwifi-firmware-88w8897 mwlwifi-firmware-88w8964 nano netifd ntfs-3g odhcp6c openssl-util openvpn-easy-rsa openvpn-openssl openwrt-keyring opkg ppp ppp-mod-pppoe procps-ng procps-ng-pmap procps-ng-ps procps-ng-pwdx procps-ng-slabtop procps-ng-snice procps-ng-tload procps-ng-vmstat procps-ng-watch px5g-mbedtls qos-scripts rpcd rpcd-mod-file rpcd-mod-iwinfo rpcd-mod-luci rpcd-mod-rrdns rrdtool1 samba4-libs samba4-server samba4-utils sqm-scripts sysfsutils sysstat tcpdump-mini terminfo ubi-utils uboot-envtools ubox ubus ubusd uci uclibcxx uclient-fetch uhttpd uhttpd-mod-ubus urandom-seed urngd usign watchcat wget wireless-regdb wsdd2 zlib kmod-fs-exfat e2fsprogs usbutils libuclient20201210 gdisk fdisk openssh-sftp-server luci-app-nft-qos kmod-crypto-pcbc luci-theme-bootstrap luci-theme-material luci-theme-openwrt-2020 luci-theme-openwrt luci-theme-argon luci-theme-opentomato luci-app-argon-config bind-host luci-app-log luci-app-serverchan luci-app-cpufreq luci-app-mqos"

https://forum.openwrt.org/t/davidc502-wrt1200ac-wrt1900acx-wrt3200acm-wrt32x-builds/15839/6027

 

Instructions for upgrade from dsm6 to dsm7 with keeping Emby library:

- make sure, you have dsm6 and dsm7 Emby (beta) package for same version. At post creation it was: 4.6.0.35

Link for lastest versions from first post: https://github.com/MediaBrowser/Emby.Releases/releases

- update Emby to 4.6.0.35 dsm6 package - start Emby and check if update went good - stop Emby - goto Emby share clean cache, logs, transcoding-temp (with filestation) - uninstall Emby

- update DSM to v7

- install Emby 4.6.0.35 (dsm7 version) - stop Emby - remove emby_pkg user and video group

- enable ssh in Synology settings - connect with Putty to Synology, login with admin user and get root rights with: sudo -i - copy files from old Emby share to new data location: cp -r /volume1/Emby/* /volume1/@appdata/EmbyServer - adjust owner from copied files: chown -R emby:emby /volume1/@appdata/EmbyServer - close putty

- add emby user and emby group to your shared media folder in Synology - start Emby

Emby should work fine now with old library/users.

As last step, you can remove the old Emby share.

https://emby.media/community/index.php?/topic/93185-synology-dsm-7-testing/page/5/

 
tech-notes/start.txt · 最后更改: 2019/06/30 11:59 由 Librarian

页面工具