Ubuntu server 启用WiFi

安装连接WiFi需要的软件包 sudo apt-get install wpasupplicant 编辑/etc/network/interfaces文件,添加内容: auto wlan0 iface wlan0 inet dhcp wpa-ssid xxxxxx wpa-psk 12345678 其中wpa-ssid是WIFI名称,wlan0是WIFI接口名 这个配置是通过DHCP自动配置ip地址以及DNS,如果想要手动设置内容改成这样: auto wlan0 iface wlan0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 114.114.114.114 wpa-ssid xxxx wpa-psk 12345678 修改好了之后执行下面命令启用WIFI: 首先关闭WIFI sudo ifdown wlan0 然后启用WIFI sudo ifup -v wlan0 现在WIFI已经连接上来,而且重启后也会自动连接。   https://blog.csdn.net/u010162887/article/details/52081369

Manjaro 蓝牙

新安装的Manjaro系统(18.0.4),可以连接蓝牙音响设备,但是默认输出音质较差,使用品质较低的设备不易察觉到,但是使用稍微好一些的音响设备,音质会受到明显的影响。 有些情况下,新安装的系统缺少必要的软件包,可以连接蓝牙音箱,但是没有选择输出设备的选项,记录两种可以解决这个问题的方法: 1、安装Blueman,使用Blueman连接设备。 2、Manjaro(Gnome)系统安装pulseaudio-module,重启系统之后,在音频输出设备选项中可以选择连接到电脑的音箱。 到此为止,系统可以通过蓝牙音响输出音频,但是默认音质较低,需要进行设置,以选择高品音质输出。 sudo pacman -Sy bluez bluexz-utils sudo pacman -Sy blueman sudo systemctl status bluetooth sudo systemctl start bluetooth sudo systemctl enable bluetooth 完成之后,系统中会新建一个蓝牙的配置文件: edit /etc/bluetooth/main.conf sudo nano /etc/bluetooth/main.conf add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution): # …