2016年11月29日星期二

Netgear WNA1000M on Debian Jessie

Add a “non-free” component to /etc/apt/sources.list, for example:

Debian 8 “Jessie”

deb http://httpredir.debian.org/debian/ jessie main contrib non-free

Update the list of available packages and install the firmware-realtek package:

apt-get update && apt-get install firmware-realtek

apt-get update

apt-get install network-manager-gnome

reboot

2016年11月25日星期五

Resetting Xfce Panels to default settings

rm -rf ~/.config/xfce4/panel

rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

reboot

2016年11月12日星期六

freebsd设置交换swap分区

dd if=/dev/zero of=/usr/swap0 bs=1m count=128

chmod 0600 /usr/swap0

echo ‘md99 none swap sw,file=/usr/swap0 0 0’ >> /etc/fstab

swapon -aq

2016年11月11日星期五

freebsd挂载ntfs格式硬盘

cd /usr/ports/sysutils/fusefs-ntfs && make BATCH=yes install clean
or
pkg install fusefs-ntfs
Then add to /boot/loader.conf

fuse_load=”YES”
Now run it:

/usr/local/etc/rc.d/fusefs start

Now – make dir for NTFS partition, for example:

mkdir /mnt/ntfs

Now – you can mount your NTFS in rw mode:

ntfs-3g -o rw,locale=zh_CN.UTF-8 /dev/ada0s3 /mnt/ntfs

After all – add to /etc/fstab:

/dev/ada0s1 /mnt/ntfs ntfs-3g rw,locale=zh_CN.UTF-8, mountprog=/usr/local/bin/ntfs-3g,uid=1001,gid=1001,late 0 0

2016年11月7日星期一

FreeBSD pkg仓库台湾的镜像

http://pkg.freebsd.org/ 在这个页面上可以看到:

pkg0.bme.freebsd.org
pkg0.nyi.freebsd.org
pkg0.twn.freebsd.org
pkg0.ydx.freebsd.org

openwrt 6300V2 USB无法显示的问题

lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...