hostap + 4.6-RELEASE

<[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> Coffee cans on poles ;-)... what have polish people got to 
> do with this apart from being good conductors? Cheap polish and 
> tram conductor humour ;-)

>Gavin

I was thinking orchestra conductor :)

But anyway...

I am relatively new to FreeBSD; I hope that you will forgive my 
potentially doltish questions.

I am running 4.6-RELEASE with a Linksys Prism-3 card in hostap mode.
My throughput from a Win2K client with a Lucent Silver card is 
dreadful. Netstumbler show that the connection is dropping (up to) 
dozens of times per minute. I've seen reports that going to 4.6-
STABLE might or might not fix the throughput problem.

I don't see any coffee cans (or poles for that matter), though I do 
live in an apartment complex. I don't know if there are any 2.4ghz 
phones near.

Is the Prism-3 chipset the trouble?

I use the Win2K box to connect to other networks (Cisco in 
particular) without trouble.

Can anyone suggest some steps to take to troubleshoot this? I have 
included output from wicontrol/ifconfig/dmesg for your perusal...

Thanks!!
Katherine

-----------------------------------------------------------
kate# wicontrol
NIC serial number:                      [ 99SA01000000 ]
Station name:                           [ kat_base ]
SSID for IBSS creation:                 [ myssid ]
Current netname (SSID):                 [ myssid ]
Desired netname (SSID):                 [ myssid ]
Current BSSID:                          [ 00:06:25:a9:88:3a ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 3 ]
Current channel:                        [ 3 ]
Comms quality/signal/noise:             [ 0 81 27 ]
Promiscuous mode:                       [ Off ]
Port type (1=BSS, 3=ad-hoc):            [ 6 ]
MAC address:                            [ 00:06:25:a9:88:3a ]
TX rate (selection):                    [ 3 ]
TX rate (actual speed):                 [ 2 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 0 ]
Max sleep time:                         [ 100 ]
WEP encryption:                         [ Off ]
TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]

---------------------------------------------------------------------
-----------
kate# ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::206:25ff:fea9:883a%wi0 prefixlen 64 scopeid 0x6 
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:06:25:a9:88:3a
        media: IEEE 802.11 Wireless Ethernet autoselect <hostap> 
(DS/2Mbps <hos)
        status: associated
        ssid myssid 1:myssid
        stationname kat_base
        channel 3 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode OFF weptxkey 1
---------------------------------------------------------------------
-----------
kate# dmesg
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 
1994
        The Regents of the University of California. All rights 
reserved.
FreeBSD 4.6-RELEASE #2: Wed May  8 11:37:59 PDT 2002
    [email protected]:/usr/src/sys/compile/WIFI
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 84017152 (82048K bytes)
config> di sio1
config> di ppc0
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di ata1
config> di aic0
config> di aha0
config> di adv0
config> en pcic1
config> po pcic1 0x3e2
config> ir pcic1 0
config> iom pcic1 0xd4000
config> f pcic1 0
config> q
avail memory = 76345344 (74556K bytes)
Preloaded elf kernel "kernel" at 0xc052e000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc052e09c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Using $PIR table, 1 entries at 0xc00f97e0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Chips & Technologies 65554 SVGA controller> at 4.0
ohci0: <NEC uPD 9210 USB controller> mem 0xfdfff000-0xfdffffff irq 
11 at device0
usb0: OHCI version 1.0
usb0: <NEC uPD 9210 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0: <ISA bus> on motherboard
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Intel i82365SL-A/B> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.27 initialized.  Default = block all, Logging = 
enabled
pccard: card inserted, slot 0
pccard: card inserted, slot 1
ad0: 1382MB <ST91430AG> [2808/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s1a
ep0: <3Com 3C574> at port 0x240-0x25f irq 3 flags 0x1 slot 0 on 
pccard0
ep0: Ethernet address 00:10:4b:f3:fb:7c
wi0 at port 0x280-0x2bf irq 5 flags 0x10000 slot 1 on pccard1
wi0: 802.11 address: 00:06:25:a9:88:3a
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary 1.00.05, Station 1.03.04
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c

---------------------------------------------------------------------
-----------
kate# cat pccard.conf
#------------------------
# IRQ Summary
#
# 1 atkbdc0      9 
# 2 reserved    10
# 3             11 ohci0
# 4 sio0        12 psm0
# 5             13 reserved
# 6 fdc0        14 ata0
# 7             15
# 8 reserver    16

irq     3 5 7 9 10 15 16

# 3Com Fast Etherlink 3C574TX
card "3Com" "3C574-TX Fast EtherLink PC Card"
        config  auto "ep" ? 0x1
        insert  /etc/pccard_ether $device start
        insert  sh /etc/lanstart.sh
        remove  /etc/pccard_ether $device stop

# Lucent WaveLAN/IEEE
card "Lucent Technologies" "WaveLAN/IEEE"
        config  0x1 "wi" ?
#       config  auto "wi" ?
        insert  /etc/pccard_ether $device start
        insert  sh /etc/wifi.sh
        remove  /etc/pccard_ether $device stop

---------------------------------------------------------------------
-----------
kate# cat wifi.sh
#wifi.sh

wicontrol -s "kat_base"
# station name

wicontrol -f 3
#channel 

wicontrol -p 6
# 1=bss
# 3=adhoc
# 6=hostap
# BSS mode, clients must associate with an access point, 

wicontrol -c 0
# IBSS mode, an extention of BSS mode.

#wicontrol -e 1
# Enables WEP security

ifconfig wi0 inet 10.0.0.1 netmask 255.255.255.0 ssid myssid 
mediaopt hostap

dhcpd -cf    /etc/dhcpd.conf

kate# 


----
Katherine G. 
 
 






To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.