張家豪
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- title: description: tags: 2021ithome, ArmArmPlatforms, OpenWrt lang: zh-tw breaks: ture --- # 參賽相關備存 :::info [TOC] ::: ## 介紹 主題競賽:Arm Platforms 題目:OpenWRT開源路由兩三事 之前因緣際會開始管理工作場合的網路,把家用路由AP刷第三方韌體開啟一些額外的服務後,發現OpenWRT這個開源路由系統值得持續研究。官網資源就十分充足,但我想要藉活動整理一些常用的資源,讓大家或金魚腦的我可以參照步驟完成自己的路由服務系統。本來想拿骨灰Linkit 7688 duo(MIPS24KEc處理器)來當範例。但這次項目有"Arm Platforms",就改用手邊的RaspberryPi 來試看看吧XD ## 大綱 1. openwrt介紹 2. raspberry安裝openwrt 3. 連線及基本設定 1. 家庭網路設定 2. 防火牆設定 4. 套件相關 1. iperf3 2. ddns 3. Netdata 4. OpenVPN (★) 5. wireguard (★) 6. AdGuard (★) 5. 內網穿透 6. 掛載USB與NAS (★) 1. Samba服务&vsFTP服务(四) 2. vsFTP 7. Docker (★) (★) 1. 安裝與運作 2. https://openwrt.org/docs/guide-user/virtualization/docker_openwrt_image 3. https://www.jkg.tw/p3608/ 4. https://openwrt.org/docs/guide-user/start#additional_services 8. micropython (★) (★) 1. 安裝與運作 2. https://pypi.org/project/UniversalGPIO/ 3. 材料: 1. LED 2. 麵包版 3. ### - 備存 [更新 kmod-usb-net-rtl8152 驅動程序以避免 USB 3.0 轉千兆 LAN 問題?](https://forum.openwrt.org/t/update-kmod-usb-net-rtl8152-driver-to-avoid-usb-3-0-to-gigabit-lan-issues/65466/36) [用Raspberry Pi 做WiFi Access Point (Dump AP) #1](https://medium.com/hong-kong-linux-user-group/%E7%94%A8raspberry-pi-%E5%81%9Awifi-access-point-dump-ap-1-9496f43e18f4?source=user_profile---------2----------------------------) https://medium.wanleung.com/ - [【韩风Talk】Openwrt的Airplay音频插件的玩法。小坑解决了,才能玩的更爽嘛!](https://www.youtube.com/watch?v=8Kl_zFlXBz4&ab_channel=%E9%9F%A9%E9%A3%8ETalk) - luci-app-shairplay - https://ferrets.space/2020/12/27/%E5%9C%A8openwrt%E8%B7%AF%E7%94%B1%E4%B8%8A%E8%BF%90%E8%A1%8Cshairplay%E4%BD%9C%E4%B8%BA%E8%BF%9C%E7%A8%8B%E9%9F%B3%E7%AE%B1/ - [树莓派4B 亲手打造一款Openwrt软路由(带编译固件-超详细)](https://www.bilibili.com/read/cv9714518) - [AdGuard Home 擋廣告功能](https://www.youtube.com/watch?v=0dfjBfQ1dHU) ## 資源收集 - 官網頁完整入門 - https://openwrt.org/docs/guide-user/start - [https://www.twblogs.net/c/5b7aaa732b7177392c9690fa/](https://www.twblogs.net/c/5b7aaa732b7177392c9690fa/) - [https://www.cnblogs.com/double-win/p/3888399.html](https://www.cnblogs.com/double-win/p/3888399.html) http://openwrt.ink:88/s/applist https://kknews.cc/zh-tw/tech/ngj5q33.html - openwrt官網手冊上的各種外加服務 - https://openwrt.org/docs/guide-user/start#additional_services - 對岸論壇 - https://openwrt.club/ - luci編輯 - [OpenWrt的luci web管理器新增新選單](https://iter01.com/175090.html) - [开发OpenWrt路由器上LuCI的模块](https://daimajiaoliu.com/daima/4810232ac10041c) - https://www.cnblogs.com/mayswind/p/3468124.html - 防火牆 - https://www.youtube.com/watch?v=UvniZs8q3eU&ab_channel=OneMarcFifty - https://openwrt.org/docs/guide-user/additional-software/show_upgradable_packages_after_ssh_login - 透過iphoneUSB線上網 - https://www.cnblogs.com/huipengly/p/7874924.html - htop看設備 - https://zh.wikipedia.org/wiki/Htop - https://medium.com/starbugs/do-you-understand-htop-ffb72b3d5629 - [VPN server] - https://mackonsti.wordpress.com/2021/02/20/install-openvpn-server-openwrt-router/ - https://www.getit01.com/p20180201221751217/ - [pptv]https://www.itread01.com/content/1549869135.html - https://www.netadmin.com.tw/netadmin/zh-tw/technology/FF21B021D0534262801C568F98A8A0B5 - https://www.v2ex.com/t/624222 - ssl - https://openwrt.org/docs/guide-user/luci/getting_rid_of_luci_https_certificate_warnings - https://www.worldwidewebs.com.au/billing/knowledgebase/474/Enable-HTTPS-for-LUCI-or-OPENWRT-systems-.html - https://free.com.tw/ssl-for-free/ https://www.landian.vip/archives/90737.html - WireGuard - https://zh.wikipedia.org/wiki/WireGuard - https://openwrt.org/docs/guide-user/services/vpn/wireguard/start - https://openwrt.org/docs/guide-user/services/vpn/wireguard/basics - 兩個openwrt互連 - https://steemit.com/cn/@curl/openwrt-lede-wireguard-vpn - wireguard client - https://www.wireguard.com/install/ - https://support.strongvpn.com/hc/en-us/articles/360035371514-WireGuard-OpenWRT - https://www.azirevpn.com/support/guides/router/openwrt/wireguard - https://www.ithome.com.tw/news/134865 - frp - http://snow-mountain.life/lets-use-frp/ - https://www.idonglei.com/free-frp - https://www.chuantou.org/197.html - mount nfs - https://openwrt.org/docs/guide-user/services/nas/nfs.client - 要安裝新的 cifs - crontab - https://openwrt-nctu.gitbook.io/project/openwrt-functions/openwrt-crontab - https://jqnets.com/blog/ubuntu-%E6%8E%92%E7%A8%8B%E8%A8%AD%E5%AE%9A-%EF%BC%9Acrontab-%E6%8E%92%E7%A8%8B%E4%BD%BF%E7%94%A8%E6%95%99%E5%AD%B8/ ## 工具 - [截圖工具-Snipaste ](https://zh.snipaste.com/) - [拓樸圖製作](https://app.diagrams.net/)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully