wireless networking

William O'Higgins william.ohiggins at utoronto.ca
Sun Nov 23 22:51:08 PST 2003


After much effort I found a wireless PCMCIA card that is supported by
FreeBSD.  Now I have to get connected to a wireless network, and I need
some help.

I have read man wi, and the Handbook, but I'm still missing something.

When I stick in the card in it is recognized and here is the output of
ifconfig:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    inet 192.168.100.24 netmask 0xffffff00 broadcast 192.168.100.255
    inet6 fe80::206:25ff:fe2a:4197%wi0 prefixlen 64 scopeid 0x5
    ether 00:06:25:2a:41:97
    media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
    status: no carrier
    ssid "" 1:""
    stationname "FreeBSD WaveLAN/IEEE node"
    channel 0 authmode OPEN powersavemode OFF powersavesleep 100
    wepmode OFF weptxkey 1

I enter the following to connect with the unencrypted network with the
SSID "kieran", which is not broadcasting its SSID:

sudo ifconfig wi0 ssid kieran

I still cannot ping either by ip or dns.  Here is the output of
ifconfig:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    inet 192.168.100.24 netmask 0xffffff00 broadcast 192.168.100.255
    inet6 fe80::206:25ff:fe2a:4197%wi0 prefixlen 64 scopeid 0x5
    ether 00:06:25:2a:41:97
    media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
    status: associated
    ssid kieran 1:kieran
    stationname "FreeBSD WaveLAN/IEEE node"
    channel 6 authmode OPEN powersavemode OFF powersavesleep 100
    wepmode OFF weptxkey 1

As near as I can tell, I don't know enough about networking FreeBSD, and
it is that ignorance that is the problem.  Any suggestions?

I am including the output of dmesg, in case that's useful.
-- 

yours,

William

Copyright (c) 1992-2003 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.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
    root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (498.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 201129984 (196416K bytes)
config> en pcic1
config> po pcic1 0x3e2
config> ir pcic1 0
config> iom pcic1 0xd4000
config> f pcic1 0
config> en sn0
config> po sn0 0x300
config> ir sn0 10
config> f sn0 0
config> q
avail memory = 190193664 (185736K bytes)
Preloaded elf kernel "kernel" at 0xc053f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc053f09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: No call entry point
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0x40000000-0x43ffffff at device 0.0 on pci0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256ZX SVGA controller> at 0.0 irq 11
pcic0: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50103000-0x50103fff irq 11
at device 2.0 on pci0
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50102000-0x50102fff irq 11
at device 2.1 on pci0
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
save][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card 16-bit bus (classic)> on pcic1
pci0: <unknown card> (vendor=0x11c1, dev=0x0449) at 3.0 irq 11
pci0: <unknown card> (vendor=0x1013, dev=0x6003) at 6.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcf0-0xfcff at device 7.1
on pci0ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x4000-0x401f irq
11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0: <Intel 82371AB Power management controller> port 0xefa0-0xefaf at
device 7.3 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
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 Generic PS/2 mouse, 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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
pccard: card inserted, slot 1
pccard: card removed, slot 1
ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master UDMA33
acd0: CDROM <CRN-8241B> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1
wi0 at port 0x240-0x27f irq 11 slot 1 on pccard1
wi0: 802.11 address: 00:06:25:2a:41:97
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.02 


More information about the freebsd-questions mailing list