[ previous ] [ next ] [ threads ]
 
 From:  "Michael Iedema" <iedemam at pluto dot dsu dot edu>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  isa wireless adaptor problems
 Date:  Sun, 7 Dec 2003 19:32:27 -0600
Hello list,
I recently installed an isa->pcmcia adaptor into my m0n0wall machine.
It's running pb21r560 generic-pc.  I recompiled that for SMP as my board
has two friendly procs on it.

oh, btw new smp build is up if anyone uses it:
http://students.dsu.edu/iedemam/m0n0wall/

FYI, the problems outlined below also occurred with pb20...

Anyway, I cannot seem to get my wireless to function properly.  I've
added the interface, and setup the wireless in the same fashion as other
boxes I've setup.  The card beacons, but does not seem to transmit
traffic at all.  I've included my dmesg, and config.xml below.

My roomate was able to pull an address from dhcp, and ping another host
in our network (once).

Any ideas?  My only theory is that the 16-bit ISA controller is not
going to allow my card to play nicely.  ?? Maybe?

--Michael I.


-----DMESG------------------------
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 #1: Sun Nov  2 15:28:26 CST 2003
 
mrkasai at bastion dot undergroup dot com:/usr/src/sys/compile/M0N0WALL_GENERIC_SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (198.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
 
Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV>
real memory  = 536870912 (524288K bytes)
avail memory = 508182528 (496272K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfec08000
 cpu1 (AP):  apic id: 12, version: 0x00040011, at 0xfec08000
 io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0da8000.
Preloaded mfs_root "/mfsroot" at 0xc0da8084.
Pentium Pro MTRR support enabled
md0: Preloaded image </mfsroot> 10485760 bytes at 0xc03a6ed0
md1: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 17 -> irq 9
IOAPIC #0 intpin 16 -> irq 11
pci0: <PCI bus> on pcib0
fxp0: <Intel 82557 Pro/100 Ethernet> port 0xff80-0xff9f mem
0xff800000-0xff8fffff,0xffbe5000-0xffbe5fff irq 2 at device 6.0 on pci0
fxp0: Ethernet address 00:a0:c9:06:c3:b8
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x9004, dev=0x8078) at 9.0 irq 9
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xfe80-0xfebf irq 11 at
device 11.0 on pci0
xl0: Ethernet address: 00:60:97:31:a8:67
miibus1: <MII bus> on xl0
nsphy1: <DP83840 10/100 media interface> on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xff00-0xff3f irq 9 at
device 15.0 on pci0
xl1: Ethernet address: 00:60:08:52:c9:51
miibus2: <MII bus> on xl1
nsphy2: <DP83840 10/100 media interface> on miibus2
nsphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <S3 ViRGE DX/GX graphics accelerator> at 17.0 irq 2
orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc87ff,0xe9000-0xe9fff,0xea000-0xebfff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
pcic2: <Cirrus logic 6722> at port 0x3e0-0x3e1 on isa0
pcic2: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic2
pccard1: <PC Card 16-bit bus (classic)> on pcic2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
BRIDGE 020214 loaded
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.31 initialized.  Default = block all, Logging = enabled
SMP: AP CPU #1 Launched!
ad0: 776MB <TOSHIBA MK1926FCV> [1578/16/63] at ata0-master WDMA2
Mounting root from ufs:/dev/md0c
pccard: card inserted, slot 1
ad0: raw partition size != slice size
ad0: start 0, end 1590623, size 1590624
ad0c: start 0, end 10239, size 10240
ad0: raw partition size != slice size
ad0: start 0, end 1590623, size 1590624
ad0c: start 0, end 10239, size 10240
wi0 at port 0x240-0x27f irq 3 slot 1 on pccard1
wi0: 802.11 address: 00:02:6f:03:ad:e3
wi0: using RF:PRISM2.5 MAC:ISL3873
wi0: Intersil Firmware: Primary 1.00.05, Station 1.02.00
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes


----CONFIG.XML------------------------------------------------
<?xml version="1.0"?>
<m0n0wall>
    <version>1.3</version>
    <system>
        <hostname>m0n0wall</hostname>
        <domain>undergroup.com</domain>
        <password>xxxxx</password>
        <timezone>CST6CDT</timezone>
        <time-update-interval>300</time-update-interval>
        <timeservers>pool.ntp.org</timeservers>
        <webgui>
            <protocol>https</protocol>
            <certificate/>
            <private-key/>
        </webgui>
        <dnsserver>24.220.0.10</dnsserver>
        <dnsserver>138.247.32.12</dnsserver>
    </system>
    <interfaces>
        <lan>
            <if>xl0</if>
            <ipaddr>192.168.0.1</ipaddr>
            <subnet>24</subnet>
        </lan>
        <wan>
            <if>fxp0</if>
            <ipaddr>dhcp</ipaddr>
            <subnet/>
            <gateway/>
            <blockpriv/>
        </wan>
        <opt1>
            <if>xl1</if>
            <descr>snort</descr>
            <ipaddr/>
            <subnet>31</subnet>
            <bridge>wan</bridge>
            <enable/>
        </opt1>
        <opt2>
            <if>wi0</if>
            <descr>wireless</descr>
            <ipaddr>192.168.1.0</ipaddr>
            <subnet>24</subnet>
            <bridge>lan</bridge>
            <wireless>
                <mode>hostap</mode>
                <ssid>braincancer</ssid>
                <stationname>braincancer</stationname>
                <channel>1</channel>
                <wep>
                    <enable/>
                    <key>
                        <value>0x1234123412</value>
                        <txkey/>
                    </key>
                </wep>
            </wireless>
            <enable/>
        </opt2>
    </interfaces>
    <staticroutes>
        <route>
            <interface>lan</interface>
            <network>192.168.50.0/24</network>
            <gateway>192.168.0.200</gateway>
            <descr>Rooftop Equipment</descr>
        </route>
        <route>
            <interface>lan</interface>
            <network>192.168.2.0/24</network>
            <gateway>192.168.0.200</gateway>
            <descr>Bobby's House</descr>
        </route>
    </staticroutes>
    <pppoe>
        <username/>
        <password/>
        <provider/>
    </pppoe>
    <pptp>
        <username/>
        <password/>
        <local/>
        <subnet/>
        <remote/>
    </pptp>
    <dyndns>
        <type>dyndns</type>
        <username/>
        <password/>
        <host/>
        <mx/>
    </dyndns>
    <dhcpd>
        <lan>
            <enable/>
            <range>
                <from>192.168.0.200</from>
                <to>192.168.0.225</to>
            </range>
            <staticmap>
                <mac>00:02:E3:XX:XX:XX</mac>
                <ipaddr>192.168.0.X</ipaddr>
                <descr>bastion (mike)</descr>
            </staticmap>
            <staticmap>
                <mac>00:40:F4:XX:XX:XX</mac>
                <ipaddr>192.168.0.X</ipaddr>
                <descr>spamtop (berger)</descr>
            </staticmap>
            <staticmap>
                <mac>08:00:46:XX:XX:XX</mac>
                <ipaddr>192.168.0.X</ipaddr>
                <descr>darkside (mike)</descr>
            </staticmap>
        </lan>
    </dhcpd>
    <pptpd>
        <mode>server</mode>
        <redir/>
        <localip>192.168.0.192</localip>
        <remoteip>192.168.0.32</remoteip>
        <radius>
            <server/>
            <secret/>
        </radius>
        <req128/>
        <user>
            <name>xxxxxx</name>
            <password>xxxxx</password>
        </user>
        <user>
            <name>xxxxxx</name>
            <password>xxxxx</password>
        </user>
    </pptpd>
    <dnsmasq>
        <enable/>
        <regdhcp/>
    </dnsmasq>
    <snmpd>
        <syslocation/>
        <syscontact/>
        <rocommunity>public</rocommunity>
        <enable/>
    </snmpd>
    <diag>
        <ipv6nat>
            <ipaddr/>
        </ipv6nat>
    </diag>
    <bridge/>
    <syslog>
        <reverse/>
        <nentries>100</nentries>
        <remoteserver/>
    </syslog>
    <nat>
        <rule>
            <protocol>tcp</protocol>
            <external-port>22</external-port>
            <target>192.168.0.X</target>
            <local-port>22</local-port>
            <descr>ssh -&gt; bastion (mike)</descr>
        </rule>
        <rule>
            <protocol>tcp</protocol>
            <external-port>80</external-port>
            <target>192.168.0.X</target>
            <local-port>80</local-port>
            <descr>mrtg stats</descr>
        </rule>
        <rule>
            <protocol>tcp</protocol>
            <external-port>4662</external-port>
            <target>192.168.0.X</target>
            <local-port>4662</local-port>
            <descr>mldonkey</descr>
        </rule>
    </nat>
    <filter>
        <rule>
            <type>pass</type>
            <interface>wan</interface>
            <protocol>tcp</protocol>
            <source>
                <any/>
            </source>
            <destination>
                <address>192.168.0.X</address>
                <port>22</port>
            </destination>
            <descr>NAT ssh -&gt; bastion (mike)</descr>
        </rule>
        <rule>
            <interface>wan</interface>
            <protocol>tcp</protocol>
            <source>
                <any/>
            </source>
            <destination>
                <address>192.168.0.X</address>
                <port>4662</port>
            </destination>
            <descr>NAT mldonkey</descr>
        </rule>
        <rule>
            <interface>wan</interface>
            <protocol>tcp</protocol>
            <source>
                <any/>
            </source>
            <destination>
                <address>192.168.0.X</address>
                <port>80</port>
            </destination>
            <descr>NAT mrtg stats</descr>
        </rule>
        <rule>
            <type>pass</type>
            <interface>pptp</interface>
            <source>
                <network>pptp</network>
            </source>
            <destination>
                <any/>
            </destination>
            <descr>pptp client passthru</descr>
        </rule>
        <rule>
            <type>pass</type>
            <descr>Default LAN -&gt; any</descr>
            <interface>lan</interface>
            <source>
                <network>lan</network>
            </source>
            <destination>
                <any/>
            </destination>
        </rule>
    </filter>
    <shaper/>
    <ipsec/>
</m0n0wall>