hi misc,
there are three access points that i can pick up that have the same
ssid. is there a way to specify the mac address of the access point i
wish to use? i have only figured out how to specift the ssid
(wicontrol -n), but then it's a toss up which access point i get.
thanks much,
lucas reddinger
--
$ uname -a
OpenBSD release.wingedleopard.net 3.8 GENERIC#138 i386
$ sudo wicontrol -L
AP Information
ap[0]: netname (SSID): [ linksys ]
BSSID: [ 00:13:10:e8:9f:44 ]
Channel: [ 6 ]
Beacon Interval: [ 100 ]
Quality/Signal/Noise [signal]: [ 24 / 31 / 7 ]
Capinfo: [ ESS ]
DataRate [Mbps]: [ 11.0 ]
AvailableRates [Mbps]: [ 1.0 2.0 5.5 11.0 18.0 24.0 36.0 54.0 ]
ap[1]: netname (SSID): [ linksys ]
BSSID: [ 00:0f:66:a6:c6:63 ]
Channel: [ 6 ]
Beacon Interval: [ 100 ]
Quality/Signal/Noise [signal]: [ 12 / 19 / 7 ]
Capinfo: [ ESS ]
DataRate [Mbps]: [ 11.0 ]
AvailableRates [Mbps]: [ 1.0 2.0 5.5 11.0 18.0 24.0 36.0 54.0 ]
ap[2]: netname (SSID): [ linksys ]
BSSID: [ 00:0c:41:68:70:f8 ]
Channel: [ 6 ]
Beacon Interval: [ 100 ]
Quality/Signal/Noise [signal]: [ 11 / 18 / 7 ]
Capinfo: [ ESS ]
DataRate [Mbps]: [ 11.0 ]
AvailableRates [Mbps]: [ 1.0 5.5 11.0 11.0 ]
$ ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:80:c6:e3:1c:ff
groups: egress
media: IEEE802.11 autoselect (DS11)
status: active
ieee80211: nwid linksys 1dBm (auto)
inet6 fe80::280:c6ff:fee3:1cff%wi0 prefixlen 64 scopeid 0x2
inet 192.168.1.127 netmask 0xffffff00 broadcast 192.168.1.255
$ wicontrol
NIC serial number: [ 000000003841 ]
Station name: [ release ]
SSID for IBSS creation: [ IBSS ]
Current netname (SSID): [ linksys ]
Desired netname (SSID): [ linksys ]
Current BSSID: [ 00:13:10:e8:9f:44 ]
Channel list: [ 2047 ]
IBSS channel: [ 1 ]
Current channel: [ 6 ]
Comms quality/signal/noise: [ 44 87 6 ]
Promiscuous mode: [ Off ]
Process 802.11b Frame: [ Off ]
Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 1 ]
MAC address: [ 00:80:c6:e3:1c:ff ]
TX rate (selection): [ 3 ]
TX rate (actual speed): [ 11 ]
Maximum data length: [ 2304 ]
RTS/CTS handshake threshold: [ 2347 ]
Create IBSS: [ Off ]
Antenna diversity (0=auto,1=pri,2=aux): [ ]
Microwave oven robustness: [ On ]
Roaming mode(1=firm,3=disable): [ 1 ]
Access point density: [ 1 ]
Power Management: [ Off ]
Max sleep time: [ 100 ]
Enhanced Security mode: [ ]
Intersil Prism2-based card: [ 1 ]
Card info: [ PRISM2 HWB3163 rev.B, Firmware 1.4.9 ]
Encryption: [ Off ]
Encryption algorithm: [ Firmware WEP ]
Authentication type
(1=OpenSys, 2=Shared Key): [ 1 ]
TX encryption key: [ 1 ]
Encryption keys: [ ][ ][ ][ ]
$ dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 234 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem = 100245504 (97896K)
avail mem = 84328448 (82352K)
using 1249 buffers containing 5115904 bytes (4996K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 01/26/98, BIOS32 rev. 0 @ 0xfd850
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6a0/0x960
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf60/128 (6 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0xffff product 0xffff
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SIS 5597/5598 Host" rev 0x02
pcib0 at pci0 dev 1 function 0 "SIS 85C503 System" rev 0x01
pciide0 at pci0 dev 1 function 1 "SIS 5513 EIDE" rev 0xd0: 5597/5598:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL SE2.1A>
wd0: 16-sector PIO, LBA, 2014MB, 4124736 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HITACHI, CDR-8335, 0008> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ohci0 at pci0 dev 1 function 2 "SIS 5597/5598 USB" rev 0x10: irq 3,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
dc0 at pci0 dev 6 function 0 "ADMtek AN983" rev 0x11: irq 12, address
00:04:5a:70:cd:18
acphy0 at dc0 phy 1: AC_UNKNOWN 10/100 PHY, rev. 0
wi0 at pci0 dev 10 function 0 "National Datacomm NCP130 Rev A2" rev 0x01: irq 9
wi0: PRISM2 HWB3163 rev.B (0x8003), Firmware 0.3.0 (primary), 1.4.9
(station), address 00:80:c6:e3:1c:ff
vga1 at pci0 dev 13 function 0 "S3 Trio64V2/DX" rev 0x16
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ed6d netmask ff6d ttymask ffef
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302