From owner-freebsd-questions@FreeBSD.ORG Thu May 14 12:26:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A77F106566C for ; Thu, 14 May 2009 12:26:05 +0000 (UTC) (envelope-from richard.walter@hob.de) Received: from mailgate.hob.de (mailgate.hob.de [212.185.199.3]) by mx1.freebsd.org (Postfix) with ESMTP id EDF498FC13 for ; Thu, 14 May 2009 12:26:04 +0000 (UTC) (envelope-from richard.walter@hob.de) Received: from hobex.hob.de (hobex29.hob.de [172.25.1.32]) by mailgate.hob.de (Postfix) with ESMTP id 30D8E520067; Thu, 14 May 2009 14:26:04 +0200 (CEST) Received: from HOBEX12.hob.de (172.22.1.12) by HOBEX29.hob.de (172.25.1.32) with Microsoft SMTP Server (TLS) id 8.1.358.0; Thu, 14 May 2009 14:26:04 +0200 Received: from HOBEX2007.hob.de ([fe80::4fb:cdd3:e30a:bd6b]) by HOBEX12.hob.de ([fe80::455f:612a:6a66:dd75%10]) with mapi; Thu, 14 May 2009 14:26:03 +0200 From: "Walter, Richard" To: Neal Hogan Date: Thu, 14 May 2009 14:26:00 +0200 Thread-Topic: Can't get ndis0 working Thread-Index: AcnUixHgPdpeHakATaS576OJSyOrdgAA4ZYQ Message-ID: References: In-Reply-To: Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-questions@freebsd.org" Subject: AW: Can't get ndis0 working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 12:26:05 -0000 Hello, thank you for the fast answer, it's good to hear that I wasn't totally wrong with my efforts. I will try some other drivers, but I won't spend too much time. I think I will buy one of the supported USB sticks. Best regards Richard -----Urspr=FCngliche Nachricht----- Von: Neal Hogan [mailto:nealhogan@gmail.com] Gesendet: Donnerstag, 14. Mai 2009 13:57 An: Walter, Richard Cc: freebsd-questions@freebsd.org Betreff: Re: Can't get ndis0 working On Thu, May 14, 2009 at 4:00 AM, Walter, Richard wr= ote: > Hello, > > I tried to activate my Acer's Aspire 5315 wireless card > with FreeBSD 7.2 i386 and had no luck. > > What i did: > 1) #prtconf -lv > none2@pci0:6:0:0: class=3D0x028000 card=3D0x04221468 chip=3D0x43111= 4e4 rev=3D0x01 hdr=3D0x00 > vendor =3D 'Broadcom Corporation' > device =3D 'Dell Wireless 1390 WLAN Mini-PCI Card' > class =3D network > > 2) i Downloaded the R112196.EXE archive from the Dell ftp server and > extracted bcmwl5.inf and bcmwl5.sys > 3) i copied those files to /sys/modules/if_ndis > 4) # iconv -c -f utf-16 -t ascii bcmwl5.inf > bcmwl5.inf.ascii > 5) with ndisgen and bcmwl5.inf.ascii/bcmwl5.sys i created > successful bcmwl5_sys.ko. > The ndisgen wrote a message at sys file loading: > "This .SYS file appears to be in Windows(r) PE format" > 6) # cp bcmwl5_sys.ko /boot/kernel > 7) # kldload bcmwl5_sys.ko > kldload: cant't load bcmwl5_sys.ko > > # kldloat /boot/kernel/bcmwl5_sys.ko > kldload: cant't load /boot/kernel/bcmwl5_sys.ko > > 8) Next try with help from > http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dri= vers > > # rm /boot/kernel/bcmwl5_sys.ko > # rm /sys/modules/if_ndis/bcmwl5_sys.ko > > 9)cd /sys/modules/if_ndis > # ndiscvt -i bcmwl5.inf.ascii -s bcmwl5.sys -o ndis_driver_data.h > > 10) # make && make install > Warning: Object directory not changed from original /usr/src/sys/modules/= if_ndis > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h > awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs > :> opt_usb.h > awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 -nos= tdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-= growth=3D100 --param large-function-growth=3D1000 -fno-common -mno-align-l= ong-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -m= no-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -= Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu= al -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/i= f_ndis/../../dev/if_ndis/if_ndis.c > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 -nos= tdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-= growth=3D100 --param large-function-growth=3D1000 -fno-common -mno-align-l= ong-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -m= no-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -= Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu= al -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/i= f_ndis/../../dev/if_ndis/if_ndis_pci.c > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 -nos= tdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-= growth=3D100 --param large-function-growth=3D1000 -fno-common -mno-align-l= ong-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -m= no-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -= Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu= al -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/i= f_ndis/../../dev/if_ndis/if_ndis_pccard.c > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 -nos= tdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-= growth=3D100 --param large-function-growth=3D1000 -fno-common -mno-align-l= ong-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -m= no-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -= Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu= al -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/i= f_ndis/../../dev/if_ndis/if_ndis_usb.c > ld -d -warn-common -r -d -o if_ndis.kld if_ndis.o if_ndis_pci.o if_ndis_= pccard.o if_ndis_usb.o > :> export_syms > awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld = export_syms | xargs -J% objcopy % if_ndis.kld > ld -Bshareable -d -warn-common -o if_ndis.ko if_ndis.kld > objcopy --strip-debug if_ndis.ko > install -o root -g wheel -m 555 if_ndis.ko /boot/kernel > kldxref /boot/kernel > > 11) # kldload if_ndis > # kldstat > Id Refs Address Size Name > 1 19 0xc0400000 9fab28 kernel > 2 1 0xc0dfb000 6a45c acpi.ko > 3 1 0xc4767000 22000 linux.ko > 4 1 0xc489c000 9000 i915.ko > 5 1 0xc48a5000 13000 drm.ko > 6 1 0xc532c000 c000 if_ndis.ko > 7 1 0xc5338000 16000 ndis.ko > > 12) # ifconfig ndis0 up > ifconfig: interface ndis0 does not exist > > I've no idea whats going wrong , perhaps anyone can help ? Perhaps I can indirectly help . . . I had a discussion on this list a little while back about the ndis wrapper. Perhaps some of the suggestions made to me by folks who have had success with it will help you. It looks as though you did some (if not all) of the things that I did, which were commented on in the discussion. My patience wore too thin for me to fully work it out, but perhaps you're a better man than I. http://freebsd.monkey.org/freebsd-questions/200901/msg00435.html One thing that may not be mentioned in the above the thread is that you may have to try different .inf and .sys files until you get one that works . . . that consumed most of the little patience that I had. Good luck! -Neal > > Best regards, > > Richard > > > > > HOB RD VPN - einfach, sicher und flexibel auf alle Unternehmensanwendung= en und -daten zugreifen > > Praesentation unter: http://www.hob.de/rdvpn2/ > > > HOB GmbH & Co. KG > Schwadermuehlstr. 3 > D-90556 Cadolzburg > > Geschaeftsfuehrung: Klaus Brandstaetter, Franz Wiedenmann, Zoran Adamovic > > AG Fuerth, HRA 5180 > Steuer-Nr. 218/163/00107 > USt-ID-Nr. DE 132747002 > > Komplementaerin HOB electronic Beteiligungs GmbH > AG Fuerth, HRB 3416 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > -- www.nealhogan.net www.lambdaserver.com HOB RD VPN - einfach, sicher und flexibel auf alle Unternehmensanwendungen= und -daten zugreifen Praesentation unter: http://www.hob.de/rdvpn2/ HOB GmbH & Co. KG Schwadermuehlstr. 3 D-90556 Cadolzburg Geschaeftsfuehrung: Klaus Brandstaetter, Franz Wiedenmann, Zoran Adamovic AG Fuerth, HRA 5180 Steuer-Nr. 218/163/00107 USt-ID-Nr. DE 132747002 Komplementaerin HOB electronic Beteiligungs GmbH AG Fuerth, HRB 3416