Sponsored Content
Full Discussion: Turn ON/OFF Wireless Card
Top Forums Programming Turn ON/OFF Wireless Card Post 302429742 by Corona688 on Tuesday 15th of June 2010 11:11:49 AM
Old 06-15-2010
Code:
wrq.ifr_flags |= (-IFF_UP);

If this is a bitfield, this won't turn off the IFF_UP flag -- it will turn on nearly every possible flag except IFF_UP. Try:

Code:
wrq.ifr_flags &= ~IFF_UP;

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Lucent/Orinoco Wireless card problems

Im running mandrake 9.0 and i just got a Lucent/orinoco PC24E-H-FC. I beleive it was originaly made by lucent but then made by Orinoco.. But anyways i just cant get connected. Ive tried 3 differemt drivers. My wireless access point router is a Linksys. I just cant figure this out ive talked on... (3 Replies)
Discussion started by: jason1234
3 Replies

2. Linux

wireless card for mandrake 9.1 hp laptop

I just recently bought a HP Pavilion zt3020us and it had came with an internal WiFi NIC (Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter) and I was wondering where I could go to find a device driver for it under Mandrake 9.1 Linux. (2 Replies)
Discussion started by: N0C717
2 Replies

3. Windows & DOS: Issues & Discussions

Problem with wireless card

I have a wireless setup in my house and i connect my laptop thru the wireless setup .. The problem is that one of my other friends has a wireless setup too and his wireless signal comes to my house too .. The effect is that it drops my service after sometime and connects to it .. then drops... (3 Replies)
Discussion started by: DPAI
3 Replies

4. Linux

Wireless network card performance

I am running FC4: Linux maincomp 2.6.13-1.1532_FC4smp I recently changed the OS from windows XP, and have a feeling that for some reason my wireless network card is slower on Fedora Core 4. The Belkin PCI 802.11b card was automatically detected and configured by FC4 when I installed the OS,... (0 Replies)
Discussion started by: dangral
0 Replies

5. Linux

Wireless card won't pick up network

I'm trying to get my wireless card up. I've been at it for a while now and something just isn't quite working right. I'm not getting any wireless signal. I'm using FC4 with a stack 16 kernel and ndiswrappr to load my drivers. here are the outputs that i get. Alittle bit about my... (3 Replies)
Discussion started by: byblyk
3 Replies

6. Solaris

Installing RT2500 Wireless network card

I need to install a driver for my RT2500 PCI wireless network card on my Solaris 10. So I went to the ralink website (the manufacturer of the network card), and downloaded the linux (well supposedly the unix driver) binary file. Burned it to dvd, and copied from the dvd to my solaris computer.... (3 Replies)
Discussion started by: Xannen
3 Replies

7. Linux

wireless card

Ive been fooling around on my spare laptop and put different cores of Fedora on and the computer uses an ibm a/b/g card but the os wont recognize the card and doesnt have the software fore it is there anyway to get the software for the card on the comp or should i buy a card that the os knows? (7 Replies)
Discussion started by: Texasone
7 Replies

8. IP Networking

use one wireless card for two pc's

I'm not what this is called so I don't exactly know what to search for to do my homework.:D But I have two IBM T40's and only one wireless internet card. I don't have to money to buy another wireless card, so my question is this: Can I use the card on one system and use an ethenet cable linked... (2 Replies)
Discussion started by: Texasone
2 Replies

9. Red Hat

Dlink Dwl-g630 Wireless card

Hello, I'm extremely new to Linux. I've been a windows admin for years stupid me, should have got into Linux way back. So now playing catch up. I was hoping someone could help me get started. I've been online reading but getting confused a lot of info and very different from windows. I... (0 Replies)
Discussion started by: kidsusuki
0 Replies

10. Hardware

identify wireless network card

hi Howto identify wireless network card using Live CD? (2 Replies)
Discussion started by: ccc
2 Replies
BWI(4)							   BSD Kernel Interfaces Manual 						    BWI(4)

NAME
bwi -- Broadcom BCM43xx IEEE 802.11b/g wireless network driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device bwi device wlan device wlan_amrr device firmware Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_bwi_load="YES" DESCRIPTION
The bwi driver provides support for Broadcom BCM43xx based PCI/CardBus network adapters. It supports station and monitor mode operation. Only one virtual interface may be configured at any time. For more information on configur- ing this device, see ifconfig(8). This driver requires firmware to be loaded before it will work. The ports/net/bwi-firmware-kmod port needs to be installed before ifconfig(8) will work. HARDWARE
The bwi driver supports Broadcom BCM43xx based wireless devices, including: Card Chip Bus Standard Apple Airport Extreme BCM4306 PCI b/g Apple Airport Extreme BCM4318 PCI b/g ASUS WL-138g BCM4318 PCI b/g Buffalo WLI-CB-G54S BCM4318 CardBus b/g Buffalo WLI-PCI-G54S BCM4306 PCI b/g Compaq R4035 onboard BCM4306 PCI b/g Dell Wireless 1470 BCM4318 Mini PCI b/g Dell Truemobile 1400 BCM4309 Mini PCI b/g HP nx6125 BCM4319 PCI b/g Linksys WPC54G Ver 3 BCM4318 CardBus b/g Linksys WPC54GS Ver 2 BCM4318 CardBus b/g TRENDnet TEW-401PCplus BCM4306 CardBus b/g US Robotics 5411 BCM4318 CardBus b/g EXAMPLES
Join an existing BSS network (i.e., connect to an access point): ifconfig wlan create wlandev bwi0 inet 192.168.0.20 netmask 0xffffff00 Join a specific BSS network with network name ``my_net'': ifconfig wlan create wlandev bwi0 ssid my_net up Join a specific BSS network with 64-bit WEP encryption: ifconfig wlan create wlandev bwi0 ssid my_net wepmode on wepkey 0x1234567890 weptxkey 1 up SEE ALSO
arp(4), cardbus(4), intro(4), pci(4), wlan(4), wlan_amrr(4), ifconfig(8), wpa_supplicant(8) HISTORY
The bwi driver first appeared in FreeBSD 8.0. AUTHORS
The bwi driver was written for DragonFly BSD by Sepherosa Ziehau and subsequently ported to FreeBSD. BUGS
Some card based on the BCM4306 and BCM4309 chips do not work properly on channel 1, 2 and 3. BSD
May 16, 2009 BSD
All times are GMT -4. The time now is 08:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy