LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-10-2008, 04:07 AM   #1
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
How to load a firmware file in CentOS with udev / hotplug?


Hi folks.

I've got a laptop with the Intel PRO/Wireless 3945ABG/BG Network Connection Adapter, and in order to make it work with Linux, one step I need to do is copy a the network adapters firmware to the appropriate folder. This is what the readme file says about that:

Quote:
In addition to having the firmware_loader support in your kernel, you
must also have a working hotplug and udev infrastructure configured.
The steps for installing and configuring hotplug and udev are very
distribution specific.

Once you have the firmware loader in place (or if you aren't sure and
you just want to try things to see if it works), you need to install
the microcode file into the appropriate location.

Where that appropriate location is depends (again) on your system
distribution. You can typically find this location by looking in the
hotplug configuration file for your distro:

% grep \"^FIRMWARE_DIR\" /etc/hotplug/firmware.agent

This should give you output like:

FIRMWARE_DIR=/lib/firmware
Problem is that I do not have hotplug on my system. Some Googling learned me that Hotplug is not used anymore on Centos 5 and that it is replaced by udev, is this true?

If so, how can I get this to work with udev? Where should I place the firmware file? Should I modify some udev scripts in order to get it picked up?

Thanks for your help.

P.S.: I love Linux, but it hurts me to see that it is still such a pain to get wireless working under Linux. It's not that Intel is not supporting Linux (and some hacks needs to be used in order to get everything working), because the files and instructions I got here come straight from Intel. In Windows this wireless network card works straight away. To give you an idea what is needed in order to get it working under Linux (ideally, if Murphy is not involved):

1. Install the mac80211 subsystem
This involves patching the kernel source and compile the kernel module. Although, you get a note that says that starting version 2.0 of mac80211, it is also necessary to recompile the whole kernel and that they are looking into a way of solving this.

2. Get hotplug to get the network cards firmware picked up.

Nice, my system aint using Hotplug

3. Load the driver using iwlwifi

Although the steps seem pretty straightforward, it is way too cumbersome in order to get internet working on your laptop. Not to speak about the fact that recompiling the kernel is not that trivial for most people, certainly if you get some nice compile errors such as:

Code:
drivers/net/wireless/hostap/hostap_ioctl.c: In function ‘prism2_ioctl_giwrange’:
drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: ‘struct iw_range’ has no member named ‘scan_capa’
drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: ‘IW_SCAN_CAPA_ESSID’ undeclared (first use in this function)
drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: (Each undeclared identifier is reported only once
drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: for each function it appears in.)
make[4]: *** [drivers/net/wireless/hostap/hostap_ioctl.o] Error 1
make[3]: *** [drivers/net/wireless/hostap] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
Don't get me wrong, I've been using Linux for the last couple of years now and I don't want to go back to Windows whatsoever. But what does bother me is that I've been struggling with this a whole afternoon, just in order to get internet, and I'm sure that it just works in Windows.
Btw, if anyone knows a solution to the compilation error..I'm still looking in to it.
 
Old 11-10-2008, 04:08 AM   #2
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
And just after I pressed POST, I realized that this might actually belong in the wireless forum, rather then where it is now. :-)

Sorry
 
Old 05-06-2009, 01:50 PM   #3
Harsha_t
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Even i am facing the same problem

Hello!

I have the same problem here. Did you figure out a way of configuring WiFi on your laptop?

Best regards,
Harsha
 
Old 05-06-2009, 02:56 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
http://intellinuxwireless.org/
the microcode images are the firmware.
http://intellinuxwireless.org/?n=Downloads

CentOS specific
http://wiki.centos.org/HowTos/Laptop...899390b41a5c4c
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.2 Hotplug Firmware Download - ti_usb_3410_5052 kevinuu Slackware 5 02-23-2007 02:24 AM
zd1211 failed to load firmware file h2gofast Linux - Wireless Networking 0 05-06-2006 10:21 PM
Installing MythTV - hotplug firmware durrantj Linux - Software 4 01-24-2006 12:55 PM
hotplug firmware loading problem alexisph Linux - Software 2 10-02-2004 03:11 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration