From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J6G1X-00022c-GT for garchives@archives.gentoo.org; Sun, 23 Dec 2007 01:53:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBN1pjUT017175; Sun, 23 Dec 2007 01:51:45 GMT Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBN1lTBU012400 for ; Sun, 23 Dec 2007 01:47:30 GMT DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=ttZItgPI37Fwjeam0FM0X6bEUxVvtNQ9uIJ9G9bjomFvpSJ+j7djG+s+eWBsZVHS; h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.37] (helo=elwamui-karabash.atl.sa.earthlink.net) by elasmtp-masked.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1J6Fw9-0005rD-GW for gentoo-user@lists.gentoo.org; Sat, 22 Dec 2007 20:47:29 -0500 Received: from 65.87.162.221 by webmail.pas.earthlink.net with HTTP; Sat, 22 Dec 2007 20:47:29 -0500 Message-ID: <65596.1198374449503.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> Date: Sat, 22 Dec 2007 20:47:29 -0500 (GMT-05:00) From: Jeff Cranmer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] realtek 8197 wireless card setup Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: a869a34525bd7ab11520b18a6b7f82c0239a348a220c2609bdad24f354fd9ca1d16cb6a38b01bc62387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.37 X-Archives-Salt: 4199935d-d0f4-4bc4-a249-a8485b2ffad0 X-Archives-Hash: dd17581f41d215f4e777acb5db3ba9d5 -----Original Message----- >From: Mick >Sent: Dec 22, 2007 2:01 PM >To: gentoo-user@lists.gentoo.org >Subject: Re: [gentoo-user] realtek 8197 wireless card setup > >On Saturday 22 December 2007, Jeff Cranmer wrote: >> On Saturday 22 December 2007 10:30:45 am Hans-Werner Hilse wrote: >> > > I think I'm getting closer now. >> > > I removed the driver from the kernel, and installed ndiswrapper. >> > > I got the inf driver from a guy from realtek, and used >> > > ndiswrapper -i drivername.inf to install it. >> > > >> > > Now, when I run >> > > iwlist wlan0 scanning, I can actually see my access point listed, plus >> > > lots of other local wireless networks. >> > >> > That's good. It actually receives. > >Yep, you're half way there. The radio communication part of the equation >seems to be working. > >> > > connecting to it is a different matter, however, as the connection >> > > always appears to time out. I'm using iwconfig to manually set the >> > > ESSID, wep key etc. at the moment, and have tried the trick of setting >> > > the speed manually to 5.5M to avoid timeouts. >> > > >> > > When I try to run dhcpcd wlan0 the first time, I get Error, wlan0: >> > > timed out The second time I try to run it, I get an error because >> > > dhcpcd is already running. > >Try to kill it first (dhcpcd -k) and then re-run it. I would run with >defaults (re. channel, speed, etc.) and perhaps only add a small delay in >your /etc/conf.d/net to allow the device to come up: > >sleep_scan_wlan0="1" > >> > Try the minimal approach first and configure it manually using >> > ifconfig/route and ping some host on your network (or the AP if it does >> > IP). If that does not work, there's something wrong with the driver, if >> > it does, the culprit is dhcpcd (vram USE flag?). >> >> Just to clarify, how would I ping a host on my network? I only have one >> other PC connected to the router. > >You use the LAN IP address of the router/host. I don't know what options >Belkin gives you, can you turn on responses to pings (ICMP packet requests) >both on the router and on the other PC? > >> If that is not possible, due to wireless router firewall stealthing (I have >> a rather crash-prone Belkin wireless router at the moment), the next >> attempt would presumably be to ping the AP. >> If I have an AP MAC address, 00:15:E9:19:73:F2 (for example), how would I >> ping this? > >You could use arping (net-analyzer/arping) - but that assumes that the router >accepts broadcast messages. > >> I have checked the dhcpcd install, and the vram USE flag is presently >> unset. Does this flag need to be set? > >Well, it may need to be set depending on your router. Certain dhcpcd server >implementations won't play nicely with the latest stable version of the >dhcpcd client and you end up getting time outs and no IP address. >Re-emerging with vram USE flag set solves this problem. Manually setting up >an available/suitable static LAN IP address may also work (e.g. ifconfig >wlan0 192.168.0.2). > >> > Start with WEP, if that works switch to WPA. >> >> I've given up on WPA for now. If I can get WEP to work, I'll be happy at >> this point, though WPA operation would be the ultimate goal. >> Is ndiswrapper meant to work with the 2.6.23 kernel? I don't want to have >> to step down to an earlier kernel, as that causes problems with changing >> Xorg configurations, but I could go through the pain of this if it were >> strictly necessary. > >ndiswrapper works fine with this kernel. I would start with the dhcpcd vram >flag to take this time out problem out of the equation and then I would edit >the /etc/conf.d/net to set up all necessary parameters instead of having to >enter everything via iwconfig at the command line. This will also minimise >the chance of typos at the CLI. Following a process of elimination I would >start with no encryption whatsoever at the router and if it works I would >then gradually add WEP and finally WAP. > >PS. Assuming you get ndiswrapper going you can retry the in-kernel driver in >future versions as it is likely that more and more devices will be added. > >HTH. >-- >Regards, >Mick I tried recompiling with the vram USE flag set in dhcpcd, but that didn't help. I then uninstalled ndiswrapper, and installed the modified rtl8187 driver from http://www.datanorth.net/~cuervo/blog/2007/09/26/no-more-vista. SUCCESS!! :-D Finally, I have a working wireless card. I've not tried WPA yet, but WEP definitely works. It isn't quite perfect, as knetworkmanager can't recognise the connection, and i haven't quite figured out how to implement the required startup script to run automatically, but it's up, and only requires a single root user command to execute. Jeff I think I'll give it a couple of kernels and see if the built-in RTL driver improves. -- gentoo-user@gentoo.org mailing list