From owner-freebsd-current@FreeBSD.ORG Sat May 22 08:19:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33E5616A4CE for ; Sat, 22 May 2004 08:19:43 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5001243D1D for ; Sat, 22 May 2004 08:19:42 -0700 (PDT) (envelope-from ph.schulz@gmx.de) Received: (qmail 24758 invoked by uid 65534); 22 May 2004 15:18:32 -0000 Received: from p5090C4CB.dip0.t-ipconnect.de (EHLO gmx.de) (80.144.196.203) by mail.gmx.net (mp015) with SMTP; 22 May 2004 17:18:32 +0200 X-Authenticated: #1954550 Message-ID: <40AF6F25.9000502@gmx.de> Date: Sat, 22 May 2004 17:17:57 +0200 From: Phil Schulz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040520 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: link up/link down on ndis0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 15:19:43 -0000 Hello List! I'm running FreeBSD 5.2.1-RELEASE-p7 on a Centrino laptop and I'm trying to get the integrated WLAN adaptor to work. I've built the NDISulator (using the WinXP driver that came w/ the laptop) based on information I found on the web and in the archives of this list [1], [2]. However, I can't seem to get the ndis0 interface to work. I'm trying to integrate my laptop into the home network. The network is a small, wired home network with around 10 hosts and one access point which sits right next to my laptop here on my desk. Below you can find the steps I'm doing. I'm sort of wondering what the 'ndis0: link down' message means which I see on the console. The access point is less than 3ft away from the laptop so I don't think it's a signal issue. Is my access point mis-configured or am I doing things wrong on the laptop? I'm sorry if I could have solved this myself but this is the first time I'm touching a WLAN. Thanks for your help. Phil. References: [1] http://www.xl0.org/FreeBSD/ndis.txt [2] http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019760.html --- Attempt to bring up ndis0 --- mars# kldload ndis mars# kldload if_ndis ndis0: mem 0xe0203000-0xe0203fff irq 10 at device 6.0 on pci2 ndis0: NDIS API version: 5.1 ndis0: 11b rates: 11Mbps 2Mbps 1Mbps mars# ifconfig ndis0 192.168.1.51 netmask 0xffffffff up ssid "phil" channel 6 wepmode off ndis0: link up ndis0: link down mars# ifconfig bfe0: flags=8843 mtu 1500 inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:0a:e4:24:43:d6 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ndis0: flags=8843 mtu 1500 inet 192.168.1.51 netmask 0xffffffff broadcast 192.168.1.51 ether 00:0c:f1:2d:0e:4b media: IEEE 802.11 Wireless Ethernet autoselect status: associated ssid "" channel 6 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 mars# --- dmesg --- Copyright (c) 1992-2004 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 5.2.1-RELEASE-p7 #3: Thu May 20 23:53:29 CEST 2004 schulzp@earth.schulz.loc:/usr/obj/usr/src/sys/MARS Preloaded elf kernel "/boot/kernel/kernel" at 0xc0810000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08102bc. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (599.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf real memory = 527302656 (502 MB) avail memory = 502538240 (479 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fdc50 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_tz1: port 0x530-0x537 on acpi0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) agp0: port 0x1800-0x1807 mem 0xe0000000-0xe007ffff,0xe8000000-0xefffffff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0x1820-0x183f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1840-0x185f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1860-0x187f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci2: on pcib1 pcib1: slot 3 INTA is routed to irq 10 pcib1: slot 5 INTA is routed to irq 10 pcib1: slot 6 INTA is routed to irq 10 fwohci0: mem 0xe0202000-0xe0202fff irq 10 at device 3.0 on pci2 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 04:e4:0a:00:6a:07:20:16 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) bfe0: mem 0xe0200000-0xe0201fff irq 10 at device 5.0 on pci2 bfe0: Ethernet address: 00:0a:e4:24:43:d6 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 6.0 (no driver attached) cbb0: at device 9.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: slot 9 INTA is routed to irq 10 cbb0: [MPSAFE] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1810-0x181f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 10 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_ec0: port 0x66,0x62 on acpi0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x2f8-0x2ff irq 3 drq 1 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: