Re: usb/149039: [uhso] Binding problem with uhso

2010-07-31 Thread Fredrik Lindberg
The following reply was made to PR usb/149039; it has been noted by GNATS.

From: Fredrik Lindberg f...@shapeshifter.se
To: bug-follo...@freebsd.org, pilzablei...@web.de
Cc: Hans Petter Selasky hsela...@c2i.net
Subject: Re: usb/149039: [uhso] Binding problem with uhso
Date: Sat, 31 Jul 2010 15:00:07 +0200

 This is a multi-part message in MIME format.
 --060404010006010801030805
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I apparently missed some interface flags (that really doesn't make
 sense for this device, it's configured with a /32 mask so broadcast
 etc can only be to itself) that the network stack wants to
 work properly.
 
 With the following patch I'm able bind ssh etc and able to connect
 to the machine through it.
 
 The patch is for -current so I'm not sure if it applies cleanly on
 8-release/stable, but it should be trivial to merge it manually if
 it doesn't apply.
 
 Fredrik Lindberg
 
 --060404010006010801030805
 Content-Type: text/plain;
  name=uhso.c-binding.patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename=uhso.c-binding.patch
 
 Index: sys/dev/usb/net/uhso.c
 ===
 --- sys/dev/usb/net/uhso.c (revision 210676)
 +++ sys/dev/usb/net/uhso.c (working copy)
 @@ -1561,7 +1561,7 @@
ifp-if_init = uhso_if_init;
ifp-if_start = uhso_if_start;
ifp-if_output = uhso_if_output;
 -  ifp-if_flags = 0;
 +  ifp-if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_NOARP;
ifp-if_softc = sc;
IFQ_SET_MAXLEN(ifp-if_snd, ifqmaxlen);
ifp-if_snd.ifq_drv_maxlen = ifqmaxlen;
 
 --060404010006010801030805--
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)

2010-07-31 Thread Hans Petter Selasky
On Saturday 31 July 2010 21:34:28 Alexey A Bukreev wrote:
 Number: 149162
 Category:   usb
 Synopsis:   ASUS WL-167g doesn't work in 8.1 (continue of 149058)
 Confidential:   no
 Severity:   serious
 Priority:   medium
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Sat Jul 31 19:40:02 UTC 2010
 Closed-Date:
 Last-Modified:
 Originator: Alexey A Bukreev
 Release:8.1-STABLE
 
 Organization:
 at Home :)
 
 Environment:
 FreeBSD 8.1-RELEASE #0: Wed Jul 28 20:58:59 UTC 2010 (Now I can't do uname
 -a)
 
 Description:
 Hello, this a continue of PR 149058.
 
 I deleted all string about wlan  ural from /etc/rc.conf
 System boots successfully.
 I input in console ifconfig wlan0 create wlandev ural0
 And ifconfig hangs.
 Ctrl+C doesn't work in console with ifconfig #8212; ^C displays but
 nothing happens.

Can you compile the kernel with options USB_DEBUG. Then set the following 
debug variable:

sysctl hw.usb.ural.debug=15

What is printed in dmesg, when you try to activate the wlan0?

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


Re: usb/149039: [uhso] Binding problem with uhso

2010-07-31 Thread perryh
 The following reply was made to PR usb/149039; it has been noted
 by GNATS.

 From: Fredrik Lindberg f...@shapeshifter.se
 To: bug-follo...@freebsd.org, pilzablei...@web.de
 Cc: Hans Petter Selasky hsela...@c2i.net
 Subject: Re: usb/149039: [uhso] Binding problem with uhso
 Date: Sat, 31 Jul 2010 15:00:07 +0200

  I apparently missed some interface flags (that really doesn't make
  sense for this device, it's configured with a /32 mask so broadcast
  etc can only be to itself) that the network stack wants to work
  properly.

Is a /32 mask even legal?  Unless there's a special case involved,
it ought to mean that there are no interfaces on the subnet other
than this one, thus this interface has no peer to communicate with
and might as well not exist.

Adding net@ in hopes someone there knows what should happen.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/149039: [uhso] Binding problem with uhso

2010-07-31 Thread perryh
The following reply was made to PR usb/149039; it has been noted by GNATS.

From: per...@pluto.rain.com
To: f...@shapeshifter.se
Cc: pilzablei...@web.de, bug-follo...@freebsd.org, freebsd-...@freebsd.org,
freebsd-usb@freebsd.org
Subject: Re: usb/149039: [uhso] Binding problem with uhso
Date: Sat, 31 Jul 2010 19:37:39 -0700

  The following reply was made to PR usb/149039; it has been noted
  by GNATS.
 
  From: Fredrik Lindberg f...@shapeshifter.se
  To: bug-follo...@freebsd.org, pilzablei...@web.de
  Cc: Hans Petter Selasky hsela...@c2i.net
  Subject: Re: usb/149039: [uhso] Binding problem with uhso
  Date: Sat, 31 Jul 2010 15:00:07 +0200
 
   I apparently missed some interface flags (that really doesn't make
   sense for this device, it's configured with a /32 mask so broadcast
   etc can only be to itself) that the network stack wants to work
   properly.
 
 Is a /32 mask even legal?  Unless there's a special case involved,
 it ought to mean that there are no interfaces on the subnet other
 than this one, thus this interface has no peer to communicate with
 and might as well not exist.
 
 Adding net@ in hopes someone there knows what should happen.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org