資料來源: http://tw.myblog.yahoo.com/bullock0425/article?mid=343&prev=375&next=320&l=f&fid=8
5.阻擋某電腦做封包轉送
- 5.1 阻擋某電腦,使用ip iptables -A FORWARD -s xx.xx.xx.xx -j DROP
- 5.2 阻擋某電腦,使用MAC iptables -A FORWARD -m mac xx.xx.xx.xx.xx.xx -j DROP
資料來源: http://tw.myblog.yahoo.com/bullock0425/article?mid=343&prev=375&next=320&l=f&fid=8
5.阻擋某電腦做封包轉送
Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid
Ubuntu 8.10 Linux on ThinkPad X61 升級筆記
安裝多媒體編碼
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install w32codecs
修正firefox按backspace不會回到上一頁
網址列輸入 about:config
Filter打 ‘browser.backspace_action’ 然後將數值改成 0
修正firefox按中間鍵會亂跑
網址列輸入 about:config
Filter打 ‘middlemouse.contentLoadURL’ 然後將數值改成false
用指紋辨識
在 /etc/apt/sources.list加入
deb http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse
然後執行
apt-get install thinkfinger-tools libpam-thinkfinger
接著編輯/etc/pam.d/common-auth
auth sufficient pam_thinkfinger.so <----加入這行
auth required pam_unix.so try_first_pass nullok_secure
再來編輯 /etc/modules並且加入uinput
接著執行modprobe uinput
最後新增指紋辨識的user:
sudo tf-tool --add-user YourUserName
The trackpoint the red knob in the middle of Thinkpad keyboards, its one of the best mouse alternatives I've ever seen. You don't ever have to move your hand away from the home row!
One of the features of the windows driver is that you can hold the middle mouse button down and push the trackpoint up/down to scroll. This is really convenient, and of course I'd like to use it everywhere. But it is not a hardware function, and must be simulated by the driver.
Fortunately, the xorg "mouse" input driver supports this, and I have used this option happily over the years. But with Fedora 9 this suddenly stopped working. Further investigation revealed that the "evdev" driver was taking over, even though another driver is explicitly configured in xorg.conf. Talking about greedy. The correct solution is to disable this autodetection via the "AutoAddDevices" server flag. Here is my working configuration:
Note that I only enable middle mouse button + up/down to scroll, not left/right. The left/right option is interpreted as backwards/forwards in firefox, which gets annoying quickly. Now it is possible to reassign the keys in firefox, but in the end I noticed that I never use the left/right scrolling functions anywhere.
http://www.mobile01.com/topicdetail.php?f=240&t=425441&p=1
編輯/etc/X11/Xmodmap. 貼在最後面 keycode 234 = XF86Back keycode 233 = XF86Forward #以上是方向鍵旁邊的上下一頁 #也可改成pgUp,pgDn #keycode 234 = Prior #keycode 233 = Next keycode 159 = XF86Start keycode 162 = XF86AudioPlay keycode 164 = XF86AudioStop keycode 153 = XF86AudioNext keycode 144 = XF86AudioPrev keycode 227 = XF86LaunchF keycode 249 = XF86ZoomIn
http://racklin.blogspot.com/2008/04/ubuntu-804-thinkpad-t61.html
The trackpoint the red knob in the middle of Thinkpad keyboards, its one of the best mouse alternatives I've ever seen. You don't ever have to move your hand away from the home row!
One of the features of the windows driver is that you can hold the middle mouse button down and push the trackpoint up/down to scroll. This is really convenient, and of course I'd like to use it everywhere. But it is not a hardware function, and must be simulated by the driver.
Fortunately, the xorg "mouse" input driver supports this, and I have used this option happily over the years. But with Fedora 9 this suddenly stopped working. Further investigation revealed that the "evdev" driver was taking over, even though another driver is explicitly configured in xorg.conf. Talking about greedy. The correct solution is to disable this autodetection via the "AutoAddDevices" server flag. Here is my working configuration:
Note that I only enable middle mouse button + up/down to scroll, not left/right. The left/right option is interpreted as backwards/forwards in firefox, which gets annoying quickly. Now it is possible to reassign the keys in firefox, but in the end I noticed that I never use the left/right scrolling functions anywhere.
http://www.mobile01.com/topicdetail.php?f=240&t=425441&p=1
編輯/etc/X11/Xmodmap. 貼在最後面 keycode 234 = XF86Back keycode 233 = XF86Forward #以上是方向鍵旁邊的上下一頁 #也可改成pgUp,pgDn #keycode 234 = Prior #keycode 233 = Next keycode 159 = XF86Start keycode 162 = XF86AudioPlay keycode 164 = XF86AudioStop keycode 153 = XF86AudioNext keycode 144 = XF86AudioPrev keycode 227 = XF86LaunchF keycode 249 = XF86ZoomIn
http://racklin.blogspot.com/2008/04/ubuntu-804-thinkpad-t61.html