QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3841|回复: 1

关于无线网络带WPA上网办法(再英文网站查到了)

[复制链接]
发表于 2008-11-19 03:06:42 | 显示全部楼层 |阅读模式
Here is my final step-by-step for SLAX and WPA (works fine):

1. Get your SLAX:
http://www.slax.org/get_slax.php

I'm running it from USB-stick. Format USB-stick to i.e. FAT32, extract slax tar-archive to USB-stick, run the bootinst.bat or bootinst.sh to make it bootable. Check yr bios-settings, boot yr pc with USB-stick inserted, USB-stick is often recognized as a hard disk, check yr boot order in bios, check under HDD if U see yr USB-stick there. If you need other language - search this forum or google, i.e. "SLAX 6.0.7 russian", put initrd.gz into /boot on yr USB-stick, put russian.lzm into slax/modules on yr USB-stick, re-run the bootinst.bat or bootinst.sh to re-new boot info, reboot pc - all done.

2. Download wpa_supplicant from http://www.slax.org/modules.php?action=detail&id=533. Copy this module into /slax/modules on yr USB-stick. I tried different versions of wpa_supplicant, this one works fine.

3. Create the wpa_supplicant.conf config file in /slax/rootcopy/etc (meaning create folder "etc" under /slax/rootcopy, create config file inside etc-folder). Put following text into wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
#ap_scan=0
#fast_reauth=1

network={
ssid="NAME_OF_YOUR_WIFI_NETWORK"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="YOUR_WPA_PASSWORD_TO_YOUR_NETWORK"
}

4. Reboot pc, boot into SLAX with yr USB-stick, if U have any hard switch or special button for your wireless network on your pc - then put it ON, open terminal in SLAX and copy and run following:

iwconfig

(what U get as answer is something like this:
eth0 no wireless extensions.
wlan0 IEEE 802.11b+ ESSID:”driveon” Nickname:”acx100 v0.2.0pre8″
....
This answer is indicating that yr wireless card is found, recognized and known in system as wlan0 in this case. If U don't get any wereless card info U might need drivers for yr card, ndiswrapper is a tool helping U to convert windows driver for yr card into linux driver, search info on ndiswrapper. Latest SLAX comes with many known drivers inside as far as I know, so hopefully U don't need ndiswrapper, just memorize the name of yr wireless in the system, in this case wlan0.)

Now run following line in the same terminal, please observe that I'm using wlan0 in this line since that's the name of my wireless in the system (the most comfortable way is to copy-paste all this into a new txt-file on yr USB-stick and copy-paste lines of commands in SLAX):

wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf -d

5. The answer U get in the terminal is telling U that the key is accepted (the answer is several lines long). Open another terminal and run the following to get IP-address from yr router:

dhcpcd -t 10 -d wlan0

6. All done, if U have icon of network connection in yr status-bar U will see that U are connected, otherwise open net-browser and check it by yourself.

自己试了一下完美解决带WPA无线上网问题!!

[ 本帖最后由 logical_t 于 2008-11-19 07:12 编辑 ]
发表于 2008-11-30 13:58:22 | 显示全部楼层

无线上网了

我用的是英文版的slax6.07加入中文模块。
下载以下两个文件,后面是下载地址:
wlassistant-0.5.7.lzm  http://www.slax.org/modules.php?action=detail&id=284
wpa-supplicant-0.5.1.lzm    http://www.slax.org/modules.php?action=detail&id=559

把相关文件放入:slax\modules\   下面。重启系统
在internet程序中有个Wireless Assistan ,打开搜索网络,连接
呵呵,无线上网了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-19 17:49 , Processed in 0.050564 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表