public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] realtek 8197 wireless card setup
@ 2007-12-23  1:47 Jeff Cranmer
  0 siblings, 0 replies; 26+ messages in thread
From: Jeff Cranmer @ 2007-12-23  1:47 UTC (permalink / raw
  To: gentoo-user



-----Original Message-----
>From: Mick <michaelkintzios@gmail.com>
>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



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [gentoo-user] realtek 8197 wireless card setup
@ 2007-12-11 14:26 Jeff Cranmer
  2007-12-11 14:48 ` Mick
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Cranmer @ 2007-12-11 14:26 UTC (permalink / raw
  To: gentoo-user

I believe that I have this enabled, however ieee80211 is still barfing out by asking for CONFIG_NET_RADIO.

I'll check and confirm this tonight.

Jeff

-----Original Message-----
>From: Jacek Szpot <maligree@gmail.com>
>Sent: Dec 11, 2007 7:07 AM
>To: gentoo-user@lists.gentoo.org
>Subject: Re: [gentoo-user] realtek 8197 wireless card setup
>
>
>On Mon, 2007-12-10 at 23:09 -0500, Jeff Cranmer wrote:
>> Can anyone point me to a resource for configuration of a realtek 8197 wireless 
>> card on a Toshiba laptop?
>> 
>> I am running the 2.6.22-suspend2-r2 kernel, and have installed ndiswrapper.  
>> Unfortunately, when I try to install ieee80211, I get an error because 
>> CONFIG_NET_RADIO is not configured in the kernel.  Unfortunately, 
>> CONFIG_NET_RADIO does not exist in this kernel, and hence I'm presently a 
>> little stuck.
>> 
>> When I type lsusb, I get
>> Bus 001 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
>> 
>> I'd like to connect up to my Belkin Router using WPA/PSK if possible.
>> 
>> Thanks in advance
>> 
>> Jeff
>
>2.6.22 and up use CONFIG_WLAN_80211 instead of CONFIG_NET_RADIO.
>
>Jack
>
>-- 
>gentoo-user@gentoo.org mailing list
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [gentoo-user] Kernel 2.6.22-r9 installation problems
@ 2007-11-20  4:01 Jeff Cranmer
  2007-11-20  4:32 ` Billy Holmes
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Cranmer @ 2007-11-20  4:01 UTC (permalink / raw
  To: gentoo-user

On Monday 19 November 2007 11:46:39 pm Billy Holmes wrote:
> Jeff Cranmer wrote:
> > The kernel now finds the drive, but for some reason puts a little 8MB
> > drive at sda, and populates the 'real' 250MB drive at sdb, so the kernel
> > still panics (probably due to fstab wanting to see the main drive at sda,
> > not sdb).
>
> that's very odd that there is a sda drive. Perhaps sda is a pen drive
> that you have installed? a USB drive?
>
> you can always change your boot options in grub.
>
> at the grub prompt, hit [e]dit, select the line which has the "kernel"
> line, move the cursor to the end, and change root=/dev/sda1 to /dev/sdb1
>
> hit [b]oot
>
> sit back and smile.

I already tried that - sit back and sulk, I'm afraid :-(
Because fstab still points to /dev/sda, it fails when it tries to map the 
drives.  I could play with fstab, but I'm not ready to break my working OS 
yet.

There are no usb drives connected to the system.  In fact, the only USB device 
attached is the HP PSC750xi printer.

When it fails after re-pointing the grub booter to /dev/sdb, it does at least 
fail so that I can get to a shell as root.  dmesg doesn't work from the 
shell, however.  I wonder if there is a command I can use to query the new 
sda and find out where it is getting it from?

Jeff


-------------------------------------------------------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2007-12-23  1:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <28254489.1197934001504.JavaMail.root@elwamui-royal.atl.sa.earthlink.net>
2007-12-19 18:12 ` [gentoo-user] realtek 8197 wireless card setup Jeff Cranmer
2007-12-20  8:40   ` Mick
2007-12-20 23:45     ` Jeff Cranmer
2007-12-21 13:22       ` Mick
2007-12-21 14:21       ` Hans-Werner Hilse
2007-12-22  5:08         ` Jeff Cranmer
2007-12-22 15:30           ` Hans-Werner Hilse
2007-12-22 17:20             ` Jeff Cranmer
2007-12-22 19:01               ` Mick
2007-12-23  1:47 Jeff Cranmer
  -- strict thread matches above, loose matches on Subject: below --
2007-12-11 14:26 Jeff Cranmer
2007-12-11 14:48 ` Mick
2007-12-16  4:19   ` Jeff Cranmer
2007-12-16 10:50     ` Florian Philipp
2007-12-16 14:11       ` Jeff Cranmer
2007-12-16 17:14         ` Mick
2007-12-16 22:25           ` Stroller
2007-12-16 22:56             ` Mick
2007-12-17  1:13               ` Stroller
2007-12-19 23:09           ` Jeff Cranmer
2007-12-20  2:47             ` Jeff Cranmer
2007-12-20  3:14               ` Jeff Cranmer
2007-12-20  7:00               ` Hans-Werner Hilse
2007-12-20 23:50                 ` Jeff Cranmer
2007-11-20  4:01 [gentoo-user] Kernel 2.6.22-r9 installation problems Jeff Cranmer
2007-11-20  4:32 ` Billy Holmes
2007-12-11  4:09   ` [gentoo-user] realtek 8197 wireless card setup Jeff Cranmer
2007-12-11 12:07     ` Jacek Szpot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox