XuSenfeng

个人站

复读了,更新随缘,有的文件不全或者图片缺失具体看我的笔记库(https://github.com/XuSenfeng/note)


309

目录

deb http://old-releases.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ cosmic-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ cosmic-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ cosmic-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ cosmic-security main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ cosmic-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ cosmic-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse

/etc/apt/sourcer.list源改为上面的

之后更改tmp文件的权限

在文件/etc/porfile中加入网络设置

模块加载的时候不能添加最后的ko

视频播放

mplayer ./Piper800x480_23fps.avi -vo fbdev -fs

python:

  • pip

apt-get insatll python3-pip

之后安装的时候出错, 是由于源的问题

pip install requests -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

或者~/.pip/pip.conf(没有就创建一个文件夹及文件。

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com

联网

#!/bin/bash

modprobe 8188eu

ifconfig wlan0 up

ifconfig eth0 down

#iwlist wlan0 scan

wpa_supplicant -D wext -c /etc/wpa_supplicant.conf -i wlan0 &

sleep 5

udhcpc -i wlan0