Date: Sat, 22 May 2004 17:17:57 +0200 From: Phil Schulz <ph.schulz@gmx.de> To: freebsd-current@freebsd.org Subject: link up/link down on ndis0 Message-ID: <40AF6F25.9000502@gmx.de>
next in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> real memory = 527302656 (502 MB) avail memory = 502538240 (479 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD Montara > 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: <CPU> port 0x530-0x537 on acpi0 acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0 acpi_tz1: <Thermal Zone> port 0x530-0x537 on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> 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: <base peripheral> at device 0.1 (no driver attached) pci0: <base peripheral> at device 0.3 (no driver attached) agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> 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: <display> at device 2.1 (no driver attached) uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f irq 11 at device 29.0 on pci0 usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f irq 11 at device 29.1 on pci0 usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f irq 11 at device 29.2 on pci0 usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> 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: <Lucent FW322/323> 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: <IEEE1394(FireWire) bus> 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: <Broadcom BCM4401 Fast Ethernet> mem 0xe0200000-0xe0201fff irq 10 at device 5.0 on pci2 bfe0: Ethernet address: 00:0a:e4:24:43:d6 miibus0: <MII bus> on bfe0 bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: <network> at device 6.0 (no driver attached) cbb0: <TI1510 PCI-CardBus Bridge> at device 9.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: slot 9 INTA is routed to irq 10 cbb0: [MPSAFE] isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached) pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 10 at device 31.5 on pci0 pcm0: <Cirrus Logic CS4299 AC97 Codec> pci0: <simple comms> at device 31.6 (no driver attached) acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sio0 port 0x2f8-0x2ff irq 3 drq 1 on acpi0 sio0: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xd8000-0xdbfff,0xce000-0xcefff,0xcd000-0xcdfff on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 599935185 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% acpi_cpu0: Cx states changed GEOM: create disk ad0 dp=0xc484c160 ad0: 38154MB <FUJITSU MHT2040AT> [77520/16/63] at ata0-master UDMA100 acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4241N> at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted /home: superblock summary recomputed WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted acpi_cpu0: Cx states changed ndis0: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem 0xe0203000-0xe0203fff irq 10 at device 6.0 on pci2 ndis0: NDIS API version: 5.1 ndis0: 11b rates: 11Mbps 2Mbps 1Mbps ndis0: link up ndis0: link down (Filesystems were not properly dismounted b/c I ran out of battery and the system switched off)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40AF6F25.9000502>