Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

ipw3945 alternative: Intel's iwlwifi

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
373 posts
  • Page 1 of 15
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 15
  • Next
Author
Message
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

ipw3945 alternative: Intel's iwlwifi

  • Quote

Post by VinzC » Sat Feb 10, 2007 7:28 pm

Hi.

I created this thread for all those who want to share their experience with Intel's new WiFi driver for Linux. Be aware however that requests for support might not be addressed immediately.

May the (Source)Forge be with you.

Current status

The driver is now fully included in the 2.6.24 branch. All you need from portage is the firmware, net-wireless/iwl3945-ucode.

2008
Since the inclusion into the mainstream kernel branch, the driver can no longer pretend to be experimental... :oops: Topic updated.

May, 2007 - Here are update ebuilds, not patches, from Gentoo overlays.
  • iwlwifi-0.0.18
  • iwlwifi micro code version 2.14.3
  • mac8211-7.1.0
Feb. 13th, 2007 - Let's rock with rmh3093 series of kernel patches (iwlwifi version 0.6) and morbus' ebuild for the microcode:
  • iwlwifi-0.0.6 patch for kernels >=2.6.19
  • d80211-1.0.0 patch for kernels >=2.6.19
  • iwlwifi-ucode ebuild
Last edited by VinzC on Wed Mar 19, 2008 9:03 am, edited 4 times in total.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Sun Feb 11, 2007 12:00 pm

I don't think this means much, but at least Intel has now officially announced the project, see
http://intellinuxwireless.org/?p=iwlwifi.
Top
Waninkoko
Guru
Guru
User avatar
Posts: 549
Joined: Fri May 13, 2005 10:21 pm

  • Quote

Post by Waninkoko » Sun Feb 11, 2007 12:59 pm

I installed it but I cannot associate with any AP :(
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Sun Feb 11, 2007 1:11 pm

Waninkoko,

I'd advise to start with unencrypted APs then with WEP then WPA. Which version did you try? Have you noticed any lockups or whatever like [post=3896157]Lloeki[/post] did?
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
Waninkoko
Guru
Guru
User avatar
Posts: 549
Joined: Fri May 13, 2005 10:21 pm

  • Quote

Post by Waninkoko » Sun Feb 11, 2007 2:01 pm

I tried with unencrypted and WEP encrypted APs and I cannot associate. I used 0.05 version. I didn't experience any lockup at the moment.

dmesg says:

Code: Select all

iwlwifi: Detected Intel PRO/Wireless 3945ABG Network Connection
iwlwifi: Channel 14 [2.4Ghz] is Tx only -- skipping.
iwlwifi: Channel 183 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 184 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 185 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 187 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 188 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 189 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 192 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 196 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 7 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 8 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 11 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 12 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 16 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 145 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 149 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 153 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 157 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 161 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Channel 165 [5.2Ghz] is Tx only -- skipping.
iwlwifi: Tunable channels: 13 802.11bg, 23 802.11a channels
iwlwifi: XXXY start rate scale
wmaster0: Selected rate control algorithm 'iwlwifi rate-scale'
eth0: Does not support passive scan, disabled
hwcrypto disabled!
wlan0_rename: starting scan
wlan0_rename: scan completed
wlan0_rename: starting scan
wlan0_rename: scan completed
hwcrypto disabled!
wlan0_rename: Initial auth_alg=0
wlan0_rename: authenticate with AP 00:16:b6:39:88:16
wlan0_rename: authenticate with AP 00:16:b6:39:88:16
wlan0_rename: authenticate with AP 00:16:b6:39:88:16
wlan0_rename: authentication with AP 00:16:b6:39:88:16 timed out
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Sun Feb 11, 2007 2:33 pm

Well I can confirm that it works! Great, but it's kinda slow and... uncomfortable to load!
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Sun Feb 11, 2007 2:37 pm

Waninkoko wrote:I tried with unencrypted and WEP encrypted APs and I cannot associate. I used 0.05 version. I didn't experience any lockup at the moment.
I don't really know how the driver works, but did you set essid, channel and the AP accordingly?
Top
Waninkoko
Guru
Guru
User avatar
Posts: 549
Joined: Fri May 13, 2005 10:21 pm

  • Quote

Post by Waninkoko » Sun Feb 11, 2007 3:02 pm

morbus wrote:
Waninkoko wrote:I tried with unencrypted and WEP encrypted APs and I cannot associate. I used 0.05 version. I didn't experience any lockup at the moment.
I don't really know how the driver works, but did you set essid, channel and the AP accordingly?
Yes.
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Sun Feb 11, 2007 3:10 pm

For the folks who want to further test the driver: I made an ebuild for the iwlwifi-ucode:
http://bugs.gentoo.org/show_bug.cgi?id=166356

the d80211 stack and the driver itself are still needed.
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Sun Feb 11, 2007 5:19 pm

hmm, cool.... the nic driver compiled for me but d80211 didnt work with the latest -mm sources so I will have to play with that... let you know once I get it all working... maybe i will make kernel patches :)
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Sun Feb 11, 2007 5:42 pm

just for the sake of completeness, I reiterate here what I said on the other thread:
I wrote:d80211 patched and built without issues against kernel suspend2-2.6.19-r1, microcode copied in /lib/firmware, driver compiled seemingly without issues, loading it causes a bad lock (keyboard gets stuck, mouse still moves, after some minutes, things (namely, X) start crashing). conclusion: for now, iwlwifi is HIGHLY UNSAFE to use.
FWIW, I tried it multiple times, with different kernel settings, with both ./load and modprobe, and without luck. but hey, this is 0.0.5 ;)

anyway, it'd be great to have a iwlwifi-driver ebuild along with the microcode one. I think the load/unload can easily be 'ported' to gentoo config (/etc/modules.d, and stuff...).

regarding the d80211, this feels harder to make an ebuild, as it's in fact a patch to the kernel source. it's only logical, since it's in the process of being integrated by upstream into vanilla kernel, so I wonder if it's worth working on an ebuild for it.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Sun Feb 11, 2007 6:09 pm

Lloeki wrote:just for the sake of completeness, I reiterate here what I said on the other thread:
I wrote:d80211 patched and built without issues against kernel suspend2-2.6.19-r1, microcode copied in /lib/firmware, driver compiled seemingly without issues, loading it causes a bad lock (keyboard gets stuck, mouse still moves, after some minutes, things (namely, X) start crashing). conclusion: for now, iwlwifi is HIGHLY UNSAFE to use.
FWIW, I tried it multiple times, with different kernel settings, with both ./load and modprobe, and without luck. but hey, this is 0.0.5 ;)

anyway, it'd be great to have a iwlwifi-driver ebuild along with the microcode one. I think the load/unload can easily be 'ported' to gentoo config (/etc/modules.d, and stuff...).

regarding the d80211, this feels harder to make an ebuild, as it's in fact a patch to the kernel source. it's only logical, since it's in the process of being integrated by upstream into vanilla kernel, so I wonder if it's worth working on an ebuild for it.
the linux-mod eclass will make this a module for portage in 2 seconds ;)
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
numerodix
l33t
l33t
User avatar
Posts: 743
Joined: Thu Jul 18, 2002 3:39 pm
Location: nl.eu

  • Quote

Post by numerodix » Sun Feb 11, 2007 8:45 pm

Wait, what is the point of two drivers for the same card? :?:
undvd - ripping dvds should be as simple as unzip
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Sun Feb 11, 2007 9:07 pm

ipw3945 is three part:
- a microcode (embedded microsystem) that is uploaded on the card, closed source
- a regulatory daemon, closed source
- a kernel driver, open source
it uses the ieee80211 stack

iwl is two part:
- a microcode, closed source
- a kernel driver, open source
it uses the new d80211 stack, which has more generic features centralized

this gives much more room for improvements, bug fixes, general trustness, and future inclusion upstream in vanilla kernel (like for ipw2100/2200 drivers)
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
numerodix
l33t
l33t
User avatar
Posts: 743
Joined: Thu Jul 18, 2002 3:39 pm
Location: nl.eu

  • Quote

Post by numerodix » Sun Feb 11, 2007 9:41 pm

So is the new stack only used by iwl? I mean will the ipw2100(2200) cards also use it or?
undvd - ripping dvds should be as simple as unzip
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Sun Feb 11, 2007 9:47 pm

ATM the stack is used only by iwlwifi (and some devicescape drivers I guess).

I wrote an ebuild for the stack, but it's important that you read the comment in the bugzilla.
http://bugs.gentoo.org/show_bug.cgi?id=166422


@ rmh3093:
I didn't manage to utilize the linux-mod eclass although I'm a fairly poor ebuild writer. Please feel free to improve the ebuild to use the eclass!

P.S.: According to http://groups.google.com/group/linux.ke ... 683943bd75
the driver will be merged in -mm soon and in 2.6.22 (if everything works out well)
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Tue Feb 13, 2007 2:57 pm

d80211-1.0.0 patch for kernels >=2.6.19
iwlwifi-0.0.6 patch for kernels >=2.6.19
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Tue Feb 13, 2007 3:22 pm

rmh3093, Lord Of Kernel Patches... Respects, man ;)
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Tue Feb 13, 2007 3:31 pm

As a suggestion, I'm going to centralize all your patches/ebuild submissions from the thread entry. That way everybody can have a clear idea on what's going on, what to do and what version to install. Bear with my available time, however ;-) .
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Tue Feb 13, 2007 4:52 pm

VinzC wrote:As a suggestion, I'm going to centralize all your patches/ebuild submissions from the thread entry. That way everybody can have a clear idea on what's going on, what to do and what version to install. Bear with my available time, however ;-) .
i have a good ebuild for iwlwifi... and working on one now for d80211, once I should have them working soon (first drafts at least)
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Tue Feb 13, 2007 6:01 pm

Ok here are the test ebuilds for iwlwifi,iwlwifi-ucode,d80211....

Code: Select all

svn co http://opensvn.csie.org/rmh3093/iwlwifi
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Tue Feb 13, 2007 6:12 pm

d80211 fails at install stage:

Code: Select all

>>> Install d80211-1.0.0 into /var/tmp/portage/net-wireless/d80211-1.0.0/image/ category net-wireless
 * Installing compatible/net/d80211/80211 module
install: cannot stat `compatible/net/d80211/80211.ko': No such file or directory
whatever, rmh3093, you did a great job. thanks a lot for those ebuilds.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Tue Feb 13, 2007 6:25 pm

Lloeki wrote:d80211 fails at install stage:

Code: Select all

>>> Install d80211-1.0.0 into /var/tmp/portage/net-wireless/d80211-1.0.0/image/ category net-wireless
 * Installing compatible/net/d80211/80211 module
install: cannot stat `compatible/net/d80211/80211.ko': No such file or directory
whatever, rmh3093, you did a great job. thanks a lot for those ebuilds.
what arch is your is your pc?

EDIT: do you see it compile the modules or no?
Last edited by rmh3093 on Tue Feb 13, 2007 6:26 pm, edited 1 time in total.
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Tue Feb 13, 2007 6:25 pm

x86_64. interesting part seems to be here, right after the last patch:

Code: Select all

 + Applying: patches/delayed_work.patch
        Add delayed_work structure compatibility.
make: Entering directory `/usr/src/linux-2.6.19-suspend2-r2'
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/usr/src/linux-2.6.19-suspend2-r2'
>>> Source compiled.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Tue Feb 13, 2007 6:28 pm

Lloeki wrote:x86_64. interesting part seems to be here, right after the last patch:

Code: Select all

 + Applying: patches/delayed_work.patch
        Add delayed_work structure compatibility.
make: Entering directory `/usr/src/linux-2.6.19-suspend2-r2'
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/usr/src/linux-2.6.19-suspend2-r2'
>>> Source compiled.
what happens if you change "set_arch_to_kernel" to "set_arch_to_portage" or what if you comment out "set_arch_to_kernel" completly
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
Post Reply

373 posts
  • Page 1 of 15
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 15
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic