Ik ben vandaag begonnen om Debian 4.0 op een HP NC6320 laptop te installeren. Veel werkt volgens mij al " out of the box"
Alleen het stukjes wireless nog niet
Hoe kan ik het stukje wireless toch aan de praat krijgen. Let op mn huidige linux kennis is nog wat aan de magere kant
Ik weet dat ik moet hebben
- ieee80211-1.2.17
- Intel(R) PRO/Wireless 3945ABG driver for Linux release 1.2.0
En een berg met geduld
Ik ben begonnen met het volgende:
% tar xzvf ieee80211-1.2.16.tgz
% cd ieee80211-1.2.16
% make
# make install <--- You may need to be root
% cd ..
Maar dit gaat mis
If you encounter problems with the above, you may need to install the
ieee80211 sources into your kernel and then build it as part of your
kernel image. See the INSTALL and README.ieee80211 files provided in
the ieee80211 subsystem package for more information.
Hmmm ik probeer het nu iets anders en het gaat als volgt:
raymon@Laptop:~/ieee80211-1.2.17$ make
Checking in /lib/modules/2.6.18-4-686 for ieee80211 components...
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_ccmp.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_tkip.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_wep.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211.ko
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_wep.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_ccmp.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_tkip.mod
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt.ko
/lib/modules/2.6.18-4-686/include/net/ieee80211_crypt.h
/lib/modules/2.6.18-4-686/include/net/ieee80211.h
/lib/modules/2.6.18-4-686/include/net/ieee80211_radiotap.h
Above files found. Remove? [y],n
Antwoord=yes
En ik krijg een permission denied
Dus ik wordt root met SU en dan werkt dit stukje wel de make install lijkt hierna goed te gaan
Dus de volgende stap
nce the ieee80211 subsystem is installed, we build the ipw3945.ko module:
% tar xzvf ipw3945-1.2.0.tgz
% cd ipw3945-1.2.0
% make
Dus we doen
raymon@Laptop:~/ipw3945-linux-1.2.0/ipw3945-1.2.0$ make
Foutmelding
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
Aborting the build. You can force the build to continue by adding:
IEEE80211_IGNORE_DUPLICATE=y
to your make command line.
make: *** [check_inc] Error 1
We proberen dus
raymon@Laptop:~/ipw3945-linux-1.2.0/ipw3945-1.2.0$ make IEEE80211_IGNORE_DUPLICATE=y
Maar eerst een SU anders werkt dat ook niet.
Blijkbaar zijn we nu een stap verder
Now we install the firmware files (first finding where to install them):
% wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz .
% DIR=$(sed -ne "s:^FIRMWARE_DIR=\([^, ]*\).*:\1:p" \
/etc/hotplug/firmware.agent)
% tar xzvf ipw3945-ucode-1.14.2.tgz
% less ipw3945-ucode-1.14.2/LICENSE.ipw3945-ucode
# cp ipw3945-ucode-1.14.2/ipw3945.ucode $DIR
NOTE: 'DIR' above typically works out to /lib/firmware.
Dit gaat niet helemaal goed dus laten we het zo proberen
/home/raymon/ipw3945-linux-1.2.0/ipw3945-1.2.0# wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz
% DIR=$(sed -ne "s:^FIRMWARE_DIR=\([^, ]*\).*:\1:p" \
/etc/hotplug/firmware.agent)
tar xzvf ipw3945-ucode-1.14.2.tgz
Kan iemand dit stukje uitleggen ??
Now we obtain the regulatory daemon:
% wget http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz .
% tar xzvf ipw3945d-1.7.22.tgz
% less ipw3945d-1.7.22/LICENSE.ipw3945d
Depending on your architecture perform one of the following
For 32-bit systems:
# cp ipw3945d-1.7.22/x86/ipw3945d /sbin
And now we can try to load the module, first clearing the kernel log:
# ./load debug=0
Finally we can check to see if things worked:
# iwconfig eth1
ou should see something like:
eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
And now you are ready to go. Configure your AP using iwconfig:
# iwconfig eth1 essid Whatever
# iwconfig eth1 key DEADBEEF00
# iwconfig eth1
eth1 IEEE 802.11g ESSID:"Whatever"
Mode:Managed Frequency:2.412 GHz Access Point: 00:11:95:18:18:30
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:DEAD-BEEF-00 Security mode:open
Power Management:off
Link Quality=98/100 Signal level=-53 dBm Noise level=-81 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
The specifics of how to bring up the interface is heavily dependent on
the specific distribution you are using from here on out.
Alleen het stukjes wireless nog niet
Hoe kan ik het stukje wireless toch aan de praat krijgen. Let op mn huidige linux kennis is nog wat aan de magere kant
Ik weet dat ik moet hebben
- ieee80211-1.2.17
- Intel(R) PRO/Wireless 3945ABG driver for Linux release 1.2.0
En een berg met geduld
Ik ben begonnen met het volgende:
% tar xzvf ieee80211-1.2.16.tgz
% cd ieee80211-1.2.16
% make
# make install <--- You may need to be root
% cd ..
Maar dit gaat mis
If you encounter problems with the above, you may need to install the
ieee80211 sources into your kernel and then build it as part of your
kernel image. See the INSTALL and README.ieee80211 files provided in
the ieee80211 subsystem package for more information.
Hmmm ik probeer het nu iets anders en het gaat als volgt:
raymon@Laptop:~/ieee80211-1.2.17$ make
Checking in /lib/modules/2.6.18-4-686 for ieee80211 components...
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_ccmp.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_tkip.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt_wep.ko
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211.ko
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_wep.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_ccmp.mod
/lib/modules/2.6.18-4-686/net/ieee80211/.tmp_versions/ieee80211_crypt_tkip.mod
/lib/modules/2.6.18-4-686/net/ieee80211/ieee80211_crypt.ko
/lib/modules/2.6.18-4-686/include/net/ieee80211_crypt.h
/lib/modules/2.6.18-4-686/include/net/ieee80211.h
/lib/modules/2.6.18-4-686/include/net/ieee80211_radiotap.h
Above files found. Remove? [y],n
Antwoord=yes
En ik krijg een permission denied
Dus ik wordt root met SU en dan werkt dit stukje wel de make install lijkt hierna goed te gaan
Dus de volgende stap
nce the ieee80211 subsystem is installed, we build the ipw3945.ko module:
% tar xzvf ipw3945-1.2.0.tgz
% cd ipw3945-1.2.0
% make
Dus we doen
raymon@Laptop:~/ipw3945-linux-1.2.0/ipw3945-1.2.0$ make
Foutmelding
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
Aborting the build. You can force the build to continue by adding:
IEEE80211_IGNORE_DUPLICATE=y
to your make command line.
make: *** [check_inc] Error 1
We proberen dus
raymon@Laptop:~/ipw3945-linux-1.2.0/ipw3945-1.2.0$ make IEEE80211_IGNORE_DUPLICATE=y
Maar eerst een SU anders werkt dat ook niet.
Blijkbaar zijn we nu een stap verder
Now we install the firmware files (first finding where to install them):
% wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz .
% DIR=$(sed -ne "s:^FIRMWARE_DIR=\([^, ]*\).*:\1:p" \
/etc/hotplug/firmware.agent)
% tar xzvf ipw3945-ucode-1.14.2.tgz
% less ipw3945-ucode-1.14.2/LICENSE.ipw3945-ucode
# cp ipw3945-ucode-1.14.2/ipw3945.ucode $DIR
NOTE: 'DIR' above typically works out to /lib/firmware.
Dit gaat niet helemaal goed dus laten we het zo proberen
/home/raymon/ipw3945-linux-1.2.0/ipw3945-1.2.0# wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz
% DIR=$(sed -ne "s:^FIRMWARE_DIR=\([^, ]*\).*:\1:p" \
/etc/hotplug/firmware.agent)
tar xzvf ipw3945-ucode-1.14.2.tgz
Kan iemand dit stukje uitleggen ??
Now we obtain the regulatory daemon:
% wget http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz .
% tar xzvf ipw3945d-1.7.22.tgz
% less ipw3945d-1.7.22/LICENSE.ipw3945d
Depending on your architecture perform one of the following
For 32-bit systems:
# cp ipw3945d-1.7.22/x86/ipw3945d /sbin
And now we can try to load the module, first clearing the kernel log:
# ./load debug=0
Finally we can check to see if things worked:
# iwconfig eth1
ou should see something like:
eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
And now you are ready to go. Configure your AP using iwconfig:
# iwconfig eth1 essid Whatever
# iwconfig eth1 key DEADBEEF00
# iwconfig eth1
eth1 IEEE 802.11g ESSID:"Whatever"
Mode:Managed Frequency:2.412 GHz Access Point: 00:11:95:18:18:30
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:DEAD-BEEF-00 Security mode:open
Power Management:off
Link Quality=98/100 Signal level=-53 dBm Noise level=-81 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
The specifics of how to bring up the interface is heavily dependent on
the specific distribution you are using from here on out.
[ Voor 90% gewijzigd door raymonvdm op 19-06-2007 20:05 ]