找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2592|回复: 3

[N1盒子] N1运行Ubuntu无线配置方法

[复制链接]
本帖最后由 445287790 于 2018-7-19 09:38 编辑

先查看有无wlan0无线口,无wlan0请忽视此文。

ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500


1. 修改vi /etc/network/interfaces,添加无线网卡配置:




  • auto wlan0


  • iface wlan0 inet dhcp


  • wpa-ssid WIFI名


  • wpa-psk WIFI密码


  • dns-nameservers 192.168.1.1

2.

使用  static dns:




  • vi /etc/resolv.conf


  • 添加:


  • nameserver 192.168.1.1



3. 先 disable NetworkManager:




  • systemctl  stop NetworkManager.service  


  • systemctl  disable  NetworkManager.service


4. 重启网络服务:

systemctl  restart  networking.service

验证网络ifconfig

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.182  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::                             prefixlen 64  scopeid 0x20<link>

        ether                                 txqueuelen 1000  (Ethernet)

        RX packets 1274  bytes 842458 (842.4 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 1512  bytes 518570 (518.5 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


我的恩山、我的无线 The best wifi forum is right here.
很不错!感谢分享~~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

牛批,我的无线让我彻底弄坏了,太需要这个了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 12:47

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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