-
How to convert Cisco Aironet 1130 to autonomous
Posted on January 23rd, 2010 1 commentI got some Cisco Aironet 1130 AP’s from Amazon a couple of month ago. but even those are brand new, it seems like there is no Cisco OS inside of the AP. From Cisco website, It sounds like the AP that we are using may be a LWAPP (Lightweight) AP. This is why we can’t configure it via the web. The solution is follow these steps showing below to revert them from LWAPP mode to autonomous mode by loading a Cisco IOS release using a TFTP server:
- Set the static IP address of your PC on which your TFTP server software runs to 10.0.0.2
- Download the TFTP server software. (e.g. one software called TFTPD32 can be downloaded from here)
- Make sure that the PC contains the access point image file (can download from Cisco website) in the TFTP server root folder and that the TFTP server is activated.
- Disable any software firewall products, such as Windows firewall etc.
- Rename the access point image file in the TFTP server folder to c1130-k9w7-tar.default.
- Connect the PC to the Ethernet port of access point.
- Disconnect power from the access point.
- Press and hold MODE while you reconnect power to the access point.
- Hold the MODE button until the status LED turns red (might be 20 to 30 seconds) and then release.
- The access point should receive the img file from the TFTP server
- Wait until the file has been transferred, the access point will reboot as indicated by all LEDs turning green followed by the Status LED blinking green.
- After the access point reboots, connect it to the DHCP server, and get the IP of AP by DHCP server.
- use IE to connect the AP GUI by typing the IP
1,798 views -
VI中替换命令的具体用法
Posted on January 12th, 2010 Add commentsVI中替换命令可以简单的写成以下命令:
:[range]s /[st1]/[st2]/g
其中:
- [range]表示替换命令的查找范围:
- 1. “%” 表示所有行
- 2. “.” 表示当前行
- 3. “$” 表示最末行
例如,:%s/[st1]/[st2] 表示查找文件中所有[st1]的字符串,并替换成[st2]
:-5,+5s/[st1]/[st2] 表示查找目前行的前五行和后五行中[st1]的字符串,并替换成[st2] - “s”表示替换命令
- [st1]表示要查找的字符串
- [st2]表示希望把匹配的字符串变成的字符串
- “g”表示可选项,放在命令末尾,表示对搜索字符串的每次出现进行替换;不加 g,表示只对搜索字符串的首次出现进行替换;g 放在命令开头,表示对正文中所有包含搜索字符串的行进行替换操作。
485 views - [range]表示替换命令的查找范围:
-
修改Vista和Win7的用户登录界面
Posted on December 5th, 2009 1 comment最近在测试Win7的时候,发现每次开机,默认都会显示上次登录的用户名并且只需输入该用户的密码即可。这种做法比较适合个人用户,但对于企业用户,或者一台机器需要很多用户经常使用的话,就极其不方便。其实,更改这个设定只需几步:
- 1.同时按下“Win”键和“R”键,在用运行的命令框中输入“regedit”打开注册表修改器
- 2.找到键“HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System”
- 3.找到键“dontdisplaylastusername”,将其键值改为“1”
835 views -
How to open multiple excel files in different excel windows
Posted on October 7th, 2009 Add commentsSometimes wanna open two excel files in 2 different windows for my dual monitor. Finally found answer by google:
- Open Windows Explorer (such “My Computer”)
- Select “Tools” (on the menu bar)
- Select “Folder Options”
- Select the “File Types” Tab
- Scroll down to find and select the XLS extension or XLSX (for EXCEL 2007)
- Click the “Advanced” Button
- Select the “Open” action from the list
- Click the “Edit…” Button
- Where is says “Application used to perform action:”
If not already there, add the following to the end of the file path:/e "%1"
- Uncheck the “Use DDE” box
- Click OK to exit
366 views -
Windows7启动配置
Posted on June 24th, 2009 Add comments最近安装的windows7的bootloader有点问题,我安装的是XP和windows7的双系统,首先是一开机的boot菜单选择上,xp变成了“earlier version windows”,而且默认的boot系统是windows7,也就是我如果忘了选择想要boot的系统,就会自动boot到windows7中,这些都不太方便。查阅了一下MS的官方文档,发现windows7已经不支持GUI的bootloader设定,只能在DOS里使用命令“bcdedit.exe”来实现。
“bcdedit.exe” 位于 “\Windows\System32”目录下。要执行BCDEdit,首先要进入命令行窗口,并要将操作用户并提升至管理员权限。对于windows7,找到命令行窗口,点右键,选择“run as administrator”就可以了。下面来一些简单介绍:c:\bcdedit //如果没有任何参数,该命令将显示目前bootloader的信息
c:\bcdedit /? //加上参数”/?”就会显示所有可用的参数
自己的一些修改:
c:\bcdedit /set {ntldr} Description “Windows XP”
//{ntldr}就是我的XP系统,该行就是将开机boot菜单上显示的“earlier version windows”变成“Windows XP”c:\bcdedit /default {ntldr}
//本行命令是将XP系统变成默认的boot系统
488 views






Recent Comments