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
|
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.
Please attach ebuilds and license here as plain text.
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
}
(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.
They released version 1.0.0 a few days ago....
Sounds like something for the mobile herd... :)
(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.