I used to work with this wifi comfortably in sarge with ndiswrapper. In etch
i have problems.
first bcm43xx driver didn't work with the firmware extracted automatically
while installation and also from the working driver in windows. I copied the
files as read in /lib/hotplug/firmware. I have read in some other place
fwcutter should be installed after build-essential is installed. for this i
did remove/purge the fwcutter and reinstalled after installing
build-essential. I have all permutation and combination. Still it was not
working.
now I blacklisted this bcm43xx in /etc/modprobe.d/blacklist and installed
ndiswrapper. everything went ok. As previously my wifi is recognised as
eth0, i did alias eth0 ndiswrapper in /etc/modprobe.d/ndiswrapper and my
/etc/network/interface looks like this
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
# auto eth0
iface eth0 inet dhcp
pre-up ifconfig eth0 up
pre-up grep -q ndiswrapper /proc/modules || modprobe ndiswrapper
wireless_essid "mohan"
wireless_key "xxxxxxxxxx"
wireless_mode managed
post-up ifmetric wlan0 5

# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
Still after booting i get there is no eth0. I run the following script
ifconfig eth0 up
iwconfig eth0 rate 11M
iwconfig eth0 channel 6
iwconfig eth0 essid mohan
iwconfig eth0 enc xxxxxxxxxxxx
dhclient eth0
first run of script couldn't get dhcp lease. I get as follows.
lvgdell600m:~# /home/lvgandhi/stwireless
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:90:4b:1b:5a:b7
Sending on   LPF/eth0/00:90:4b:1b:5a:b7
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
Trying recorded lease 192.168.1.103
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.105
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.104
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.
However if I run the same script second time, i get connected like this.
lvgdell600m:~# /home/lvgandhi/stwireless
There is already a pid file /var/run/dhclient.pid with pid 3953
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:90:4b:1b:5a:b7
Sending on   LPF/eth0/00:90:4b:1b:5a:b7
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 36634 seconds.
Why this happens?
How to get connected while booting with wireless? Why I get no eth0
initially? How to get eth0 intially?
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042

Reply via email to