找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: tiny***

[N1盒子] 【骨头版代码分享】小狮子N1学习个人笔记(7月1日置顶4楼更新N1做纯AP)

 火... [复制链接]
发表于 2019-6-21 14:36 | 显示全部楼层
40多个,想干嘛,不过N1的确能折腾
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 14:51 | 显示全部楼层
回复为了收藏!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 14:55 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:07 | 显示全部楼层
N1我手上只有两台。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:16 | 显示全部楼层
感谢收集分享  收藏学习了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:21 | 显示全部楼层
学习一下                        
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:27 | 显示全部楼层
学习一下  学习一下  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-6-21 15:33 | 显示全部楼层
本帖最后由 tinylion 于 2019-7-9 17:47 编辑

# 卸载Docker CE
sudo apt-get purge docker-ce

# 删除Docker镜像、容器、数据卷等文件
sudo rm -rf /var/lib/docker

一些常用资源和代码搜集

资源搜集
https://yadi.sk/d/pHxaRAs-tZiei  150大神的armbian的固件源
https://github.com/coolsnowwolf/lede  lean神的GitHub
http://rom.nanodm.net/  
https://hub.docker.com/r/80x86/typecho 灯大的


代码搜集

1. 加--rm参数,测试一个 docker 是否可用,例如:
docker run --rm fauria/vsftpd
  
2. 删除docker compose创立的整套应用
docker-compose stop
docker-compose rm
docker volume prune
docker network prune
(docker system prune,docker image prune,docker container prune 镜像、容器的删除)

3. 安装portainer
docker run -d -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer:linux-arm64

4. 安装Homeassiatant
docker run -d -p 8123:8123 --name homeassistant --restart=always -v homeassistant_data:/data homeassistant/aarch64-homeassistant:latest

5. 解决nextcloud文本文档中文乱码问题
nano /var/www/html/apps/files_texteditor/lib/Controller/FileHandlingController.php

$encoding= mb_detect_encoding($fileContents. 'a', 'UTF-8, GB2312, GBK, WINDOWS-1252, ISO-8859-15, ISO-8859-1, ASCII', true)
上句加入GB2312和GBK编码支持即可

6. 禁用讨厌的ttyS0日志提示
sudo systemctl disable serial-getty@ttyS0
Removed /etc/systemd/system/getty.target.wants/serial-getty@ttyS0.service.

7. 查找某个文件,例如
sudo find / -name 'frps.ini'
cat /proc/sys/net/ipv4/ip_forward  查看ip转发是否开启,返回为1则开启
8.清理ubuntu垃圾

sudo apt-get autoclean --清理旧版本的软件缓存

sudo apt-get clean--清理所有软件缓存

sudo apt-get autoremove--删除系统不再使用的孤立软件

这三个命令主要清理升级缓存以及无用包的。
9. hostapd -dd /etc/hostapd/hostapd.conf   显示hostapd的相关信息

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:37 | 显示全部楼层
看一看怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:42 | 显示全部楼层
感谢分享 辛苦了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:42 | 显示全部楼层
感谢分享感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 15:44 来自手机 | 显示全部楼层
谢谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 16:38 | 显示全部楼层
学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-6-21 16:45 | 显示全部楼层
本帖最后由 tinylion 于 2019-7-2 15:45 编辑

coreelec 相关

1. 安装entware
installentware  需要梯子,然后重启
卸载 rm -rf /opt/*  ,然后重启

2. 安装vsftpd
opkg install vsftpd-ext
opkg install curl --force-overwrite 强行安装包ipk包

http://bin.entware.net/aarch64-k3.10/   Coreelec用到的软件包
3. 检查当前是否跑在1000M
ethtool eth0 看speed项是否为1000
ethtool -s eth0 speed 1000 duplex full autoneg off 设置为1000

编译相关


1. 编译openwrt 18.06.2
git clone https://github.com/openwrt/openwrt.git && cd openwrt
git tag
git checkout v18.06.2
./scripts/feeds update -a
./script/feeds install -a

make menuconfig
make  -j4 V=s

修改内核参数(比如开启大内存支持,多核心支持):make kernel_menuconfig







我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-21 16:46 | 显示全部楼层
学习一下,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 06:41

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表