LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2096|回复: 13

F7认出intel 3945无线网卡了,我还是不会上网

[复制链接]
发表于 2007-6-2 14:44:19 | 显示全部楼层 |阅读模式
昨天装了fedora 7, 最让我满意的是居然认出来无线网卡了!
现在iwconfig的结果是

wlan0     IEEE 802.11g  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Retry min limit:7   RTS thrff   Fragment thr=2346 B   
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

无线路由器的密码是wpa-pak的,我应该怎么做才可以无线上网呢?

我不知道在哪里选择加密方式,也不知道在哪里输入密码(密码是password,好弱的密码)

谢谢各位啦!
发表于 2007-6-2 14:58:22 | 显示全部楼层
service NetworkManager start
回复 支持 反对

使用道具 举报

发表于 2007-6-2 17:38:34 | 显示全部楼层
还要跑 nm-applet &
回复 支持 反对

使用道具 举报

发表于 2007-6-2 18:06:27 | 显示全部楼层
不知道Fedora的Avahi默认配置如何。Ubuntu下无线网卡是通过Avahi的静默模式自动设置的。但是Linux下,在无线信号不是很好的时候,无线网络不如Windows下稳定。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-28 15:12:25 | 显示全部楼层
现在找到方法了,不用装其他软件,把上网方法总结了一下放在这里,也许会有人用得上.

Fedora 7 can recognize Intel 3945, but you still have to do something to make
it work properly. If you don't know how to use wireless network in Linux, please follow me.

you can find wireless network interface by using "ifconfig"
#ifconfig

we suppose the interface names "wlan0", then
#ifconfig wlan0 up

you should find your wireless network parameters by iwlist scanning
#iwlist wlan0 scanning

set the parameters you just get:
#iwconfig freq 2.***G
#ifconfig wlan0 down
please pay attention here, you should turn wlan0 down before setting the
following parameters.
#iwconfig mode modename
#iwconfig essid essidname
#iwconfig channel channelnum

if the wireless network need authentication, you also should
#iwconfig key "key"
I haven't tried this, so if you have problem here, please turn down the
authentication.

then make the wireless network up:
#ifconfig wlan0 up

if you use dhcp
    then #dhclient wlan0
else if use static ip assignment
    then #ifconfig wlan0 192.168.*.*

ok, you could use wireless network now, enjoy it!
回复 支持 反对

使用道具 举报

发表于 2007-6-28 20:20:12 | 显示全部楼层
我是装了 ATRPMS 的 3945 的驱动。
才可以上网的。
回复 支持 反对

使用道具 举报

发表于 2007-6-28 23:24:08 | 显示全部楼层
我的F7装了freshrpms的也可以上网 fedora-cn的本地源,很快
回复 支持 反对

使用道具 举报

发表于 2007-9-25 13:50:38 | 显示全部楼层
标记一下,我也有这个问题
回复 支持 反对

使用道具 举报

发表于 2007-9-25 20:25:40 | 显示全部楼层
我是按这个来的,呵呵

* Fedora Core 7

Requirements
Explanation of requirements.

   1. kernel-devel (kernel development files for building modules against the running kernel)
   2. gcc (C++ compiler)
   3. ipw3945-1.2.2.tgz (driver / kernel module)
   4. ipw3945-ucode-1.14.2.tgz (microcode / firmware)
   5. ipw3945d-1.7.22.tgz (regulatory daemon)
   6. ipw3945 (startup init script)

Doing the Work

Basic description of what will be done and what is expected. Learn to become root here.

   1. Blacklisting the offending modules:

      #] nano /etc/modprobe.d/blacklist

      add these exact lines at the bottom then save and exit:

      # iwl3945
      blacklist iwl3945
      blacklist mac80211

   2. Reboot the system:

      #] reboot

   3. Create a temp directory on your desktop called 'ipw3945' and download the following files into it:

      $] mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)

      http://prdownloads.sourceforge.n ... -1.2.2.tgz?download
      http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz
      http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz
      http://fedoraos.org/ipw3945/ipw3945

   4. Install kernel development packages and gcc compiler:

      #] yum install kernel-devel gcc

   5. Unpack the gzipped tarballs into the directory on your desktop called 'ipw3945' that we created earlier:

      $] tar xvfz ipw3945-1.2.2.tgz
      $] tar xvfz ipw3945-ucode-1.14.2.tgz
      $] tar xvfz ipw3945d-1.7.22.tgz

   6. Copy ucode firmware and regulatory daemon to their respective locations:

      #] cp ipw3945-ucode-1.14.2/x86/ipw3945-ucode /lib/firmware && cp ipw3945d-1.7.22/ipw3945d /sbin
      (or choose the version for x86_64 if necessary)

   7. Compile and copy the resuling kernel module to the correct location (for more options here see 'more information' below):

      $] cd ipw3945-1.2.2 && make clean && make
      $] su
      #] make install

   8. Install startup init script:

      #] cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d
      #] chmod +x /etc/init.d/ipw3945
      #] chkconfig --add ipw3945 && chkconfig ipw3945 on

   9. Reboot the system:

      #] reboot

Troubleshooting
How to test
Explanation troubleshooting basics and expectations.

   1. Configure the device:

      #] system-config-network
      new --> wireless connection --> Intel Corporation PRO/Wireless 3945ABG Network Connection --> forward

   2. Restart the network:

      Once you have disabled all other network cards, configured your ip address, gateway, DNS, subnet mask,
      SSID, wifi channel, and encryption key:
      #] service network restart

Common problems and fixes

Many laptops with built in wireless have a WLAN switch that is a toggle switch for enabling/disabling the wireless radio.

Please make sure you check this is on, or your ipw3945 wireless adapter will not detect correctly or work at all.

Also, disable all other network cards before attempting to use the ipw3945.
More Information

Special Notes:

If you'd like Monitor Mode, Promiscuous Mode or RadioTap enabled for this device you will need to edit the Makefile in

Step 7 before compiling the kernel module uncomment the corresponding line(s):

CONFIG_IPW3945_MONITOR=y
CONFIG_IEEE80211_RADIOTAP=y
CONFIG_IPW3945_PROMISCUOUS=y

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net
回复 支持 反对

使用道具 举报

发表于 2007-9-26 14:44:30 | 显示全部楼层
上面的问题,昨天跟今天一直在尝试各种方法,均未解决,到时知道 IWCONFIG等一些命令的使用,   





ifconfig wlan0 up  打开无线网卡
ifconfig wlan0 down  关闭无线网卡




iwlist wlan0 scan 可以找到无线路由器.. (我是在笔记本上装的FC7 宽屏,  找到两个以上路由就看不到上面的信息. - -!  郁闷)

iwconfig wlan0 essid APPLE

iwconfig wlan0 channel x (从iwlist wlan0 scan里面得出的频道)

iwconfig wlan0 key open s:PASSWORK





ifconfig wlan0 1.1.1.10 mask 255.255.255.0      手动设置无线地址.

route add default gw 1.1.1.1        默认路由地址



dhclient wlan0  获取无线IP地址
回复 支持 反对

使用道具 举报

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

本版积分规则

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