Bug 124180 - Ebuild submission for ipw3945
Bug#: 124180 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: maintainer-wanted@gentoo.org Reported By: v_cadet@yahoo.fr
Component: Ebuilds
URL:  http://www.teledisnet.be/web/vca08867/linux/ipw3945/ipw3945-ebuildset.tar.bz2
Summary: Ebuild submission for ipw3945
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2006-02-26 10:31 0000
Description:   Opened: 2006-02-26 10:31 0000
Hi.

I'm not a Gentoo Ebuild Developer but I'd like to submit an ebuild set that I
have created for those who own/use a Dell Inspiron 9400, in particular and to
all people who have an Intel PRO/Wireless 3945ABG in general.

Since Intel provided several components with different licenses each, I've
tried my best to include these licenses in the ebuild set. However I might have
forgotten/missed something so you might have to check them first.

For the technical part of it I've successfully installed emerged the new
packages on my system. They seem to work properly. I've build them under the
~x86 architecture and written an install HOWTO on Gentoo Forums
(http://forums.gentoo.org/viewtopic-p-3140770.html#3140770).

The tarball I'm referring to in the URL includes three ebuilds plus two
licenses from Intel as per their own documentation. I hope you'll find
something valuable there ;-).

Glad to contribute,
Vince C.

------- Comment #1 From Vince C. 2006-02-26 10:37:32 0000 -------
Oops... forgot the main project page on SourceForge:
http://ipw3945.sourceforge.net/

------- Comment #2 From Carsten Lohrke 2006-02-26 10:48:36 0000 -------
Please attach ebuilds and license here as plain text.

------- Comment #3 From Vince C. 2006-02-26 10:52:54 0000 -------
Created an attachment (id=80782) [details]
ipw3945 microcode

------- Comment #4 From Vince C. 2006-02-26 10:53:48 0000 -------
Created an attachment (id=80783) [details]
ipw3945 regulatory daemon

------- Comment #5 From Vince C. 2006-02-26 10:55:01 0000 -------
Created an attachment (id=80784) [details]
ipw3945 kernel module

------- Comment #6 From Vince C. 2006-02-26 10:59:03 0000 -------
Created an attachment (id=80785) [details]
Intel Binary License for ipw3945 microcode

------- Comment #7 From Vince C. 2006-02-26 11:00:53 0000 -------
Created an attachment (id=80786) [details]
Intel license for ipw3945 microcode

------- Comment #8 From Andrew D. Keyser (aka Legoguy) 2006-03-23 13:58:58 0000 -------
Perhaps this preup() for /etc/conf.d/net would be handy here; I devised this to
automatically load the daemon when the interface is started:

preup() {
        # Test for link on the interface prior to bringing it up.  This
        # only works on some network adapters and requires the mii-diag
        # package to be installed.
        #if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then
        #       ewarn "No link on ${IFACE}, aborting configuration"
        #       return 1
        #fi 

        # Test for link on the interface prior to bringing it up.  This
        # only works on some network adapters and requires the ethtool
        # package to be installed.
        #if ethtool ${IFACE} | grep -q 'Link detected: no'; then
        #               ewarn "No link on ${IFACE}, aborting configuration"
        #               return 1
        #       fi
        if [ $IFACE == 'eth1' ]; then
                einfo "Checking ipw3945 daemon"
                if ! ipw3945d --isrunning; then
                        ebegin "Starting ipw3945 daemon"
                                ipw3945d --quiet
                        eend $?
                else
                        einfo "Already running."
                fi
        fi
        # Remember to return 0 on success
        return 0
}

------- Comment #9 From Vince C. 2006-03-28 01:02:37 0000 -------
(In reply to comment #8)
> Perhaps this preup() for /etc/conf.d/net would be handy here; I devised this to
> automatically load the daemon when the interface is started:
> 
> preup() {
> ...
> }
> 

The advised way from Intel readme (adapted to Gentoo) is to append the
following lines to file /etc/modules.d/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

It doesn't require prior knowledge of the interface name.

------- Comment #10 From Ronald Hummelink 2006-04-14 00:50:18 0000 -------
They released version 1.0.0 a few days ago....

------- Comment #11 From Vince C. 2006-04-17 07:27:43 0000 -------
It looks like their version 1.0 is in fact version 0.0.69 of the binaries. See
http://forums.gentoo.org/viewtopic-p-3249899.html#3249899 . I didn't check it
myself however.

------- Comment #12 From Carsten Lohrke 2006-04-17 12:09:41 0000 -------
Sounds like something for the mobile herd... :)

------- Comment #13 From Henrik Brix Andersen 2006-04-17 14:28:49 0000 -------
(In reply to comment #12)
> Sounds like something for the mobile herd... :)

Sounds like something I committed last week ;)

Thanks, though. Please CC: mobile herd on all wireless related bug reports.