[Bug 208605] Kernel panic when unplug and replug USB WiFi dongle.

2016-04-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208605

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: avos
Date: Tue Apr 19 20:19:22 UTC 2016
New revision: 298293
URL: https://svnweb.freebsd.org/changeset/base/298293

Log:
  net80211: do not reschedule scan_curchan_task() if the scan was canceled.

  This should fix possible use-after-free in the scheduled task.

  PR:   208605

Changes:
  head/sys/net80211/ieee80211_scan_sw.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: Huawei E3372 ( sonera.fi )

2016-04-19 Thread Jouni Laakso via freebsd-wireless
And the solution. The short www-page is loaded from 4G FreeBSD server in 
(latency is missing here):

Europe:153 ms
USA:   406 ms
Asia/Pacific:  757 ms


Commands:

#
# Adding the needed packages:
#
[root]# pkg install miniupnpc

#
# Switching the E3372 to to cdce
#
[root]# /usr/local/sbin/usb_modeswitch --default-vendor 0x12d1 
--default-product 0x1f01 -J


#
# Adding ip-address and default route
#
[root]# dhclient ue0 # First time with dhclient
[root]# ifconfig ue0  ...# Next time with static IP 
settings
[root]# /sbin/route add default 


#
# Adding a NAT -address to the Huawei E3372:
#
[root]# upnpc -t 10 -m ue0 -a  80 80 tcp
[root]# upnpc -t 10 -m ue0 -a  443 443 tcp


#
# Listing the NAT -addresses
#
[root]# upnpc -t 10 -m ue0 -l

#
# And the ISP may have different APN for the static IP service. Configured from:
# URL: http://
#

uPnP does the trick. Firewall has to have 1900/udp open including multicast IP 
from the server to the modem.


wkr, Jouni


> On Tuesday, April 19, 2016 11:48 AM, Jouni Laakso wrote:
>> On Monday, April 18, 2016 12:42 AM, Jouni Laakso wrote:

192.168.1.100  <--- cdce/usb --->  192.168.1.1 <--- ISP 4G ---> 
 

>> On Sunday, April 17, 2016 9:56 PM, Adrian Chadd 
>>> On 16 April 2016 at 13:44, Jouni Laakso via freebsd-wireless 
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"