From owner-freebsd-questions Thu Sep 19 23:21:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C61C837B401 for ; Thu, 19 Sep 2002 23:21:40 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5C4D43E4A for ; Thu, 19 Sep 2002 23:21:39 -0700 (PDT) (envelope-from pete_m@pacbell.net) Received: from tulips ([63.194.99.42]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0H2Q002U44C3H9@mta5.snfc21.pbi.net> for freebsd-questions@FreeBSD.ORG; Thu, 19 Sep 2002 23:21:39 -0700 (PDT) Date: Thu, 19 Sep 2002 23:22:41 -0700 From: Pete Muller Subject: Running 2 wireless cards To: freebsd-questions@FreeBSD.ORG Message-id: <00cf01c2606e$1fa7e0c0$6401a8c0@tulips> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Old 233mhz Vectra, FBSD v4.5 I'm struggling to get 2 Orinoco Silver .11b cards to run on FBSD v4.5. Each card is in an ISA adapter. The box does nat through the wired NIC to the world. (3Com 3C905 card) One wireless card is set up as the 192.168.10 network, the second being the 192.168.20 network. The problem I'm having is getting the *second* card to work. I can ping it, the lights are on, but the card is not talking. I've "wicontrol'd" this thing to death... trying every conceivable combination of settings, still with no luck. btw: I'm trying to talk to it using a Dell laptop running W2k with [another] Orinoco Silver card (same cards in the FBSD box). Here are the relevant parts of my config: ----- /etc/rc.conf -------> natd_program="/sbin/natd" natd_enable="YES" natd_interface="xl0" natd_flags="-dynamic" gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_quiet="NO" firewall_logging_enable="YES" log_in_vain="YES" #---- and here's the stuff for the PCMCIA adapter ---- pccard_enable="YES" pccard_mem="DEFAULT" portmap_enable="YES" accept_sourceroute="NO" # script to configure first card (wi0) /usr/local/sbin/wireless.sh [[these are my wicontrol parameters]] # script to configure second card (wi1) /usr/local/sbin/wireless1.sh <<------ end of /etc/rc.conf ------- ------- kernel config file ------> # PCCARD (PCMCIA) support device card # The first pair of lines are for direct assignment # The second pair of lines are for polling mode #device pcic0 at isa? irq 4 port 0x3e0 iomem 0xd0000 #device pcic1 at isa? irq 5 port 0x3e2 iomem 0xd4000 device pcic0 at isa? port 0x3e0 iomem 0xd0000 device pcic1 at isa? port 0x3e2 iomem 0xd4000 <<-------- end of kernel config snippet ------- I've experimented with direct port assignments... cards seem to both "come alive" either way. Currently running in polling mode. -------- /etc/defaults/pccard.conf -------> # Lucent WaveLAN/IEEE -- Dual Wireless NICs - test # card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi0" ? config 0x1 "wi1" ? insert /etc/pccard_ether "wi0" start insert /etc/pccard_ether "wi1" start <<-------- end of /etc/defaults/pccard.conf snippet -------- -------- relevant lines of dmesg output -------> pccard: card inserted, slot 0 pccard: card inserted, slot 2 wi0: at port 0x240-0x27f irq 3 slot 0 on pccard0 wi0: Ethernet address: 00:02:2d:2b:4c:6d wi1: at port 0x280-0x2bf irq 5 slot 2 on pccard2 wi1: Ethernet address: 00:02:2d:0a:dd:7c <<-------- end of dmesg output snippet ------- ==================== The *only* thing I've noticed is a slight difference in what echos to the screen when the cards "come up" during bootup. The sequence I see/hear: - tone when wi0 comes up - a line echos to the screen similar to the wi0 line in dmesg - ~10 seconds later a second line echos spelling out config information of the interface (not the config of the card) - tone when wi1 comes up - a line echos to the screen similar to the wi1 line in dmesg - ~10 seconds later something like "pccard running" (or some simple two word message) echos These latter lines echoing to the screen (the final line that shows for each card during bootup) do *not* show in dmesg (sorry... I'm a beginner at this, so I don't know if I'm describing this correctly). There is definitely a difference in what I'm seeing on the screen during bootup for the 2 cards. Card wi0 *always* works -- and I have *never* been able to "talk" to wi1.... no matter what I've tried. Any suggestions for this rank beginner? Advice greatly appreciated.... thx Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message