Showing posts with label wifi. Show all posts
Showing posts with label wifi. Show all posts

Thursday, September 16, 2010

Using IPW3945 instead IWL3945 for Intel wireless 3945 in hardy

while i’m using my dell d620 with an intel wireless 3945 card i have the following problems with hardy and the new iwl3945:

-throughput is limited 110kb/s rx
-the wireless lan is very unstable
-sometimes the system freezes while scanning for networks

i tried some things to workaround:

- installed the ubuntu-backports (so the driver 1.2.25 is install) = ok the wlan led works again
- add the file /etc/modprobe.d/iwl3945 (alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1)
- to config the card i used wicd (wicd.sourceforge.net)instead of the builtin network-admin

now i decided to backport to the old ipw3945 driver which has do everything fine in gutsy…

1. sudo vim /etc/modprobe.d/blacklist

added the lines
# blacklist new iwl3945
blacklist iwl3945
blacklist mac8021

so the new iwl3945 won’t load at system startup

2. Reboot

3. Download ipw3945 microcode (http://ipw3945.sourceforge.net) and copy it into /lib/firmware/2.6.24-17-generic/

4. Download ipw3945 regulatory daemon from here and copy it into /sbin/
(copy the file within folder x86 to /sbin/ too)

5. get the patch from here thanks

6. get the ipw driver http://ipw3945.sourceforge.net/#downloads

7. patch -p1 <> (target file = ipw3945.h)

8. make

9. sudo make install

10. sudo chmod 777 /sbin/ipw*

11. add a file /etc/modprobe.d/ipw3945
add lines:
install ipw3945 /sbin/modprobe -i ipw3945 ; sleep 0.5 ; /sbin/ipw3945d –quiet
remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r -i ipw3945

12. sudo modprobe ipw3945

13. reboot

在Ubuntu里使用Windows的无线网卡驱动程序

1、准备好无线网卡的Windows驱动程序,我是用for Windows XP的。

2、先用有线网络联网,在新立得软件包管理器里安装ndisgtk。
或到 http://packages.ubuntu.com 下载ndisgtk、ndiswrapper-common和ndiswrapper-utils这三个.deb文件。然后按如下顺序安装这三个软件包:先装ndiswrapper-common,再装ndiswrapper-utils,最后装ndisgtk。

3、ndisgtk安装成功后,从菜单“系统——系统管理”中打开“Windows无线驱动程序”。点“安装新的驱动程序”。

4、选择无线网卡Windows驱动程序中的.inf文件。点“安装”。

5、可能会弹出提示说“不能确定硬件是否存在”,点“确定”。

6、然后在“当前已经安装的Windows驱动程序”列表中出现无线网卡的驱动,并显示“硬件存在:是”。点“关闭”。

7、这样就安装完成了。再点屏幕右上角的网络管理器,就能找到无线网络了。

本文地址:http://ubuntuabc.com/123/?p=26 来自:UbuntuABC

Monday, January 25, 2010

Win7/vista实战Intel MY WIFI技术,使你的本本变无线热点(真正可用的方法!)

所谓的“My WiFi技术,就是把笔记本电脑中的无线网卡虚拟成两个无线空间,充当两种角色:当与其它AP(无线信号发射点)相连时,这是传统应用模式,相当于一个普通的终端设备;当与其它无线网络终端设备(如电脑、手机打印机等)连接时,可作为一个基础AP,此时只要作为AP的笔记本电脑能通过无线、有线、3G等方式连接入网,那么与之连接的其它无线网络终端设备就可以同时上网了。从使用上来看,英特尔的“My WiFi”技术和最近几年兴起的闪联标准有几分类似;英特尔的My WiFi技术是一项针对笔记本电脑无线网络模块功能扩展的技术,My WiFi技术使得用户可以让自己的笔记本电脑兼具无线AP的功能,使得其他支持WiFi的设备(最多支持8个设备)可以通过这台笔记本电脑所提供的AP功能实现相互之间的互联以及与外部网络的连接。目前可以支持该技术的无线网络模块共有两款,为英特尔Wireless WiFi Link 5100以及5300无线网络模块,也就是说,凡是采用这两款无线网络模块其中之一的笔记本电脑,都可以使用My WiFi技术。
一般来说,只要不太旧的本本都有这款无线网络模块,那么,本本就可以摇身一变成为wifi热点,这样,在家里,在宿舍里,别人的无线设备就可以通过已经连接了Internet的本本无线上网,Intelmy wifi软件里提供了强大的软件支持,通过该软件,可以很好的管理接入的设备,还能设置WEP密码,这样就能防止别的人使用我们的无线网,下面我就详细介绍如何设置该软件,首先我们需要下载软件,下面贴出迅雷的下载链接:
网盘:http://www.rayfile.com/files/5831de3a-cc24-11de-95b3-0014221b798a/

这是联想Y450的本本里官网的驱动5***的无线网卡win7通用的驱动,如果无法安装,请到自己本本的官网上下载相应的驱动,安装的时候注意,要点自定义安装,安装过的也不要紧,再次运行该程序,选择“修改”然后选择安装实用程序。


非联想y450的去http://downloadcenter.intel.com/Product_Filter.aspx?ProductID=3017&lang=zho(一般的都是32位系统

http://downloadcenter.intel.com/SearchResult.aspx?lang=zho&ProductFamily=%e6%97%a0%e7%ba%bf&ProductLine=%e6%97%a0%e7%ba%bf%e6%8a%80%e6%9c%af&ProductProduct=Intel%c2%ae+My+WiFi+Technology+(Intel%c2%ae+MWT)


(记住!一定要选自定义安装, 手动安装图片圈出来的内容!)
安装完成后,现在进入设置阶段,首先,确保无线打开,然后打开开始菜单中“Intel PROset 无线”-Intel my wifi 技术出现如下画面


后点击绿色的“ 启用”

至此,已经建立了无无线热点,设备就可以发现这个无线网络,我们需要对它做一些设置,点 “配置式

出现下图,选择英特尔无线PAN ,选择编辑

出现下图
里面的常规选项卡里面可以选择编辑你的 无线网络名称

选择“安全”选项卡可以设置安全 类型和加密类型

这些设置和普通的无线网络都差不多,
至此,无线设备已经可以搜索到你设置的无线wifi热点了,但是还不能连接网络,我们需要对网络作一些设置—》制面板络和Internet—》网络和共享中心选择左边菜单里的“更改适配器设置 ”选项出现下图,(注意:无线网络名称可能不相同,等会选择共享的网络名就会不同)


然后选择本地连接,右键属性,选择共享选项卡,然后在家庭网络连接的下拉菜单里选择Intel my wifi pan,如下图



(此时选择共享的无线网络,以刚才已经 连接上的无线网络为准)

下面还需在完成一些 设置,点 配置式...




一定要上面第一个选项 禁用,选择后会弹出的对话框,点否就可禁用
现在便可以共享宽带了
原帖地址:http://bbs.lehu.shu.edu.cn/Article.aspx?aid=149663

Wednesday, May 13, 2009

破解无线路由器密码

随着社会的进步!WIFI上网日益普及,特别是大城市中随便在一个小区搜索一下就能找到好多热点,搜索到热点然后链接上去那么我们就可以尽情的享受免费上网服务了。
不过除了公共场所以及菜鸟用户之外几乎所有的WIFI信号都是加密的,很简单换作是你你也不愿意把自己的带宽免费拿出来给别人用,所以如果你搜索到你附近有热点想免费上网的话请仔细往下学习...

破解静态WEP KEY全过程

发现

首先通过NetStumbler确认客户端已在某AP的覆盖区内,并通过AP信号的参数进行‘踩点’(数据搜集)。

NetStumbler 下载地址

通过上图的红色框框部分内容确定该SSID名为demonalex的AP为802.11b类型设 备,Encryption属性为‘已加密’,根据802.11b所支持的算法标准,该算法确定为WEP。有一点需要注意:NetStumbler对任何有 使用加密算法的STA[802.11无线站点]都会在Encryption属性上标识为WEP算法,如上图中SSID为gzpia的AP使用的加密算法是 WPA2-AES。

破解

下载Win32AirCrack程序集---WinAirCrackPack工具包(下载地址:http://www.demonalex.net/download/wireless/aircrack/WinAircrackPack.zip)。解压缩后得到一个大概4MB的目录,其中包括六个EXE文件:

aircrack.exe WIN32aircrack程序

airdecap.exe WEP/WPA解码程序

airodump.exe 数据帧捕捉程序

Updater.exe WIN32aircrack的升级程序

WinAircrack.exe WIN32aircrack图形前端

wzcook.exe 本地无线网卡缓存中的WEPKEY记录程序

我们本次实验的目的是通过捕捉适当的数据帧进行IV(初始化向量)暴力破解得到WEP KEY,因此只需要使用airodump.exe(捕捉数据帧用)与WinAircrack.exe(破解WEP KEY用)两个程序就可以了。

首先打开ariodump.exe程序,按照下述操作:


首 先程序会提示本机目前存在的所有无线网卡接口,并要求你输入需要捕捉数据帧的无线网卡接口编号,在这里我选择使用支持通用驱动的BUFFALO WNIC---编号‘26’;然后程序要求你输入该WNIC的芯片类型,目前大多国际通用芯片都是使用‘HermesI/Realtek’子集的,因此选 择‘o’;然后需要输入要捕捉的信号所处的频道,我们需要捕捉的AP所处的频道为‘6’;提示输入捕捉数据帧后存在的文件名及其位置,若不写绝对路径则文 件默认存在在winaircrack的安装目录下,以.cap结尾,我在上例中使用的是‘last’; 最后winaircrack提示:‘是否只写入/记录IV[初始化向量]到cap文件中去?’,我在这里选择‘否/n’;确定以上步骤后程序开始捕捉数据 包。

下 面的过程就是漫长的等待了,直至上表中‘Packets’列的总数为300000时即可满足实验要求。根据实验的经验所得:当该AP的通信数据流量极度频 繁、数据流量极大时,‘Packets’所对应的数值增长的加速度越大。当程序运行至满足‘Packets’=300000的要求时按Ctrl+C结束该 进程。 此时你会发现在winaircrack的安装目录下将生成last.cap与last.txt两个文件。其中last.cap为通用嗅探器数据包记录文件 类型,可以使用ethereal程序打开查看相关信息;last.txt为此次嗅探任务最终的统计数据(使用‘记事本/notepad’打开 last.txt后得出下图)。

下面破解工作主要是针对last.cap进行。首先执行WinAirCrack.exe文件:

单击上图红色框框部分的文件夹按钮,弹出*.cap选定对话框,选择last.cap文件,然后通过点击右方的‘Wep’按钮切换主界面至WEP破解选项界面:

选择‘Key size’为64(目前大多数用户都是使用这个长度的WEP KEY,因此这一步骤完全是靠猜测选定该值),最后单击主界面右下方的‘Aircrack the key…’按钮,此时将弹出一个内嵌在cmd.exe下运行的进程对话框,并在提示得出WEP KEY:

利用

打开无线网卡的连接参数设置窗口,设置参数为:

SSIDdemonalex

频道:6

WEP KEY111112222264位)

OK,现在可以享受连入别人WLAN的乐趣了。

Saturday, December 13, 2008

Turn Your $60 Router into a User-Friendly Super-Router with Tomato

A year-and-a-half ago, we showed you how to turn your $60 router into a highly configurable $600 router with DD-WRT, a free, open source firmware. Since then there's been a lot of development of open source firmwares, and today we're taking a look at my new favorite, a firmware called Tomato. Tomato does almost everything DD-WRT does—from Wi-Fi signal boosting to Quality of Service bandwidth allocation—in addition to offering a simplified interface chock-full of fancy charts and graphs. Sound good? Let's get started.

Check If Your Router's Supported

wrt54gl.pngBefore you go upgrading your firmware willy-nilly, be sure to check Tomato's list of supported devices. The router I'll be using is the very same router I used for the original DD-WRT guide, this Linksys WRT54GL router. Several of the Linksys WRT54G series routers are supported, but they aren't all, so make sure you check your model number. In addition to the pervasive Linksys router, Tomato will also install on some Buffalo, ASUS, and Microsoft routers.

Upgrade Your Router to the Tomato Firmware

So you've either ensured that you're current router is supported or you've ordered a new cheap one off the internet? Then it's time to upgrade that router to Tomato. First, go download the latest Tomato firmware (as of this writing, that's version 1.13). You'll download a 7zip archive, so use your favorite unarchiver (may I suggest 7-Zip), and extract the contents to an easy-to-find folder on your desktop.

Now you'll need to log into your current router to upgrade. This process may vary slightly depending on what router you're using and the firmware it's running, but for the most part it's very simple. You can go through the old DD-WRT step-by-step here if you're using a Linksys router with the default firmware (just replace DD-WRT with Tomato and quit after step 2). Below I'll describe the simple update process from DD-WRT to Tomato (which is virtually the same as it would be for any other router with one small difference).

First, point your browser to 192.168.1.1/, the default admin page for your router. If your router has a username/password set, you'll need to enter it to continue. Next you need to navigate to the firmware upgrade section of your router's admin panel. In both DD-WRT and the default Linksys firmware, you'll click the Administration tab followed by the Firmware Upgrade tab. Now just click the Browse button and direct your router to the appropriate firmware file for your router in the folder you unzipped earlier.

See the README file included in the Tomato_1_13 folder to determine which version you'll need to choose at this point. If you're using the same WRT54GL router as I am, pick the file named WRT54G_WRT54GL.bin. Now just click the upgrade button and wait. Be sure not to turn off your router during this upgrade.

reset-router-button.pngWhen it's finished, you're ready to start using Tomato. (Pretty simple, right?) Point your browser back to 192.168.1.1/ and log with "admin" (without quotes) as both your username and password. If you upgraded from DD-WRT, this may not be working for you. If the login isn't working off the bat, you've got one more thing to do: Perform a hard reset on your router. To do so, just find the little Reset button on the back of your router, then press and hold it for a few seconds. When your router comes back online, the "admin" username and password should work.

Boost Your Wi-Fi Signal

There's a lot you can do now that you're running Tomato on your router, but let's go straight to one of the sexiest tweaks supported by Tomato: Wi-Fi signal boosting. Just click on Advanced -> Wireless in the Tomato sidebar and find the entry labeled Transmit Power. The default transmit power is 42mW, but it's capable of transmitting at up to 251mW.

Tomato is a little low on documentation on this subject (okay, so it's low on documentation all-around), but the DD-WRT documentation suggests that an increase of up to 70mW would be "suitable for most users." A boost much above that could cause heat issues and considerably decrease the life of your router.

I can't attest to the certainty of damage beyond what the DD-WRT documentation says, but here is what I can tell you: I've been running my router with DD-WRT for over a year transmitting at 70mW, haven't seen any hiccups in performance and so far have seen no smoke. Even better, my Wi-Fi signal easily reaches to every corner of my apartment.

Track Your Bandwidth Usage, Set Quality of Service Rules, and More

From this point on, if there's something you want to do with your router, chances are Tomato can do it for you. In particular the bandwidth logging is both attractive and handy, allowing you to track bandwidth usage in real-time, over the last 24 hours, or with daily, weekly, or monthly reports. Real-Time Bandwidth Monitoring.png

A few weeks back I showed you how to set up Quality of Service rules on your DD-WRT router to ensure you don't drop Skype calls, lag on Xbox Live, and generally get your bandwidth when and where you need it. Tomato does all the same while providing even more granular control over how much bandwidth goes where... and, like the bandwidth reports, it graphs it all.

If you've assigned a domain name to your home server (like adam-lh.homeip.net), Tomato can send alerts to the service if you've got a dynamic IP address so that the domain will always point to your computer—even if your external IP address changes.

For a few other worthwhile uses, check out these videos for setting up Tomato's Access Restriction rules (allows you to set up rules to block browsing of certain topics at certain times, for example), using the Bandwidth Monitor, and putting your router into Wireless Client mode.

As I said above, documentation on Tomato is slim, but this Tomato wiki is a good place to start if you want to figure out a feature.

So Which Is Better, Tomato or DD-WRT?

After reading this, you may have noticed that Tomato shares a lot of features with DD-WRT; if you did, you're probably wondering which is better. Honestly, the two firmwares are both excellent—you won't go wrong running either. DD-WRT has a slightly more robust feature set and a bit more polish in the layout of the admin, but most features that you'll find in DD-WRT that are not in Tomato are features most home users will never use. Both do Quality of Service (in fact, we've already gone step-by-step through how to set up QoS in DD-WRT), though Tomato seems to do it a bit better; both can boost your Wi-Fi signal; and both will transform your router into something much better than it was before you started. At the moment I prefer Tomato for the simplicity of its layout, the excellent bandwidth monitoring tools, and of course, its attractive charts. If you're a DD-WRT or Tomato fan, let's hear which you prefer and why in the comments.

Adam Pash is a senior editor for Lifehacker who can't get enough of a good router. His special feature Hack Attack appears weekly on Lifehacker. Subscribe to the Hack Attack RSS feed to get new installments in your newsreader.

Monday, July 28, 2008

境外旅行免费无线上网攻略

根 据无线上网联盟(Wifi Alliance)的统计,全世界无线网络覆盖区域密集程度排名Top5的国家依次是:美国、英国、法国、德国以及韩国.而在每个城市拥有无线网络信号的 公共场所排名依次为:酒店、度假村、餐厅、咖啡馆、购物中心以及酒吧.但是,国外的这些公共场所并非提供的都是免费的无线上网服务,对于游客来说,最重要 的是如何在短时间内找到免费的无线上网地点.

充分寻找“热点”

每 个星巴克都会提供免费WiFi接入,但总不能每次出门在外想上网就只知道去星巴克吧.其实很多地方都有免费的“热点”(Hotspot),即以免费或付费 方式获得WiFi服务的地方,实际上就是指这些地方安装了无线路由器,有无线上网信号.目前,在网上有很多能够帮助你搜寻到旅游目的地拥有免费无线网络信 号的场所.

1.www.hoju.cn

该网站是一个专门提供热点查询、分享的社区类网站,称为伙聚网.可以从这里找到所 在地区有哪些地方提供热点.此外,该网站还利用Google Maps制作了全国热点的分布地图.进入map.hoju.cn,输入城市、商业区或热点的名字即可搜索获得结果,包括详细的地址、联系电话等.

2.www.jiwire.com

该 网站几乎将各国所有能够无线上网的场所都容纳其中,登录 www.jiwire.com/search-hotspot-locations.htm,你甚至可以查到某一条街道附近是否能找到无线上网的信号,并 显示出他们是否为免费服务,或者列出具体的价目表.不仅如此,在网站中,你还能找到分别针对电脑XP操作系统、i-phone手机系统以及Skpye软件 的专门搜索和帮助软件,能让游客尽量充分地利用手中的设备进行热点的查找.

3.www.wi-fihotspotlist.com

登 录网站,输入你所需要查找的国家、省(州)、市、地址以及邮政编码,同时在类表中选择无线网络的提供商,限定区域范围后,点击查找即可得到你想要的信息. 你会看到列表中是所有符合要求的地点和详细地址、电话、是否收费等,不仅如此,信息下方是通过Mapquest提供的详细可缩放地图.

4.www.airportwifiguide.com和www.travelpost.com

尽 管机场并没被列在无线上网信号集中的公共场所排名之中,但是,旅行中最为枯燥难挨的时间大多是在机场等待转机或者飞机延误之中度过的.而且,在世界各地的 机场大多都能找到免费无线上网的地点.登录这类网站,就能找到各大国际机场中能够免费无线上网的具体地点列表,甚至可以具体到几号航站楼的几号登机门附 近.

随机应变的几种选择

尽管上面提供的网站都是比较可靠而且更新信息较为及时的网络资源,但是也不排除到了当地却发现没有无线上网信号的可能性.

如果面临这种状况,可以首先询问周围是否有国际连锁咖啡馆(例如星巴克)或者餐厅.通常来说,这类场所都能提供免费无线上网服务,当然,代价就是需要在那里进行消费.如果并不是特别排斥这一品牌的话,这一选择还算明智.

不 少酒店,尤其是青年旅社都提供免费的无线上网服务.只不过有些酒店只在底层或者大堂等公共区域才能找到无线上网的信号.所以,在选择酒店的时候,最好能选 择那种保证每一个房间都能拥有无线网络信号的酒店,因为你无法保证在你入住的时候,能幸运地得到那些仅有信号的几个房间中的一个.

公共场所免费无线网络使用守则

如果你习惯在公共场所使用免费的无线网络,那么最好要注意自己的行为举止,千万不要沦为不受欢迎的自私客人.

1. 最好不要一个人独占四人桌,稳妥的做法是如果咖啡馆中有较大的长桌,加入那里零星散客的队伍中去.

2. 即便你只能选择四人桌,也不要把自己随身携带的东西堆放在旁边多余的凳子上,而是应该空出凳子并把它插到桌子下方,这样也可以方便其他需要多余凳子的客人.

3. 如果你需要下载较大文件,最好不要在公共场合进行类似的操作,因为这样会影响其他客人的网速.

4. 不要霸占过多的电源插座,尽量使用电池.

5. 尽量关闭电脑的音响,令手机铃声处于震动状态,以免打扰其他客人.

6. 最后一点很重要,那就是千万别总是紧锁眉头,一副严肃冷峻的表情,既然你是身在公共场合,那么就有必要为营造温馨舒适的氛围贡献自己的力量.