Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-23 Thread Vince Hoffman

Gilbert Cao wrote:

On Thu, Jan 18, 2007 at 12:36:04AM +, Vince Hoffman wrote:
  
I hate to say this but this driver only seems to compile on -CURRENT as 
far as i can tell (and as far as the conversation at 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers 
leads me to believe.)
There is another less complete driver floating around that is usable on 
6.x although it only works for some people and even then only at 6 meg 
(i believe the conversation i linked contains links to that driver if 
you dont fancy running current.)


Vince



  Hi,

I think you are talking about that one
http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz
about a less complete driver usable on 6.x.
And, yes, I have tried it, but it did not work for me. (I don't know yet
how it works for some people).
In my case, with ifconfig, the status is still on no carrier.
No associated status.

  

Hi,
Could be although i got it from a different source.


About the following,
http://www.clearchain.com/~benjsc/download/20070107-wpi-freebsd.tar.gz
basically yes, it only compiles on -CURRENT. I have tried it and it
works for me.


As I wanted to stay on 6.x, I have installed a 6.2-RELEASE, and tried to
make the 20070107-wpi-freebsd.tar.gz compiles.
Here, you will find the result of my work :
http://www.bsdmon.com/download/20070121-wpi-freebsd.tar.gz

  
Excelent, just got a chance to try this on an unsecured network (couldnt 
get wep to work but i dont tend to need it anyway,) works great, got 
more than the 6 meg connection speed the other one i was using gave me.





To make it compiles, I basically started from 20070107-wpi-freebsd.tar.gz
and took some code on wpi-freebsd-20061109.tgz.

Now, this new one compiles and it works for me :
status: associated on ifconfig output.
Don't ask why I do this or that, in the code. I don't really know :p.
First, I just wanted to make the latest package I found, compile.
And, on the plus side, it works for me.
In the package, I have kept the original file as .orig, so you will see
what I have added and changed.

  
My programming skill are limited to shell and perl (and limited even 
then) so i'll take your word for it.

I have intentionally commented WPI_DEBUG and WPI_CURRENT.
About WPI_CURRENT, this have to be commented, on 6.x.
About WPI_DEBUG, it is just that I wanted to get rid of lots of output,
in my daily use.


Hope it helps ;)

  

It does indeed.
many thanks,
Vince


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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-21 Thread Gilbert Cao
On Thu, Jan 18, 2007 at 12:36:04AM +, Vince Hoffman wrote:
 I hate to say this but this driver only seems to compile on -CURRENT as 
 far as i can tell (and as far as the conversation at 
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers
  
 leads me to believe.)
 There is another less complete driver floating around that is usable on 
 6.x although it only works for some people and even then only at 6 meg 
 (i believe the conversation i linked contains links to that driver if 
 you dont fancy running current.)
 
 Vince

  Hi,

I think you are talking about that one
http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz
about a less complete driver usable on 6.x.
And, yes, I have tried it, but it did not work for me. (I don't know yet
how it works for some people).
In my case, with ifconfig, the status is still on no carrier.
No associated status.


About the following,
http://www.clearchain.com/~benjsc/download/20070107-wpi-freebsd.tar.gz
basically yes, it only compiles on -CURRENT. I have tried it and it
works for me.


As I wanted to stay on 6.x, I have installed a 6.2-RELEASE, and tried to
make the 20070107-wpi-freebsd.tar.gz compiles.
Here, you will find the result of my work :
http://www.bsdmon.com/download/20070121-wpi-freebsd.tar.gz

To make it compiles, I basically started from 20070107-wpi-freebsd.tar.gz
and took some code on wpi-freebsd-20061109.tgz.

Now, this new one compiles and it works for me :
status: associated on ifconfig output.
Don't ask why I do this or that, in the code. I don't really know :p.
First, I just wanted to make the latest package I found, compile.
And, on the plus side, it works for me.
In the package, I have kept the original file as .orig, so you will see
what I have added and changed.

I have intentionally commented WPI_DEBUG and WPI_CURRENT.
About WPI_CURRENT, this have to be commented, on 6.x.
About WPI_DEBUG, it is just that I wanted to get rid of lots of output,
in my daily use.


Hope it helps ;)

-- 

 (hika) Gilbert Cao
 http://www.miaouirc.com
  - MiaouIRC Project 2002-2003
 http://www.bsdmon.com
  - The BSD DMON Power to serve
 IRC : #miaule at IRCNET Network



pgp5JhV2gepa5.pgp
Description: PGP signature


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Vince
Pietro Cerutti wrote:
 On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
 Hello again,
 
 Hi Daniel,
 

 I built it. It works but it complains and sometimes it shuts down
 itself...
 About the complains, see below..
 What do you mean by it shuts down itself? Does the link goes down?
 Does the module unloads? ...
 
 That would be nice to know where to report the error messages
 
 The driver was written by
 Damien Bergamini damiendotbergaminiatfree.fr
 
Just so you know, Damien no longer develops this driver, to quote from
an email to the freebsd-net mailing list
[http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2006-11/msg00076.html]

I just don't want to hear complaints from users if it doesn't work.
I don't provide any support for the FreeBSD version of wpi(4).

A shame but thats why the new driver is being developed. (hope it gets
backported to 6.x)


Vince

 Jan 18 20:24:55 guenevere kernel: rx tail flags error 702
 I also see dozens of these messages on my logs, but it doesn't seem to
 affect the normal operation of the wireless card.
 
 Daniel
 

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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Pietro Cerutti

On 1/19/07, Vince [EMAIL PROTECTED] wrote:

Just so you know, Damien no longer develops this driver, to quote from
an email to the freebsd-net mailing list
[http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2006-11/msg00076.html]

I just don't want to hear complaints from users if it doesn't work.
I don't provide any support for the FreeBSD version of wpi(4).



Uh, in that case, apologizes for my wrong information!



Vince


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Abdullah Al-Marrie

On 1/18/07, Pietro Cerutti [EMAIL PROTECTED] wrote:

On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
 Hello Pietro,

Again...
 PS: There are many drivers around on the net. That would be nice to indicate
 where you found that one, coz it seems to work... ;)

Figured out, I took it from here:

http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E


And does it work for RELENG_6 now? or for HEAD?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Pietro Cerutti

On 1/19/07, Abdullah Al-Marrie [EMAIL PROTECTED] wrote:

On 1/18/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
 On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
  Hello Pietro,

 Again...
  PS: There are many drivers around on the net. That would be nice to indicate
  where you found that one, coz it seems to work... ;)

 Figured out, I took it from here:

 http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz

 --
 Pietro Cerutti
 ICQ: 117293691
 PGP: 0x9571F78E

And does it work for RELENG_6 now? or for HEAD?


It works for 6.2-STABLE, and for 6.2-RELEASE too, since I used it on
6.2.-PRERELEASE too..



--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Pietro Cerutti

On 1/18/07, Vince Hoffman [EMAIL PROTECTED] wrote:

Daniel Tourde wrote:
I hate to say this but this driver only seems to compile on -CURRENT as
far as i can tell (and as far as the conversation at


I don't remember from where I downloaded it, but this one [attached]
works fine on 6-STABLE for me!
make
make install
kldload if_wpi



Vince



--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
And that gives...

guenevere# make
=== wpi_ucode (all)
Warning: Object directory not changed from 
original /usr/src/sys/dev/wpi/wpi_uco
de
=== wpi (all)
Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi
cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL -DKLD_MODULE
 -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn
o-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3d
now -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -
Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
fformat-extensions -std=c99 -c if_wpi.c
In file included from if_wpi.c:74:
./if_wpivar.h:19:37: net80211/ieee80211_amrr.h: No such file or directory
In file included from if_wpi.c:74:
./if_wpivar.h:115: error: field `amn' has incomplete type
./if_wpivar.h:127: error: field `amrr' has incomplete type
if_wpi.c: In function `wpi_rx_intr':
if_wpi.c:1324: warning: implicit declaration of function `bpf_peers_present'
if_wpi.c:1324: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c: In function `wpi_tx_data':
if_wpi.c:1677: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
washere
if_wpi.c: In function `wpi_start':
if_wpi.c:1889: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
washere
if_wpi.c: In function `wpi_iter_func':
if_wpi.c:2928: warning: implicit declaration of function 
`ieee80211_amrr_choose'
if_wpi.c:2928: warning: nested extern declaration of `ieee80211_amrr_choose'
if_wpi.c: In function `wpi_newassoc':
if_wpi.c:2952: warning: implicit declaration of function 
`ieee80211_amrr_node_in   it'
if_wpi.c:2952: warning: nested extern declaration of 
`ieee80211_amrr_node_init'
*** Error code 1

Stop in /usr/src/sys/dev/wpi/wpi.
*** Error code 1

Stop in /usr/src/sys/dev/wpi.
guenevere#

 Daniel Tourde wrote:
  Hello,
 
  I found the driver for my wireless card on:
  http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz
  but how is it supposed to be installed on a fresh FreeBSD 6.2?
 
  Daniel

 You will need to compile the driver then use kldload to load it into the
 kernel. See man kldload

 You can then you should be able to load it on boot automatically via
 /boot/loader.conf.  See man loader.conf

 Hope that helps some.

 Cheers,

 Jeff
 ___
 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]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
Hello Pietro,


  I hate to say this but this driver only seems to compile on -CURRENT as
  far as i can tell (and as far as the conversation at

 I don't remember from where I downloaded it, but this one [attached]
 works fine on 6-STABLE for me!
 make
 make install
 kldload if_wpi

It did the trick. It seems to work here as well... ;)

Thanks!

PS: There are many drivers around on the net. That would be nice to indicate 
where you found that one, coz it seems to work... ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
Hello again,


  I hate to say this but this driver only seems to compile on -CURRENT as
  far as i can tell (and as far as the conversation at

 I don't remember from where I downloaded it, but this one [attached]
 works fine on 6-STABLE for me!
 make
 make install
 kldload if_wpi

I built it. It works but it complains and sometimes it shuts down itself... 
That would be nice to know where to report the error messages


Jan 18 20:23:59 guenevere kernel: config chan 6 flags 8035 cck f ofdm 15
Jan 18 20:23:59 guenevere kernel: wpi0: link state changed to DOWN
Jan 18 20:23:59 guenevere kernel: scan finished
Jan 18 20:24:30 guenevere last message repeated 6 times
Jan 18 20:24:50 guenevere last message repeated 4 times
Jan 18 20:24:55 guenevere kernel: rx tail flags error 702
Jan 18 20:24:55 guenevere kernel: scan finished
Jan 18 20:25:26 guenevere last message repeated 6 times
Jan 18 20:26:52 guenevere last message repeated 17 times
Jan 18 20:26:52 guenevere kernel: config chan 6 flags 8035 cck f ofdm 15
Jan 18 20:26:52 guenevere kernel: config chan 6 flags 8035
Jan 18 20:26:52 guenevere kernel: wpi0: link state changed to UP
Jan 18 20:26:59 guenevere dhclient: New IP Address (wpi0): 192.168.1.7
Jan 18 20:26:59 guenevere dhclient: New Subnet Mask (wpi0): 255.255.255.0
Jan 18 20:26:59 guenevere dhclient: New Broadcast Address (wpi0): 
192.168.1.255
Jan 18 20:26:59 guenevere dhclient: New Routers (wpi0): 192.168.1.1
Jan 18 20:28:52 guenevere kernel: rx tail flags error 702
Jan 18 20:29:24 guenevere last message repeated 3 times
Jan 18 20:31:15 guenevere last message repeated 6 times


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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Pietro Cerutti

On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:

Hello again,


Hi Daniel,



I built it. It works but it complains and sometimes it shuts down itself...

About the complains, see below..
What do you mean by it shuts down itself? Does the link goes down?
Does the module unloads? ...


That would be nice to know where to report the error messages


The driver was written by
Damien Bergamini damiendotbergaminiatfree.fr


Jan 18 20:24:55 guenevere kernel: rx tail flags error 702

I also see dozens of these messages on my logs, but it doesn't seem to
affect the normal operation of the wireless card.


Daniel


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Pietro Cerutti

On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:

Hello Pietro,


Again...

PS: There are many drivers around on the net. That would be nice to indicate
where you found that one, coz it seems to work... ;)


Figured out, I took it from here:

http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Firas Kraiem
On Thursday 18 January 2007 23:15, Pietro Cerutti wrote:
 On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
  Hello again,

 Hi Daniel,

  I built it. It works but it complains and sometimes it shuts down
  itself...

 About the complains, see below..
 What do you mean by it shuts down itself? Does the link goes down?
 Does the module unloads? ...

  That would be nice to know where to report the error messages

 The driver was written by
 Damien Bergamini damiendotbergaminiatfree.fr

  Jan 18 20:24:55 guenevere kernel: rx tail flags error 702

 I also see dozens of these messages on my logs, but it doesn't seem to
 affect the normal operation of the wireless card.

  Daniel

Hi

Could someone please give a link to this driver ? It would save me 30 bucks 
for a new wireless card :)

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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-17 Thread Jeff Royle

Daniel Tourde wrote:

Hello,

I found the driver for my wireless card on: 
http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz

but how is it supposed to be installed on a fresh FreeBSD 6.2?

Daniel


You will need to compile the driver then use kldload to load it into the 
kernel. See man kldload


You can then you should be able to load it on boot automatically via 
/boot/loader.conf.  See man loader.conf


Hope that helps some.

Cheers,

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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-17 Thread Vince Hoffman

Daniel Tourde wrote:

Hello,

I found the driver for my wireless card on: 
http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz

but how is it supposed to be installed on a fresh FreeBSD 6.2?

  
I hate to say this but this driver only seems to compile on -CURRENT as 
far as i can tell (and as far as the conversation at 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers 
leads me to believe.)
There is another less complete driver floating around that is usable on 
6.x although it only works for some people and even then only at 6 meg 
(i believe the conversation i linked contains links to that driver if 
you dont fancy running current.)


Vince

Daniel
___
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]