authoritative;
ddns-update-style none;
option time-offset 28800;
option domain-name-servers 140.127.198.1;
#Define Space
option space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address code 43 = string;
class "Vendor-Identifier" {
match option vendor-class-identifier;
}
subnet 172.17.0.0 netmask 255.255.255.0 {
option routers 172.17.0.254;
option subnet-mask 255.255.255.0;
option domain-name "AP.Example.com";
option broadcast-address 172.17.0.255;
#Wireless Controler IP Address Configure Option
subclass "Vendor-Identifier" "Airespace.AP1200" {
option vendor-class-identifier "Airespace 1200";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.1";
}
subclass "Vendor-Identifier" "Cisco AP c1500" {
option vendor-class-identifier "Cisco AP c1500";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.2";
}
subclass "Vendor-Identifier" "Cisco AP c1200" {
option vendor-class-identifier "Cisco AP c1200";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.3";
}
range dynamic-bootp 172.17.0.1 172.17.0.200;
default-lease-time 43200;
max-lease-time 86400;
}
2008年12月8日
2008年12月2日
Install Two HP FC1142SR 4Gb PCI-e HBA Card Using QLogic Fibre Channel HBA Driver (qla2xxx-8.02.21) in Ubuntu 8.04.1
Make Provision Driver Building Environment
Download QLogic Fibre Channel HBA Driver Source Code
- apt-get install build-essential
- apt-get install kernel-package
- make sure that can find linux-source tarball (ex: linux-source-2.6.24.tar.bz2) in path: /usr/src
- extract and decompress linux-source tarball (ex: tar -xvjf linux-source-2.6.24.tar.bz2)
- change directory to /lib/modules/{kernel version} (ex: cd /lib/modules/`uname -r`)
- create a link to linux-headers path with the name build. (ex: ln -s /usr/src/`uname -r` build)
- create a link to linux-source path with the name build. (ex: ln -s /usr/src/linux-source-2.6.24 source)
Modify The Driver Source Code
- change to your home directory
- wget ftp://ftp.qlogic.com/outgoing/linux/beta/8.x/qla2xxx-src-v8.02.21.tar.gz
- extract and decompress source code tarball file (ex: tar -xvzf qla2xxx-src-v8.02.21.tar.gz)
Get ready to build Driver
- edit file extras/build.sh at first line "#!/bin/sh" to "#!/bin/bash"
in Ubuntu Linux the default "sh" had been symbolic linking to "dash", there are some functions can't be executable in build.sh scrip.- edit file qla_def.h, remark line 33 ~ 35.
- edit file qla_isr.c,. replace "SA_INTERRUPT|SA_SHIRQ" with "IRQF_DISABLED|IRQF_SHARED" at line 2100.
- edit file qla_os.c, add "struct" in front of "kmem_cache *srb_cachep;" at line 40.
- remove ones of NULL at line 5723 in file qla_os.c
- replace "pci_module_init" with "pci_register_driver" at line 5759 in file qla_os.c
Now You Can Install this Driver, If Everything is O Kay.
- change user to root.
- execute "extras/build.sh" in qla2xxx-8.02.21 directory.
Reboot System to Test New Initial Ramdisk and Pray It Can Work..... just kindling ^_^
- execute "extras/build.sh install" to install Driver.
- execute "update-initramfs -v -u -k `uname -r`" to update initramfs image.
訂閱:
文章 (Atom)
精選文章
Ubuntu 20.04 LTS VM syslog 出現 multipathd 錯誤時的處置措施
在 VM 上安裝完 Ubuntu 20.04 LTS 版本後在一次例行性檢查中發現 syslog 中發現一直跳出 multipathd 的錯誤,如下圖 這問題產生的原因是 ESXi 不會產生 udev 必要的資訊,所以 udev 就無法產生出相對應的 /dev/disk/by-i...
-
有管理過Unix like的作業系統或是有在撰寫Unix like程式的人往往會使用到標準輸入(STDIN)、輸出(STDOUT)及錯誤輸出(STDERR)的管線來完成一些訊息的輸入、輸出及錯誤訊息的表達。 但是若要用php來完成同樣的事情時,則未免有些遺憾,沒有現成的系統錯誤輸...
-
$ setterm -dump 3 -----> 錄 tty3 的東東 , 產生 screen.dump $ setterm -append -----> 錄 目前 tty 加在 screen.dump 的尾巴 $ setterm -h | less...
-
initrd的檔案格式在kernel 2.4及kernel 2.6是不一樣的 kernel 2.4的掛載方式: mkdir initrd cp /boot/inirtd.img ./initrd.img.gz gunzip initrd.img.gz mount -t ext -...