Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124180 - Ebuild submission for ipw3945
Summary: Ebuild submission for ipw3945
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.teledisnet.be/web/vca08867...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-02-26 10:31 UTC by Vince C.
Modified: 2006-04-17 14:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ipw3945 microcode (ipw3945-firmware-1.13.ebuild,605 bytes, text/plain)
2006-02-26 10:52 UTC, Vince C.
Details
ipw3945 regulatory daemon (ipw3945d-0.7.16.ebuild,492 bytes, text/plain)
2006-02-26 10:53 UTC, Vince C.
Details
ipw3945 kernel module (ipw3945-0.0.69.ebuild,1.92 KB, text/plain)
2006-02-26 10:55 UTC, Vince C.
Details
Intel Binary License for ipw3945 binary daemon (Intel-bin,2.06 KB, text/plain)
2006-02-26 10:59 UTC, Vince C.
Details
Intel license for ipw3945 microcode (ipw3945-fw,2.06 KB, text/plain)
2006-02-26 11:00 UTC, Vince C.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince C. 2006-02-26 10:31:57 UTC
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 Vince C. 2006-02-26 10:37:32 UTC
Oops... forgot the main project page on SourceForge:
http://ipw3945.sourceforge.net/
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-26 10:48:36 UTC
Please attach ebuilds and license here as plain text.
Comment 3 Vince C. 2006-02-26 10:52:54 UTC
Created attachment 80782 [details]
ipw3945 microcode
Comment 4 Vince C. 2006-02-26 10:53:48 UTC
Created attachment 80783 [details]
ipw3945 regulatory daemon
Comment 5 Vince C. 2006-02-26 10:55:01 UTC
Created attachment 80784 [details]
ipw3945 kernel module
Comment 6 Vince C. 2006-02-26 10:59:03 UTC
Created attachment 80785 [details]
Intel Binary License for ipw3945 binary daemon
Comment 7 Vince C. 2006-02-26 11:00:53 UTC
Created attachment 80786 [details]
Intel license for ipw3945 microcode
Comment 8 Andrew D. Keyser (aka Legoguy) 2006-03-23 13:58:58 UTC
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 Vince C. 2006-03-28 01:02:37 UTC
(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 Ronald Hummelink 2006-04-14 00:50:18 UTC
They released version 1.0.0 a few days ago....
Comment 11 Vince C. 2006-04-17 07:27:43 UTC
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 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-17 12:09:41 UTC
Sounds like something for the mobile herd... :)
Comment 13 Henrik Brix Andersen 2006-04-17 14:28:49 UTC
(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.