使用下面的命令來產生 xorg.org.new 的檔案:

$ sudo Xorg -configure :1
或是
#Xorg -configure

產生 xorg.conf.new 後,再複製到 /etc/X11/xorg.conf 再進行編輯。
使用以下設定便可調整解析度到 1280x1024@60
$ gtf 1280 1024 60 -x
# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
 Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
再將上述兩行複製到 xorg.conf 裡的 Section "Monitor" 的區段裡即可。
另外如果在 Display 的 SubSection 沒有 modes 參照下的參數,加入即可。 繼續閱讀 »

tomatoUSB build 52 更新札記


在更新之前,要先看一下 Change Log, 看完之後,再看 know issue:

Change Log:

Build 52 – 10/15/2010

Changes common for kernel 2.4 and kernel 2.6 based builds:

  • 1.Fixed WAN Up script not being executed (在 build 51 是壞掉的).
  • 2.Fixed obtaining DHCP lease from Corbina Beeline and possibly other ISPs (在 build 51 是壞掉的).
  • 3.Fixed DHCP renewal processing to not replace the default gateway and DNS servers for PPTP/L2TP connections.
  • 4.Fixed errors in routing for PPTP/L2TP connections.
  • 5.Added "Use Default Gateway on Remote Network" option for PPTP/L2TP connection types (turned on by default). Turn it off to use gateway obtained via DHCP for internet routing, and only use PPTP/L2TP gateway for VPN subnet (custom routing may be required in case if VPN network contains multiple subnets).
  • 6.Resolve sporadic PPPoE disconnect issues with some ISPs.
  • 7.Allow to configure custom TTL values in the Web GUI. 繼續閱讀 »

先安裝 lzo

#cd /root
#wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.03.tar.gz
#tar zxvf  lzo-2.03.tar.gz
#cd lzo-2.03
#./configure && make && make install

再安裝 openvpn 2.1.1 (lzo 必須要先安裝,不然下面的安裝會出錯)
#cd /root
#wget http://openvpn.net/release/openvpn-2.1.1.tar.gz
#tar zxvf openvpn-2.1.1.tar.gz
#cd openvpn-2.1.1
#./configure && make && make install

繼續閱讀 »

用 USBKEY + Grub4Dos 來載入 LiveCD/ISO

Grub4Dos Load Live ISO from USBKEY

呼,經過多日的研究,終於可以從 USBKEY 載入 LIVE ISO 了。

現在可以從 grub4dos 載入 CloneZilla , PartedMagic, Windows7 Installation, 甚至 RHEL 5.5 / SLES 11 SP1 / ESX 4.1 都可以經由 USBKEY 來載入 ISO 並安裝 OS。 至少不用再煩惱光碟機挑片的問題,雖然 從 DVD 安裝,仍然是必要的測試,但是,可以從 USBKEY 來安裝 OS ,這仍然是一件令人興奮的事情。 繼續閱讀 »

如果你尚未更新至 tomato 的韌體,請參照下面網址來更新:

http://code.google.com/p/twtomato/w/list

以下更新方法適用 已為 tomatovpn 或已是 tomato 的韌體適用:

tomatoVPN官網

使用機型: Buffalo WHR-G54S
更新用的檔案: tomatovpn-1.27vpn3.6.7z 裡的 tomato.trx 更名為 tomato.bin

下載網址:  點這裡下載
檔案名稱: tomatovpn-1.27vpn3.6.7z 繼續閱讀 »

當 Windows7 X64(64bit) 遇上 XP x86(32bit) 時,印表機要如何分享?

1.PC:  Windows 7 x64 + Epson EPL-6200L (Driver installed by Windows update).
在 PC 上 Windows 7 x64 + Epson EPL-6200L (驅動程式經由 Windows update 安裝).

2.NB: XP 32bit + Epson EPL-6200L (Driver installed by manual, driver download from Epson website)
在 NB 上 是 XP 32 位元,驅動程式從 EPSON 網站上下載並安裝成功,連接埠為 LPT1(稍後再修改)

3.PC:  Set Printer share name as 6200l in PC and make sure it can print normal
在 PC 上 設定 印表機的共用名稱為 6200l (l <- L 的小寫字母)

4.NB: After install Epson 6200L driver, set up the connect port (local port) as \\pc\6200l then save and exit.
在 NB 上,修改 6200 的連接埠(local port) 從 LPT1 改為 \\pc\6200l 或是 \\IP\6200l 皆可。

5.NB: try print test page on NB and success.
在 NB 上,列印測試頁。

佳世達甲蟲機(Qisda H21 3G USB 網卡) + Ubuntu 9.10/10.04 LTS/10.10/11.04

適用OS版本: Ubuntu 9.10 / 10.04 LTS / 10.10 / 11.04

下載 Rules files & switch (非官方版本) →

  h21-ubuntu_9.10_beta_2.6.31-14.tar.gz (1.3 KiB, 277 hits)

  Qisda h21 for ubuntu 9.10/10.04 LTS (Tested.)

解壓縮:
#tar zxvf h21-ubuntu_9.10_beta_2.6.31-14.tar.gz
#cd h21-ubuntu_9.10_beta_2.6.31-14
#sh install.sh

安裝好 SWITCH & RULES 檔案之後,如果 rules & switch 有發生作用,
你會看到甲蟲機的屁屁由紅變藍之後,就可以開始進行設定了。

打開網路連線管理員,開始進行下列的設定:

1. 打開網路連線 -> 行動寬頻 -> 加入

1-Qisda-h21
繼續閱讀 »

Tomato 1.25 vpn 3.4 更新札記

此版更新後,原 sshd 的部份,會多出 remote port。

如果用 ap 做 gateway 的話,請勾選 remote port 並指定 port number。

如果不是用 ap 做 gateway 的話,請不要勾選 remote port。謝謝。

官網: http://tomatovpn.keithmoyer.com/2009/08/125vpn34-release.html

至於新增什麼功能,請看下面:

  • Upgraded to OpenVPN 2.1rc19
  • AES speed improvements (Thanks fyellin!)
  • More "Accept DNS configuration" options (strict/exclusive)
  • Add (dynamic) HOWTO links to GUI for key generation
  • TLS renegotiation time setting
  • WINS options pushed/accepted along with other DNS options
  • Option to not push server LAN route to clients
  • Option to leave comp-lzo directive out of confi altogether (now "Disable", "None" is equivalent to the old "Disable")
  • Non-VPN changes (also sent to Jon for inclusion in Tomato)
    • Multiple MAC addresses can share an IP for Static DHCP
    • EditDNS added to Dynamic DNS providers
  • Various code cleanups/improvements

As I am building up a total IPv6 network of Linux servers on VMWare, today I will write about how we can configure DHCPv6 server & client. I tested only on RedHat/Fedora/CentOS based platforms. But it should work on other platforms with some minor changes. So lets start…Server Configuration: (dhcp6s)

First we will install DHCPv6 RPM on the server:

# yum -y install dhcpv6

After installing the above mentioned RPM we will turn on global IPv6 initialization and will also enable forwarding of IPv6 packets: 繼續閱讀 »

用 puttygen.exe 做 key 給 myentunnel/tomato sshd 使用

用 puttygen.exe 做 key 給 myentunnel/tomato sshd 使用

1. 下載 puttygen.exe ,http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
[點我快速下載] , 並啟動 puttygen.exe。

Putty_Key_Step1

繼續閱讀 »

文章頁次1/2
12 » 最後一頁

訂閱網站

Page optimized by WP Minify WordPress Plugin