Blogspot - go-linux.blogspot.com - 瘋狂帽客's Blog
General Information:
Latest News:
How to enable auth details in FreeRADIUS log? 2 Aug 2013 | 01:53 pm
Here to describe how to enable detail auth information and authentication requests to the log file in FreeRADIUS. FreeRADIUS 1.x: Open and edit /etc/raddb/radiusd.conf to set: log_auth = yes auth_lo...
How can I allow IP protocol 47 (gre) via iptables to connect a GRE GW? 27 Jun 2013 | 10:26 am
Topology: GRE GW1 ----- Switch -----(eth0)Linux NAT Router(eth1) ----- Switch ----- GRE GW2 To configure IP protocol 47 to GRE GW on NAT Router below: # iptables -t nat -A PREROUTING -i eth0 -p gre...
Set http/https proxy server in Linux CLI 1 Apr 2013 | 08:52 am
HTTP: # export http_proxy="http://10.10.10.254:8080" HTTPs: # export https_proxy="https://10.10.10.254:8080" Where 10.10.10.254 is the IP of Proxy Server, and 8080 is port number. Remove: # unse...
Howto TACACS+ on CentOS6.x 13 Mar 2013 | 03:03 pm
Here to describe howto install/configure TACACS+ on CentOS6.x on step by step. Step1. Download rpm: wget ftp://ftp.muug.mb.ca/mirror/redhat/contrib/libc6/i386/tac_plus-4.0.3-2.i386.rpm Step2. Insta...
增加FreeRADIUS的listen port 7 Feb 2013 | 10:33 am
預設FreeRADIUS的listen port為1812(認證)與1813(計費),但是FreeRADIUS允許我們可以多bind幾個port來使用。 測試版本: CentOS 5.8/FreeRADIUS 1.1.3-1.6.el5 Steps: 1. 確定目前只有1812/1813在使用,1814/1815無任何daemon使用,等會將設定1814為Auth而1815為ACCT。 [r...
CentOS 5.9 has released! 4 Feb 2013 | 09:01 pm
CentOS 5.9 釋出了,明天來update。 http://www.tecmint.com/how-to-upgrade-from-centos-5-x-to-centos-5-9/
Linux有Terminator,OSX呢? 19 Dec 2012 | 08:33 pm
Terminator在Linux上可說是神兵利器,絕對是工程師的最愛,那麼OSX呢? 唉,原生的終端機真的是跟不上時代...... 好在有iTerm2可以用,真是棒呀!現在我只能說13"的MBP螢幕有點小。:p
Disable IPv6 in Mac OSX 10.7 12 Dec 2012 | 08:42 am
如下圖在OSX10.7裡面的網路設定,針對IPv6並沒有關閉的選項,搜尋了一下可以用command暫時將它關閉起來。 For Ethernet: networksetup -setv6off Ethernet For Wireless: networksetup -setv6off Wi-Fi
Bonjour browser on OSX 7 Nov 2012 | 09:20 am
You can use mDNS or Bonjour browser to query DNS-SD on OSX as following: Browser service: mDNS -B (Browse for services instances) MBP:~ lawrence$ mDNS -B _sftp-ssh._tcp. Browsing for _sftp-ssh._tcp...
DHCP Server某網段的IP range被用完了該怎麼辦? 18 Oct 2012 | 08:39 am
做實驗時不小心把某個網段的IP scope用完了,距離release時間有一天,影響到新的client拿不到IP了,靈機一動就想把它手動砍掉吧!不過我要對付的是整個IP scope,嘿嘿~派出sed一行指令就結束了。 Steps: 1. dhcpd的lease table是放在/var/lib/dhcpd/dhcpd.leases 2. 檢查一下格式: lease 10.10.6.125 ...