LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2006, 03:47 PM   #1
kccrusher
LQ Newbie
 
Registered: Nov 2006
Distribution: Mandriva 2007
Posts: 10

Rep: Reputation: 0
[Solved] Problems loading ipw3945d to get my wireless NIC working


I have been through the install doc several times now, and everything looks good except for starting ipw3945d. Everytime I try to setup the wNIC I get the error ipw3945d is not available and is required.

The install doc says to add the following commands into the /etc/modprobe.conf file

echo install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; \sleep 0.5 ; /sbin/ipw3945d --quiet >> /etc/modules.d/ipw3945

echo remove ipw3945 /sbin/ipw3945d --kill ; \ /sbin/modprobe -r --ignore-remove ipw3945 >> /etc/modules.d/ipw3945

Next I am supposed to issue the modprobe ipw3945 command. When I do, the echo statment at the beginning of each command generates an error and the commands don't run. I removed the echo and the commands seem to run OK. However, when I issue the ps -C ipw3945d nothing shows up.

How do I get the ipw3945d to run?

KC

Last edited by kccrusher; 11-10-2006 at 05:30 PM.
 
Old 11-10-2006, 05:27 PM   #2
kccrusher
LQ Newbie
 
Registered: Nov 2006
Distribution: Mandriva 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Solution found

I had to copy the ipw3984d file to the /usr/sbin instead of the default /sbin. I also had to copy the ipw3984-start and the ipw3984-stop files to /usr/bin. I guess this is specific to the Mandriva distro, but I don't know that for sure. I still have to manually start ipw3984-start, however.

Does anyone know how I can get this file to run automatically when Linux starts?

KC
 
Old 01-04-2007, 02:40 PM   #3
kwits
LQ Newbie
 
Registered: Jan 2007
Location: West Monroe, Louisiana USA
Distribution: Fedora 8
Posts: 26

Rep: Reputation: 15
Getting the wireless interface running
Now we need to get three further mods done to get the wireless up and running:
First we need to add three lines to the file /etc/modprobe.conf

alias eth1 ipw3945
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sbin/ipw3945d --quiet
remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r --ignore-remove ipw3945

The first line assumes that we will have the wireless interface as eth1.
Next we need to add a line to the file /etc/rc.local
/sbin/ipw3945d --quiet

This is critical since although the modules do load at boot the regulatory daemon does not run unless this change is made

Finally we need to prepare a file to handle the interface eth1.
Go into the directory /etc/sysconfig/network-scripts and prepare a file called ifcfg-eth1 (it may already exist)

The file will have various parameters depending on whether you have wep security and which options you wish to set. My file looks like:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=yes
PEERDNS=no
TYPE=Wireless
DEVICE=eth1
HWADDR=xx:xx:xx:xx:xx:xx
BOOTPROTO=dhcp
ESSID=xxxxxxx
KEY='xxxxxxxxxxxxxxxxxxxxxxxxxx restricted'
MODE=Managed
RATE=Auto
PEERNTP=no
The xxx here will be replaced by the values appropriate to your system.
Once the system has booted with these changes, then first time after the re-boot you may need to do "depmod -a" as root, and then re-boot again. However if you are changing the driver or the regulatory daemon for a new version, you can do "modprobe -rv ipw3945" as root, then make the changes, and then "modprobe -av ipw3945" to reload the daemon. Then after logging on the wireless interface should be running and immediately give a network connection via the Access Point. Of course this presumes that the files /etc/resolv.conf, /etc/hosts, /etc/sysconfig/network have been amended to suit the network parameters of the local network. If network changes have been done, then as root type "service network restart" to update the system.
The wireless network can be started or stopped by any user (since USERCTL has been set to yes in the ifcfg file) by doing /sbin/ifup eth1 or /sbin/ifdown eth1.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
802.11b/g wireless nic with fedora core 3 question--which is easiest to get working? tyler0123 Linux - Hardware 4 05-23-2005 01:13 PM
how to tell if a wireless nic is working? Damon Spector Linux - Wireless Networking 3 01-26-2005 09:43 PM
Laptop running KDE. Have no sound. Wireless NIC not working sanfran49 Linux - Software 6 02-15-2004 11:21 AM
Instructions for getting ANY wireless NIC card working in Redhat 8.0 ksalopek Linux - Wireless Networking 2 01-26-2004 08:14 AM
Problems loading the module dmfe.o for a davicom nic. adz Linux - Networking 15 09-07-2003 09:44 PM


All times are GMT -5. The time now is 04:34 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
Open Source Consulting | Domain Registration