Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 12:06:51 +0100
From:      arnaud.gibier@bt.com
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Wavelan IEEE 802.11 card
Message-ID:  <F66469FCE9C5D311B8FF0000F8FE9E0701453E62@mbtlipnt03.btlabs.bt.co.uk>

next in thread | raw e-mail | index | archive | help
------_=_NextPart_000_01BFC0B9.2AE92B30
Content-type: text/plain; charset="us-ascii"

Dear All,

I have been trying to get an IEEE 802.11 WaveLAN PC Card working under
FreeBSD-3.4 with a Kame patch (kame-20000320-freebsd34-snap.tgz).
I have used the PAO3-20000130.tar.gz patch for FreeBSD 3.4-RELEASE to enable
my WaveLAN PC Card but it is not working.
I have the following problem:
 <<dmesg.txt>> 
Here are my different config files:
 <<my config file.txt>>  <<rc.conf.txt>>  <<rc.net6.txt>> 

Could someone tell me what I did wrong ? Thanks,

Arnaud.



------_=_NextPart_000_01BFC0B9.2AE92B30
Content-type: text/plain; name="dmesg.txt"
Content-Disposition: attachment;
	filename="dmesg.txt"

wi0 not found
ppc0: FIFO with 16/16/8 bytes threshold
PC-Card Vadem 469 (5 mem & 2 I/O windows)
Initializing PC-card drivers: wi sio

------_=_NextPart_000_01BFC0B9.2AE92B30
Content-type: text/plain; name="my config file.txt"
Content-transfer-encoding: quoted-printable
Content-Disposition: attachment;
	filename="my config file.txt"

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information on this file, please read the handbook section =
on
# Kernel Configuration Files:
#
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you =
are
# in doubt as to the purpose or necessity of a line, check first in =
LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.143.2.24 1999/12/05 01:56:42 =
luoqi Exp
 $
# $Id: GENERIC.v6,v 1.14 2000/03/18 03:09:31 itojun Exp $

machine         "i386"
#cpu            "I386_CPU"
#cpu            "I486_CPU"
#cpu            "I586_CPU"
cpu             "I686_CPU"
ident           "IP6"
maxusers        10

# INET6 and IPSEC are orthogonal.  Therefore:
#                               IPv4    IPv6    IPsec4  IPsec6
#                               ---     ---     ---     ---
#       no INET6 nor IPSEC:     yes     no      no      no
#       INET6 and no IPSEC:     yes     yes     no      no
#       IPSEC and no INET6:     yes     no      yes     no
#       INET6 and IPSEC:        yes     yes     yes     yes

## The following options are not really tested with INET6.
## please send success/failure reports to KAME bug database.
##      IPDIVERT MROUTING BRIDGE DUMMYNET
options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         "INET6"                 #IPv6
#options        RADISH                  #not yet
#options        IPSEC                   #IP security
#options        IPSEC_ESP               #IP security (crypto; define w/ =
IPSEC)
#options        "IPSEC_IPV6FWD"         #IP security tunnel for IPv6
#options        IPSEC_DEBUG             #debug for IP security
#options        NATM                    #native mode ATM
options         MAPPED_ADDR_ENABLED     #enable IPv4, on IPv6 socket

# IPv6 firewall
#options        "IPV6FIREWALL"
#options        "IPV6FIREWALL_VERBOSE"
#options        "IPV6FIREWALL_DEFAULT_TO_ACCEPT"

# ALTQ
options         ALTQ            #alternate queueing
#options        CBQ             #class based queueing
#options        WFQ             #weighted fair queueing
#options        FIFOQ           #fifo queueing
#options        RED             #random early detection
#options        FLOWVALVE       #flowvalve for RED (needs RED)
#options        RIO             #twin red for diffserv (needs RED)
#options        CBQ_RED         #red for cbq (needs CBQ and RED)
#options        CBQ_RIO         #rio for cbq (needs CBQ, RIO, RED, =
CBQ_RED)
#options        LOCALQ          #local use
#options        HFSC            #hierarchical fair service curve
#options        HFSC_RED        #red for hfsc (needs HFSC and RED)
#options        HFSC_RIO        #rio for hfsc (needs HFSC, RIO, RED, =
HFSC_RED)
#options        ALTQ_ACCOUNT    #altq accounting
#options        ALTQ_ECN        #ecn extention to tcp
#options        CDNR            #diffserv traffic conditioner
#options        BLUE            #blue by wu-chang feng
# you might want to set kernel timer to 1kHz if you use CBQ,
# especially with 100baseT
#options        HZ=3D1000

# Don't uncomment PM and NATPT at the same time.  It cause compile =
error.
# Packet Management by SuMiRe
#options        PM                      # SuMiRe (NAT).
#options        PM_USE_SOCKET           # Use socket instead of ioctl.
#options        PMDEBUG                 # Enable debug feature.

# Network Address Translation - Protocol Translation (NAT-PT)
#options        NATPT

# mobile-ip6 options
# NOTE: Don't define with IPsec options
options         "MIP6"
options         "MIP6_DEBUG"

options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device =
[keep this!]
options         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device, =
"MFS" req'ed
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, =
"NFS" req'ed
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "CD9660_ROOT"           #CD-ROM usable as root. =
"CD9660" req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP =
THIS!]
options         SCSI_DELAY=3D15000        #Be pessimistic about Joe =
SCSI device
options         UCONSOLE                #Allow users to grab the =
console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) syscall trace =
support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores

# You may need to reset all pccards after resuming
options PCIC_RESUME_RESET

config          kernel  root on wd0

# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessor =
Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=3D2                  # number of CPUs
#options        NBUS=3D4                  # number of busses
#options        NAPIC=3D1                 # number of IO APICs
#options        NINTR=3D24                # number of INTs

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      eisa0
controller      pci0

# PCCARD (PCMCIA) support - do not remove
#pseudo-device  card1

# You must use "flags 0x1" when you don't hear any negociation noise(?)
# if you use modem card, or pccard doesn't read cis tuple, tell you
# 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's
# pcic is your PC.
#device pcic0   at isa? port 0x3e0 flags 0x1 irq 11
#device         pcic0   at isa? port 0x3e0 irq 11
#device         pcic0   at isa? port 0x3e4 irq 11
#device         pcic1   at isa? port 0x3e2      # for HiNote Ultra II
#device         pcic1   at isa? port 0x3e4      # for Chandra II

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
#disk           fd1     at fdc0 drive 1

# IDE controller and disks
options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0
#disk           wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
#disk           wd2     at wdc1 drive 0
#disk           wd3     at wdc1 drive 1

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM
#device         wfd0            #IDE Floppy (e.g. LS-120)

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller     ncr0            # NCR/Symbios Logic
#controller     ahb0            # EISA AHA1742 family
#controller     ahc0            # AHA2940 and onboard AIC7xxx devices
#controller     amd0            # AMD 53C974 (Teckram DC-390(T))
#controller     isp0            # Qlogic family
#controller     dpt0            # DPT Smartcache - See LINT for =
options!

#controller     adv0    at isa? port ? cam irq ?
#controller     adw0
#controller     bt0     at isa? port ? cam irq ?
#controller     aha0    at isa? port ? cam irq ?
#controller     aic0    at isa? port ? cam irq ?

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
#controller     scbus0          # SCSI bus (required)
#device         da0             # Direct Access (disks)
#device         sa0             # Sequential Access (tape etc)
#device         cd0             # CD
#device         pass0           # Passthrough device (direct SCSI)

# Proprietary or custom CD-ROM Interfaces
#device         wt0     at isa? port 0x300 bio irq 5 drq 1
#device         mcd0    at isa? port 0x300 bio irq 10
#device         matcd0  at isa? port 0x230 bio
#device         scd0    at isa? port 0x230 bio

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? tty
#options        XSERVER                 # support for X server
#options        FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the =
PCVT lines
#options        PCVT_SCANSET=3D2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at isa? disable flags 0x31 # Advanced Power =
Management

# PCCARD (PCMCIA) support
controller      card0
device          pcic0   at card?
device          pcic1   at card?

# Serial (COM) ports
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface =
device
#controller     vpo0    at ppbus?       # Requires scbus and da0

# PCI Ethernet NICs.
#device         al0             # ADMtek AL981 (``Comet'')
#device         ax0             # ASIX AX88140A
#device         de0             # DEC/Intel DC21x4x (``Tulip'')
device          fxp0            # Intel EtherExpress PRO/100B (82557, =
82558)
device          fxp1            # Intel EtherExpress PRO/100B (82557, =
82558)
device          fxp2            # Intel EtherExpress PRO/100B (82557, =
82558)
#device         mx0             # Macronix 98713/98715/98725 (``PMAC'')
#device         pn0             # Lite-On 82c168/82c169 (``PNIC'')
#device         rl0             # RealTek 8129/8139
#device         sf0             # Adaptec AIC-6915 DuraLAN =
(``Starfire'')
#device         sis0            # Silicon Integrated Systems SiS =
900/SiS 7016
#device         ste0            # Sundance ST201 (D-Link DFE-550)
#device         tl0             # Texas Instruments ThunderLAN
#device         tx0             # SMC 9432TX (83c170 ``EPIC'')
#device         vr0             # VIA Rhine, Rhine II
#device         vx0             # 3Com 3c590, 3c595 (``Vortex'')
#device         wb0             # Winbond W89C840F
device          xl0             # 3Com 3c90x (``Boomerang'', =
``Cyclone'')

# ISA Ethernet NICs.
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device         ed0     at isa? port 0x280 net irq 10 iomem 0xd8000
#device         ie0     at isa? port 0x300 net irq 10 iomem 0xd0000
#device         ep0     at isa? port 0x300 net irq 10
#device         ex0     at isa? port? net irq?
#device         fe0     at isa? port 0x300 net irq ?
#device         le0     at isa? port 0x300 net irq 5 iomem 0xd0000
#device         lnc0    at isa? port 0x280 net irq 10 drq 0
#device         cs0     at isa? port 0x300 net irq ?
# requires PCCARD (PCMCIA) support to be activated
#device         xe0     at isa? port? net irq ?
device          wi0     at isa? port? net irq ?

# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
##device                ze0     at isa? port 0x300 net irq 10 iomem =
0xd8000
##device                zp0     at isa? port 0x300 net irq 10 iomem =
0xd8000

# ATM support
# Efficient ENI155 PCI ATM NIC or Adaptec ATM NIC
#device en0
#device en1

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
#pseudo-device  ppp     1       # Kernel PPP
pseudo-device   tun     1       # Packet tunnel
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn              # Vnode driver (turns a file into a =
device)

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device   bpfilter 16     #Berkeley packet filter

# for IPv6
#pseudo-device  atm
pseudo-device   gif     4
#pseudo-device  dummy   1
#pseudo-device  faith   1
#pseudo-device  stf

------_=_NextPart_000_01BFC0B9.2AE92B30
Content-type: text/plain; name="rc.conf.txt"
Content-Disposition: attachment;
	filename="rc.conf.txt"

# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #

# System console options
moused_port="/dev/psm0"
moused_enable="YES"
saver="logo"
keymap="uk.iso"

# Network configuration sub-section
network_interfaces="fxp0 lo0"
#ifconfig_fxp0="inet 132.146.249.232  netmask 255.255.255.0"
#defaultrouter="132.146.249.254"

# Basic network options
hostname="router3.v6dev.labyrinth.bt.co.uk"

# Boot-time options
pccard_enable="YES"     #Set to YES if you want to configure PCCARD devices
pccard_mem="DEFAULT"    #If pccard_enable=YES, this is card memory address
pccard_beep="2"         # 0: silent, 1: simple beep, 2: melody
pccard_flags=""         # additional flags for pccard

# PC Card network interface options
pccard_ether="wi0"      # PC Card ethernet interfaces
ifconfig_common="inet6 fec0:2::20"
ifconfig_wi0=$ifconfig_common

------_=_NextPart_000_01BFC0B9.2AE92B30
Content-type: text/plain; name="rc.net6.txt"
Content-transfer-encoding: quoted-printable
Content-Disposition: attachment;
	filename="rc.net6.txt"

#! /bin/sh

ip6router=3DYES
ip6mrouter=3DYES

if [ X"${ip6router}" =3D X"YES" ]; then
        #
        # manual configurations - in case ip6router=3DYES
        #
        route6dflags=3D-l
#       mroute6dflags=3D

        #
        # list of interfaces, and prefix for interfaces
        # NOTE: no trailing double colon necessary here!
        #
        iface=3D"xl0 fxp0 fxp1 fxp2 wi0"=20
#       prefix_ed0=3D"fec0:0000:0000:0001"
#       prefix_ep0=3D"fec0:0000:0000:0002"
       =20
        #
        # list of outer ip addresses for gif.
        #
#       gifs=3D"gif0 gif1"
#       gifconfig_gif0=3D"10.1.1.1 10.1.2.1"
#       gifconfig_gif1=3D"10.1.1.2 10.1.2.2"
else
        #
        # manual configurations - in case ip6router=3DNO
        # you can configure only single interface, as specification =
assumes that
        # autoconfigured host has single interface only.
        #
#       iface=3D"ed0"
fi

# tool locations
apache=3D/usr/kame/freebsd3/ports/apache13/work/apache_1.3.11/src/httpd
ifconfig=3D/usr/local/v6/sbin/ifconfig
prefixconfig=3D/usr/local/v6/sbin/prefix
route6d=3D/usr/local/v6/sbin/route6d
mroute6d=3D/usr/local/v6/sbin/pim6dd
rtsol=3D/usr/local/v6/sbin/rtsol
rtadvd=3D/usr/local/v6/sbin/rtadvd
gifconfig=3D/usr/local/v6/sbin/gifconfig
route=3D/usr/local/v6/sbin/route
ndp=3D/usr/local/v6/sbin/ndp
if [ -x /usr/local/v6/sbin/sysctl ]; then
        sysctl=3D/usr/local/v6/sbin/sysctl
else
        sysctl=3Dsysctl
fi

# just to make sure
$ifconfig lo0 up

#determine the "default interface" used below
#if [ X"$defaultiface" =3D X"" ]; then
#    for i in $iface; do # use the 1st interface in the list
#       defaultiface=3D$iface
#       break
#    done
#fi
# disallow unicast packets without outgoing scope identifiers.
# if you instead want to route such packets to a "default" interface,
# comment out the 1st two lines, and enable the lines after them.
#$route add -inet6 fe80:: -prefixlen 10 ::1 -reject
#$route add -inet6 fec0:: -prefixlen 10 ::1 -reject
#if [ X"$defaultiface" =3D X"" ]; then
#    for i in $iface; do # use the 1st interface in the list
#       defaultiface=3D$iface
#       break
#    done
#fi
#if [ X"$defaultiface" !=3D X"" ]; then
#    $route add -inet6 fe80:: ::1 -prefixlen 10 -interface -ifp =
$defaultiface -c
loning
#    $route add -inet6 fec0:: ::1 -prefixlen 10 -interface -ifp =
$defaultiface -c
loning
#fi

# disallow "internal" addresses to appear on the wire
#$route add -inet6 ::ffff:0.0.0.0 -prefixlen 96 ::1 -reject
#$route add -inet6 ::0.0.0.0 -prefixlen 96 ::1 -reject

if [ X"${ip6router}" =3D X"YES" ]; then
        # act as a router
        $sysctl -w net.inet6.ip6.forwarding=3D1
        $sysctl -w net.inet6.ip6.accept_rtadv=3D0

        # wait for DAD
        for i in $iface; do
                $ifconfig $i up
        done
        sleep `$sysctl net.inet6.ip6.dad_count | awk '{print $NF}'`
        sleep 1

        # setting up interfaces
        for i in $iface; do
                eval prefix=3D\$prefix_$i
                if [ X"$prefix" =3D X"" ]; then
                        continue
                fi
                for j in $prefix; do
                        if [ -x $prefixconfig ]; then
                                $prefixconfig $i $j::
                        else
                                # NetBSD *requires* inet6
                                laddr=3D`$ifconfig $i inet6 | grep =
'inet6 fe80:' |
 head -1 | \
                                        awk '{print $2}'`
                                hostid=3D`echo $laddr | sed -e =
's/fe80:[0-9a-fA-F]
+::/fe80::/' -e 's/fe80:://' -e 's/%.*//'`
                                address=3D$j\:$hostid

                                eval hostid_$i=3D$hostid
                                eval address_$i=3D$address

                                $ifconfig $i inet6 $address prefixlen =
64 alias
                        fi

                        # subnet-router anycast address (rfc2373)
                        $ifconfig $i inet6 $j:: prefixlen 64 alias =
anycast
                done

                $ifconfig $i inet6
        done

        #manual address configuration
        $ifconfig xl0 inet6 fec0:f1::40 alias
        $ifconfig fxp0 inet6 fec0:c2::40 alias
        $ifconfig fxp1 inet6 fec0:2::20 alias
        $ifconfig fxp2 inet6 fec0:1::30 alias
        $ifconfig wi0 inet6 fec0:2::20 alias
        $route add -inet6 default fec0:f1::70
        $rtadvd -m fxp1=20
        $apache -6

        # again, wait for DAD's completion (for global addrs)
        sleep `$sysctl net.inet6.ip6.dad_count | awk '{print $NF}'`
        sleep 1

        # gifconfig
        for i in $gifs; do
                eval peers=3D\$gifconfig_$i
                if [ X"$peers" =3D X"" ]; then
                        continue
                fi
                $gifconfig $i $peers
        done

        # route6d
        [ -x $route6d ] && $route6d $route6dflags

        # rtadvd
        # This should enabled with a great care.
        # You may want to fine-tune /usr/local/v6/etc/rtadvd.conf.
#       [ -x $rtadvd ] && $rtadvd $iface

        # mroute6d
        if [ X"${ip6mrouter}" =3D X"YES" -a -x $mroute6d ]; then
                $mroute6d $mroute6dflags
        fi
else
        # act as endhost - automatically configured
        $sysctl -w net.inet6.ip6.forwarding=3D0
        $sysctl -w net.inet6.ip6.accept_rtadv=3D1

        $ifconfig $iface up
        $rtsol $iface

        # install the "default interface" to kernel, which will be used =

        # as the default route when there's no router.
        [ -x $ndp ] && $ndp -I $defaultiface

        # wait for DAD's completion (for global addrs)
        sleep `$sysctl net.inet6.ip6.dad_count | awk '{print $NF}'`
        sleep 1
fi

echo -n "Starting standard IPv6 daemons:"

# inet46d configuration
#       KAME/FreeBSD3.x: AF_INET{,6} dual stack support with wildcard
#               bind on AF_INET6 socket. Also with IPsec support
if [ -x /usr/local/v6/sbin/inet46d ] && [ "X${inet6d_enable}" !=3D =
X"NO" ]; then
        echo -n ' inet46d';     /usr/local/v6/sbin/inet46d =
$inet6d_flags
fi

# for each valid dir in $local_startup, search for init scripts =
matching *.sh
[ -d /usr/local/v6/etc/rc.d ] && for script in =
/usr/local/v6/etc/rc.d/*.sh; do
        [ -x ${script} ] && ${script} start
done

echo '.'

------_=_NextPart_000_01BFC0B9.2AE92B30--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F66469FCE9C5D311B8FF0000F8FE9E0701453E62>