Re: Help Using NDIS Broadcom 4321ag 802.11a/b/g/draft-n

2008-03-30 Thread Kemian Dang
I also use a HP laptop, This is the pciconf -lv output of my machine,
vendor = 'Broadcom Corporation'
device = 'BCM4310 broadcom wireless 1490 (dell)'
class  = network

The strange thing is it said 1490 dell, so after the fail attempt on
the HP driver, I turn to Dell 1490 driver, this time it works.

Another thing is I can not use ifconfig scan to find the AP neither,
but when I just ifconfig ndis0 ssid xxx, I find the state change to
assocaite, and dhclient obtain the IP.
My ap does not use a authentication method.

Best wishes,
Kemian

On 30/03/2008, std [EMAIL PROTECTED] wrote:
 Hi:

  I can't seem to find a definitive answer on the net to whether (and how)
  FreeBSD supports Broadcom 4321ag 802.11a/b/g/draft-n Wi-Fi Adapters.
  Apparently there's no native support (except through experimental drivers?)
  so you have to use NDIS (which is like ndswrapper for other linux os's only
  NDIS is built into the FreeBSD project).  I've tried ndisgen bcml##.inf
  bcml## for three different driver sets, blcmwl5.sys/inf, bcmwl564.sys/inf,
  and bcmwl6.sys/inf.  I've got the best results with the oldest drivers,
  bcmwl5.sys/inf.  kldstat shows ndis, if_ndis, and bcmwl5_sys loaded in the
  kernel and the system recognizes an ndis0 adapter, but, ifconfig ndis0 up
  scan just hangs forever.

  My system is a HP tx1320us tablet pc [2.0 GHz AMD Turion 64 X2 Dual-Core
  Mobile Technology TL-60, 2048 MB DDR2 (2 Dimm), Broadcom 4321AG
  802.11a/b/g/draft-n Wi-Fi Adapter, fingerprint sensor, remote,.touch screen,
  etc. -
  
 http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01161310lc=encc=usdlc=ensoftwareitem=ob-58904-1product=3548576os=2093rule=8034lang=en
  ]
  running FreeBSD 7.0-RELEASE, installed from CDS and
  ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages a couple weeks ago in a dual
  boot config with windows vista home premium (a good reason for dual booting
  fbsd :).

  The procedure I followed was to

  (1) identify the NIC;

  (2) download the windows drivers from the manufacturers website.

  I first tried the drivers built for windows vista because those are the
  drivers built for the 4321 card in my system.
  These drivers, bcmwl6, contained in hp's
  ftp://ftp.hp.com/pub/softpaq/sp38501-39000/sp38764.exe were apparently
  released March 12, 2008.  After running ndisgen bcmwl6.inf bcmwl6.sys and
  creating bcmwl6_sys.ko, when I kldload bcmwl6_sys.ko it loads ndis.ko and
  if_ndis.ko, but dmesg shows about 20 no match for various device settings
  (see below).

  The latest bcmwl6 drivers don't seem to work.  It could be the inf has more
  than a few extraneous quotation marks which throw off the utf-8 to ascii
  conversion, but I tried several different methods and suspect it's NDIS
  itself which lacks the necessary support.

  Is Bill Paul of Project Evil working on this (see
  
 http://lists.freebsd.org/pipermail/freebsd-hardware/2004-January/001005.html)?

  I downloaded the windows XP drivers for my broadcom 4321AG
  802.11a/b/g/draft-nftp:
  from //ftp.hp.com/pub/softpaq/sp36501-37000/sp36684.exe.  These were released
  August 15, 2007.
  cabextract -l sp36684.exe
 Viewing cabinet: sp36684.exe
 File size | Date   Time | Name
 ---+-+-
 14310 | 13.08.2007 14:46:28 | bcm43xx.cat
 14310 | 13.08.2007 14:46:28 | bcm43xx64.cat
 803496 | 13.08.2007 14:46:30 | bcmwl5.inf
 822272 | 13.08.2007 14:46:30 | bcmwl5.sys
 983552 | 13.08.2007 14:46:30 | bcmwl564.sys
 9028380 | 13.08.2007 14:46:32 | Setup.exe
 6584 | 14.08.2007 09:36:30 | sp36684.cva

  (3) generate linux kernel modules with ndisgen and load them

  ndisgen bcmwl6.inf bcmwl6.sys (without any additional files)
  kldstat
 Id Refs AddressSize Name
 1   17 0xc040 906518   kernel
 21 0xc0d07000 14324snd_hda.ko
 32 0xc0d1c000 4a5acsound.ko
 71 0xc0fb2000 6a32cacpi.ko
 81 0xc5c6a000 22000linux.ko
  kldload bcmwl6_sys
  kldstat
 Id Refs AddressSize Name
 1   17 0xc040 906518   kernel
 21 0xc0d07000 14324snd_hda.ko
 32 0xc0d1c000 4a5acsound.ko
 71 0xc0fb2000 6a32cacpi.ko
 81 0xc5c6a000 22000linux.ko
 91 0xc69ae000 1a2000   bcmwl6_sys.ko
 101 0xc55dd000 c000 if_ndis.ko
 112 0xc6971000 16000ndis.ko
  ifconfig | grep ndis0   -- no match
  tail -f /var/log/dmesg
 no match for NdisMRegisterInterruptEx
 no match for NdisMIndicateStatusEx
 no match for NdisFreeNetBufferList
 no match for NdisAllocateMdl
 no match for NdisFreeMdl
 no match for NdisMDeregisterScatterGatherDma
 no match for NdisMDeregisterInterruptEx
 no match for NdisMSynchronizeWithInterruptEx
 no match for NdisMRegisterMiniportDriver
 

Help Using NDIS Broadcom 4321ag 802.11a/b/g/draft-n

2008-03-29 Thread std
Hi:

I can't seem to find a definitive answer on the net to whether (and how) 
FreeBSD supports Broadcom 4321ag 802.11a/b/g/draft-n Wi-Fi Adapters.  
Apparently there's no native support (except through experimental drivers?) 
so you have to use NDIS (which is like ndswrapper for other linux os's only 
NDIS is built into the FreeBSD project).  I've tried ndisgen bcml##.inf 
bcml## for three different driver sets, blcmwl5.sys/inf, bcmwl564.sys/inf, 
and bcmwl6.sys/inf.  I've got the best results with the oldest drivers, 
bcmwl5.sys/inf.  kldstat shows ndis, if_ndis, and bcmwl5_sys loaded in the 
kernel and the system recognizes an ndis0 adapter, but, ifconfig ndis0 up 
scan just hangs forever.

My system is a HP tx1320us tablet pc [2.0 GHz AMD Turion 64 X2 Dual-Core 
Mobile Technology TL-60, 2048 MB DDR2 (2 Dimm), Broadcom 4321AG 
802.11a/b/g/draft-n Wi-Fi Adapter, fingerprint sensor, remote,.touch screen, 
etc. - 
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01161310lc=encc=usdlc=ensoftwareitem=ob-58904-1product=3548576os=2093rule=8034lang=en
 ] 
running FreeBSD 7.0-RELEASE, installed from CDS and 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages a couple weeks ago in a dual 
boot config with windows vista home premium (a good reason for dual booting 
fbsd :).

The procedure I followed was to

(1) identify the NIC;

(2) download the windows drivers from the manufacturers website.

I first tried the drivers built for windows vista because those are the 
drivers built for the 4321 card in my system.  
These drivers, bcmwl6, contained in hp's 
ftp://ftp.hp.com/pub/softpaq/sp38501-39000/sp38764.exe were apparently 
released March 12, 2008.  After running ndisgen bcmwl6.inf bcmwl6.sys and 
creating bcmwl6_sys.ko, when I kldload bcmwl6_sys.ko it loads ndis.ko and 
if_ndis.ko, but dmesg shows about 20 no match for various device settings 
(see below).

The latest bcmwl6 drivers don't seem to work.  It could be the inf has more 
than a few extraneous quotation marks which throw off the utf-8 to ascii 
conversion, but I tried several different methods and suspect it's NDIS 
itself which lacks the necessary support.

Is Bill Paul of Project Evil working on this (see 
http://lists.freebsd.org/pipermail/freebsd-hardware/2004-January/001005.html)?  

I downloaded the windows XP drivers for my broadcom 4321AG 
802.11a/b/g/draft-nftp: 
from //ftp.hp.com/pub/softpaq/sp36501-37000/sp36684.exe.  These were released 
August 15, 2007.
cabextract -l sp36684.exe
Viewing cabinet: sp36684.exe
File size | Date   Time | Name
---+-+-
14310 | 13.08.2007 14:46:28 | bcm43xx.cat
14310 | 13.08.2007 14:46:28 | bcm43xx64.cat
803496 | 13.08.2007 14:46:30 | bcmwl5.inf
822272 | 13.08.2007 14:46:30 | bcmwl5.sys
983552 | 13.08.2007 14:46:30 | bcmwl564.sys
9028380 | 13.08.2007 14:46:32 | Setup.exe
6584 | 14.08.2007 09:36:30 | sp36684.cva

(3) generate linux kernel modules with ndisgen and load them

ndisgen bcmwl6.inf bcmwl6.sys (without any additional files)
kldstat
Id Refs AddressSize Name
1   17 0xc040 906518   kernel
21 0xc0d07000 14324snd_hda.ko
32 0xc0d1c000 4a5acsound.ko
71 0xc0fb2000 6a32cacpi.ko
81 0xc5c6a000 22000linux.ko
kldload bcmwl6_sys
kldstat
Id Refs AddressSize Name
1   17 0xc040 906518   kernel
21 0xc0d07000 14324snd_hda.ko
32 0xc0d1c000 4a5acsound.ko
71 0xc0fb2000 6a32cacpi.ko
81 0xc5c6a000 22000linux.ko
91 0xc69ae000 1a2000   bcmwl6_sys.ko
101 0xc55dd000 c000 if_ndis.ko
112 0xc6971000 16000ndis.ko
ifconfig | grep ndis0   -- no match
tail -f /var/log/dmesg
no match for NdisMRegisterInterruptEx
no match for NdisMIndicateStatusEx
no match for NdisFreeNetBufferList
no match for NdisAllocateMdl
no match for NdisFreeMdl
no match for NdisMDeregisterScatterGatherDma
no match for NdisMDeregisterInterruptEx
no match for NdisMSynchronizeWithInterruptEx
no match for NdisMRegisterMiniportDriver
no match for NdisMSetMiniportAttributes
no match for NdisMGetBusData
no match for NdisMRegisterScatterGatherDma
no match for NdisAllocateNetBufferListPool
no match for NdisMOidRequestComplete
no match for NdisAllocateIoWorkItem
no match for NdisMSetBusData
no match for NdisAllocateNetBufferAndNetBufferList
no match for NdisMDeregisterMiniportDriver
no match for NdisFreeNetBufferListPool
no match for NdisOpenConfigurationEx
no match for NdisFreeIoWorkItem
no match for NdisMSendNetBufferListsComplete
no match for NdisMIndicateReceiveNetBufferLists
no match for NdisAllocateMemoryWithTagPriority
   

Re: need help using ndis and inconv

2007-09-08 Thread Terrence Wilson
When I enter the command:
# rehash

Nothing happens. I still can't run the iconv command. In fact, I don't 
see an iconv executable file anywhere. I installed it as a package, and 
when I run the command:
# pkg_info -L iconv-2.0_3 | less

I get a list of files -- mainly .so files and .cct files in the 
/usr/local/lib and /usr/local/libexec/iconv directories. The only 
executable files are a biconv file and a iconv_mktbl, which is perl 
script text executable.

I'm not sure what to do. Again, my main objective of to get ndis to 
convert a windows driver for my wireless nic card so I can use it on my 
Free BSD system.

When I run the command:
# biconv

I get the system sends back this message:
/libexec/ld-elf.so.1: Shared object libbiconv.so.2 not found, 
required by biconv. I'm not sure it matters, but libbiconv.so.2 is 
in the /usr/local/lib/ directory.

At this point I am totally lost. What else can I do to get iconv and 
ndis running?



Shantanoo Mahajan wrote:



On 08-Sep-07, at 5:17 AM, Terrence Wilson wrote:

 I need whatever help I can get to use ndis to converter wireless nic
 card so I can use it on my laptop. it seems that I don't have iconv
 working properly. I go into the ndisgen program by typing the command:

 # ndisgen

 The program opens and gives a list of options. I choose option 3:
 Convert driver. The program then asks me to type in the path to the
 .inf file. So I type:

 /cdrom/DRIVER/bcmwl5.inf

 The program then says This .INF file appears to be in Unicode. The
 iconv(1) utility does not appear to be installed. Please install this
 utility or convert the .INF file to ASCII and run this utility.

 So, I downloaded the iconv-2.0_3.tbz package and run the command:

 # pkg_add iconv-2.0_3.tbz

 Then I try ndisgen again and I get the above error message again. When
 I type in the command

 # pkg_info -L iconv-2.0_3 | less

 I get a list of files including biconv, iconv_mktbl, biconv.h, etc.  
 But
 when I enter the command:

 # iconv

 I get the message: Command not found.

Run following command if you have csh/tcsh as your shell:
# rehash

and then try the iconv command again.

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


need help using ndis and inconv

2007-09-07 Thread Terrence Wilson
I need whatever help I can get to use ndis to converter wireless nic 
card so I can use it on my laptop. it seems that I don't have iconv 
working properly. I go into the ndisgen program by typing the command:

# ndisgen

The program opens and gives a list of options. I choose option 3: 
Convert driver. The program then asks me to type in the path to the 
.inf file. So I type:

/cdrom/DRIVER/bcmwl5.inf

The program then says This .INF file appears to be in Unicode. The 
iconv(1) utility does not appear to be installed. Please install this 
utility or convert the .INF file to ASCII and run this utility.

So, I downloaded the iconv-2.0_3.tbz package and run the command:

# pkg_add iconv-2.0_3.tbz

Then I try ndisgen again and I get the above error message again. When 
I type in the command

# pkg_info -L iconv-2.0_3 | less

I get a list of files including biconv, iconv_mktbl, biconv.h, etc. But 
when I enter the command:

# iconv

I get the message: Command not found.

Since it seems that the main problem now is getting iconv to run, the 
question is do I have it installed correctly? Do I need to change any 
environment variables to get the system to run it? How do I do this so 
that it runs automatically inside the ndisgen program, since this what 
it seems like the system is trying to do? Thanks for any help. 
  Please note, although no boardcode and smiley buttons are 
shown, they are still useable 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help using ndis and inconv

2007-09-07 Thread Shantanoo Mahajan


On 08-Sep-07, at 5:17 AM, Terrence Wilson wrote:


I need whatever help I can get to use ndis to converter wireless nic
card so I can use it on my laptop. it seems that I don't have iconv
working properly. I go into the ndisgen program by typing the command:

# ndisgen

The program opens and gives a list of options. I choose option 3:
Convert driver. The program then asks me to type in the path to the
.inf file. So I type:

/cdrom/DRIVER/bcmwl5.inf

The program then says This .INF file appears to be in Unicode. The
iconv(1) utility does not appear to be installed. Please install this
utility or convert the .INF file to ASCII and run this utility.

So, I downloaded the iconv-2.0_3.tbz package and run the command:

# pkg_add iconv-2.0_3.tbz

Then I try ndisgen again and I get the above error message again. When
I type in the command

# pkg_info -L iconv-2.0_3 | less

I get a list of files including biconv, iconv_mktbl, biconv.h, etc.  
But

when I enter the command:

# iconv

I get the message: Command not found.


Run following command if you have csh/tcsh as your shell:
# rehash

and then try the iconv command again.

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using NDIS

2004-07-16 Thread Jason Dusek
I built the ndisulator last night and it appears to work:
  ndis0: Dell TrueMobile 1300 WLAN Mini-PCI Card mem 0xfafee000-0xfafe irq
  11 at device 3.0 on pci2
  ndis0: [GIANT-LOCKED]
  can't re-use a leaf (Country)!
  can't re-use a leaf (Channel)!
  ndis0: NDIS API version: 5.0
  ndis0: Ethernet address: 00:90:96:b9:95:64
  ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
  ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
So how do I use my wireless card? Is there some command that I run to turn it on 
and off? I have tried searching the lists, and I've gone to the NDIS web site on 
sourceforge, but it seems that other people's questions focus on getting the 
ndisulator to compile. I am completely clueless here, so any help would be 
greatly appreciated.

- Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using NDIS

2004-07-16 Thread Daniela
On Friday 16 July 2004 14:48, Jason Dusek wrote:
 I built the ndisulator last night and it appears to work:

ndis0: Dell TrueMobile 1300 WLAN Mini-PCI Card mem
 0xfafee000-0xfafe irq 11 at device 3.0 on pci2
ndis0: [GIANT-LOCKED]
can't re-use a leaf (Country)!
can't re-use a leaf (Channel)!
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:90:96:b9:95:64
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps

Did you get these messages on boot?

 So how do I use my wireless card? Is there some command that I run to turn
 it on and off? I have tried searching the lists, and I've gone to the NDIS
 web site on sourceforge, but it seems that other people's questions focus
 on getting the ndisulator to compile. I am completely clueless here, so any
 help would be greatly appreciated.

What's the output of `ifconfig ndis0`? If the interface is marked down, you 
can try `ifconfig ndis0 up` to get it running. Does it have an IP yet?

Daniela


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using NDIS

2004-02-13 Thread Ray Seals
I'm trying to use NDIS and have read a few posts from the archives by
Bill Paul.  I'm having one some problem.  There are no Makefiles and no
if_ndis in the /sys/modules directory.

Here is my uname:

FreeBSD  5.2-RELEASE FreeBSD 5.2-RELEASE #0:

What do I need to install?

I have the ndis and ndiscvt commands, but seem to be missing some of the
other needed items.

Ray
-- 
---
Linux is for people who hate Microsoft.
BSD is for people who love UNIX.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]