Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 1999 03:41:55 -1000
From:      Richard Puga <puga@maui.com>
To:        wpaul@skynet.ctr.columbia.edu, jflowers@ezo.net, randy@psg.com, freebsd-hackers@freebsd.org
Subject:   WaveLan IEE problem
Message-ID:  <37C7E722.89B3F7FC@maui.com>
References:  <199908162135.RAA21309@skynet.ctr.columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

I wanted to bring everyone up to date on the problems I have been having with
the WaveLAN Turbo PC cards.

To date I am still reciving the following error after a day or so of use on only
the near side of a point to point link.

wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: xmit failed
wi0: device timeout

(hot swaping the card restores its ability to work)

The far side of the lynk has only experianced this problem (or any problems) one
time in the month or so I have been using it. I have left that side alone which
is running on a laptop with a hacked version of PAO.


This is what I have done to date in order to try and solve the problem on the
near side.

1) I have applied a patch provided by Bill Paul to the PAO version as well as
the lastest version of if_wi.c

2) Jim Flowers infromed me that he was having great success running
FreeBSD-Stable, I upgraded to STABLE and this got hot swaping working but still
hasn't seemed to solve the problem. (at this point I am no longer running the
patch from Bill Paul)

3) I started from scratch. I am using a differant computer (old pent-90 which
has run a wl0 card for years),
I bought a new WaveLAN Turbo card, A new ISA/PCMCIA adaptor, and did a fresh
install of FreeBSD-STABLE on a new hard dirve.

On the new hard drive I have only modified the following files,
/etc/pccard.conf
/etc/rc.conf
and the kernel config.

Below please find a copy of each.

Well thats it in a nut shell.

Thaks to everyone for helping so far!!

Sincerly,

RIchard Puga
puga@maui.com


---Kernel config---




# 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.
#
# $Id: GENERIC,v 1.143.2.18 1999/08/18 21:35:37 obrien Exp $

machine  "i386"
cpu  "I386_CPU"
cpu  "I486_CPU"
cpu  "I586_CPU"
cpu  "I686_CPU"
ident  GENERIC
maxusers 32

#options  MATH_EMULATE  #Support for x87 emulation
options  INET   #InterNETworking
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=15000 #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

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=2   # number of CPUs
#options NBUS=4   # number of busses
#options NAPIC=1   # number of IO APICs
#options NINTR=24  # number of INTs

controller isa0
controller pnp0
#controller eisa0
controller pci0

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

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

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)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller ncr0
controller ahb0
controller ahc0
controller isp0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
controller      dpt0

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

controller scbus0

device  da0

device  sa0

device  pass0

device  cd0 #Only need one of these, the code dynamically grows

device  wt0 at isa? port 0x300 bio irq 5 drq 1
#device  mcd0 at isa? port 0x300 bio irq 10

#controller matcd0 at isa? port 0x230 bio

#device  scd0 at isa? port 0x230 bio

# atkbdc0 controlls 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=2  # IBM keyboards are non-std

device  npx0 at isa? port IO_NPX irq 13

#
# Laptop 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?

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
device  lpt0 at ppbus?
device  plip0 at ppbus?
device  ppi0 at ppbus?
#controller vpo0 at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device al0  # ADMtek AL981 (``Comet'')
device ax0  # ASIX AX88140A
device de0  # DEC/Intel DC21x4x (``Tulip'')
device fxp0  # 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 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'')

# 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 0x240 net irq 11 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 xe0 at isa? port? net irq ?
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device cs0 at isa? port 0x300 net irq ?
device wi0 at isa? port? net irq ?

pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip  # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options  KTRACE  #kernel tracing

# This provides support for System V shared memory and message queues.
#
options  SYSVSHM
options  SYSVMSG
options  SYSVSEM

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



---/etc/pccard.conf---


# Sample PCCARD configuration file
#
# Removing all IRQ conflicts from this file can't be done because of some
# IRQ-selfish PC-cards.  So if you want to use some of these cards in
# your machine, you will be forced to modify their IRQ parameters from
# the following list.
#
# IRQ == 0 means "allocate free IRQ from IRQ pool"
# IRQ == 16 means "do not use IRQ (e.g. PIO mode)"
#
# $Id: pccard.conf.sample,v 1.36 1999/05/14 03:52:07 obrien Exp $

# Generally available IO ports
io 0x280-0x360
#io 0x240-0x360
# Generally available IRQs (Built-in sound-card owners remove 5)
irq 3 5 10 11 13 15
# Available memory slots
memory 0xd4000  96k


# Lucent WaveLAN/IEEE
card "Lucent Technologies" "WaveLAN/IEEE"
 config 0x1 "wi0" 9
 insert echo WaveLAN/IEEE inserted
 insert /etc/pccard_ether wi0
 remove echo WaveLAN/IEEE removed
 remove /sbin/ifconfig wi0 delete

# NCR WaveLAN/IEEE
card "NCR" "WaveLAN/IEEE"
 config 0x1 "wi0" 11
 insert echo WaveLAN/IEEE inserted
 insert /etc/pccard_ether wi0
 remove echo WaveLAN/IEEE removed
 remove /sbin/ifconfig wi0 delete

# Cabletron RoamAbout, WaveLAN/IEEE clone
card "Cabletron" "RoamAbout 802.11 DS"
 config 0x1 "wi0" 11
 insert echo WaveLAN/IEEE inserted
 insert /etc/pccard_ether wi0
 remove echo WaveLAN/IEEE removed
 remove /sbin/ifconfig wi0 delete

# IBM PCMCIA Ethernet I/II
card "IBM Corp." "Ethernet"
 config 0x1 "ed0" 11
 ether 0xff0
 insert echo IBM PCMCIA Ethernet inserted
 insert /etc/pccard_ether ed0
 remove echo IBM PCMCIA Ethernet removed
 remove /sbin/ifconfig ed0 delete

# Melco LPC-T (PIO mode)
card "PCMCIA" "UE2212"
 config 0x1 "ed0" 11 0x10
 ether 0xff0
 insert echo UE2212 inserted
 insert /etc/pccard_ether ed0
 remove echo UE2212 card removed
 remove /sbin/ifconfig ed0 delete

# Accton EN2212
# Very slow!  (PIO mode)
card "ACCTON" "EN2212"
 config 0x1 "ed0" 11 0x10
 ether 0xff0
 insert echo Accton EN2212 inserted
 insert /etc/pccard_ether ed0
 remove echo Accton EN2212 removed
 remove /sbin/ifconfig ed0 delete

#Accton 2216
card "ACCTON" "EN2216-PCMCIA-ETHERNET"
 config 0x20 "ed0" 10
 insert echo Accton 2216 inserted
 insert /etc/pccard_ether ed0
 remove echo Accton 2216 removed
 remove /sbin/ifconfig ed0 delete

# 3Com Etherlink III 3C589B, 3C589C
card "3Com Corporation" "3C589"
 config 0x1 "ep0" ?
 insert echo 3Com Etherlink III inserted
 insert /etc/pccard_ether ep0 -link0 link1
# insert /etc/pccard_ether ep0 link0 -link1
 remove echo 3Com Etherlink III removed
 remove /sbin/ifconfig ep0 delete

# 3Com Etherlink III 3C589D
card "3Com Corporation" "3C589D"
 config 0x1 "ep0" ?
 insert echo 3Com Etherlink III inserted
 insert /etc/pccard_ether ep0
 remove echo 3Com Etherlink III removed
 remove /sbin/ifconfig ep0 delete

# LinkSys ethernet card
card "E-CARD" "E-CARD"
 config  0x20 "ed0" 10
 insert  echo "LinkSys card inserted"
 insert  /etc/pccard_ether ed0
 remove  echo "LinkSys card removed"
 remove /sbin/ifconfig ed0 delete

# Linksys Combo PCMCIA EthernetCard (model EC2T on box)
card "Linksys" "Combo PCMCIA EthernetCard (EC"
 config 0x1 "ed0" 10
 insert echo Linksys Ethernet inserted
 insert /etc/pccard_ether ed0
 remove echo Linksys Ethernet removed
 remove /sbin/ifconfig ed0 delete

# Farallon EtherMac
card "Farallon" "ENet"
 config 0x1 "ep0" ?
 insert echo Farallon EtherMac inserted
 insert /etc/pccard_ether ep0
# insert /etc/pccard_ether ep0 link0
 remove echo Farallon EtherMac removed
 remove /sbin/ifconfig ep0 delete

# Fujitsu MBH10302
card "PCMCIA MBH10302" "01"
 config  0x14 "fe0" 10
 insert  echo Fujitsu MBH10302 inserted
 insert /etc/pccard_ether fe0
 remove  echo Fujitsu MBH10302 removed
 remove /sbin/ifconfig fe0 delete

# NextCom J Link NC5310
card "NextComK.K." "NC5310 Ver1.0      "
 config  0x14 "fe0" 10
 insert  echo NextCom J Link NC5310 inserted
 insert /etc/pccard_ether fe0
 remove  echo NextCom J Link NC5310 removed
 remove /sbin/ifconfig fe0 delete

# HITACHI HT-4840-11
card "HITACHI" "HT-4840-11"
 config 0x1a "fe0" 15
 insert echo HT-4840-11 inserted
 insert /etc/pccard_ether fe0
 remove echo HT-4840-11 removed
 remove /sbin/ifconfig fe0 delete

# Danpex (Alloy, etc.) EN-6200P2
card "DANPEX" "EN-6200P2"
 config 0x22 "ed0" 9
 insert /etc/pccard_ether ed0
 remove /sbin/ifconfig ed0 delete

# Fujitsu MBH10303 Ethernet PCMCIA
card "EAGLE Technology" "NE200 ETHERNET LAN MBH10303  "
 config 0x1 "fe0" ?
 insert /etc/pccard_ether fe0
        remove /sbin/ifconfig fe0 delete

# Compex Net-A adapter
card "Ethernet" "Adapter"
 config 0x1 "ed0" 11
 ether 0xff0
 insert /etc/pccard_ether ed0
 remove /sbin/ifconfig ed0 delete

# Telecom Device SuperSocket RE450T
# Note: There are several revisions of the cardon the market.
# Type A needs no "ether" line.
# Type B needs "ether 0x110" line.
# Type C needs "ether 0xff0" line.
# Yet more revisions exist, reportedly.
# If you see strange MAC address shown by ifconfig command,
# try other config.
card "Ethernet" "Adapter"
 config 0x2 "ed0" ?
# ether 0x110 00:e0:98
# ether 0xff0 00:e0:98
 insert /etc/pccard_ether ed0
 remove /sbin/ifconfig ed0 delete

# D-Link DE-660 NE2000 clone
card "D-Link" "DE-660"
 config 0x20 "ed0" ? 0x10
 insert /etc/pccard_ether ed0 link0 -link1
 remove /sbin/ifconfig ed0 delete

#  Intel EtherExpress PRO/100 Mobile Adapter (16-bit verison)
card "Intel" "EtherExpress(TM) PRO/100 PC C"
 config  0x1 "xe0" 10
 insert  echo Intel EtherExpress PRO/100 Mobile Adapter/16 inserted
 insert /etc/pccard_ether xe0
 remove  echo Intel EtherExpress PRO/100 Mobile Adapter/16 removed
 remove /etc/pccard_ether xe0 delete

# AIWA PV-JF288
card "AIWA CO.,LTD." "PV-JF288  "
 config  0x23 "sio2" 10
 insert  echo AIWA PV-JF288 inserted
 remove  echo AIWA PV-JF288 removed

# Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem.
card "AD PC_CARD" "RC288ACL"
 config  0x22 "sio2" 10
 insert  echo Apex Data Mobile Plus 28.8 Modem inserted
 remove  echo Apex Data Mobile Plus 28.8 Modem removed

# Megahertz XJ1144
card "MEGAHERTZ" "XJ1144"
 config 0x23 "sio2" 10
 insert echo Megahertz XJ1144 inserted
 remove echo Megahertz XJ1144 removed

# Megahertz XJ2144 (US)
card "MEGAHERTZ" "XJ2144"
 config 0x23 "sio2" 10
 insert echo Megahertz XJ2144 inserted
 remove echo Megahertz XJ2144 removed

# Megahertz XJ2144 (JP)
card "MEGAHERTZ" "XJ2144-81"
 config 0x23 "sio2" 10
 insert echo Megahertz XJ2144 inserted
 remove echo Megahertz XJ2144 removed

# Megahertz XJ2288
card "MEGAHERTZ" "XJ2288"
 config 0x23 "sio2" 10
 insert echo Megahertz XJ2288 inserted
 remove echo Megahertz XJ2288 removed

# Megahertz XJ4336
card "Megahertz" "XJ4336-CC4336"
 config 0x21 "sio1" 10
 insert echo Megahertz XJ4336 inserted
 remove echo Megahertz XJ4336 removed

# Megahertz XJ1336
card "U.S. Robotics" "XJ/CC1336"
 config 0x21 "sio2" 10
 insert echo U.S. Robotics XJ/CC1336 inserted
 remove echo U.S. Robotics XJ/CC1336 removed

# Omron ME2814 FAX/DATA MODEM
card "OMRON" "ME2814 FAX/DATA MOD"
 config  0x23 "sio2" 3
 insert  echo OMRON ME2814 Modem inserted
 remove  echo OMRON ME2814 Modem removed

# TDK 14.4 FAX/Data Modem
card "TDK" "DF1414 DATA/FAX MOD"
 config 0x23 "sio2" 10
 insert echo TDK DF1414 inserted
 remove echo TDK DF1414 removed

# TDK 14.4 FAX/Data Modem
card "TDK" "DF1414EX DATA/FAX M"
 config  0x23 "sio2" 10
 insert  echo TDK DF1414 inserted
 remove  echo TDK DF1414 removed

# Panasonic Modem Card TO-706C
card "Panasonic" "TO-706C"
 config 0x23 "sio2" 10
 insert echo Panasonic TO-706C inserted
 remove echo Panasonic TO-706C removed

# Panasonic Modem Card TO-706C
card "Panasonic" "TO-CAF288"
 config 0x23 "sio2" 10
 insert echo Panasonic TO-CAF288 inserted
 remove echo Panasonic TO-CAF288 removed

# NewMedia 14.4K FAX/Data Modem
card "CIRRUS LOGIC" "FAX MODEM"
 config 0x23 "sio2" 10
 insert echo Newmedia 14.4 Modem inserted
 remove echo Newmedia 14.4 Modem removed

# Omron MD24XCA FAX/Data Modem
#card "OMRON Corp." "MD24XCA"
# config 0x23 "sio2" 16
# reset 10000
# insert echo OMRON MD24XCA Modem inserted
# remove echo OMRON MD24XCA Modem removed

# Hayes OPTIMA 288 FAX/Data Modem
# currently does not work on my machine
card "Hayes" "OPTIMA 288 + FAX fo"
 config 0x24 "sio2" 5
 reset 10000
 insert echo Optima 288 inserted
 remove echo Optima 288 removed

# This one does work though
card "HAYES" "OPT288"
        config  0x23 "sio3" 9
        insert  echo Hayes Optima 28.8k inserted
        remove  echo Hayes Optima 28.8k removed

# PREMAX FM288 FAX/Data Modem
card "PREMAX" "FM288 "
 config  0x23 "sio2" 10
 insert  echo PREMAX FM288 Modem inserted
 remove  echo PREMAX FM288 Modem removed

# Novalink NovaModem 144
card "NovaLink Tech." "NovaModem 144   "
 config  0x23 "sio2" 10
 insert  echo NovaModem 144 Modem inserted
 remove  echo NovaModem 144 Modem removed

# US Robotics Sportster PCMCIA V.34
# US Robotics COURIER PCMCIA V.34
card "USRobotics" "PCMCIA 28800 Data/F"
 config  0x3 "sio2" 3
 insert  echo USRobotics PCMCIA Modem inserted
 remove  echo USRobotics PCMCIA Modem removed

# Xircom CreditCard Modem
card "Xircom" "CreditCard Modem CM-56T"
 config 0x17 "sio1" ?
 reset   100
 insert  echo Xircom CreditCard Modem CM-56T inserted
 remove  echo Xircom CreditCard Modem CM-56T removed

# Xircom CreditCard Ethernet+Modem (Modem only !!!)
card "Xircom" "CreditCard Ethernet"
 config  0x23 "sio2" 3
 insert  echo Xircom CreditCard Modem inserted
 remove  echo Xircom CreditCard Modem removed

# Xircom CreditCard Ethernet 10/100 + modem (modem only)
card "Xircom" "CreditCard Ethernet 10/100 + "
 config  0x1f "sio3" 10
 insert  echo Xircom CreditCard Modem inserted
 remove  echo Xircom CreditCard Modem removed

# Xircom CreditCard Ethernet 10/100 + modem (Ethernet part)
card "Xircom" "CreditCard Ethernet 10/100 + Modem 56"
 config  0x17 "sio3" 10
 insert  echo Xircom CreditCard Modem inserted
 insert /etc/pccard_ether xe0
 remove  echo Xircom CreditCard Modem removed
 remove /sbin/ifconfig xe0 delete

# Xircom CreditCard Ethernet 10/100
card "Xircom" "CreditCard 10/100"
 config  0x1 "xe0" 10
 insert  echo Xircom CreditCard Ethernet inserted
 insert /etc/pccard_ether xe0
 remove  echo Xircom CreditCard Ethernet removed
 remove /etc/pccard_ether xe0 delete

# Xircom GlobalACCESS modem
card "Xircom" "CreditCard Modem 56 - GlobalA"
  config 0x1f "sio2" 11
  insert  echo Xircom CreditCard Modem 56 - GlobalACCESS inserted
  remove  echo Xircom CreditCard Modem 56 - GlobalACCESS removed

# GATEWAY 2000 FAX/Data Modem (14.4K)
card "GATEWAY2000" "CC3144"
 config  0x22 "sio3" 7
 insert  echo GATEWAY2000 FAX/Data Modem inserted
 remove  echo GATEWAY2000 FAX/Data Modem removed

# IBM Push/Pop Modem (14.4K)
card "IBM" "Push/Pop Modem(14.4"
 config 0x22 "sio2" 5
 insert echo IBM Push/Pop Modem inserted
 remove echo IBM Push/Pop Modem removed

# Eiger PCCARD modem
# Apparently this modem does not work unless the recommended
# init string (AT&F&C1&D2) is supplied.
card "PCMCIA  " "33.6K Fax/Modem  "
 config 23 "sio2" 5
 insert echo Eiger 33.6K modem inserted
 remove echo Eiger 33.6K modem removed

# NTT ThunderCard Modem
card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34"
 config 0x22 "sio2" 10
 insert echo NTT ThunderCard inserted
 remove echo NTT ThunderCard removed

# U.S. Robotics XJ1560J
card "U.S. Robotics" "XJ/CC1560J"
 config 0x22 "sio2" 10
 insert echo U.S. Robotics XJ1560J inserted
 remove echo U.S. Robotics XJ1560J removed

# 3com/USR/Megahertz 3CCM556
card "3Com" "3CXM/3CCM556"
 config 0x23 "sio2" 10
 insert echo 3Com PCMCIA 56K Modem inserted
 remove echo 3Com PCMCIA 56K Modem removed

# 3Com/NoteWorthy 56K modem (bundled with Toshiba notebooks)
card "Toshiba America" "3CXM056-BNW"
      config  0x20 "sio1" 3
      insert  echo NoteWorthy 56K PCMCIA Modem inserted
      remove  echo NoteWorthy 56K PCMCIA Modem removed

# BUG Linkboy D64K (ISDN)
card "BUG Inc." "Linkboy D64K"
 config  0x23 "sio2" 3
 insert  echo BUG Linkboy D64K inserted
 remove  echo BUG Linkboy D64K removed

# NTT DoCoMo DATA/FAX Adapter
card "NTT DoCoMo" "PCMCIA DATA/FAX ADA"
 config  0x22 "sio3" 10 0x82
 insert  echo NTT DoCoMo DATA/FAX Adapter inserted
 remove  echo NTT DoCoMo DATA/FAX Adapter removed

# Random modem bundled with Dell systems
card "Psion Dacom" "Gold Card Global 56K+Fax"
 config 0x23 "sio2" 10
 insert echo "Psion Dacom modem card inserted"
 remove echo "Psion Dacom modem card removed"

# Actiontec Datalink with v.90 upgrade
card "PCMCIA  " "56K V.90 Fax Modem (LK)  "
 config 0x1f "sio2" 10
 insert echo "Actiontec Datalink modem card inserted"
 remove echo "Actiontec Datalink modem card removed"

# Panasonic FM-RADIO card
#card "Panasonic" "CF-JVR101"
# config  0x22 "sio3" 16
# insert  echo Panasonic FM radio card inserted
# remove  echo Panasonic FM radio card removed

# SunDisk Flash ATA
# (OEM: Epson Flash Packer)
#card "SunDisk" "SDP5"
# config 0x3 "wdc1" 7
# insert echo Sundisk Flash ATA inserted
# remove echo Sundisk Flash ATA removed

#card "SunDisk" "SDP"
# config  0x3 "wdc1" 7
# insert  echo SunDisk Flash ATA Inserted
# remove  echo SunDisk Flash ATA Removed

# Midori Elec Fast Flash
#card "Midori Elec." "FAST FLASH"
# config  0x3  "wdc1" 9
# insert  echo Midori Elec Fast FLASH inserted
# remove  echo Midori Elec Fast FLASH removed

# Maxtor 131MB Type III HDD
#card "Maxtor" "MXL131"
# config  0x03 "wdc1" 10
# insert echo Maxtor 131MB HDD inserted
# remove echo Maxtor 131MB HDD removed

# Adaptec SlimSCSI (also included with Sony CD-ROM players)
card "Adaptec, Inc." "APA-1460 SCSI Host Adapter"
 config 0x9 "aic0" 10
 insert echo Adaptec Slim SCSI inserted
 remove echo Adaptec Slim SCSI removed

# NewMedia Bustoaster SCSI
card "New Media" "SCSI"
 config 0x22 "aic0" 10
 insert echo New Media Bus Toaster inserted
 remove echo New Media Bus Toaster removed

# REX5535AC, REX5535X SCSI
#card "PCMCIA SCSI MBH1040" "01"
# config 0x3a "spc0" 11
# insert echo REX-5535 SCSI card inserted
# remove echo REX-5535 SCSI card removed

# Libretto Floppy disk
card "Y-E DATA" "External FDD"
 config  0x4 "fdc0" 10

# Viking V.90/K56Flex modem
card "Viking" "V.90 K56flex"
        config 0x23 "sio3" 9
        insert echo Viking 56K Modem inserted
        remove echo Viking 56K Modem removed

# Zoom 56K modem
card "Zoom Telephonics, Inc." "PCMCIA 56K LT DataFax"
        config 0x1f "sio2" 10
        insert echo Zoom modem inserted
        remove echo Zoom modem removed

# 3Com Megahertz 3CCE589E* 10 Mbps LAN PC Card
card "3Com" "Megahertz 589E"
        config 0x1 "ep0" 10
        insert echo 3Com Megahertz Ethernet card inserted
        insert /etc/pccard_ether ep0
        remove echo 3Com Megahertz Ethernet card removed
        remove /sbin/ifconfig ep0 delete

# 3Com/USR/MegaHertz 3CCM156
card "3COM" "3CCM156"
 config 0x23 "sio2" 10
 insert echo 3Com PCMCIA 56K modem inserted
 remove echo 3Com PCMCIA 56K modem removed

#AR-P500 ethernet card
card "IC-CARD" "IC-CARD"
 config 0x20 "ed0" 15
 insert echo AR-P500 Ethernet card inserted
 insert /etc/pccard_ether ed0
 remove echo AR-P500 Ethernet card removed
 remove ifconfig ed0 delete

#Eiger 33.6 modem
card "AT&T" "V34+ Fax Modem"
 config 0x23 "sio1" 10
 insert echo Eiger 33.6K modem inserted
 remove echo Eiger 33.6K modem removed

# Motorola Montana
card "Motorola" "MONTANA 33.6 FAX/MODEM"
 config 0x21 "sio1" 10

# AmbiCom 10BaseT card
card "AmbiCom Inc" "AMB8002T"
 config 0x20 "ed0" 11
 insert echo AmbiCom 8002T inserted
 insert /etc/pccard_ether ed0
 remove echo AmbiCom 8002T removed
 remove /sbin/ifconfig ed0 delete


----/etc/rc.conf---


network_interfaces="ed0 wi0 lo0"
ifconfig_ed0="inet xxx.xxx.xxx.xxx  netmask 255.255.255.0"
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"
pccard_ifconfig="inet yyy.yyy.yyy.yyy  netmask 255.255.255.0"
defaultrouter="zzz.zzz.zzz.zzz"
hostname="wave1.mymachinename"
firewall_enable="YES"  # Set to YES to enable firewall functionality
natd_enable="NO"                # Enable natd (if firewall_enable == YES).
natd_interface="fxp0"           # Public interface or IPaddress to use.
natd_flags=""                   # Additional flags for natd.
gateway_enable="YES"  # Set to YES if this host will be a gateway.
router_enable="YES"  # Set to YES to enable a routing daemon.
router="routed"   # Name of routing daemon to use if enabled.
router_flags="-s"  # Flags for routing daemon.
lpd_enable="YES"  # Run the line printer daemon.
lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one.
lpd_flags=""  # Flags to lpd (if enabled).
named_enable="YES"  # Run named, the DNS server (or NO).
named_program="named"  # path to named, if you want a different one.
named_flags=""   # Flags for named
nfs_server_enable="YES"
nfs_client_enable="YES"











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




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