Fandom

Scratchpad

Wireless on nx6310

221,627pages on
this wiki
Add New Page
Discuss this page0 Share

Suppose the winxp partition (needed for the driver) is on /mnt

    aptitude install ndiswrapper-source ndiswrapper-utils-1.9 module-assistant
    m-a prepare
    m-a a-i ndiswrapper
    modprobe ndiswrapper
    cp /mnt/SwSetup/WLAN . -vr
    cd WLAN/
    ndiswrapper -i bcmwl5.inf
    ndiswrapper -l

hardware should get recognized

    echo 'ndiswrapper' >> /etc/modules

my /etc/network/interfaces (...)

 iface wlan0 inet static
       address 192.168.1.4
       netmask 255.255.255.0
       network 192.168.1.0
       broadcast 192.168.1.255
       gateway 192.168.1.1
       wireless_rate 11M auto
       wireless_freq 2.422G
       wireless_essid lintest
       wireless_nick hpbook
       wireless_mode Ad-hoc
       wireless_enc 1dd12dd2ac # a random string of 10 hex chars (hex notation uses chars from 0..9 and a..f), must be equal for all machines of the LAN
       wireless_key restricted
 # nameserver info in etc/resolv.conf

NOTE! Rebooting and doing a

 iwlist wlan0 scan

IS NECESSARY to make the card work, it probably inits the card the proper way (wireless light lits up)

my arno iptables firewall setup:

ext network interfaces: wlan0
dhcp used (unnec. ?)
no open tcp udp no ping
no internal network ifaces

I didn't test the following, found on : [[http://datenroulette.de/blog/index.php?blog=1&cat=19 ]] WPA encryption in etch 01.05.07 13:36:02

wlan

This is how to use WPA encryption in debian etch:

Prerequisites:

   * ndiswrapper installed and running (use modules-assitant), also it has to be configured to use the windows drivers (Installation instructions ndiswrapper)
   * install the packages wpasupplicant and optionally wpagui
   * your interface is named wlan0

Then use wpa_passphrase [ssid] [passphrase] > /etc/wpa_supplicant.mynet.conf to create a basic configfile. This has to be enriched by some more variables to look like this:

   ctrl_interface=/var/run/wpa_supplicant
   network={
   ssid="myssid"
   key_mgmt=WPA-PSK
   proto=WPA
   pairwise=TKIP
   group=TKIP
   auth_alg=OPEN
   psk=cryptic_key_which_was_generated
   }

If you are unshure about the values, have a look with iwlist wlan0 scan

To bring up the interface with WPA enabled, create an entry in /etc/network/interfaces (configuration of IP via DHCP)

   iface mywlan inet dhcp
   pre-up /sbin/wpa_supplicant -Dwext -c/etc/wpa_supplicant.mynet.conf -iwlan0 -B
   post-down killall -q wpa_supplicant
   post-down rm -r /var/run/wpa_supplicant 

Do not use -Dndiswrapper which is recommended by man wpa_supplicant, but -Dwext

Then starting the network interface is done by ifup wlan0=mywlan

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.