On 1/10/06, Lucas Reddinger <[EMAIL PROTECTED]> wrote:
> hi misc,
>
> the man page for ifconfig is very concise for bssid. why isn't this correct?
>
> $ sudo ifconfig wi0 bssid "00:13:10:e8:9f:44"
> ifconfig: SIOCS80211BSSID: Invalid argument
> $
>
> thanks for your help. (more info follows)
>
> lucas
Hi Lucas,
When you set the bssid, are you setting telling the card to connect to
the AP with that bssid, or are you telling the card to use that bssid
for itself when it's acting like an access point?
I think its the former; however, I'm not sure the man pages make this clear.
>
> --
>
> $ uname -a
> OpenBSD release.wingedleopard.net 3.8 GENERIC#138 i386
> $ ifconfig wi0
> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:80:c6:e3:1c:ff
> description: wifi uplink
> groups: egress
> media: IEEE802.11 autoselect (DS11)
> status: active
> ieee80211: nwid linksys 2dBm (auto)
> inet6 fe80::280:c6ff:fee3:1cff%wi0 prefixlen 64 scopeid 0x2
> inet 192.168.1.75 netmask 0xffffff00 broadcast 255.255.255.0
> $ 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
> $