public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Wireless Issue
@ 2010-03-25  5:06 CJoeB
  2010-03-25  9:43 ` Frank Steinmetzger
  0 siblings, 1 reply; 7+ messages in thread
From: CJoeB @ 2010-03-25  5:06 UTC (permalink / raw
  To: gentoo-user

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

Hi,

I have an Intel 3945 wireless adaptor in my laptop.  I have always used
the ipw3945 driver in gentoo because I have never had any luck with the
iwl3945 driver.

I currently am running the 2.6.30-r10 linux kernel and previous to that
I ran 2.6.30-r6.  For the last 2 kernel builds that I have done, I have
been unable to build the ipw3945 driver because it is looking for TKIP
(and a couple of other security things, but I don't recall off the top
of my head).  The point is, I used to be able to select TKIP and the
other things in the kernel, but cannot find those things specifically in
the 2.6.30 range of kernels.

Tonight I, again, following the wiki, tried building the iwl3945 driver
into the kernel, but had no success.  I need to get wireless working
because I am changing isp's and will not longer be using an ethernet
connection, but a dsl one.

I don't know if it matters, but I am using wireless-extensions as
opposed to wpa-supplicant because it doesn't seem that wpa-supplicant
supports the Intel 3945 wireless adaptor.

Any help would be appreciated.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

* Re: [gentoo-user] Wireless Issue
  2010-03-25  5:06 [gentoo-user] Wireless Issue CJoeB
@ 2010-03-25  9:43 ` Frank Steinmetzger
  2010-03-25 11:22   ` Albert Hopkins
  0 siblings, 1 reply; 7+ messages in thread
From: Frank Steinmetzger @ 2010-03-25  9:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2916 bytes --]

Am Donnerstag, 25. März 2010 schrieb CJoeB:
> Hi,
> 
> I have an Intel 3945 wireless adaptor in my laptop.  I have always used
> the ipw3945 driver in gentoo because I have never had any luck with the
> iwl3945 driver.
> [...]
> Tonight I, again, following the wiki, tried building the iwl3945 driver
> into the kernel, but had no success.  I need to get wireless working
> because I am changing isp's and will not longer be using an ethernet
> connection, but a dsl one.

Have you found out yet what really isn’t working? It could be a number of 
things, but when dealing with kernel drivers “it doesn’t work“ is not enough. 
;-)

> I don't know if it matters, but I am using wireless-extensions as
> opposed to wpa-supplicant because it doesn't seem that wpa-supplicant
> supports the Intel 3945 wireless adaptor.

IWL3945 and wpa_supplicant are working just fine over here. My only difference 
is that I’ve built it as a module. Here’s what I set in the kernel config.

Networking
  [*] Wireless
    -*- Wireless extensions
    {M} Common routines for IEEE802.11 drivers
    <M> Generic IEEE 802.11 Networking Stack (mac80211)
Device drivers
  [*] Network device support
    Wireless LAN
      [*] Wireless LAN (IEEE 802.11)
        <M> Intel Wireless WiFi
          <M> Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)

# lsmod | grep iwl3945:
iwl3945                80412  0 
iwlcore                98076  1 iwl3945
mac80211              142636  2 iwl3945,iwlcore
cfg80211               82108  3 iwl3945,iwlcore,mac80211

IIRC, there’s nothing more to it, really.
I also added suppor for tun/tap and devices and some ppp options because I use 
vpn on my Uni’s network, but I don’t reckon they’re a requisite for wireless. 

Then I grabbed iwl3945-ucode from portage, and that was it, IIRC. Just last 
weekend I rebuilt my system from scratch and it worked right away after I 
installed the ucode, dhcpcd and wpa_supplicant. Then I created the symlink 
net.wlan0 -> net.lo in /etc/init.d and added it to the default runleven via 
rc-update. Oh yeah, I had to add the driver module iwl3945 to 
modules.autoload.d/kernel-2.6, because it didn’t get loaded (by udev?) at 
boot. Not sure if that is still necessary, but it was at some point in the 
past, obviosly.

Lastly, you need of course a correct wpa config, which is no rocket science 
either. Here’s mine for our WPA2 home network:

network={
	ssid="our ssid"
	key_mgmt=WPA-PSK
#	group=TKIP
	psk="our secret keyphrase"
}

To connect, I did:

# wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -iwlan0 &
# dhcpcd wlan0 &

and I was ready to go (That is from my memory, it may contain typos or similar 
errors).
-- 
Gruß | Greetings | Qapla'
UNIX is not user-unfriendly.
It just expects the user to be a little more computer-friendly.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Wireless Issue
  2010-03-25  9:43 ` Frank Steinmetzger
@ 2010-03-25 11:22   ` Albert Hopkins
  0 siblings, 0 replies; 7+ messages in thread
From: Albert Hopkins @ 2010-03-25 11:22 UTC (permalink / raw
  To: gentoo-user

On Thu, 2010-03-25 at 10:43 +0100, Frank Steinmetzger wrote:
> > I don't know if it matters, but I am using wireless-extensions as
> > opposed to wpa-supplicant because it doesn't seem that
> wpa-supplicant
> > supports the Intel 3945 wireless adaptor.
> 
> IWL3945 and wpa_supplicant are working just fine over here. My only
> difference 
> is that I’ve built it as a module. 

It should be build as a module because the driver needs access to
external firmware, and unless you are using an initrd with the external
firmware built into it, you're best of with a module.

FWIW, I've also been using the iwl3945 for as long as I can remember and
haven't had any issues.

-a




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

* [gentoo-user] Wireless Issue
@ 2010-05-19 11:14 CJoeB
  2010-05-19 15:06 ` Zeerak Mustafa Waseem
  2010-05-20 14:43 ` Paul Hartman
  0 siblings, 2 replies; 7+ messages in thread
From: CJoeB @ 2010-05-19 11:14 UTC (permalink / raw
  To: gentoo-user

Hi,

I had wireless working just fine back when I was using the
2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
kernels, I haven't been able to get it working.  I was using the ipw3945
driver, but this driver needs TKIP and something else (don't remember
what) set in the cryptographic section of the kernel source.  I can't
seem to find where that is located, if it is in the kernel that I am
currently running - 2.6.31-gentoo-r10.

I've tried using the corresponding driver within the kernel, but I still
get told that my wireless connection does not exist and that I should
verify the hardware or kernel module driver.

I have also always used wireless-tools.  I know wpa_supplicant is
supposed to be better because you can enable WEP encryption, but I tried
to set that up too and I still get told that my wireless connection does
not exist and that I should verify the hardware or kernel module driver.

I'd be happy just using wireless-tools if I could get the ipw3945 driver
to build, but can't without TKIP.  Does anyone know if this setting has
been taken out of the kernel source or if it is just located in some
obsure place that I can't find?

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




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

* Re: [gentoo-user] Wireless Issue
  2010-05-19 11:14 CJoeB
@ 2010-05-19 15:06 ` Zeerak Mustafa Waseem
  2010-05-20 21:34   ` Jake Moe
  2010-05-20 14:43 ` Paul Hartman
  1 sibling, 1 reply; 7+ messages in thread
From: Zeerak Mustafa Waseem @ 2010-05-19 15:06 UTC (permalink / raw
  To: gentoo-user

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

On Wed, May 19, 2010 at 07:14:35AM -0400, CJoeB wrote:
> Hi,
> 
> I had wireless working just fine back when I was using the
> 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
> kernels, I haven't been able to get it working.  I was using the ipw3945
> driver, but this driver needs TKIP and something else (don't remember
> what) set in the cryptographic section of the kernel source.  I can't
> seem to find where that is located, if it is in the kernel that I am
> currently running - 2.6.31-gentoo-r10.
> 
> I've tried using the corresponding driver within the kernel, but I still
> get told that my wireless connection does not exist and that I should
> verify the hardware or kernel module driver.
> 
> I have also always used wireless-tools.  I know wpa_supplicant is
> supposed to be better because you can enable WEP encryption, but I tried
> to set that up too and I still get told that my wireless connection does
> not exist and that I should verify the hardware or kernel module driver.
> 
> I'd be happy just using wireless-tools if I could get the ipw3945 driver
> to build, but can't without TKIP.  Does anyone know if this setting has
> been taken out of the kernel source or if it is just located in some
> obsure place that I can't find?
> 
> Regards,
> 
> Colleen
> 
> -- 
> 
> Registered Linux User #411143 with the Linux Counter, http://counter.li.org
> 
> 

I'm sorry if I'm mistaken, or if this comes across as awfully rude but didn't you ask the same question back in March? Did you have a look at the replies from then to see if that could help with this issue?
Also you can search within the kernel by entering '/' a search field will come up, and if you know part of the name (past thread of same title should reveal that), you should be able to locate it.

Hope it helps

-- 
Zeerak Waseem

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

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

* Re: [gentoo-user] Wireless Issue
  2010-05-19 11:14 CJoeB
  2010-05-19 15:06 ` Zeerak Mustafa Waseem
@ 2010-05-20 14:43 ` Paul Hartman
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2010-05-20 14:43 UTC (permalink / raw
  To: gentoo-user

On Wed, May 19, 2010 at 6:14 AM, CJoeB <colleen.beamer@gmail.com> wrote:
> Hi,
>
> I had wireless working just fine back when I was using the
> 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
> kernels, I haven't been able to get it working.  I was using the ipw3945
> driver, but this driver needs TKIP and something else (don't remember
> what) set in the cryptographic section of the kernel source.  I can't
> seem to find where that is located, if it is in the kernel that I am
> currently running - 2.6.31-gentoo-r10.

If I remember correctly, I think there were major changes to kernel
wireless infrastructure introduced in 2.6.30. And in wpa_supplicant
some changes had to be made for some people, like changing the driver
(in my case from -Dmadwifi to -Dwext). Sorry I'm not familiar with
your particular driver but I know there were major changes in general
around that time.

You may also need to emerge net-wireless/iw if you don't have it already.

In the crypto/cipher section of the kernel I've found it easiest to
just build all of them as modules and then they're available if
needed.



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

* Re: [gentoo-user] Wireless Issue
  2010-05-19 15:06 ` Zeerak Mustafa Waseem
@ 2010-05-20 21:34   ` Jake Moe
  0 siblings, 0 replies; 7+ messages in thread
From: Jake Moe @ 2010-05-20 21:34 UTC (permalink / raw
  To: gentoo-user

On 05/20/10 01:06, Zeerak Mustafa Waseem wrote:
> On Wed, May 19, 2010 at 07:14:35AM -0400, CJoeB wrote:
>   
>> Hi,
>>
>> I had wireless working just fine back when I was using the
>> 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
>> kernels, I haven't been able to get it working.  I was using the ipw3945
>> driver, but this driver needs TKIP and something else (don't remember
>> what) set in the cryptographic section of the kernel source.  I can't
>> seem to find where that is located, if it is in the kernel that I am
>> currently running - 2.6.31-gentoo-r10.
>>
>> I've tried using the corresponding driver within the kernel, but I still
>> get told that my wireless connection does not exist and that I should
>> verify the hardware or kernel module driver.
>>
>> I have also always used wireless-tools.  I know wpa_supplicant is
>> supposed to be better because you can enable WEP encryption, but I tried
>> to set that up too and I still get told that my wireless connection does
>> not exist and that I should verify the hardware or kernel module driver.
>>
>> I'd be happy just using wireless-tools if I could get the ipw3945 driver
>> to build, but can't without TKIP.  Does anyone know if this setting has
>> been taken out of the kernel source or if it is just located in some
>> obsure place that I can't find?
>>
>> Regards,
>>
>> Colleen
>>
>> -- 
>>
>> Registered Linux User #411143 with the Linux Counter, http://counter.li.org
>>
>>
>>     
> I'm sorry if I'm mistaken, or if this comes across as awfully rude but didn't you ask the same question back in March? Did you have a look at the replies from then to see if that could help with this issue?
> Also you can search within the kernel by entering '/' a search field will come up, and if you know part of the name (past thread of same title should reveal that), you should be able to locate it.
>
> Hope it helps
>
>   
After you built your new kernel, did you re-emerge iwl3945-ucode?  I
usually forgot that step when upgrading my kernel (along with
nvidia-drivers).  I believe if you look in /var/log/messages, you'll see
a message about missing microcode if this is the case.

Also, I use wireless-tools just fine with mine, and it's running
2.6.31-r10 (I keep meaning to upgrade my kernel to the latest stable).

John Moe



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

end of thread, other threads:[~2010-05-20  9:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25  5:06 [gentoo-user] Wireless Issue CJoeB
2010-03-25  9:43 ` Frank Steinmetzger
2010-03-25 11:22   ` Albert Hopkins
  -- strict thread matches above, loose matches on Subject: below --
2010-05-19 11:14 CJoeB
2010-05-19 15:06 ` Zeerak Mustafa Waseem
2010-05-20 21:34   ` Jake Moe
2010-05-20 14:43 ` Paul Hartman

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