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

17 lines
41 KiB
HTML
Raw Normal View History

2023-04-27 15:22:40 +00:00
<!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/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" 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":true,"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:ima
</code></pre></li></ol><h3 id="3-2-插在电源上使用的方式"><a href="#3-2-插在电源上使用的方式" class="headerlink" title="3.2 插在电源上使用的方式"></a>3.2 插在电源上使用的方式</h3><h4 id="3-2-1-设备连接wifi"><a href="#3-2-1-设备连接wifi" class="headerlink" title="3.2.1 设备连接wifi"></a>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-问题"><a href="#4-问题" class="headerlink" title="4.问题"></a>4.问题</h2><h3 id="1-修复mobian源并安装基础软件"><a href="#1-修复mobian源并安装基础软件" class="headerlink" title="1. 修复mobian源并安装基础软件"></a>1. 修复mobian<61><6E>
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>