-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (31 loc) · 26 KB
/
Copy pathindex.html
File metadata and controls
31 lines (31 loc) · 26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!doctype html><html lang=en><head prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#"><meta charset=utf-8><meta name=generator content="Hugo 0.73.0"><meta name=theme-color content="#fff"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=format-detection content="telephone=no, date=no, address=no, email=no"><meta http-equiv=cache-control content="no-transform"><meta http-equiv=cache-control content="no-siteapp"><title>Vladimir’s Blog</title><link rel=stylesheet href=./css/meme.min.33eefc0caf5b6b0881fd08cb11c3a8a2442458d941c93dc1739a1f707b6d7cc8.css integrity="sha256-M+78DK9bawiB/QjLEcOookQkWNlByT3Bc5ofcHttfMg="><script src=./js/meme.min.7da2d68ba37fa88c12391cdee7a6b103e674c679883a3976278d4c4fd93a947b.js integrity="sha256-faLWi6N/qIwSORze56axA+Z0xnmIOjl2J41MT9k6lHs="></script><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Source+Code+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Comfortaa:wght@700&display=swap" media=print onload="this.media='all'"><noscript><link rel=stylesheet href="https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Source+Code+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Comfortaa:wght@700&display=swap"></noscript><meta name=author content="Vladimir"><meta name=description content="MemE is a powerful and highly customizable GoHugo theme for personal blogs."><link rel="shortcut icon" href=./favicon.ico type=image/x-icon><link rel=mask-icon href=./icons/safari-pinned-tab.svg color=#2a6df4><link rel=apple-touch-icon sizes=180x180 href=./icons/apple-touch-icon.png><meta name=apple-mobile-web-app-capable content="yes"><meta name=apple-mobile-web-app-title content="Vladimir's Blog"><meta name=apple-mobile-web-app-status-bar-style content="black-translucent"><meta name=mobile-web-app-capable content="yes"><meta name=application-name content="Vladimir's Blog"><meta name=msapplication-starturl content><meta name=msapplication-TileColor content="#fff"><meta name=msapplication-TileImage content="icons/mstile-150x150.png"><link rel=manifest href=./manifest.json><link rel=alternate type=application/atom+xml href=http://blog.wxchat.xyz/atom.xml title="Vladimir's Blog"><link rel=alternate type=application/rss+xml href=http://blog.wxchat.xyz/rss.xml title="Vladimir's Blog"><link rel=canonical href=http://blog.wxchat.xyz/><script type=application/ld+json>{"@context":"https://schema.org","@type":"WebSite","datePublished":"2015-04-30T22:22:22+00:00","dateModified":"2020-07-06T16:40:23+08:00","url":"http://blog.wxchat.xyz/","description":"MemE is a powerful and highly customizable GoHugo theme for personal blogs.","image":"http://blog.wxchat.xyz/icons/apple-touch-icon.png","author":{"@type":"Person","description":"blog linux geek","email":"hcjonline@gmail.com","image":"http://blog.wxchat.xyz/icons/apple-touch-icon.png","url":"http://blog.wxchat.xyz/","name":"Vladimir"},"license":"[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en)","name":"Vladimir’s Blog"}</script><meta name=twitter:card content="summary"><meta name=twitter:site content="@Vladimir"><meta name=twitter:creator content="@Vladimir"><meta property="og:title" content="Vladimir’s Blog"><meta property="og:description" content="MemE is a powerful and highly customizable GoHugo theme for personal blogs."><meta property="og:url" content="http://blog.wxchat.xyz/"><meta property="og:site_name" content="Vladimir's Blog"><meta property="og:locale" content="en"><meta property="og:image" content="http://blog.wxchat.xyz/icons/apple-touch-icon.png"><meta property="og:type" content="website"></head><body><div class=container><header class=header data-scroll-header><div class=header-wrapper><div class="header-inner single"><div class=site-brand><a href=./ class=brand>Vladimir's Blog</a></div><nav class=nav><ul class=menu id=menu><li class="menu-item active"><a href=./><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="icon home"><path d="M280.37 148.26 96 300.11V464a16 16 0 0016 16l112.06-.29a16 16 0 0015.92-16V368a16 16 0 0116-16h64a16 16 0 0116 16v95.64a16 16 0 0016 16.05L464 480a16 16 0 0016-16V3e2L295.67 148.26a12.19 12.19.0 00-15.3.0zM571.6 251.47 488 182.56V44.05a12 12 0 00-12-12h-56a12 12 0 00-12 12v72.61L318.47 43a48 48 0 00-61 0L4.34 251.47a12 12 0 00-1.6 16.9l25.5 31A12 12 0 0045.15 301l235.22-193.74a12.19 12.19.0 0115.3.0L530.9 301a12 12 0 0016.9-1.6l25.5-31a12 12 0 00-1.7-16.93z"/></svg><span class=menu-item-name>Home</span></a></li><li class=menu-item><a href=./posts/><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon archive"><path d="M32 448c0 17.7 14.3 32 32 32h384c17.7.0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6.0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6.0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3.0 64v48c0 8.8 7.2 16 16 16h480c8.8.0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"/></svg><span class=menu-item-name>Posts</span></a></li><li class=menu-item><a href=./tags/><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" class="icon tags"><path d="M497.941 225.941 286.059 14.059A48 48 0 00252.118.0H48C21.49.0.0 21.49.0 48v204.118a48 48 0 0014.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882.0l204.118-204.118c18.745-18.745 18.745-49.137.0-67.882zM112 160c-26.51.0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882.0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397.0h48.721a48 48 0 0133.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137.0 67.882z"/></svg><span class=menu-item-name>Tags</span></a></li><li class=menu-item><a href=./about/><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="icon user-circle"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6.0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7.0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4.0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9s28-2.7 40.9-6.9c2.3-.7 4.7-1.1 7.1-1.1 42.9.0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"/></svg><span class=menu-item-name>About</span></a></li><li class=menu-item><a id=theme-switcher href=#><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon theme-icon-light"><path d="M193.2 104.5 242 7a18 18 0 0128 0l48.8 97.5 103.4-34.5a18 18 0 0119.8 19.8l-34.5 103.4 97.5 48.8a18 18 0 010 28l-97.5 48.8 34.5 103.4a18 18 0 01-19.8 19.8l-103.4-34.5-48.8 97.5a18 18 0 01-28 0l-48.8-97.5-103.4 34.5a18 18 0 01-19.8-19.8l34.5-103.4-97.5-48.8a18 18 0 010-28l97.5-48.8-34.5-103.4a18 18 0 0119.8-19.8zM256 128a128 128 0 10.01.0M256 160a96 96 0 10.01.0"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon theme-icon-dark"><path d="M27 412a256 256 0 10154-407a11.5 11.5 0 00-5 20a201.5 201.5 0 01-134 374a11.5 11.5 0 00-15 13"/></svg></a></li></ul></nav></div></div><input type=checkbox id=nav-toggle aria-hidden=true>
<label for=nav-toggle class=nav-toggle></label><label for=nav-toggle class=nav-curtain></label></header><main class="main single" id=main><div class=main-inner><article class="content post home"><h2 class=post-title><a href=./posts/bootlooping-nexus6p-fix/ class=summary-title-link>Nexus6p虚焊导致无限重启之救砖教程</a></h2><div class=post-meta><time datetime=2020-07-03T14:44:06+00:00 class="post-meta-item published"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M148 288h-40c-6.6.0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h48c26.5.0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3.0 6-2.7 6-6z"/></svg> 2020.7.3</time>
<span class="post-meta-item wordcount"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3.0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9.0l60.1 60.1c18.8 18.7 18.8 49.1.0 67.9zM284.2 99.8 21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3.0-17l-111-111c-4.8-4.7-12.4-4.7-17.1.0zM124.1 339.9c-5.5-5.5-5.5-14.3.0-19.8l154-154c5.5-5.5 14.3-5.5 19.8.0s5.5 14.3.0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8.0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg> 83</span></div><summary class=summary>前言 前两天手机在使用过程中,无故死机,重启发现在logo显示画面停留一会儿又重启,后面就一直不断的循环这个过程。 本来以为重新做系统就好了,没想到再还原回去还是一样。我以为就这么变砖了,最后还是因为穷的力量,搜索nexus6p无限重启原因就发现原来这是由于前几天我手机摔过一次,可能导致cpu虚焊部分出了毛病,才导致现在手机无限重启的情况。 没办法,通过这几天各种google,终于找到网络上很多大神都有解决的方案,后面后提供大神帖子链接。
准备工作 备份当前的文件和数据 在手机上启用USB调试和OEM解锁 下载ADB驱动程序,安装到你的PC机里。这里有个问题,要安装低版本的,大于29.0的版本再使用时报了个错误,提示找不到可用的命令,网上解决方法就是下载安装26.0版本的解决了这个问题。 去这里下载符合nexus6p的TWRP,这里我下载了3.3.1版本的 去magisk官网下载最新版本应用包括manage 下载要用到的刷机固件Lineage OS,原厂镜像 Nexus6p 下载我打包的要用到的boot.img 备份 由于已经进入不了系统了,备份需要链接USB进到REF里使用这个方法adb pull sdcard备份自己重要的数据
开始刷系统 这里要提一点,一开始我找到的方法是刷指定原厂镜像,刷写4核boot.img就可以重新进入系统。后面又找到不一定原厂镜像的版本,比如lingage17.1的镜像也可以通过大神的方法。 所以,这两种方法都可以解决无限重启进不了系统的问题,我都写在这里,只要看一种方法就好了。
第一种方法:刷原厂镜像 先说一下刷原厂镜像7.1.2版本号n2g48c,参考文档,英文原档</summary><div class=read-more-container><a href=./posts/bootlooping-nexus6p-fix/ class=read-more-link>Read More »</a></div></article><article class="content post home"><h2 class=post-title><a href=./posts/root-nexus6p-use-twrp-magisk/ class=summary-title-link>Nexus6p Root提权以及刷机攻略</a></h2><div class=post-meta><time datetime=2020-03-25T18:00:20+00:00 class="post-meta-item published"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M148 288h-40c-6.6.0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h48c26.5.0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3.0 6-2.7 6-6z"/></svg> 2020.3.25</time>
<span class="post-meta-item wordcount"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3.0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9.0l60.1 60.1c18.8 18.7 18.8 49.1.0 67.9zM284.2 99.8 21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3.0-17l-111-111c-4.8-4.7-12.4-4.7-17.1.0zM124.1 339.9c-5.5-5.5-5.5-14.3.0-19.8l154-154c5.5-5.5 14.3-5.5 19.8.0s5.5 14.3.0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8.0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg> 115</span></div><summary class=summary>Android 10.0也出来一段时间了,想着给自己的手机刷一下。所以就有了这个攻略,记录一下过程。
准备工作 确保设备电池电量超过50% 备份当前的文件和数据 在手机上启用USB调试和OEM解锁 下载ADB驱动程序,安装到你的PC机里 去这里下载符合nexus6p的TWRP,这里我下载了3.3.1版本的 去magisk官网下载最新版本应用包括manage 下载刷机的固件PixelExperience 10 使用ADB和Fastboot解锁Bootloader 打开终端运行如下命令重启手机到fastboot模式,参考
adb reboot bootloader fastboot flashing unlock 完成以后,就成功解锁了Bootloader,再次检查以启用“开发人员选项”,然后转到“开发人员选项”并启用USB调试模式OEM解锁。有时,他们在启动后会自行禁用。
安装TWRP 还是一样先进到启动模式,把TWRP镜像刷进recovery,如下
adb reboot bootloader fastboot flash recovery twrp-3.</summary><div class=read-more-container><a href=./posts/root-nexus6p-use-twrp-magisk/ class=read-more-link>Read More »</a></div></article><article class="content post home"><h2 class=post-title><a href=./posts/openwrt-raspberry/ class=summary-title-link>树莓派安装配置软路由</a></h2><div class=post-meta><time datetime=2019-07-17T15:43:15+00:00 class="post-meta-item published"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M148 288h-40c-6.6.0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h48c26.5.0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3.0 6-2.7 6-6z"/></svg> 2019.7.17</time>
<span class="post-meta-item wordcount"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3.0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9.0l60.1 60.1c18.8 18.7 18.8 49.1.0 67.9zM284.2 99.8 21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3.0-17l-111-111c-4.8-4.7-12.4-4.7-17.1.0zM124.1 339.9c-5.5-5.5-5.5-14.3.0-19.8l154-154c5.5-5.5 14.3-5.5 19.8.0s5.5 14.3.0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8.0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg> 429</span></div><summary class=summary>准备 Raspberry Pi 2 Model B Rev 1.1 SD卡闪盘(4G+) 主机我用的是ArchLinux,内核4.19.52-1-lts 主路由器一个TPlink USB网卡 一条网线 刷openwrt固件 下载解压 去官网下载对应的安装固件
wget http://downloads.openwrt.org/releases/18.06.4/targets/brcm2708/bcm2709/openwrt-18.06.4-brcm2708-bcm2709-rpi-2-ext4-factory.img.gz gzip -d openwrt-18.06.4-brcm2708-bcm2709-rpi-2-ext4-factory.img.gz 烧写SD卡 sudo fdisk -l #列出闪盘设备名 /dev/mmcblk0 sudo dd if=openwrt-18.06.4-brcm2708-bcm2709-rpi-2-ext4-factory.img of=/dev/mmcblk0 链接树莓派 配置主机IP(192.</summary><div class=read-more-container><a href=./posts/openwrt-raspberry/ class=read-more-link>Read More »</a></div></article><article class="content post home"><h2 class=post-title><a href=./posts/openwrt-wireshark-setting/ class=summary-title-link>用OPENWRT路由器抓包网络流量笔记</a></h2><div class=post-meta><time datetime=2018-06-13T19:50:11+00:00 class="post-meta-item published"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M148 288h-40c-6.6.0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h48c26.5.0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3.0 6-2.7 6-6z"/></svg> 2018.6.13</time>
<span class="post-meta-item wordcount"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3.0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9.0l60.1 60.1c18.8 18.7 18.8 49.1.0 67.9zM284.2 99.8 21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3.0-17l-111-111c-4.8-4.7-12.4-4.7-17.1.0zM124.1 339.9c-5.5-5.5-5.5-14.3.0-19.8l154-154c5.5-5.5 14.3-5.5 19.8.0s5.5 14.3.0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8.0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg> 336</span></div><summary class=summary>前言 openwrt是一款基于linux的路由器系统,可以安装很多相关的工具包,完成像linux系统服务器可以完成的工作,比如今天我们要讲的路由器的网络数据包抓包。
环境 安装了openwrt的路由器,ip地址:192.168.10.1 要抓包流量的Android手机,ip地址:192.68.10.235 工作台笔记本,ip地址:192.168.10.234 安装与配置 以下介绍两种方法都可以实现路由器数据包抓取的功能
简单的说明 根据openwrt文档,所有的局域网的数据最后都是通过br-lan虚拟网卡来做转发,所以对此网卡进行监控即可 此命令本质是远程在路由器上执行网络监控命令,输入文本到本机的wireshark里面 使用wireshark作为可视化工具来查看
捕获与tcpdump的通信 Tcpdump可以安装在OpenWrt路由器上。因此,这种方法消除了让远程Wireshark或类似听众实时分析流量的需要。
ssh登陆到openwrt(默认端口:22),更新并安装tcpdump
opkg update opkg install tcpdump 执行以下命令在接口(-i)上侦听并将捕获的信息存储到文件(-w),并在执行此操作时(-v)进行冗长操作。
tcpdump -i any -v -w pcap.</summary><div class=read-more-container><a href=./posts/openwrt-wireshark-setting/ class=read-more-link>Read More »</a></div></article><article class="content post home"><h2 class=post-title><a href=./posts/archlinux-uefi-bootloader/ class=summary-title-link>UEFI+GPT安装Archlinux与Win10双系统教程</a></h2><div class=post-meta><time datetime=2018-06-10T00:42:24+00:00 class="post-meta-item published"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M148 288h-40c-6.6.0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6.0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6.0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6.0 12 5.4 12 12v52h48c26.5.0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3.0 6-2.7 6-6z"/></svg> 2018.6.10</time>
<span class="post-meta-item wordcount"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3.0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9.0l60.1 60.1c18.8 18.7 18.8 49.1.0 67.9zM284.2 99.8 21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3.0-17l-111-111c-4.8-4.7-12.4-4.7-17.1.0zM124.1 339.9c-5.5-5.5-5.5-14.3.0-19.8l154-154c5.5-5.5 14.3-5.5 19.8.0s5.5 14.3.0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8.0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg> 208</span></div><summary class=summary>前言 最近新入手一台Thinkpad,使用UEFI+GPT预安装好了Win10操作系统,准备开始安装Archlinux。
如果你准备在一块新硬盘上安装双系统,那么应该先安装windows。 如果你安装的是Win10,那么它应该默认就是按UEFI+GPT方式安装的,可以按Win+X键打开磁盘管理,如果是UEFI安装的,那么应该有一个EFI分区,可能是250M。 其它还有Windows的恢复分区和基本数据分区。不用管恢复分区,如果现在磁盘上没有剩余空间,可以右键点击基本数据分区,点击压缩卷,给Arch的安装腾出空间。用右键点击磁盘,查看属性,可以知道自己是否采用了GPT分区方式。
在安装之前,请在电源计划中关掉Windows的快速启动,并在BIOS中关掉Secure Boot,可以很容易搜到对应自己电脑的具体方法。 如果上面有哪一条没有满足,请只看一看我遇到的问题,具体安装请再参考其它教程
安装 安装之前 准备一个大于4G的U盘 安装镜像,可以从Arch Linux的官方网站下载 制作U盘启动盘 这里我只介绍linux系统下使用dd的方式,windows下面的方法可以看一下这个安装教程
插入U盘,查看U盘设备名,不需求挂载
lsblk sudo dd if=archlinux-2018.06.01-x86_64.iso of=/dev/sdb 这样,就制作好了U盘启动了,把U盘插入要安装的机子,配置BIOS通过U盘启动,就可以进入光盘引导的临时系统。
选择镜像源 Arch Linux是通过网络进行安装的,为了以更快的速度下载软件包,建议先配置镜像源。配置镜像源的方法是编辑/etc/pacman.d/mirrorlist这个文件,将想用的镜像源的放到第一个非井号开头的行即可。如下可将中科大镜像源作为首选镜像源。
# /etc/pacman.d/mirrorlist # This is the USTC mirror Server = http://mirrors.</summary><div class=read-more-container><a href=./posts/archlinux-uefi-bootloader/ class=read-more-link>Read More »</a></div></article><ul class=pagination><li class=pagination-next><a href=./page/2/ rel=next>Older ></a></li></ul></div></main><div id=back-to-top class=back-to-top><a href=#><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon arrow-up"><path d="M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6.0-33.9L207 39c9.4-9.4 24.6-9.4 33.9.0l194.3 194.3c9.4 9.4 9.4 24.6.0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3.0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"/></svg></a></div><footer id=footer class=footer><div class=footer-inner><div class=site-info>© 2015–2020 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon footer-icon"><path d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3.0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"/></svg> Vladimir</div><div class=powered-by>Powered by <a href=https://github.com/gohugoio/hugo target=_blank rel=noopener>Hugo</a> | Theme is <a href=https://github.com/reuixiy/hugo-theme-meme target=_blank rel=noopener>MemE</a></div><div class=site-copyright><a href=https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en target=_blank rel=noopener>CC BY-NC-SA 4.0</a></div></div></footer></div><script src=https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js></script><script>var scroll=new SmoothScroll('a[href*="#"]',{speedAsDuration:true,header:'[data-scroll-header]'});</script><script src=https://cdn.jsdelivr.net/npm/medium-zoom@latest/dist/medium-zoom.min.js></script><script>mediumZoom(document.querySelectorAll('div.post-body img'),{background:'hsla(var(--color-bg-h), var(--color-bg-s), var(--color-bg-l), 0.95)'})</script><script src=https://cdn.jsdelivr.net/npm/instant.page@3.0.0/instantpage.min.js type=module defer></script><div class=app-refresh id=app-refresh><div class=app-refresh-wrap onclick=location.reload()><label>New Update Available</label>
<span>Refresh</span></div></div><script>if('serviceWorker'in navigator){if(navigator.serviceWorker.controller){navigator.serviceWorker.addEventListener('controllerchange',function(){showNotification();});}
window.addEventListener('load',function(){navigator.serviceWorker.register('sw.js');});}
function showNotification(){document.querySelector('meta[name=theme-color]').content='#000';document.getElementById('app-refresh').className+=' app-refresh-show';}</script><script async src=https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js></script></body></html>