AP-5Ghz-ATH10K

新进了个杀手1535ac网卡..高通QCA6174 想把AP改成5Ghz.结果iw list显示5ghz全部no IR,意味着无法使用.. 原因是高通跟开源作者们说: 千万别在软件层面实现这个啊。这是违法的 在网上找了很多资料.实现一下. 目前状态 $ iw reg get global country CN: DFS-FCC (2402 - 2482 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW…

Zeronet in docker

version: "2" services: zeronet: image: nofish/zeronet ports: - "15441:15441" network_mode: bridge environment: - VIRTUAL_HOST=jia.zeronet - VIRTUAL_PORT=43110 docker-compose up 配合nginx和dnsmasq访问jia.zeronet…

安装Samba

pacman -Sy samba cp /etc/samba/smb.conf.default /etc/samba/smb.conf vim /etc/samba/smb.conf [global] workgroup = WORKGROUP map to guest = Bad User lanman auth = yes ntlm auth = yes [ksdir] comment = k's Service path = /data/k valid users = k public = no writable = yes printable = no [public] path…

安装ShadowsocksR客户端with Shorewall

用docker安装ShadowsocksR配合ipset,shorewall智能科技上网.. ShadowsocksR客户端 vim docker-compose.yml version: "2" services: ssr: container_name: ssr #image: kdaye/shadowsocksr image: registry.cn-hangzhou.aliyuncs.com/kj/shadowsocksr ports: - "1080:1080/tcp" - "1080:1080/udp" network_mode: host command: ss-redir -s your_server_ip -p 8388 -k…

安装Docker with Shorewall

由于我的HomeServer的NAT用的是shorewall..所以安装Docker也是需要配置下Shorewall的~ 首先安装Docker和Docker-compose pacman -Sy docker docker-compose 配置Shorewall /etc/shorewall/shorewall.conf: DOCKER=Yes /etc/shorewall/zones: #ZONE TYPE OPTIONS dock ipv4 #'dock' is just an example -- call it anything you like /etc/shorewall/policy: #SOURCE DEST POLICY LEVEL dock $FW REJECT dock all ACCEPT /etc/shorewall/interfaces: #ZONE…

安装Syncthing with shorewall

vim docker-compose.yml version: '2' services: syncthing: restart: always image: joeybaker/syncthing container_name: syncthing volumes: - /data/public/syncthing:/srv/data - ./config:/srv/config ports: - "22000:22000" - "21027:21027/udp" network_mode: bridge environment: - VIRTUAL_HOST=jia.sync - VIRTUAL_PORT=…

Archlinux+Router

https://kdaye.com/nas-htpc-router/ 这篇是为了上面的设备,让设备变成路由器的流程.. 参考了很多 https://wiki.archlinux.org/index.php/Router https://wiki.archlinux.org/index.php/Network_bridge 也遇到了很多问题. 8265AC的无线网卡只能在2.4GHZ频道做AP,如果有5GHZ的需求,我建议用全通高通QAC988X系列 本篇主要实现了DHCP, WIFI AP模式。 让设备的4网口和WIFI都具有网络。 随后我还会添加ShaodowsocksR和dnsmasq结合实现智能翻墙,或许会另起一篇。 需要安装的 pacman -Sy pacman -S ppp dnsmasq iw crda hostapd shorewall 拨号及网卡配置 cp /etc/netctl/example/bridge…

安装KODI

设备开机自动登录自动运行kodi pacman -Sy kodi yaourt kodi-standalone-service systemctl enable kodi.service systemctl start kodi.service 声卡 vim /etc/modprobe.d/alsa-base.conf options snd_hda_intel index=0 options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem…

安装Archlinux

https://kdaye.com/nas-htpc-router/ 下载ISO https://www.archlinux.org/download/ 制作U盘镜像工具 https://www.pendrivelinux.com/downloads/Universal-USB-Installer/ 插上设备启动设备按F11从U盘启动 验证启动模式是否是UEFI ls /sys/firmware/efi/efivars 如果文件不存在,则系统可能以 BIOS 或 CSM 模式启动. 检查是否联网 ping -c 3 archlinux.org 设置时间 timedatectl set-ntp true 建立硬盘分区 检查下硬盘是否被识别 fdisk -l 通常会显示一个硬盘、一个USB 用GTP分区 cgdisk /dev/sda…

NAS+HTPC+Router

组装NAS+HTPC+软路由 硬件列表 华擎J4205-Itx 威刚SSD固态 4T红盘x2 Winyao WY1000T4 PCI-e x1服务器四口千兆网卡intel I350-T4汇聚ESXI 8265AC_NGFF_M2[双频AC+4.2蓝牙] (无法使用5G当AP,只有高通才能5G当AP) 换了个网卡杀手1535ac当5G AP 全汉电源蓝暴经典额定450W 乔思伯C2机箱 系统 archlinux 软件 共享/同步 owncloud/ Samba syncthing 路由器 Archlinux实现路由功能 换5Ghz的无线AP SSR智能翻墙 建立内网nginx 参考,去掉letsencrypt部分 networks改成network_mode: bridge ZeroNet 多媒体 kodi PLEX 下载 docker 迅雷远程下载 -…