1. 换源,sohu的相当好用。
1.1备份CentOS-Base.repo
cd /etc/yum.repos.d/
cp CentOS-Base.repo CentOS-Base.repo.bak
1.2替换源
用vi打开CentOS-Base.repo,并将内容清空,然后将下面的内容复制进去,并保存。
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever – Base
baseurl=http://mirrors.sohu.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever – Updates
baseurl=http://mirrors.sohu.com/centos/$releasever/updates/$basearch/
gpgcheck=1
月度归档:2011年10月
应急的无线网络(手机蓝牙联网)
最近一段时间很无聊,为什么呢?因为学校每晚10:30断网断电,所以想找个AP蹭个小网,嘿嘿。可是无线破解的路子不是很顺,问题出在了驱动问题上。但是在有点意外收获,分享给大家。
首先在寻找无线接入点的时候,相信大家都会发现ChinaNet这个AP,这是中国电信的,覆盖范围当然广。当然破解它,好像不太可能,哈哈,起码我没那本事。但是这个接入点显示是没有密码保护的,那我连接试试。如图1没想到会连接成功,那我打开网页看看。自动转到了电信的网页。如图2但是我们会发现这是一个让你输入账户名,密码的页面。通过我查询,咨询和多方面求助得知,在此页面输入电信手机号和此号的保密码是可以成功连接网络的。由于我没有电信的手机号,所以没法给大家截图了,在此致以深深的歉意。
继续阅读