public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem
@ 2007-02-22  8:53 Richard Watson
  2007-02-22  9:18 ` Raymond Lewis Rebbeck
  2007-02-22 10:08 ` Boyd Stephen Smith Jr.
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Watson @ 2007-02-22  8:53 UTC (permalink / raw
  To: gentoo-user

Hi - I'm trying to get a D-Link PCI network card running on my desktop PC. 
I've installed it and it runs under Windows XP (I dual boot).

# lspci reports
0000:01:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11

net-wireless/ralink-rt61 was masked so I added to 
/etc/portage/package.keywords

So I
# emerge ralink-rt61
# slocate rt61.ko
/lib/modules/2.6.17-gentoo-r8/net/rt61.ko
# modprobe rt61
FATAL: Module rt61 not found

What should I do next? Do I need to recompile my kernel and if so are there 
any options I need to ensure are selected (or not)?

Many thanks, Richard

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem
  2007-02-22  8:53 [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem Richard Watson
@ 2007-02-22  9:18 ` Raymond Lewis Rebbeck
  2007-02-22  9:57   ` Richard Watson
  2007-02-22 10:08 ` Boyd Stephen Smith Jr.
  1 sibling, 1 reply; 5+ messages in thread
From: Raymond Lewis Rebbeck @ 2007-02-22  9:18 UTC (permalink / raw
  To: gentoo-user

On Thursday, 22 February 2007 19:23, Richard Watson wrote:
> Hi - I'm trying to get a D-Link PCI network card running on my desktop PC.
> I've installed it and it runs under Windows XP (I dual boot).
>
> # lspci reports
> 0000:01:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11
>
> net-wireless/ralink-rt61 was masked so I added to
> /etc/portage/package.keywords
>
> So I
> # emerge ralink-rt61
> # slocate rt61.ko
> /lib/modules/2.6.17-gentoo-r8/net/rt61.ko
> # modprobe rt61
> FATAL: Module rt61 not found
>
> What should I do next? Do I need to recompile my kernel and if so are there
> any options I need to ensure are selected (or not)?
>
> Many thanks, Richard

Is 2.6.17-gentoo-r8 the kernel you are currently running? It sounds 
like /usr/src/linux is pointing to the wrong kernel source.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem
  2007-02-22  9:18 ` Raymond Lewis Rebbeck
@ 2007-02-22  9:57   ` Richard Watson
  2007-02-24 22:05     ` Richard Watson
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Watson @ 2007-02-22  9:57 UTC (permalink / raw
  To: gentoo-user

>> # modprobe rt61
>> FATAL: Module rt61 not found
>>
> Is 2.6.17-gentoo-r8 the kernel you are currently running? It sounds 
> like /usr/src/linux is pointing to the wrong kernel source.

# ls -la /usr/src/linux
/usr/src/linux -> linux-2.6.17-gentoo-r8

Yes it's pointing to the correct kernel source - Thanks
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem
  2007-02-22  8:53 [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem Richard Watson
  2007-02-22  9:18 ` Raymond Lewis Rebbeck
@ 2007-02-22 10:08 ` Boyd Stephen Smith Jr.
  1 sibling, 0 replies; 5+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-22 10:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

On Thursday 22 February 2007 02:53, Richard Watson wrote:

(I'm just going to assume you've got the right package / module; I don't 
know 
anything about it particular hardware and your choices seem appropriate.)

> So I
> # emerge ralink-rt61
> # slocate rt61.ko
> /lib/modules/2.6.17-gentoo-r8/net/rt61.ko
> # modprobe rt61
> FATAL: Module rt61 not found
>
> What should I do next?

ls -l /usr/src/linux
uname -r

(I think it's likely you never fixed up your /usr/src/linux symlink and 
ralink-rt61 is being compiled against the wrong kernel.)

You might consider butting something like:
ln -snf linux-"$(uname -r)" /usr/src/linux
in local.start to fix up your kernel symlink on each boot.  (Though, I hate 
to 
think what that would do if /usr/src/linux was a directory rather than a 
symlink.)

> Do I need to recompile my kernel and if so are there 
> any options I need to ensure are selected (or not)?

Probably not, but if you are actually running 2.6.17-gentoo-r8, then I'll 
need 
to see the output of dmesg around the time you modprobed rt61.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem
  2007-02-22  9:57   ` Richard Watson
@ 2007-02-24 22:05     ` Richard Watson
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Watson @ 2007-02-24 22:05 UTC (permalink / raw
  To: gentoo-user


> Yes it's pointing to the correct kernel source - Thanks

I recompiled my kernel and modprobe rt61 worked. I now have an interface 
that come up called ra0.

The following worked for me:

Added rt61 to /etc/modules.autoload.d/kernel-2.6

# ln -s net.lo net.ra0

I edited /etc/conf.d/net
modules= ( "iwconfig" )
config_rao=( "null" )

# rc-update add net.ra0 default

Set ra0 to "null" because ra0 won't come up as dhcpc until configured.

# /etc/init.d/net.rao start
# iwlist ra0 scanning
gave me channel and essid to use

I created a script /root/scripts/d_link_rt61_up.sh
iwlist ra0 scanning
iwconfig ra0 essid [essid]
iwconfig ra0 channel 11
dhcpcd ra0

Added /root/scripts/d_link_rt61_up.sh to /etc/conf.d/local.start

Everything comes up no on boot.

Thank you everybody 

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-02-24 22:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22  8:53 [gentoo-user] Wireless PCI Network controller: RaLink RT2561/RT61 rev B 802.11 - Driver Problem Richard Watson
2007-02-22  9:18 ` Raymond Lewis Rebbeck
2007-02-22  9:57   ` Richard Watson
2007-02-24 22:05     ` Richard Watson
2007-02-22 10:08 ` Boyd Stephen Smith Jr.

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