1). intel WiFi Link 5100
download from https://packages.debian.org/zh-cn/sid/all/firmware-iwlwifi/download
2). dpkg -i firmware-iwlwifi_0.40_all.deb install the package
3). modprobe -r iwlwifi ; modprobe iwlwifi
#deb http://ftp.debian.org/debian/ wheezy main non-free contrib
#deb http://ftp.debian.org/debian/ wheezy-proposed-updates main non-free contrib
#deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib
#deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates main non-free contrib
## kali guan fang
#deb http://http.kali.org/kali kali main non-free contrib
#deb-src http://http.kali.org/kali kali main non-free contrib
## Security updates
#deb http://security.kali.org/kali-security kali/updates main contrib
#deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-update main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
#deb http://ftp.tw.debian.org/debian wheezy main contrib non-free
#deb http://security.debian.org/debian-security wheezy/updates main contrib non-free
#deb http://ftp.tw.debian.org/debian wheezy-updates main contrib non-free
## deb http://ftp.tw.debian.org/debian wheezy-proposed-updates main contrib non-free
#deb http://ftp.tw.debian.org/debian-multimedia wheezy main non-free
#deb http://ftp.tw.debian.org/debian wheezy-backports main contrib non-free
#deb http://http.debian.net/debian wheezy main
#deb-src http://http.debian.net/debian wheezy main
#deb http://http.debian.net/debian wheezy-updates main
#deb-src http://http.debian.net/debian wheezy-updates main
#deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
#deb http://ftp.cn.debian.org/debian wheezy main contrib non-free
#deb http://ftp.cn.debian.org/debian-security wheezy/updates main contrib non-free
#deb http://ftp.cn.debian.org/debian wheezy-updates main contrib non-free
## deb http://ftp.cn.debian.org/debian wheezy-proposed-updates main contrib non-free
#deb http://ftp.cn.debian.org/debian-multimedia wheezy main non-free
#deb http://ftp.cn.debian.org/debian wheezy-backports main contrib non-free
#deb http://ftp.sjtu.edu.cn/debian wheezy main contrib non-free
#deb http://security.debian.org/debian-security wheezy/updates main contrib non-free
#deb http://ftp.sjtu.edu.cn/debian wheezy-updates main contrib non-free
## deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main contrib non-free
#deb http://ftp.cn.debian.org/debian-multimedia wheezy main non-free
#deb http://ftp.sjtu.edu.cn/debian wheezy-backports main contrib non-free
#deb http://ftp.debian.org/debian wheezy main contrib non-free
#deb http://security.debian.org/debian-security wheezy/updates main contrib non-free
#deb http://ftp.debian.org/debian wheezy-updates main contrib non-free
## deb http://ftp.debian.org/debian wheezy-proposed-updates main contrib non-free
#deb http://www.deb-multimedia.org wheezy main non-free
#deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
#deb http://ftp.cn.debian.org/debian stable main contrib non-free
#deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
#deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.jp.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
W: GPG 错误:http://ftp.tw.debian.org squeeze Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 07DC563D1F41B907
W: Duplicate sources.list entry http://security.debian.org/ squeeze/updates/main i386 Packages (/var/lib/apt/lists/security.debian.org_dists_squeeze_updates_main_binary-i386_Packages)
原因是公钥没有通过验证,可以通过下面命令解决:
gpg --keyserver keyring.debian.org --recv 07DC563D1F41B907
//后面的07DC563D1F41B907 就是上面提到的 NO_PUBKEY 07DC563D1F41B907中的公钥,替换成对应的即可。
//红色字中的1F41B907 是上面公钥的后八位,也要替换成对应的。
然后重新apt-get update即可。
fcitx
apt-get install fcitx-config-gtk2 fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-module-x11 fcitx-m17n
vi /etc/X11/Xsession.d/25xchinput-start
#export G_FILENAME_ENCODING=@GBK
#export LANG=zh_CN.GB2312
export XMODIFIERS=@im=fcitx
fcitx
打开fcitx配置工具,全局配置-》程序 默认输入法状态-》激活
~/.config/fcitx文件夹是fcitx的配置,其中config是配置界面等。
sudo
su
sudo gedit /etc/sudoers 在root下加入一行
1 # User privilege specification
2 root ALL=(ALL:ALL) ALL
3 r2100 ALL=(ALL:ALL) ALL
time
调整时间现在使用/etc/adjtime,
将第三行从UTC改成LOCAL再到网上更新一下时间,
两个系统的时间就一致了。
dpkg status is locked by anthor process
解决办法:sudo rm -rf /var/lib/dpkg/lock