[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wireless interface fails to initialize fully; still need to get DHCP manually



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Glueck wrote:
> Adam Porter wrote:
>>I'm not an expert, and I have no experience with
>>ndiswrapper, but I'll try
>>to help.  Please post your /etc/network/interfaces file.
> 

I may have missed the entire point of the thread as I've only just
resubscribed but here is my working wireless setup:

apt-get install ndiswrapper-source wpasupplicant ifplugd
kernel-2.6.*-source etc (I'm not sure about ndiswrapper-utils)
(requires self-compiled kernel and modules ie
make-kpkg kernel_source modules_source)

Set up your files as below:

/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

# iface dsl-provider inet ppp
# provider dsl-provider

/etc/wpa_supplicant.conf

# Minimal /etc/wpa_supplicant.conf to associate with open
#  access points. Please see
#  /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
#  configuration parameters.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Associate with any open access point
###  Scans/ESSID changes can be done with wpa_cli
# network={
#         ssid="tim"
#         key_mgmt=NONE
# }

# Only WPA-PSK is used. Any valid cipher combination is accepted.
network={
        ssid="goodview"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk=**********************[edited for my own security!]
        priority=5
}

/etc/default/wpasupplicant

# /etc/default/wpasupplicant

# WARNING! Make sure you have a configuration file!

ENABLED=1

# Useful flags:
#  -D <driver>          Wireless drive, typically optional.
#  -i <ifname>          Interface
#  -c <config file>     Configuration file
#  -d                   Debugging (-dd for more)
#  -w                   Wait for interface to come up

# See the manual page wpa_supplicant(1) for more options and information.

OPTIONS="-w -i wlan0 -D ndiswrapper -c /etc/wpa_supplicant.conf"

# EXAMPLES:

# OPTIONS="-i wlan0 -D hostap -c /etc/wpa_supplicant.conf"
# OPTIONS="-i ath0 -D madwifi -c /etc/wpa_supplicant.conf"

Once these files are set up, run the command

ndiswrapper -i bcmwl5.inf in the directory where that file resides (I
use /usr/src) (you also need bcmwl5.sys in the same directory)

then

insmod ndiswrapper

You can check with ndiswrapper -l

Hope this all helps,

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEEL3KsUUdIDHrdAURAv07AJ493fZZ9tRj2Ec7aP9GuJB3DjJR+ACbBKAt
zAjuXW6lVIDp18ki8q+bfjM=
=S9Lf
-----END PGP SIGNATURE-----



Reply to: