内容简介:首先按照网上的教程,给microSD卡format, 然后把ubuntu镜像拷上去。开机,初始化系统然后连一根网线
首先按照网上的教程,给microSD卡format, 然后把ubuntu镜像拷上去。
开机,初始化系统
然后连一根网线
然后:
For the image with apt installed
Step1:
sudo apt-get install wireless-tools
Step2:
sudo apt-get install wpasupplicant
Step3: add to /etc/network/interfaces
:
auto wlan0 iface wlan0 inet dhcp wpa-ssid WIRELESSSSID wpa-psk WIRELESSPASSWORD
Step4: comment from /etc/network/interfaces
the line:
#source /etc/network/interfaces.d/*.cfg
the commented interfaces.d/*.cfg
file contains settings for the eth0.
I do not understand why but leaving this line active and adding the wlan0 config would crash the system at boot.
Step5: reboot
For the core image without apt installed:
Step1:
ifconfig wlan0 down ifconfig wlan0 up
Step2: create wireless config file:
sudo vi /etc/network/interfaces.d/wlan0
Note: I tried without sudo but it would not let me save the changes
Step3: add the following content
auto wlan0 iface wlan0 inet dhcp wpa-ssid WIRELESSSSID wpa-psk WIRELESSPASSWORD
Step4: reboot
其实都不需要reboot, 只要重启网卡即可:
sudo systemctl restart networking sudo ifdown wlan0 sudo ifup wlan0 wpa_cli status
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- [树莓派]树莓派的入门教程
- 「玩转树莓派」树莓派 3B+ 安装 OpenCv
- 「玩转树莓派」树莓派 3B+ 查询本机IP
- 「玩转树莓派」树莓派 3B+ 配置静态IP
- 「玩转树莓派」树莓派 3B+ 配置无线WiFi
- 云中树莓派(3):通过 AWS IoT 控制树莓派上的 Led
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Haskell趣学指南
[斯洛文尼亚] Miran Lipovaca / 李亚舟、宋方睿 / 人民邮电出版社 / 2014-1
《haskell趣学指南》是一本讲解haskell这门函数式编程语言的入门指南,语言通俗易懂,插图生动幽默,示例短小清晰,结构安排合理。书中从haskell的基础知识讲起,涵盖了所有的基本概念和语法,内容涉及基本语法、递归、类型和类型类、函子、applicative 函子、monad、zipper及所有haskell重要特性和强大功能。 《haskell趣学指南》适合对函数式编程及haske......一起来看看 《Haskell趣学指南》 这本书的介绍吧!