hexo-blog-deploy/2023/04/23/随身WiFi刷debian系统/index.html

16 lines
41 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width"><meta name="theme-color" content="#222"><meta name="generator" content="Hexo 5.4.2"><link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"><link rel="mask-icon" href="/images/logo.svg" color="#222"><link rel="stylesheet" href="/css/main.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha256-HtsXJanqjKTc8vVQjO4YMhiqFoXkfBsjBWcX91T1jr8=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" integrity="sha256-Vzbj7sDDS/woiFS3uNKo8eIuni59rjyNGtXfstRzStA=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/themes/blue/pace-theme-minimal.css"><script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/pace.min.js" integrity="sha256-gqd7YTjg/BtfqWSwsJOvndl0Bxc8gFImLEkXQT8+qj0=" crossorigin="anonymous"></script><script class="next-config" data-name="main" type="application/json">{"hostname":"kiki.kim","root":"/","images":"/images","scheme":"Gemini","darkmode":false,"version":"8.15.1","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":true,"style":"flat"},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":false,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script><meta name="description" content="近期随身WiFi大幅度降价9.9就能入手一个虽然其流量套餐比较坑当时把它刷成便携式的linux服务器装个docker跑一些微服务是真的香o()o"><meta property="og:type" content="article"><meta property="og:title" content="随身WiFi刷debian系统"><meta property="og:url" content="http://kiki.kim/2023/04/23/%E9%9A%8F%E8%BA%ABWiFi%E5%88%B7debian%E7%B3%BB%E7%BB%9F/index.html"><meta property="og:site_name" content="随言碎语"><meta property="og:description" content="近期随身WiFi大幅度降价9.9就能入手一个虽然其流量套餐比较坑当时把它刷成便携式的linux服务器装个docker跑一些微服务是真的香o()o"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427100309880.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101124198.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101424659.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101628994.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101943062.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427102327166.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427103030209.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427103632714.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104239294.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104506570.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104734239.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427105111396.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427105617838.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427110737057.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427111127142.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427114917648.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115016041.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115123005.png"><meta property="og:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115247753.png"><meta property="article:published_time" content="2023-04-23T02:25:34.000Z"><meta property="article:modified_time" content="2023-04-27T09:51:09.610Z"><meta property="article:author" content="小梦同学的blog"><meta property="article:tag" content="Linux"><meta property="article:tag" content="debian"><meta property="article:tag" content="随身WiFi"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427100309880.png"><link rel="canonical" href="http://kiki.kim/2023/04/23/%E9%9A%8F%E8%BA%ABWiFi%E5%88%B7debian%E7%B3%BB%E7%BB%9F/"><script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"http://kiki.kim/2023/04/23/%E9%9A%8F%E8%BA%ABWiFi%E5%88%B7debian%E7%B3%BB%E7%BB%9F/","path":"2023/04/23/随身WiFi刷debian系统/","title":"随身WiFi刷debian系统"}</script><script class="next-config" data-name="calendar" type="application/json">""</script><title>随身WiFi刷debian系统 | 随言碎语</title><noscript><link rel="stylesheet" href="/css/noscript.css"></noscript><link rel="alternate" href="/atom.xml" title="随言碎语" type="application/atom+xml"><style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head><body itemscope itemtype="http://schema.org/WebPage"><div class="headband"></div><main class="main"><div class="column"><header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container"><div class="site-nav-toggle"><div class="toggle" aria-label="切换导航栏" role="button"><span class="toggle-line"></span> <span class="toggle-line"></span> <span class="toggle-line"></span></div></div><div class="site-meta"><a href="/" class="brand" rel="start"><i class="logo-line"></i><p class="site-title">随言碎语</p><i class="logo-line"></i></a><p class="site-subtitle" itemprop="description">咕叽咕叽</p></div><div class="site-nav-right"><div class="toggle popup-trigger" aria-label="搜索" role="button"><i class="fa fa-search fa-fw fa-lg"></i></div></div></div><nav class="site-nav"><ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签<span class="badge">63</span></a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档<span class="badge">55</span></a></li><li class="menu-item menu-item-talk"><a href="/talk/" rel="section"><i class="fa fa-commenting fa-fw"></i>碎语湖</a></li><li class="menu-item menu-item-guestbook"><a href="/guestbook/" rel="section"><i class="fa fa-book fa-fw"></i>留言板</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-search"><a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索</a></li></ul></nav><div class="search-pop-overlay"><div class="popup search-popup"><div class="search-header"><span class="search-icon"><i class="fa fa-search"></i></span><div class="search-input-container"><input autocomplete="off" autocapitalize="off" maxlength="80" placeholder="搜索..." spellcheck="false" type="search" class="search-input"></div><span class="popup-btn-close" role="button"><i class="fa fa-times-circle"></i></span></div><div class="search-result-container no-result"><div class="search-result-icon"><i class="fa fa-spinner fa-pulse fa-5x"></i></div></div></div></div><script type="text/javascript" src="/js/cursor/zjAdd.js"></script><div class="musicwyy2" style="top:200px;position:fixed;left:0;bottom:0;z-index:105;opacity:1;width:45px;height:45px;font-size:45px;font-family:'Long Cang'"><button type="button" style="top:200px;width:45px;height:45px;margin-top:10px;margin-bottom:10px;border-width:0;z-index:200;background:0 0;border-width:0;outline:0" onclick="musicChange()"><img src="/images/wy.svg"></button></div><div class="musicwyy1" style="position:fixed;top:200px;left:0;bottom:0;z-index:100;opacity:1;width:45px;height:45px;font-size:0"><div class="aplayer-miniswitcher" style="top:200px;height:110px;width:20px;display:inline-block;overflow:hidden"></div><div style="width:calc(100% - 30px);top:200px;height:110px;display:none" id="musicZJ"><div class="musicwyy1" style="position:fixed;top:200px;left:15px;bottom:0;z-index:100;opacity:1;width:300px;height:110px;font-size:0"><div class="aplayer-miniswitcher" style="top:200px;height:110px;width:20px;display:inline-block;overflow:hidden"></div><div style="width:calc(100% - 30px);top:200px;height:110px;display:inline-block" id="musicZJ"><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="330" height="450" src="//music.163.com/outchain/player?type=0&id=8009036598&auto=0&height=430"></iframe></div></div></div></div></header><aside class="sidebar"><div class="sidebar-inner sidebar-nav-active sidebar-toc-active"><ul class="sidebar-nav"><li class="sidebar-nav-toc">文章目录</li><li class="sidebar-nav-overview">站点概览</li></ul><div class="sidebar-panel-container"><div class="post-toc-wrap sidebar-panel"><div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#1-%E5%87%86%E5%A4%87"><span class="nav-number">1.</span> <span class="nav-text">1.准备</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-%E5%AE%89%E8%A3%85"><span class="nav-number">2.</span> <span class="nav-text">2.安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#1-%E5%AE%89%E8%A3%859008%E5%85%8D%E7%AD%BE%E5%90%8D%E9%A9%B1%E5%8A%A8"><span class="nav-number">2.1.</span> <span class="nav-text">1. 安装9008免签名驱动</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#2-%E5%AE%89%E8%A3%85miko"><span class="nav-number">2.2.</span> <span class="nav-text">2. 安装miko</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#3-%E5%A4%87%E4%BB%BD%E9%9A%8F%E8%BA%ABWiFi%E5%8E%9F%E6%9C%AC%E7%9A%84%E5%9B%BA%E4%BB%B6"><span class="nav-number">2.3.</span> <span class="nav-text">3.备份随身WiFi原本的固件</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-%E5%88%B7%E5%85%A5debian"><span class="nav-number">2.4.</span> <span class="nav-text">4.刷入debian</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3-%E4%BD%BF%E7%94%A8"><span class="nav-number">3.</span> <span class="nav-text">3. 使用</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#3-1-%E6%8F%92%E5%9C%A8%E7%94%B5%E8%84%91%E4%B8%8A%E4%BD%BF%E7%94%A8%E7%9A%84%E6%96%B9%E5%BC%8F"><span class="nav-number">3.1.</span> <span class="nav-text">3.1 插在电脑上使用的方式</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#3-1-1-%E9%85%8D%E7%BD%AEPC%E7%BD%91%E7%BB%9C"><span class="nav-number">3.1.1.</span> <span class="nav-text">3.1.1 配置PC网络</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#3-1-2-%E9%85%8D%E7%BD%AEdebian%E7%9A%84%E7%BD%91%E7%BB%9C"><span class="nav-number">3.1.2.</span> <span class="nav-text">3.1.2 配置debian的网络</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#3-2-%E6%8F%92%E5%9C%A8%E7%94%B5%E6%BA%90%E4%B8%8A%E4%BD%BF%E7%94%A8%E7%9A%84%E6%96%B9%E5%BC%8F"><span class="nav-number">3.2.</span> <span class="nav-text">3.2 插在电源上使用的方式</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#3-2-1-%E8%AE%BE%E5%A4%87%E8%BF%9E%E6%8E%A5wifi"><span class="nav-number">3.2.1.</span> <span class="nav-text">3.2.1 设备连接wifi</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4-%E9%97%AE%E9%A2%98"><span class="nav-number">4.</span> <span class="nav-text">4.问题</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#1-%E4%BF%AE%E5%A4%8Dmobian%E6%BA%90%E5%B9%B6%E5%AE%89%E8%A3%85%E5%9F%BA%E7%A1%80%E8%BD%AF%E4%BB%B6"><span class="nav-number">4.1.</span> <span class="nav-text">1. 修复mobian源并安装基础软件</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#2-%E9%85%8D%E7%BD%AEll%E5%91%BD%E4%BB%A4%E5%92%8C%E6%96%87%E4%BB%B6%E5%A4%B9%E9%A2%9C%E8%89%B2%E6%98%BE%E7%A4%BA"><span class="nav-number">4.2.</span> <span class="nav-text">2.配置ll命令和文件夹颜色显示</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#3-%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F%E6%97%B6%E9%97%B4"><span class="nav-number">4.3.</span> <span class="nav-text">3. 配置系统时间</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-docker%E5%AE%89%E8%A3%85"><span class="nav-number">4.4.</span> <span class="nav-text">4.docker安装</span></a></li></ol></li></ol></div></div><div class="site-overview-wrap sidebar-panel"><div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person"><img class="site-author-image" itemprop="image" alt="小梦同学的blog" src="https://halliday.oss-cn-nanjing.aliyuncs.com/imagesbjx.png"><p class="site-author-name" itemprop="name">小梦同学的blog</p><div class="site-description" itemprop="description">欲买桂花同载酒,终不似,少年游。</div></div><div class="site-state-wrap animated"><nav class="site-state"><div class="site-state-item site-state-posts"><a href="/archives/"><span class="site-state-item-count">55</span> <span class="site-state-item-name">日志</span></a></div><div class="site-state-item site-state-tags"><a href="/tags/"><span class="site-state-item-count">63</span> <span class="site-state-item-name">标签</span></a></div></nav></div><div class="links-of-author animated"><span class="links-of-author-item"><a href="https://github.com/M-HALLIDAY" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;M-HALLIDAY" rel="noopener me" target="_blank"><i class="fab fa-github fa-fw"></i></a> </span><span class="links-of-author-item"><a href="mailto:halliday2023@163.com" title="E-Mail → mailto:halliday2023@163.com" rel="noopener me" target="_blank"><i class="fa fa-envelope fa-fw"></i></a> </span><span class="links-of-author-item"><a href="/atom.xml" title="RSS → &#x2F;atom.xml" rel="noopener me"><i class="fa fa-rss-square fa-fw"></i></a></span></div><div class="cc-license animated" itemprop="license"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-CN" class="cc-opacity" rel="noopener" target="_blank"><img src="https://cdnjs.cloudflare.com/ajax/libs/creativecommons-vocabulary/2020.11.3/assets/license_badges/small/by_nc_sa.svg" alt="Creative Commons"></a></div></div></div></div></aside></div><div class="main-inner post posts-expand"><div class="post-block"><article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN"><link itemprop="mainEntityOfPage" href="http://kiki.kim/2023/04/23/%E9%9A%8F%E8%BA%ABWiFi%E5%88%B7debian%E7%B3%BB%E7%BB%9F/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="https://halliday.oss-cn-nanjing.aliyuncs.com/imagesbjx.png"><meta itemprop="name" content="小梦同学的blog"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="随言碎语"><meta itemprop="description" content="欲买桂花同载酒,终不似,少年游。"></span><span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork"><meta itemprop="name" content="随身WiFi刷debian系统 | 随言碎语"><meta itemprop="description" content=""></span><header class="post-header"><h1 class="post-title" itemprop="name headline">随身WiFi刷debian系统</h1><div class="post-meta-container"><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间2023-04-23 10:25:34" itemprop="dateCreated datePublished" datetime="2023-04-23T10:25:34+08:00">2023-04-23</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间2023-04-27 17:51:09" itemprop="dateModified" datetime="2023-04-27T17:51:09+08:00">2023-04-27</time> </span><span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv"><span class="post-meta-item-icon"><i class="far fa-eye"></i> </span><span class="post-meta-item-text">阅读次数:</span> <span id="busuanzi_value_page_pv"></span> </span><span class="post-meta-break"></span> <span class="post-meta-item" title="本文字数"><span class="post-meta-item-icon"><i class="far fa-file-word"></i> </span><span class="post-meta-item-text">本文字数:</span> <span>2.8k</span> </span><span class="post-meta-item" title="阅读时长"><span class="post-meta-item-icon"><i class="far fa-clock"></i> </span><span class="post-meta-item-text">阅读时长 &asymp;</span> <span>5 分钟</span></span></div></div></header><div class="post-body" itemprop="articleBody"><p>近期随身WiFi大幅度降价9.9就能入手一个虽然其流量套餐比较坑当时把它刷成便携式的linux服务器装个docker跑一些微服务是真的香o(<em><sup></sup></em>)o</p><span id="more"></span><h2 id="1-准备">1.准备</h2><p><strong>软件:</strong></p><ul><li>9008免签名驱动.exe</li><li>miko.exe</li><li><a target="_blank" rel="noopener" href="https://github.com/OpenStick/OpenStick/releases">OpenStick</a> base.zip和debian.zip</li></ul><p><strong>硬件:</strong></p><ul><li><p>随身wifi (高通410 256M+4G )棒子一个9.9这价格是真的香,运气好话还能买到 1G+8GB版本的</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427100309880.png" alt="image-20230427100309880"></p></li></ul><h2 id="2-安装">2.安装</h2><h3 id="1-安装9008免签名驱动">1. 安装9008免签名驱动</h3><figure class="highlight tex"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">直接双击 9008免签名驱动.exe 安装即可</span><br></pre></td></tr></table></figure><h3 id="2-安装miko">2. 安装miko</h3><figure class="highlight tex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">1.先安装MiKo/miko.exe</span><br><span class="line">2.安装完成后将MiKo/Loader.exe 复制到安装目录</span><br></pre></td></tr></table></figure><h3 id="3-备份随身WiFi原本的固件">3.备份随身WiFi原本的固件</h3><ol><li><p>按住随身WiFi上的还原按钮插入到电脑上</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101124198.png" alt="image-20230427101124198"></p></li><li><p>打开设备管理器端口COM和LPT中有 <code>Qualcomm HS-USB QDLoader 9008(COM5)</code>即可</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101424659.png" alt="image-20230427101424659"></p></li><li><p>打开<code>Loader.exe</code>,点击菜单栏 <code>Read--&gt;Partition Back/Erase</code></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101628994.png" alt="image-20230427101628994"></p></li><li><p>查看设备信息,点击 <code>Load Partition Structure</code>,在右侧会出现设配信息</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427101943062.png" alt="image-20230427101943062"></p></li><li><p>备份固件,点击<code>Read Full Image,</code>选择存储位置和名称等待备份结束</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427102327166.png" alt="image-20230427102327166"></p></li></ol><h3 id="4-刷入debian">4.刷入debian</h3><ol><li><p>拔下随身WiFi重新插上去不按按钮</p></li><li><p>解压<code>base.zip</code><code>debian.zip</code></p><figure class="highlight tex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">如何获取最新的base.zip和debian.zip?</span><br><span class="line"> https://github.com/OpenStick/OpenStick/releases</span><br></pre></td></tr></table></figure></li><li><p>进入base目录鼠标右键-在此处打开cmd</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ adb reboot bootloader</span><br></pre></td></tr></table></figure></li><li><p>打开设备管理器,有<code>ADB Interface</code>即可</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427103030209.png" alt="image-20230427103030209"></p></li><li><p>开始刷入<code>base基础包</code>,双击<code>base/flash.bat</code>,按照要求运行即可</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427103632714.png" alt="image-20230427103632714"></p></li><li><p>开始刷入<code>debian系统包</code>,进入<code>debian</code>的解压目录吗,双击<code>debian/flash.bat</code>,按照要求运行即可</p></li><li><p>全部刷完后,再次拔插一下</p></li><li><p>打开<code>设别管理器</code>,其他设别中有<code>RNDIS</code>或者是<code>未知设备</code></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104239294.png" alt="image-20230427104239294"></p></li><li><p><code>右键更新驱动程序</code>-》<code>浏览我的电脑以查找驱动程序</code>-》<code>让我从计算机的可用驱动程序列表中选取</code></p></li><li><p>从列表中选择 <code>网络适配器</code></p></li><li><p>厂商选择 <code>Microsoft</code>,型号选择 <code>基于远程的NDIS的Internet共享设备</code></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104506570.png" alt="image-20230427104506570"></p></li><li><p>打开网路连接,会多出一个网卡</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427104734239.png" alt="image-20230427104734239"></p></li><li><p>看一下它的网关地址,这个地址就是设备的地址</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427105111396.png" alt="image-20230427105111396"></p></li><li><p>只用ssh连接<code>192.168.1.1</code></p><p><strong>默认用户名/密码user/1</strong></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427105617838.png" alt="image-20230427105617838"></p></li></ol><p>至此debian已经安装完成了</p><h2 id="3-使用">3. 使用</h2><p>按照使用的方式区分:</p><p>一是插在电脑上,相当于是作为虚拟机似的来使用,不需要别人来访问它。</p><p>二是插在电源上,作为单独的一套设备。</p><h3 id="3-1-插在电脑上使用的方式">3.1 插在电脑上使用的方式</h3><h4 id="3-1-1-配置PC网络">3.1.1 配置PC网络</h4><ol><li><p>找到可以正常上网的网卡将其网络共享给随身WiFi的网卡</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427110737057.png" alt="image-20230427110737057"></p></li><li><p>打开随身WiFi的网卡将其ip地址改成静态的</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427111127142.png" alt="image-20230427111127142"></p><ul><li>注意网关是设备的ip确定后会有提示信息不用理睬直接点击是</li></ul></li><li><p>多等一会儿,等<code>ping 192.168.68.1</code>通了之后ssh连接设备</p></li></ol><h4 id="3-1-2-配置debian的网络">3.1.2 配置debian的网络</h4><ol><li><p>登陆后,配置默认网关路由信息(临时,重启后失效):</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">root@openstick:~# route add default gw 192.168.68.120 </span><br><span class="line"></span><br><span class="line">--192.168.68.120 这个地址就是上一步的那个网卡地址这里的意思就是让他们两个互相为对方的网关。电脑通过68.1连接设备设备通过68.120来连接互联网。</span><br></pre></td></tr></table></figure></li><li><p>配置DNS</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">root@openstick:~# vim /etc/resolv.conf</span><br><span class="line"></span><br><span class="line">nameserver 8.8.8.8</span><br></pre></td></tr></table></figure></li><li><p>确认是可以上网的</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">root@openstick:~# ping www.baidu.com</span><br></pre></td></tr></table></figure></li><li><p>确认无误后将添加路由信息加入到开机启动项中以后默认就是68.120</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">如何加入开机启动项:</span><br><span class="line">root@openstick:~# vim /etc/rc.local</span><br><span class="line"> </span><br><span class="line"> route add default gw 192.168.68.120</span><br></pre></td></tr></table></figure><p>如果开机启动不生效,见之前的博客:<br><a href="/2020/09/23/%E8%A7%A3%E5%86%B3linux%E7%9A%84%E5%BC%80%E6%9C%BA%E5%90%AF%E5%8A%A8%E4%B8%8D%E7%94%9F%E6%95%88/" title="解决linux的开机启动不生效">解决linux的开机启动不生效</a></p></li></ol><h3 id="3-2-插在电源上使用的方式">3.2 插在电源上使用的方式</h3><h4 id="3-2-1-设备连接wifi">3.2.1 设备连接wifi</h4><p>1.切换管理员用户,并进入网络管理页面</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">切换管理员用户</span></span><br><span class="line">user@openstick:~$ sudo -i</span><br><span class="line">[sudo] password for user: --输入密码</span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_">#</span><span class="language-bash">进入网络管理</span></span><br><span class="line">root@openstick:~# nmtui</span><br></pre></td></tr></table></figure><ol start="2"><li><p>选择WiFi配置上网信息</p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427114917648.png" alt="image-20230427114917648"></p></li></ol><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115016041.png" alt="image-20230427115016041"></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115123005.png" alt="image-20230427115123005"></p><p><img src="https://halliday.oss-cn-nanjing.aliyuncs.com/image-20230427115247753.png" alt="image-20230427115247753"></p><ol start="3"><li><p>查看连接WiFi后获取到的ip地址、</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line">root@openstick:~# ifconfig</span><br><span class="line">...</span><br><span class="line">...</span><br><span class="line"></span><br><span class="line">wlan0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt; mtu 1500</span><br><span class="line"> inet 10.1.100.121 netmask 255.255.255.0 broadcast 10.1.100.1</span><br><span class="line"> inet6 fe80::6f60:8eb6:55e3:b83 prefixlen 64 scopeid 0x20&lt;link&gt;</span><br><span class="line"> inet6 2408:823d:815:8d51:d0a3:a2d3:8e90:7f9f prefixlen 64 scopeid 0x0&lt;global&gt;</span><br><span class="line"> ether 42:b3:7b:a4:a4:6b txqueuelen 1000 (Ethernet)</span><br><span class="line"> RX packets 28143 bytes 2566655 (2.4 MiB)</span><br><span class="line"> RX errors 0 dropped 11 overruns 0 frame 0</span><br><span class="line"> TX packets 22951 bytes 3389767 (3.2 MiB)</span><br><span class="line"> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">10.1.100.121 --这个就是无线路由器分配给你的地址,可以在路由器上绑定这个地址</span><br></pre></td></tr></table></figure></li><li><p>拔下设备,将设备加入到 充电器 等供电设备上直接ssh 连接 10.1.100.121 即可连接设备</p></li></ol><h2 id="4-问题">4.问题</h2><h3 id="1-修复mobian源并安装基础软件">1. 修复mobian源并安装基础软件</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">apt update</span><br><span class="line">apt install curl vim wget</span><br><span class="line"></span><br><span class="line">echo &quot;deb http://repo.mobian-project.org/ bookworm main non-free&quot; &gt; /etc/apt/sources.list.d/mobian.list</span><br><span class="line"></span><br><span class="line">curl -s https://repo.mobian.org/mobian.gpg &gt; /etc/apt/trusted.gpg.d/mobian.gpg</span><br><span class="line"></span><br><span class="line">apt update</span><br></pre></td></tr></table></figure><h3 id="2-配置ll命令和文件夹颜色显示">2.配置ll命令和文件夹颜色显示</h3><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">vim ~/.bashrc</span><br></pre></td></tr></table></figure><h3 id="3-配置系统时间">3. 配置系统时间</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">dpkg-reconfigure tzdata</span><br><span class="line">选6.然后选70亚洲 上海)</span><br></pre></td></tr></table></figure><h3 id="4-docker安装">4.docker安装</h3><p>见 之前的博客 <a href="/2022/05/27/debian%E5%AE%89%E8%A3%85docker/" title="debian安装docker">debian安装docker</a></p></div><footer class="post-footer"><div><div style="text-align:center;color:#ccc;font-size:24px;padding-top:10px">----- The End -----</div><div><center><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css"><div class="social-share" data-sites="weibo, qq, qzone,wechat"></div><script src="http://apps.bdimg.com/libs/jquery/1.8.2/jquery.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js"></script></center></div></div><div class="post-copyright"><ul><li class="post-copyright-author"><strong>本文作者: </strong>小梦同学的blog</li><li class="post-copyright-link"><strong>本文链接:</strong> <a href="http://kiki.kim/2023/04/23/%E9%9A%8F%E8%BA%ABWiFi%E5%88%B7debian%E7%B3%BB%E7%BB%9F/" title="随身WiFi刷debian系统">http://kiki.kim/2023/04/23/随身WiFi刷debian系统/</a></li><li class="post-copyright-license"><strong>版权声明: </strong>本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-CN" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处!</li></ul></div><div class="post-tags"><a href="/tags/Linux/" rel="tag"><i class="fa fa-tag"></i> Linux</a> <a href="/tags/debian/" rel="tag"><i class="fa fa-tag"></i> debian</a> <a href="/tags/%E9%9A%8F%E8%BA%ABWiFi/" rel="tag"><i class="fa fa-tag"></i> 随身WiFi</a></div><script type="text/javascript">for(var tagsall=document.getElementsByClassName("post-tags"),i=tagsall.length-1;0<=i;i--)for(var tags=tagsall[i].getElementsByTagName("a"),j=tags.length-1;0<=j;j--){var r,g,b,golden_ratio=.618033988749895,s=.5,v=.999,h=golden_ratio+.8*Math.random()-.5,h_i=parseInt(6*h),f=6*h-h_i,p=v*(1-s),q=v*(1-f*s),t=v*(1-(1-f)*s);switch(h_i){case 0:r=v,g=t,b=p;break;case 1:r=q,g=v,b=p;break;case 2:r=p,g=v,b=t;break;case 3:r=p,g=q,b=v;break;case 4:r=t,g=p,b=v;break;case 5:r=v,g=p,b=q;break;default:b=g=r=1}tags[j].style.background="rgba("+parseInt(255*r)+","+parseInt(255*g)+","+parseInt(255*b)+",0.5)"}</script><div class="post-nav"><div class="post-nav-item"><a href="/2023/04/20/esxi+openwrt+dsm+homeassistant-%E8%BD%AF%E8%B7%AF%E7%94%B1all-in-one/" rel="prev" title="esxi+openwrt+dsm+homeassistant 软路由 all in one"><i class="fa fa-chevron-left"></i> esxi+openwrt+dsm+homeassistant 软路由 all in one</a></div><div class="post-nav-item"><a href="/2023/04/23/%E9%98%BF%E9%87%8COSS+Picgo+Typora%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/" rel="next" title="阿里OSS+Picgo+Typora搭建图床">阿里OSS+Picgo+Typora搭建图床 <i class="fa fa-chevron-right"></i></a></div></div></footer></article></div></div></main><footer class="footer"><div class="footer-inner"><div class="copyright">&copy; <span itemprop="copyrightYear">2023</span> <span class="with-love"><i class="fa fa-heart"></i> </span><span class="author" itemprop="copyrightHolder">小梦同学的blog</span></div><div class="beian"><img src="https://www.beian.gov.cn/img/new/gongan.png" alt=""><a href="https://www.beian.gov.cn//portal/registerSystemInfo?recordcode=%E7%94%B3%E8%AF%B7%E4%B8%AD" rel="noopener" target="_blank">申请中 </a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" rel="noopener" target="_blank">苏ICP备2021047152号-1</a></div><div class="busuanzi-count"><span class="post-meta-item" id="busuanzi_container_site_uv"><span class="post-meta-item-icon"><i class="fa fa-user"></i> </span><span class="site-uv" title="总访客量"><span id="busuanzi_value_site_uv"></span> </span></span><span class="post-meta-item" id="busuanzi_container_site_pv"><span class="post-meta-item-icon"><i class="fa fa-eye"></i> </span><span class="site-pv" title="总访问量"><span id="busuanzi_value_site_pv"></span></span></span></div><div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动</div><span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span><script>var now=new Date;function createtime(){var n=new Date("03/01/2023 10:00:00");now.setTime(now.getTime()+250),days=(now-n)/1e3/60/60/24,dnum=Math.floor(days),hours=(now-n)/1e3/60/60-24*dnum,hnum=Math.floor(hours),1==String(hnum).length&&(hnum="0"+hnum),minutes=(now-n)/1e3/60-1440*dnum-60*hnum,mnum=Math.floor(minutes),1==String(mnum).length&&(mnum="0"+mnum),seconds=(now-n)/1e3-86400*dnum-3600*hnum-60*mnum,snum=Math.round(seconds),1==String(snum).length&&(snum="0"+snum),document.getElementById("timeDate").innerHTML="本站已安全运行 "+dnum+" 天 ",document.getElementById("times").innerHTML=hnum+" 小时 "+mnum+" 分 "+snum+" 秒."}setInterval("createtime()",250)</script></div></footer><div class="back-to-top" role="button" aria-label="返回顶部"><i class="fa fa-arrow-up fa-lg"></i> <span>0%</span></div><div class="reading-progress-bar"></div><a href="https://github.com/M-HALLIDAY" class="github-corner" title="在 GitHub 上关注我" aria-label="在 GitHub 上关注我" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><noscript><div class="noscript-warning">Theme NexT works best with JavaScript enabled</div></noscript><script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js" integrity="sha256-yt2kYMy0w8AbtF89WXb2P1rfjcP/HTHLT7097U8Y5b8=" crossorigin="anonymous"></script><script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/next-boot.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/hexo-generator-searchdb/1.4.1/search.js" integrity="sha256-1kfA5uHPf65M5cphT2dvymhkuyHPQp5A53EGZOnOLmc=" crossorigin="anonymous"></script><script src="/js/third-party/search/local-search.js"></script><script src="/js/third-party/fancybox.js"></script><script src="/js/third-party/pace.js"></script><script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><script src="https://unpkg.com/darkmode-js@1.5.7/lib/darkmode-js.min.js"></script><script>var options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: 'transparent',
backgroundColor: 'transparent',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: true,
label: '🌓',
autoMatchOsTheme: true
}
const darkmode = new Darkmode(options);
window.darkmode = darkmode;
darkmode.showWidget();</script><script async src="/js/cursor/love.min.js"></script><script type="text/javascript" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script></body></html>