LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails (http://www.linuxquestions.org/questions/linux-wireless-networking-41/broadcom-wireless-with-ndiswrapper-ifconfig-wlan0-works%3B-ifup-wlan0-fails-171381/)

orangechicken 04-17-2004 03:30 PM

Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails
 
I'm totally lost here. I've read the manuals (and have probably just missed something).

Distro is KnoppMyth. Using ndiswrapper 0.6 with a Linksys WMP54G (Broadcom 4320).

iwconfig shows that wlan0 is working. It results are:

Code:

wlan0    IEEE 802.11g  ESSID:"<my ssid>"
          Mode:Managed  Frequency:2.447GHz  Access Point: 00:06:25:66:DE:B4
          Bit Rate:11Mb/s  Tx-Power:13 dBm
          RTS thr:2347 B  Fragment thr:2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/1  Signal level:-10 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:22  Missed beacon:0

I can do ifconfig wlan0 up and it gets an ip address (I can ping my other computers from the interface). It's results are:

Code:

wlan0    Link encap:Ethernet  HWaddr 00:0C:41:12:6C:14
          inet addr:192.168.1.102  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1896 (1.8 KiB)  TX bytes:1522 (1.4 KiB)
          Interrupt:12 Memory:e4120000-e4121fff

If I do ifup wlan0 (which happens at boot up too since I have auto wlan0 in /etc/network/interfaces) it fails with the error:

Code:

wlanctl-ng: No such device
Failed to enable the device, exitcode= 1 .
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
wlanctl-ng: No such device
Failed to enable the device, exitcode= 1 .
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng_pre-up exited with return code 1

Like I said, I'm totally lost. I'm obviously missing a particular configuration file somewhere.

I've looked in *lots* of forums and even something simple like:
Code:

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
returns

Code:

wlanctl-ng: No such device
All ideas *much* appreciated.

-chicken

david_ross 04-17-2004 03:34 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

orangechicken 04-17-2004 05:39 PM

well, it's cleared itself up and I'm quite unsure why.


All times are GMT -5. The time now is 03:12 PM.