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