Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver

2010-02-28 Thread Aditya Sarawgi
On Wed, Dec 23, 2009 at 11:51:34AM -0800, Weongyo Jeong wrote:
 On Wed, Dec 23, 2009 at 08:18:48AM +, Aditya Sarawgi wrote:
  On Tue, Dec 22, 2009 at 07:53:31PM -0800, Weongyo Jeong wrote:
   Hello,
   
   Now bwn(4) is available at the public and waiting test and review.  The
   status of this driver is *alpha* so could make panics, warnings and
   errors.  Please let me know if you encounter problems.
   
   The following NICs all I have are only tested on the little endian 64bit
   machine and big endian 32bit machine.
   
 - Broadcom BCM4306 802.11b/g Wireless
 - Broadcom BCM4318 802.11b/g Wireless
   
   I tested basic RX, TX and WPA association as STA mode and checked it
   worked.
   
   As you might know there are still a lot of TODO in the driver so you
   could see some verbose messages during testing so please ignore or let
   me know it makes problems.
   
   == How to build and load ==
   
 # cd /usr/src/sys
 # fetch http://people.freebsd.org/~weongyo/bwn_20091222.tar.gz
 # tar xzf bwn_20091222.tar.gz
 # cd modules/ssb
 # make  make install
 # cd ../..
 # cd modules/bwn
 # make  make install
 # cd somewhere
 # fetch http://people.freebsd.org/~weongyo/bwn_ports_20091222.tar.gz
 # tar xzf bwn_ports_20091222.tar.gz
 # cd sysutils/b43-fwcutter
 # make install clean
 # cd ../..
 # cd net/bwn-firmware-kmod
 # make install clean
 #
 # kldload ssb
 # kldload bwn_v4_ucode
 # kldload if_bwn
   
   regards,
   Weongyo Jeong
   
  
  Hi,
  
  The driver doesn't work with BCM4315, here's what dmesg shows 
  
  ssb0: Broadcom BCM4315 802.11b/g Wireless mem 0xf400-0xf4003fff 
  irq 19 at device 0.0 on pci6
  bwn0 on ssb0
  bwn0: unsupported PHY type (5)
  device_attach: bwn0 attach returned 6
 
 I see that your device has LP-PHY instead of A/B/G/N PHYs so currently
 it's not supported by bwn(4).
 
 AFAIK linux has a weak but working implementation so we could refer to
 other Open Sources.
 
 regards,
 Weongyo Jeong
 

Hi,

It still doesn't work, when I try to do 
ifconfig bwn0 scan
I get
ifconfig: unable to get the scan results

The device is getting recognized properly 
here's the dmesg

siba_bwn0: Broadcom BCM4312 802.11b/g Wireless mem 
0xf400-0xf4003fff irq 19 at device 0.0 on pci6
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO 
(manuf 0x17f ver 0x2062 rev 2)
bwn0: DMA (64 bits)
bwn0: Using 1 MSI messages
bwn0: [FILTER]

I have loaded the following modules
bwn_v4_ucode.ko
if_bwn.ko
siba_bwn.ko



-- 
Aditya Sarawgi
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: ssh port forwarding changed under 5-CURRENT vs. STABLE?

2003-11-09 Thread Aditya
On Sat, Nov 08, 2003 at 11:01:58PM +, David Taylor wrote:
   Is something else (e.g. another ssh session) already bound to that port?
  
  nope -- and I've tried all sorts of ports other than 8000 too:
 
 (I'm assuming you do have a lo0 device with 127.0.0.1)

duh! that's exactly it, I didn't have lo0 config'd with 127.0.0.1 -- now that
I do, it's fine!

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


ssh port forwarding changed under 5-CURRENT vs. STABLE?

2003-11-06 Thread Aditya
I've searched the archives and perused manpages and config files yet can't
figure out why this isn't working:

- I'm trying to port forward from a remote machine to my laptop, something I
did without a problem using 4-STABLE

- If I do:

  ssh -v -N -4 -L8000:www.freebsd.org:80 myserver.net

where myserver.net is a machine with Internet access, I could expect that
connecting to 127.0.0.1 port 8000 on my laptop would port forward packets
to/from www.freebsd.org:80

However, ssh seems to be having trouble binding to port 8000 locally (and I've
tried port 5, 57000, 2000 and all behave similarly):

  debug1: Connections to local port 8000 forwarded to remote address
  www.freebsd.org:80
  debug1: Local forwarding listening on 127.0.0.1 port 8000.
  bind: Can't assign requested address
  channel_setup_fwd_listener: cannot listen to port: 8000
  Could not request local forwarding.

and I can't see any reason why the binding would fail:

  hilbert[ttyp1]:aditya~ sysctl net.inet.ip.portrange.reservedlow
  net.inet.ip.portrange.reservedlow: 0
  hilbert[ttyp1]:aditya~ sysctl net.inet.ip.portrange.reservedhigh
  net.inet.ip.portrange.reservedhigh: 1023

what am I missing?

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


Re: ssh port forwarding changed under 5-CURRENT vs. STABLE?

2003-11-06 Thread Aditya
On Thu, Nov 06, 2003 at 03:29:21PM -0800, Kris Kennaway wrote:
 On Thu, Nov 06, 2003 at 01:43:43PM -0800, Aditya wrote:
 
debug1: Connections to local port 8000 forwarded to remote address
www.freebsd.org:80
debug1: Local forwarding listening on 127.0.0.1 port 8000.
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 8000
Could not request local forwarding.
  
  and I can't see any reason why the binding would fail:
 
 Is something else (e.g. another ssh session) already bound to that port?

nope -- and I've tried all sorts of ports other than 8000 too:

  hilbert[ttyp1]:aditya~ netstat -an | grep -i LIST
  hilbert[ttyp1]:aditya~ 
  hilbert[ttyp1]:aditya~ sockstat -4
  USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS  
  aditya   ssh1289  3  tcp4   66.117.144.206:54376  66.117.144.211:22
  root dhclient   1287  5  udp4   *:68  *:*

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


Re: Undelivered Mail Returned to Sender

2003-11-06 Thread Aditya
Kris, it looks like Pacbell/Prodigy are rejecting mail sent to
[EMAIL PROTECTED] that is forwarded by your gandi.net forwarding...

Adi

On Fri, Nov 07, 2003 at 12:31:51AM +0100, Mail Delivery System wrote:
Content-Description: Notification
 This is the Postfix program at host glenlivet.gandi.net.
 
 I'm sorry to have to inform you that the message returned
 below could not be delivered to one or more destinations.
 
 For further assistance, please send mail to postmaster
 
 If you do so, please include this problem report. You can
 delete your own text from the message returned below.
 
   The Postfix program
 
 [EMAIL PROTECTED]: host pbimail3.prodigy.net[207.115.63.108] said: 553
 5.3.0 DNSBL:To request removal of,[62.80.122.197],send and E-mail to
 [EMAIL PROTECTED] (in reply to MAIL FROM command)

Content-Description: Delivery error report
 Reporting-MTA: dns; glenlivet.gandi.net
 Arrival-Date: Fri,  7 Nov 2003 00:31:50 +0100 (CET)
 
 Final-Recipient: rfc822; [EMAIL PROTECTED]
 Action: failed
 Status: 5.0.0
 Diagnostic-Code: X-Postfix; host pbimail3.prodigy.net[207.115.63.108] said: 553
 5.3.0 DNSBL:To request removal of,[62.80.122.197],send and E-mail to
 [EMAIL PROTECTED] (in reply to MAIL FROM command)

Content-Description: Undelivered Message
 Date: Thu, 6 Nov 2003 15:31:48 -0800
 From: Aditya [EMAIL PROTECTED]
 To: Kris Kennaway [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: ssh port forwarding changed under 5-CURRENT vs. STABLE?
 In-Reply-To: [EMAIL PROTECTED]
 
 On Thu, Nov 06, 2003 at 03:29:21PM -0800, Kris Kennaway wrote:
  On Thu, Nov 06, 2003 at 01:43:43PM -0800, Aditya wrote:
  
 debug1: Connections to local port 8000 forwarded to remote address
 www.freebsd.org:80
 debug1: Local forwarding listening on 127.0.0.1 port 8000.
 bind: Can't assign requested address
 channel_setup_fwd_listener: cannot listen to port: 8000
 Could not request local forwarding.
   
   and I can't see any reason why the binding would fail:
  
  Is something else (e.g. another ssh session) already bound to that port?
 
 nope -- and I've tried all sorts of ports other than 8000 too:
 
   hilbert[ttyp1]:aditya~ netstat -an | grep -i LIST
   hilbert[ttyp1]:aditya~ 
   hilbert[ttyp1]:aditya~ sockstat -4
   USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS  
   aditya   ssh1289  3  tcp4   66.117.144.206:54376  66.117.144.211:22
   root dhclient   1287  5  udp4   *:68  *:*
 
 Adi

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