wireless network using ndisgen

Ben Gould ben.gould at gmail.com
Sat Nov 3 08:19:11 PDT 2007

Trying to set-up wireless internet access through a Belkin FSD6020 ver.2
wireless card has proved less than useful.  Seeing that this isn't on the
supported hardware list I had some fun unpacking .cab files from their
distribution cdroms to attempt to wrap this using ndisgen.

All seemed to go well as far as the utility itself is concerned, but I
didn't get any messages (success or error) after running kldload ...  I
followed the instructions from the current FreeBSD handbook.

>From looking at the dmesg maybe there's a problem with cbb2 that's blocking
ndis?  Can a guru help me?  I really don't want to have to use Win98 on this
machine any longer...  what's left of my sanity is at stake.

My conclusions: FreeBSD 7.0-BETA1.5 installs from CDROM, not much else to
FreeBSD 6.2-RELEASE didn't so that's at least something to be proud of.

Hardware: Compaq Presario 1920 "Internet Zone" with no built-in ethernet.

output from kldstat:

Id Refs Address    Size     Name
 1    9 0xc0400000 8ca35c   kernel
 2    2 0xc0ccb000 e730     if_ndis.ko
 3    3 0xc0cda000 1aa10    ndis.ko
 4    1 0xc0cf5000 14ac4    bkpcmxp_sys.ko

(I also tried similar with the win98 ndis driver; similar results)

Nothing printed to console.

output from ifconfig:

plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
 inet6 ::1 prefixlen 128
 inet netmask 0xff000000

No ndis0 as I hoped.

output from dmesg:
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-BETA1.5 #0: Thu Oct 25 01:19:36 UTC 2007
    root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (298.65-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10

real memory  = 201326592 (192 MB)
avail memory = 182984704 (174 MB)
kbd1 at kbdmux0
ath_hal: (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 7 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> on hostb0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xf5000000-0xf5ffffff,0xf4400000-0xf47fffff,0xf4100000-0xf41fffff irq 9 at
device 0.0 on pci1
pci1: <multimedia, audio> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 10
at device 7.2 on pci0
uhci0: [ITHREAD]
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> on usb0
uhub0: 2 ports with 2 removable, self powered
piix0: <PIIX Timecounter> port 0x1040-0x104f at device 7.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
cbb0: <TI1221 PCI-CardBus Bridge> irq 9 at device 8.0 on pci0
cbb0: chip is in D3 power mode -- setting to D0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
cbb1: <TI1221 PCI-CardBus Bridge> irq 9 at device 8.1 on pci0
cbb1: chip is in D3 power mode -- setting to D0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [ITHREAD]
pci0: <simple comms> at device 9.0 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [ITHREAD]
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
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
cbb2: Cannot allocate I/O
Timecounter "TSC" frequency 298649932 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 3909MB <FUJITSU MHC2040AT 0819> at ata0-master UDMA33
pccard0: <unknown card> (manufacturer=0x01bf, product=0x3302,
function_type=6) at function 0
pccard0:    CIS info: Belkin, 11Mbps-Wireless-Notebook-Network-Adapter
acd0: DVDROM <TOSHIBA DVD-ROM SD-C2102/1029> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s2a

Kind regards

-- ben

More information about the freebsd-questions mailing list