[Grml] hints about grml 0.9 on HD and ipw3945
Michael Prokop
mika at grml.org
Thu Dec 14 15:19:16 CET 2006
* Lars Schimmer <l.schimmer at cgv.tugraz.at> [20061211 00:15]:
> Today I installed grml 0.9 (two times) to HD with grm2hd.
> If I boot with the CD the autoconf detects eth0 (e1000) and eth1
> (ipw3945) from my T60 laptop.
> After install on HD and reboot the system just recognize eth0.
[...]
Ok, today I found the time to take a closer look at the problem at
Lars' hardware (thanks for the coffee, Lars :-)).
JFTR: ipw3945 definitely has some race condition problems.
To fix this problem on your Debian/grml system just take a look at
my howto:
################################################################################
We want to avoid autoloading of the ipw3945 module at boottime, so we
blacklist the module:
# cat /etc/modprobe.d/grml
blacklist ipw3945
Now create a new initscript which loads the driver:
# cat /etc/init.d/ipwfix
#!/bin/sh
grep -q ipw3945 /proc/modules && rmmod ipw3945
modprobe ipw3945
Then make sure the initscript is used before /etc/init.d/networking
is running:
# update-rc.d ipwfix start 34 S .
Notice a problem with /etc/resolv.conf? I couldn't debug it in
detail due to lack of time but the problem definitely goes away if
you do not use the package resolvconf, so just run:
# apt-get --purge remove resolvconf
We want to have persistent interface names so we bind ipw3945 to
interface name wlan0 via udev (see 'grml-tips udev' for details):
# INTERFACE=wlan0 /lib/udev/write_net_rules 00:13:02:aa:bb:cc
Finally configure your WLAN device as usual via /etc/network/interface
(and make sure you have CONFIG_DHCP=no in /etc/grml/autoconfig on
your grml-system), for example it might look like the following for
a WPA setup:
# cat /etc/network/interfaces
auto lo wlan0
iface lo inet loopback
iface wlan0 inet dhcp
wireless-mode Managed
wireless-essid secret
pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
down killall wpa_supplicant
################################################################################
regards,
-mika-
--
You like grml? Help us! http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
The Grml Planet http://planet.grml.org/
Grml Solutions http://solutions.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.mur.at/pipermail/grml/attachments/20061214/0a8e449b/attachment-0002.pgp
More information about the Grml
mailing list