From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 29 13:11:07 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC91C1065673 for ; Sun, 29 Mar 2009 13:11:07 +0000 (UTC) (envelope-from mialinx@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0714D8FC14 for ; Sun, 29 Mar 2009 13:11:06 +0000 (UTC) (envelope-from mialinx@gmail.com) Received: by bwz8 with SMTP id 8so1499947bwz.43 for ; Sun, 29 Mar 2009 06:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=s06BK/7VXupY3zevKBe2B11iOkUgk5363DHJ6zvIvTI=; b=knR3yiD6GdaRwiDI1UCHy77fadvIk4Q08hO0R2RwZIY5Lt47jN5iuUKOaIWlJCGvDT 2X9wYl5ScePBDM3UFKih6mVpOQhluVZ45k0PH3os/Dg+fK/vyaaCGiR8wJR56WK/SfyE t1dA8QG5tFi511T9CegFV22gy8l1v8sVlRIsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=rH3Bq7LsQcd2b76FLaivoFTrQ0B4EIgicK4iTSBJMqfsYzWFU/ooeWf+ndpNp4MYGQ U7Ow0KmQeUIt6xuUHgqQih6Xt6rhg6LyWBUTDdDtyCQIwcIl/jYRDigV+psQ+I78ZBs5 y3GtOnbY8YYshw4flfPDCAfJPsZWXWgfiRIaY= Received: by 10.103.160.10 with SMTP id m10mr1218260muo.50.1238330784263; Sun, 29 Mar 2009 05:46:24 -0700 (PDT) Received: from nuftop.zunet.ru (gw.zunet.ru [217.67.117.64]) by mx.google.com with ESMTPS id n7sm6864831mue.6.2009.03.29.05.46.23 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Mar 2009 05:46:23 -0700 (PDT) Message-ID: <49CF5F8A.5010700@rambler.ru> Date: Sun, 29 Mar 2009 15:46:18 +0400 From: Dmitry Smal User-Agent: Thunderbird 2.0.0.19 (X11/20090305) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 7.1 RELEASE looses wi-fi connection on Thinkpad R61i (Intel 3945ABG) or even crashes X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 13:11:08 -0000 Hi all, I have Thinkpad R61i (with Intel(R) PRO/Wireless 3945ABG wi-fi adapter) running FreeBSD 7.1 RELEASE. Access point is ASUS WiFi-AP Solo (embeded in ASUS P5B-MX motherboard) Sometimes (2 - 3 time in hour) FreeBSD loses wifi connection to AP. In some cases connections appears again after 2-3 minutes, in some cases i need to /etc/rc.d/wpa_supplicant restart wpi0 to restart connection, in rare cases system crashes, leaving dump. I had similar problem running Ubuntu 8.10 on the same notebook (exept for crashes), and no problem running windows xp. Could you help me to fix at least crashes of system ? System: FreeBSD nuftop.zunet.ru 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Thu Feb 26 02:06:03 MSK 2009 root@nuftop.zunet.ru:/usr/obj/usr/src/sys/NUF i386 Dmesg: [nuf@nuftop /usr/home/nuf]$ dmesg | grep Intel | grep wpi wpi0: mem 0xdf6ff000-0xdf6fffff irq 17 at device 0.0 on pci3 Loaded modules: [nuf@nuftop /usr/home/nuf]$ uname -a[nuf@nuftop /usr/home/nuf]$ kldstat Id Refs Address Size Name 1 25 0xc0400000 689f30 kernel 2 1 0xc0a8a000 155e4 snd_hda.ko 3 2 0xc0aa0000 4a64c sound.ko 4 1 0xc0aeb000 55d0 acpi_video.ko 5 3 0xc0af1000 6a2c4 acpi.ko 6 1 0xc0b5c000 25f60 wpifw.ko 7 1 0xc0b82000 de14 if_wpi.ko 8 1 0xc0b90000 4f54 acpi_ibm.ko 9 1 0xc435a000 22000 linux.ko 10 1 0xc43da000 4000 logo_saver.ko 11 1 0xc4436000 6000 i915.ko 12 1 0xc4448000 f000 drm.ko Wlan kernel conf: # Wireless NIC cards device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device wlan_scan_ap # 802.11 AP mode scanning device wlan_scan_sta # 802.11 STA mode scanning Wpa_supplicant.conf: [nuf@nuftop /usr/home/nuf]$ cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 fast_reauth=0 network={ ssid="TASHA" scan_ssid=1 proto=WPA2 key_mgmt=WPA-PSK pairwise=CCMP group=CCMP psk="nobodyknows" } Stack trace form coredump after crash (dump itself is too big..): (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc06394b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0639789 in panic (fmt=Variable "fmt" is not available.) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc089beac in trap_fatal (frame=0xe4059ba0, eva=65535) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc089c130 in trap_pfault (frame=0xe4059ba0, usermode=0, eva=65535) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc089caec in trap (frame=0xe4059ba0) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc088295b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc0b8bdfc in wpi_ops (arg0=0xc3c62000, pending=1) at /usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2411 #8 0xc066c8c5 in taskqueue_run (queue=0xc3c1e900) at /usr/src/sys/kern/subr_taskqueue.c:282 #9 0xc066cacb in taskqueue_thread_loop (arg=0xc3c639b4) at /usr/src/sys/kern/subr_taskqueue.c:401 #10 0xc0615029 in fork_exit (callout=0xc066ca10 , arg=0xc3c639b4, frame=0xe4059d38) at /usr/src/sys/kern/kern_fork.c:804 #11 0xc08829d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 Typical ifconfig output when connection is up: [nuf@nuftop /usr/home/nuf]$ ifconfig wpi0 wpi0: flags=8843 metric 0 mtu 1500 ether 00:1c:bf:85:cd:3a inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: associated ssid TASHA channel 1 (2412 Mhz 11g) bssid 00:15:af:19:85:32 authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 50 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL Thanks! P.S. Sorry for my poor english =( From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 29 15:11:02 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2887F1065786 for ; Sun, 29 Mar 2009 15:11:02 +0000 (UTC) (envelope-from davidb@boothscientific.com) Received: from mx2.lsn.net (mx2.lsn.net [66.90.130.74]) by mx1.freebsd.org (Postfix) with ESMTP id 83F018FC18 for ; Sun, 29 Mar 2009 15:10:58 +0000 (UTC) (envelope-from davidb@boothscientific.com) Received: from 9400.boothscienfific.com (24-155-245-244.dyn.grandenetworks.net [24.155.245.244]) by mx2.lsn.net (8.13.5/8.13.5) with ESMTP id n2TFAuxa016448 for ; Sun, 29 Mar 2009 10:10:57 -0500 From: David Booth To: freebsd-mobile@freebsd.org Date: Sun, 29 Mar 2009 10:10:56 -0500 User-Agent: KMail/1.9.10 References: <49CF5F8A.5010700@rambler.ru> In-Reply-To: <49CF5F8A.5010700@rambler.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903291010.56432.davidb@boothscientific.com> X-Virus-Scanned: clamav-milter 0.95 at mx0.lsn.net X-Virus-Status: Clean Subject: Re: FreeBSD 7.1 RELEASE looses wi-fi connection on Thinkpad R61i (Intel 3945ABG) or even crashes X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidb@boothscientific.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 15:11:05 -0000 On Sunday 29 March 2009, Dmitry Smal wrote: > Hi all, > > I have Thinkpad R61i (with Intel(R) PRO/Wireless 3945ABG wi-fi > adapter) running FreeBSD 7.1 RELEASE. > > Access point is ASUS WiFi-AP Solo (embeded in ASUS P5B-MX > motherboard) > > Sometimes (2 - 3 time in hour) FreeBSD loses wifi connection to AP. > In some cases connections appears again after 2-3 minutes, > in some cases i need to /etc/rc.d/wpa_supplicant restart wpi0 to > restart connection, > in rare cases system crashes, leaving dump. > > I had similar problem running Ubuntu 8.10 on the same notebook > (exept for crashes), > and no problem running windows xp. > I had similar experience with the 3945 on my Dell. It would loose connection in FreeBSD, but worked fine in windows. After much experimenting, I found that it was related to the encryption settings. If I switched from using wpa2 to WEP, everything was stable. Then I got another clue when my Mother had the same problem with her McIntosh computer loosing connection with wpa2 and her router. When she got another router, her problems went away. It turned out that the issue was a problem between the implementation of wpa2 in the Netgear access point and FreeBSD. When I got a new access point (a linksys) everything worked fine with wpa2 and I keep connecitons with no difficulties From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 29 17:00:44 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C2A21065677 for ; Sun, 29 Mar 2009 17:00:44 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id C3EBB8FC26 for ; Sun, 29 Mar 2009 17:00:43 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so502911fge.12 for ; Sun, 29 Mar 2009 10:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:organization:to :subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; bh=wn+z5/DZ9vShhdlBOOXLciy+WMFSDiYi8F2Gm+bCRyc=; b=cUKVAsWhPnR7dS710DGNe6Q6X2Va5UB6NKAAbU6eJ2EHUCXt+OBSDWvnwYeON4sLZs 2x3rqzUpLJp9EOBR6UyVB5MbBwobK2FHCcQOUYXCa/C9VFQj8gW/9BCqrqfdiCwuKPEZ 5IWG5UsxNs3xCCFtWgos7zuTzk8ig7Fd2uaiA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:organization:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=tlhKeTGSh9IuLPYA8vI2RRWLgEIJfD/q60gRvkQkI58xpf1NQjlPhE9BWsoYhFoczz /FyLcJpHJIoE38QSL5xqH8IHQG8I1MDeyTEzjXmziw2r8ZzDzDYg6DatGASc/QmIlWxw Ee+vXd1eaw9W3pyJEB60MPt2md+s7MTZILbIE= Received: by 10.86.71.1 with SMTP id t1mr1055808fga.10.1238346042826; Sun, 29 Mar 2009 10:00:42 -0700 (PDT) Received: from onyx_hp.dhcp.loc ([92.50.244.138]) by mx.google.com with ESMTPS id 3sm4336442fge.29.2009.03.29.10.00.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Mar 2009 10:00:42 -0700 (PDT) From: Dmitry Kolosov Organization: Home To: freebsd-mobile@freebsd.org Date: Sun, 29 Mar 2009 20:58:54 +0400 User-Agent: KMail/1.11.1 (FreeBSD/7.1-STABLE; KDE/4.2.1; i386; ; ) References: <49CF5F8A.5010700@rambler.ru> In-Reply-To: <49CF5F8A.5010700@rambler.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903292058.54180.ivakras1@gmail.com> Subject: Re: FreeBSD 7.1 RELEASE looses wi-fi connection on Thinkpad R61i (Intel 3945ABG) or even crashes X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivakras1@gmail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 17:00:44 -0000 On =D0=92=D0=BE=D1=81=D0=BA=D1=80=D0=B5=D1=81=D0=B5=D0=BD=D1=8C=D0=B5 29 = =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2009 15:46:18 Dmitry Smal wrote: > Hi all, >=20 > I have Thinkpad R61i (with Intel(R) PRO/Wireless 3945ABG wi-fi adapter)=20 > running FreeBSD 7.1 RELEASE. >=20 > Access point is ASUS WiFi-AP Solo (embeded in ASUS P5B-MX motherboard) >=20 > Sometimes (2 - 3 time in hour) FreeBSD loses wifi connection to AP. > In some cases connections appears again after 2-3 minutes, > in some cases i need to /etc/rc.d/wpa_supplicant restart wpi0 to restart= =20 > connection, > in rare cases system crashes, leaving dump. >=20 > I had similar problem running Ubuntu 8.10 on the same notebook (exept=20 > for crashes), > and no problem running windows xp. >=20 > Could you help me to fix at least crashes of system ? >=20 > System: > FreeBSD nuftop.zunet.ru 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Thu Feb 26=20 > 02:06:03 MSK 2009 root@nuftop.zunet.ru:/usr/obj/usr/src/sys/NUF i386 >=20 > Dmesg: > [nuf@nuftop /usr/home/nuf]$ dmesg | grep Intel | grep wpi > wpi0: mem 0xdf6ff000-0xdf6fffff irq 17=20 > at device 0.0 on pci3 >=20 > Loaded modules: > [nuf@nuftop /usr/home/nuf]$ uname -a[nuf@nuftop /usr/home/nuf]$ kldstat = =20 > Id Refs Address Size Name > 1 25 0xc0400000 689f30 kernel > 2 1 0xc0a8a000 155e4 snd_hda.ko > 3 2 0xc0aa0000 4a64c sound.ko > 4 1 0xc0aeb000 55d0 acpi_video.ko > 5 3 0xc0af1000 6a2c4 acpi.ko > 6 1 0xc0b5c000 25f60 wpifw.ko > 7 1 0xc0b82000 de14 if_wpi.ko > 8 1 0xc0b90000 4f54 acpi_ibm.ko > 9 1 0xc435a000 22000 linux.ko > 10 1 0xc43da000 4000 logo_saver.ko > 11 1 0xc4436000 6000 i915.ko > 12 1 0xc4448000 f000 drm.ko >=20 > Wlan kernel conf: > # Wireless NIC cards > device wlan # 802.11 support > device wlan_wep # 802.11 WEP support > device wlan_ccmp # 802.11 CCMP support > device wlan_tkip # 802.11 TKIP support > device wlan_amrr # AMRR transmit rate control algorithm > device wlan_scan_ap # 802.11 AP mode scanning > device wlan_scan_sta # 802.11 STA mode scanning >=20 > Wpa_supplicant.conf: > [nuf@nuftop /usr/home/nuf]$ cat /etc/wpa_supplicant.conf > ctrl_interface=3D/var/run/wpa_supplicant > ctrl_interface_group=3Dwheel > eapol_version=3D1 > fast_reauth=3D0 > network=3D{ > ssid=3D"TASHA" > scan_ssid=3D1 > proto=3DWPA2 > key_mgmt=3DWPA-PSK > pairwise=3DCCMP > group=3DCCMP > psk=3D"nobodyknows" > } >=20 > Stack trace form coredump after crash (dump itself is too big..): > (kgdb) bt > #0 doadump () at pcpu.h:196 > #1 0xc06394b7 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :418 > #2 0xc0639789 in panic (fmt=3DVariable "fmt" is not available.) at=20 > /usr/src/sys/kern/kern_shutdown.c:574 > #3 0xc089beac in trap_fatal (frame=3D0xe4059ba0, eva=3D65535) at=20 > /usr/src/sys/i386/i386/trap.c:939 > #4 0xc089c130 in trap_pfault (frame=3D0xe4059ba0, usermode=3D0, eva=3D65= 535)=20 > at /usr/src/sys/i386/i386/trap.c:852 > #5 0xc089caec in trap (frame=3D0xe4059ba0) at=20 > /usr/src/sys/i386/i386/trap.c:530 > #6 0xc088295b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 > #7 0xc0b8bdfc in wpi_ops (arg0=3D0xc3c62000, pending=3D1) at=20 > /usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2411 > #8 0xc066c8c5 in taskqueue_run (queue=3D0xc3c1e900) at=20 > /usr/src/sys/kern/subr_taskqueue.c:282 > #9 0xc066cacb in taskqueue_thread_loop (arg=3D0xc3c639b4) at=20 > /usr/src/sys/kern/subr_taskqueue.c:401 > #10 0xc0615029 in fork_exit (callout=3D0xc066ca10 = ,=20 > arg=3D0xc3c639b4, frame=3D0xe4059d38) at /usr/src/sys/kern/kern_fork.c:804 > #11 0xc08829d0 in fork_trampoline () at=20 > /usr/src/sys/i386/i386/exception.s:264 >=20 >=20 > Typical ifconfig output when connection is up: > [nuf@nuftop /usr/home/nuf]$ ifconfig wpi0 > wpi0: flags=3D8843 metric 0 mtu 1= 500 > ether 00:1c:bf:85:cd:3a > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) > status: associated > ssid TASHA channel 1 (2412 Mhz 11g) bssid 00:15:af:19:85:32 > authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit > AES-CCM 3:128-bit txpower 50 bmiss 7 scanvalid 60 protmode CTS > roaming MANUAL >=20 >=20 > Thanks! >=20 > P.S. Sorry for my poor english =3D( > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > After a few month of messing with 3945ABG (same and many more other proble= ms) i threw it out and bought an atheros-based minipci wireless card. From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 29 18:14:06 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8C6A106566B; Sun, 29 Mar 2009 18:14:06 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 869258FC0C; Sun, 29 Mar 2009 18:14:06 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2TIE5P4076923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Mar 2009 11:14:06 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49CFBA6D.9070208@freebsd.org> Date: Sun, 29 Mar 2009 11:14:05 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Daniel Eischen References: <1238217783.00093348.1238205603@10.7.7.3> <20090328160858.GA57695@auricle.charter.net> <49CE51E2.4000807@freebsd.org> <49CE5B95.1010502@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: "J. Porter Clark" , freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 18:14:07 -0000 Daniel Eischen wrote: > On Sat, 28 Mar 2009, Daniel Eischen wrote: > >> No, there's no PR as far as I can tell. I'll try and set up a >> test system to duplicate it again, so I have proper information >> for a PR. >> >> I seem to recall that if wlanX is your primary/first lagg >> interface, then it uses the MAC address from the underlying >> interface as lagg's MAC address. In this case it works, >> but that's not the usual case 'cause you'd rather use a >> faster wired interface first if it exists. >> >> So this works: >> >> ifconfig lagg0 laggproto failover laggport wlan0 laggport bge0 >> >> but this doesn't: >> >> ifconfig lagg0 laggproto failover laggport bge0 laggport wlan0 >> >> In the latter case, lagg only works when bge0 is up. > > Also note that lagg(4) still references ath0 in its example instead > of wlan0. > > # ifconfig em0 up > # ifconfig ath0 nwid my_net up > # ifconfig lagg0 laggproto failover laggport em0 laggport ath0 \ > 192.168.1.1 netmask 255.255.255.0 > r190526 makes it possible to do the wired/wireless failover in HEAD. The only caveat is you must manually set the mac address of the wireless device to match the wired device because lagg's automatic setting of the wlanX ifnet doesn't propagate to the underlying device (the way if_setlladdr works makes it difficult). In the mean time you can do: ifconfig ath0 ether 00:11:22:33:44:55 where the mac address is whatever your wired nic's address is and then setup lagg0 using the wlan; e.g. ifconfig ath0 ether 00:11:22:33:44:55 ifconfig wlan create wlandev ath0 ssid my_net up ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... I also verified it works with WPA. In fact I tested this on a thinkpad in a docking station and it did the right thing just un-docking and re-docking. My only complaint is my ping running during all this lost one packet in the transition; not sure where. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 30 06:51:11 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBAEA1065674 for ; Mon, 30 Mar 2009 06:51:11 +0000 (UTC) (envelope-from lists@braisel.com) Received: from jehuda.cx2.org (jehuda.cx2.org [85.214.71.246]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE268FC27 for ; Mon, 30 Mar 2009 06:51:11 +0000 (UTC) (envelope-from lists@braisel.com) Received: from localhost (mail.glave.de [213.170.191.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jehuda.cx2.org (Postfix) with ESMTP id 71310BB20 for ; Mon, 30 Mar 2009 08:51:19 +0200 (CEST) Date: Mon, 30 Mar 2009 08:51:07 +0200 From: =?iso-8859-1?Q?Andr=E9?= Braselmann To: freebsd-mobile@freebsd.org Message-ID: <20090330065106.GB1169@trashbin.none.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-XMPP-ID: ab@braisel.com X-Accepted-File-Formats: ASCII PDF - *NO* MS Office Files! User-Agent: Mutt/1.5.18 (2008-05-17) Subject: 7.2 PreRelease & Novatel Merlin U740 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 06:51:12 -0000 Hi there, under 7.1-stable/amd64 my Merlin U740 HSDPA Modem was recognized correctly under /dev/cuaU0. After building the 7.2 Prerelease Kernel ist just ugen0. Were there any changes in the drivers/KLD's, which now should be loaded explicitly? Havn't found anything in UPDATING... TIA. K.André Braselmann -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 30 21:22:27 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53721065694 for ; Mon, 30 Mar 2009 21:22:27 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4C28FC20 for ; Mon, 30 Mar 2009 21:22:26 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7d92.q.ppp-pool.de [89.53.125.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 4D84F12883F for ; Mon, 30 Mar 2009 23:02:00 +0200 (CEST) Received: from [192.168.16.3] (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 7846334ABB for ; Mon, 30 Mar 2009 23:01:43 +0200 (CEST) Message-ID: <49D13337.7060808@vwsoft.com> Date: Mon, 30 Mar 2009 23:01:43 +0200 From: Volker User-Agent: Thunderbird 2.0.0.19 (X11/20090207) MIME-Version: 1.0 CC: freebsd-mobile@freebsd.org References: <20090330065106.GB1169@trashbin.none.lan> In-Reply-To: <20090330065106.GB1169@trashbin.none.lan> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit MailScanner-NULL-Check: 1239051717.34842@4AHXCx4Qmk8mu6isP4wbPg X-MailScanner-ID: 7846334ABB.B86C0 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Subject: Re: 7.2 PreRelease & Novatel Merlin U740 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 21:22:29 -0000 On 12/23/-58 20:59, wrote: > Hi there, > > under 7.1-stable/amd64 my Merlin U740 HSDPA Modem was recognized > correctly under /dev/cuaU0. > > After building the 7.2 Prerelease Kernel ist just ugen0. > Were there any changes in the drivers/KLD's, which now should be loaded > explicitly? Havn't found anything in UPDATING... > > TIA. > > K.André Braselmann > -- > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > Andre, the U740 is still supported by ubsa (just checked the sources). Can you please make sure, you've kldload'ed ubsa, at boot and usbdevs lists your device? You should find it there attached to ubsa. Volker From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 05:34:29 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5807106564A for ; Tue, 31 Mar 2009 05:34:29 +0000 (UTC) (envelope-from lists@braisel.com) Received: from jehuda.cx2.org (jehuda.cx2.org [85.214.71.246]) by mx1.freebsd.org (Postfix) with ESMTP id 860FB8FC16 for ; Tue, 31 Mar 2009 05:34:29 +0000 (UTC) (envelope-from lists@braisel.com) Received: from localhost (mail.glave.de [213.170.191.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jehuda.cx2.org (Postfix) with ESMTP id 66326BB3E; Tue, 31 Mar 2009 07:34:46 +0200 (CEST) Date: Tue, 31 Mar 2009 07:34:24 +0200 From: =?iso-8859-1?Q?Andr=E9?= Braselmann To: Volker , freebsd-mobile@freebsd.org Message-ID: <20090331053423.GB952@trashbin.none.lan> References: <20090330065106.GB1169@trashbin.none.lan> <49D13337.7060808@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49D13337.7060808@vwsoft.com> X-XMPP-ID: ab@braisel.com X-Accepted-File-Formats: ASCII PDF - *NO* MS Office Files! User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: 7.2 PreRelease & Novatel Merlin U740 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 05:34:30 -0000 On Mon, Mar 30, 2009 at 11:01:43PM +0200, Volker wrote: > Andre, > > the U740 is still supported by ubsa (just checked the sources). Can you > please make sure, you've kldload'ed ubsa, at boot and usbdevs lists your > device? You should find it there attached to ubsa. > --- snip dmesg --- usb4: OHCI version 1.0 usb4: on ohci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered ugen0: on uhub3 --- snip --- kldload says: kldload: can't load ubsa: File exists usbdevs -s: addr 1: OHCI root hub, ATI uhub0 addr 1: OHCI root hub, ATI uhub1 addr 1: EHCI root hub, ATI uhub2 addr 1: OHCI root hub, NEC uhub3 addr 2: Novatel Wireless HSDPA Modem, Novatel Wireless ugen0 addr 1: OHCI root hub, NEC uhub4 So at stepping from 7.1 to 7.2-PR i didn't change any kernel options, except that for the ath0 driver. K.André Braselmann -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 09:14:13 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DD71065674; Tue, 31 Mar 2009 09:14:13 +0000 (UTC) (envelope-from mel.flynn@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4023A8FC16; Tue, 31 Mar 2009 09:14:12 +0000 (UTC) (envelope-from mel.flynn@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 75BF97E818; Tue, 31 Mar 2009 00:54:36 -0800 (AKDT) From: Mel Flynn To: freebsd-mobile@freebsd.org Date: Tue, 31 Mar 2009 10:54:34 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <1238217783.00093348.1238205603@10.7.7.3> <49CFBA6D.9070208@freebsd.org> In-Reply-To: <49CFBA6D.9070208@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903311054.35181.mel.flynn@mailing.thruhere.net> Cc: Daniel Eischen , Sam Leffler , "J. Porter Clark" Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 09:14:13 -0000 On Sunday 29 March 2009 20:14:05 Sam Leffler wrote: > Daniel Eischen wrote: > > On Sat, 28 Mar 2009, Daniel Eischen wrote: > >> No, there's no PR as far as I can tell. I'll try and set up a > >> test system to duplicate it again, so I have proper information > >> for a PR. > >> > >> I seem to recall that if wlanX is your primary/first lagg > >> interface, then it uses the MAC address from the underlying > >> interface as lagg's MAC address. In this case it works, > >> but that's not the usual case 'cause you'd rather use a > >> faster wired interface first if it exists. > >> > >> So this works: > >> > >> ifconfig lagg0 laggproto failover laggport wlan0 laggport bge0 > >> > >> but this doesn't: > >> > >> ifconfig lagg0 laggproto failover laggport bge0 laggport wlan0 > >> > >> In the latter case, lagg only works when bge0 is up. > > > > Also note that lagg(4) still references ath0 in its example instead > > of wlan0. > > > > # ifconfig em0 up > > # ifconfig ath0 nwid my_net up > > # ifconfig lagg0 laggproto failover laggport em0 laggport ath0 \ > > 192.168.1.1 netmask 255.255.255.0 > > r190526 makes it possible to do the wired/wireless failover in HEAD. > The only caveat is you must manually set the mac address of the wireless > device to match the wired device because lagg's automatic setting of the > wlanX ifnet doesn't propagate to the underlying device (the way > if_setlladdr works makes it difficult). In the mean time you can do: > > ifconfig ath0 ether 00:11:22:33:44:55 > > where the mac address is whatever your wired nic's address is and then > setup lagg0 using the wlan; e.g. > > ifconfig ath0 ether 00:11:22:33:44:55 > ifconfig wlan create wlandev ath0 ssid my_net up > ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... > > I also verified it works with WPA. In fact I tested this on a thinkpad > in a docking station and it did the right thing just un-docking and > re-docking. My only complaint is my ping running during all this lost > one packet in the transition; not sure where. Great! Does this also work for hostap mode now? I'd like to unify my internal network, currently using rum as hostap. If the answer is no, I pledge to file a PR. ;) From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 16:24:10 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF125106566B for ; Tue, 31 Mar 2009 16:24:10 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 90FC58FC42 for ; Tue, 31 Mar 2009 16:24:10 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2VGO9eu091680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Mar 2009 09:24:09 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49D243A8.5050601@freebsd.org> Date: Tue, 31 Mar 2009 09:24:08 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <1238217783.00093348.1238205603@10.7.7.3> <49CFBA6D.9070208@freebsd.org> <200903311054.35181.mel.flynn@mailing.thruhere.net> In-Reply-To: <200903311054.35181.mel.flynn@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 16:24:11 -0000 Mel Flynn wrote: > On Sunday 29 March 2009 20:14:05 Sam Leffler wrote: >> Daniel Eischen wrote: >>> On Sat, 28 Mar 2009, Daniel Eischen wrote: >>>> No, there's no PR as far as I can tell. I'll try and set up a >>>> test system to duplicate it again, so I have proper information >>>> for a PR. >>>> >>>> I seem to recall that if wlanX is your primary/first lagg >>>> interface, then it uses the MAC address from the underlying >>>> interface as lagg's MAC address. In this case it works, >>>> but that's not the usual case 'cause you'd rather use a >>>> faster wired interface first if it exists. >>>> >>>> So this works: >>>> >>>> ifconfig lagg0 laggproto failover laggport wlan0 laggport bge0 >>>> >>>> but this doesn't: >>>> >>>> ifconfig lagg0 laggproto failover laggport bge0 laggport wlan0 >>>> >>>> In the latter case, lagg only works when bge0 is up. >>> Also note that lagg(4) still references ath0 in its example instead >>> of wlan0. >>> >>> # ifconfig em0 up >>> # ifconfig ath0 nwid my_net up >>> # ifconfig lagg0 laggproto failover laggport em0 laggport ath0 \ >>> 192.168.1.1 netmask 255.255.255.0 >> r190526 makes it possible to do the wired/wireless failover in HEAD. >> The only caveat is you must manually set the mac address of the wireless >> device to match the wired device because lagg's automatic setting of the >> wlanX ifnet doesn't propagate to the underlying device (the way >> if_setlladdr works makes it difficult). In the mean time you can do: >> >> ifconfig ath0 ether 00:11:22:33:44:55 >> >> where the mac address is whatever your wired nic's address is and then >> setup lagg0 using the wlan; e.g. >> >> ifconfig ath0 ether 00:11:22:33:44:55 >> ifconfig wlan create wlandev ath0 ssid my_net up >> ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... >> >> I also verified it works with WPA. In fact I tested this on a thinkpad >> in a docking station and it did the right thing just un-docking and >> re-docking. My only complaint is my ping running during all this lost >> one packet in the transition; not sure where. > > Great! Does this also work for hostap mode now? I'd like to unify my internal > network, currently using rum as hostap. > If the answer is no, I pledge to file a PR. ;) I don't understand what you're looking for but it's unlikely this will do what you want. lagg's failover protocol acts like a single-position switch funneling packets to one of several devices (all of which are assigned the same mac address). Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 17:14:13 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C4621065718; Tue, 31 Mar 2009 17:14:13 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id CA1A08FC20; Tue, 31 Mar 2009 17:14:12 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id F0FD57E818; Tue, 31 Mar 2009 08:59:01 -0800 (AKDT) From: Mel Flynn To: freebsd-mobile@freebsd.org Date: Tue, 31 Mar 2009 18:59:00 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <1238217783.00093348.1238205603@10.7.7.3> <200903311054.35181.mel.flynn@mailing.thruhere.net> <49D243A8.5050601@freebsd.org> In-Reply-To: <49D243A8.5050601@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> Cc: Sam Leffler Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 17:14:14 -0000 On Tuesday 31 March 2009 18:24:08 Sam Leffler wrote: > Mel Flynn wrote: > > Great! Does this also work for hostap mode now? I'd like to unify my > > internal network, currently using rum as hostap. > > If the answer is no, I pledge to file a PR. ;) > > I don't understand what you're looking for but it's unlikely this will > do what you want. lagg's failover protocol acts like a single-position > switch funneling packets to one of several devices (all of which are > assigned the same mac address). What I'd like is my wireless and wired network to be on the same /24 and my hostap/gateway to nat between lagg0 and tun0. As you've now described lagg, this doesn't seem viable and I'll have to look for a different solution. The reason I want it, is that it greatly simplifies my rdr rules and I can seemlessly plug in/out my laptop without having to change default route or getting arp errors if I use lagg on it. Wireless routers (at least my retired Linksys) seem to be able to handle a unified wired/wireless network just fine, is there anything comparable in FreeBSD? -- Mel From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 19:44:22 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2416810656C1 for ; Tue, 31 Mar 2009 19:44:22 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id EAC6E8FC0A for ; Tue, 31 Mar 2009 19:44:21 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2VJiKaG092901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Mar 2009 12:44:21 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49D27294.9050706@freebsd.org> Date: Tue, 31 Mar 2009 12:44:20 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <1238217783.00093348.1238205603@10.7.7.3> <200903311054.35181.mel.flynn@mailing.thruhere.net> <49D243A8.5050601@freebsd.org> <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> In-Reply-To: <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 19:44:22 -0000 Mel Flynn wrote: > On Tuesday 31 March 2009 18:24:08 Sam Leffler wrote: >> Mel Flynn wrote: > >>> Great! Does this also work for hostap mode now? I'd like to unify my >>> internal network, currently using rum as hostap. >>> If the answer is no, I pledge to file a PR. ;) >> I don't understand what you're looking for but it's unlikely this will >> do what you want. lagg's failover protocol acts like a single-position >> switch funneling packets to one of several devices (all of which are >> assigned the same mac address). > > What I'd like is my wireless and wired network to be on the same /24 and my > hostap/gateway to nat between lagg0 and tun0. As you've now described lagg, > this doesn't seem viable and I'll have to look for a different solution. > > The reason I want it, is that it greatly simplifies my rdr rules and I can > seemlessly plug in/out my laptop without having to change default route or > getting arp errors if I use lagg on it. > > Wireless routers (at least my retired Linksys) seem to be able to handle a > unified wired/wireless network just fine, is there anything comparable in > FreeBSD? > It sounds like you just want wired+wireless bridged with single dhcp server. So long as your machines aren't simultaneously connected to both it should not be an issue. NAT is irrelevant unless you want to connect the outside world and want only 1 IP address to be exposed. Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 20:30:35 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D85106568B for ; Tue, 31 Mar 2009 20:30:35 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6958FC15 for ; Tue, 31 Mar 2009 20:30:34 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7cad.q.ppp-pool.de [89.53.124.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 6F66312883F for ; Tue, 31 Mar 2009 22:30:25 +0200 (CEST) Received: from [192.168.16.4] (dardanos.sz.vwsoft.com [192.168.16.4]) by mail.vtec.ipme.de (Postfix) with ESMTP id 99C0B34AB8; Tue, 31 Mar 2009 22:30:16 +0200 (CEST) Message-ID: <49D27D57.2060708@vwsoft.com> Date: Tue, 31 Mar 2009 22:30:15 +0200 From: Volker User-Agent: Thunderbird 2.0.0.21 (X11/20090326) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andr=E9_Braselmann?= References: <20090330065106.GB1169@trashbin.none.lan> <49D13337.7060808@vwsoft.com> <20090331053423.GB952@trashbin.none.lan> In-Reply-To: <20090331053423.GB952@trashbin.none.lan> X-Enigmail-Version: 0.95.1 Content-Type: multipart/mixed; boundary="------------070409090908010509090006" MailScanner-NULL-Check: 1239136222.57467@gtvLN4OOdjK+k/kim3EE8g X-MailScanner-ID: 99C0B34AB8.42A6A X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-mobile@freebsd.org Subject: Re: 7.2 PreRelease & Novatel Merlin U740 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 20:30:36 -0000 This is a multi-part message in MIME format. --------------070409090908010509090006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 03/31/09 07:34, André Braselmann wrote: > On Mon, Mar 30, 2009 at 11:01:43PM +0200, Volker wrote: > >> Andre, >> >> the U740 is still supported by ubsa (just checked the sources). Can you >> please make sure, you've kldload'ed ubsa, at boot and usbdevs lists your >> device? You should find it there attached to ubsa. >> > --- snip dmesg --- > usb4: OHCI version 1.0 > usb4: on ohci3 > usb4: USB revision 1.0 > uhub4: on usb4 > uhub4: 2 ports with 2 removable, self powered > ugen0: 1.10/0.00, addr 2> on uhub3 > --- snip --- > > kldload says: kldload: can't load ubsa: File exists > > usbdevs -s: > addr 1: OHCI root hub, ATI > uhub0 > addr 1: OHCI root hub, ATI > uhub1 > addr 1: EHCI root hub, ATI > uhub2 > addr 1: OHCI root hub, NEC > uhub3 > addr 2: Novatel Wireless HSDPA Modem, Novatel Wireless > ugen0 > addr 1: OHCI root hub, NEC > uhub4 > > > > So at stepping from 7.1 to 7.2-PR i didn't change any kernel options, > except that for the ath0 driver. Andre, by any chance, are you using a U740 with product ID 0x1410? I've found a bug in the driver for this device. Please try the attached patch. Volker --------------070409090908010509090006 Content-Type: text/plain; name="ubsa.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ubsa.c.diff" --- sys/dev/usb/ubsa.c.orig 2009-03-31 22:26:22.000000000 +0200 +++ sys/dev/usb/ubsa.c 2009-03-31 22:27:41.000000000 +0200 @@ -224,6 +224,7 @@ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 }, /* Novatel Wireless Merlin cards */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U740 }, + { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U740_2 }, /* Novatel Wireless Merlin v740 */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_V740 }, /* Option Vodafone MC3G */ --------------070409090908010509090006-- From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 1 01:07:05 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D663A106564A for ; Wed, 1 Apr 2009 01:07:05 +0000 (UTC) (envelope-from sc1@bounce.scsend.com) Received: from mail1.ztmailer.com (mail1.ztmailer.com [67.225.195.165]) by mx1.freebsd.org (Postfix) with ESMTP id 7B93C8FC25 for ; Wed, 1 Apr 2009 01:07:05 +0000 (UTC) (envelope-from sc1@bounce.scsend.com) Received: from H-ZEBRAMAI (app.mailworkz.com [67.225.194.4]) by mail1.ztmailer.com (Postfix) with ESMTP id 78623B11CD4 for ; Tue, 31 Mar 2009 20:29:41 -0400 (EDT) X-Complaints-To: abuse@scsend.com Sender: SikhCommunityCenter.org X-Return-Path-Hint: sc1@bounce.scsend.com From: "SikhCommunityCenter.org" To: ", " Message-ID: Date: Tue, 31 Mar 2009 21:29:54 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Passing of Dr Surjit Kaur, JBS Bakshi; New Gurudwara Opens X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lakhinder@SikhCommunityCenter.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 01:07:06 -0000 PartyDigest=2Ecom | 4705 Grand Masters Way | Prince William | VA | 221= 92 | US This email was sent to mobile@freebsd=2Eorg, by Lakhinder@SikhCommunity= Center=2Eorg=2E To unsubscribe from this list - please use this link:=20 http://app=2Esimplycast=2Ecom/unsubscribe=2Easp?outgoing_idno=3D5441998= &e=3D3089792&gId=3D5248373=2E If this message was received in error, please report it to: mailto:reportit@scsend=2Ecom?subject=3D5248373z3089792z5441998 This email was powered by http://www=2Esimplycast=2Ecom From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 1 06:39:33 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FFE11065673; Wed, 1 Apr 2009 06:39:33 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 58CF38FC14; Wed, 1 Apr 2009 06:39:33 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id EB51D7E818; Tue, 31 Mar 2009 22:39:31 -0800 (AKDT) From: Mel Flynn To: Sam Leffler Date: Wed, 1 Apr 2009 08:39:30 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <1238217783.00093348.1238205603@10.7.7.3> <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> <49D27294.9050706@freebsd.org> In-Reply-To: <49D27294.9050706@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904010839.30641.fbsd.mobile@rachie.is-a-geek.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 06:39:33 -0000 On Tuesday 31 March 2009 21:44:20 Sam Leffler wrote: > Mel Flynn wrote: > > On Tuesday 31 March 2009 18:24:08 Sam Leffler wrote: > >> Mel Flynn wrote: > >>> Great! Does this also work for hostap mode now? I'd like to unify my > >>> internal network, currently using rum as hostap. > >>> If the answer is no, I pledge to file a PR. ;) > >> > >> I don't understand what you're looking for but it's unlikely this will > >> do what you want. lagg's failover protocol acts like a single-position > >> switch funneling packets to one of several devices (all of which are > >> assigned the same mac address). > > > > What I'd like is my wireless and wired network to be on the same /24 and > > my hostap/gateway to nat between lagg0 and tun0. As you've now described > > lagg, this doesn't seem viable and I'll have to look for a different > > solution. > > > > The reason I want it, is that it greatly simplifies my rdr rules and I > > can seemlessly plug in/out my laptop without having to change default > > route or getting arp errors if I use lagg on it. > > > > Wireless routers (at least my retired Linksys) seem to be able to handle > > a unified wired/wireless network just fine, is there anything comparable > > in FreeBSD? > > It sounds like you just want wired+wireless bridged with single dhcp > server. So long as your machines aren't simultaneously connected to > both it should not be an issue. NAT is irrelevant unless you want to > connect the outside world and want only 1 IP address to be exposed. So I can't have this: lagg0 via wpi <-> lagg0 via rum-hostap / \ +-----------+ +--------------+ + laptop + 192.168.1.0/24 + gateway +-- tun0-inet +-----------+ +--------------+ 192.168.1.2 \ / 192.168.1.1 lagg0 via em0 <-> lagg0 via fxp0 And have both connected/disconnected at will. -- Mel From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 3 03:24:54 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A1E8106564A; Fri, 3 Apr 2009 03:24:51 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7066C8FC15; Fri, 3 Apr 2009 03:24:51 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id n333OmOF017907; Thu, 2 Apr 2009 23:24:48 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Thu, 02 Apr 2009 23:24:48 -0400 (EDT) Date: Thu, 2 Apr 2009 23:24:48 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Sam Leffler In-Reply-To: <49CFBA6D.9070208@freebsd.org> Message-ID: References: <1238217783.00093348.1238205603@10.7.7.3> <20090328160858.GA57695@auricle.charter.net> <49CE51E2.4000807@freebsd.org> <49CE5B95.1010502@freebsd.org> <49CFBA6D.9070208@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "J. Porter Clark" , freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 03:24:54 -0000 On Sun, 29 Mar 2009, Sam Leffler wrote: > Daniel Eischen wrote: >> On Sat, 28 Mar 2009, Daniel Eischen wrote: >> >>> No, there's no PR as far as I can tell. I'll try and set up a >>> test system to duplicate it again, so I have proper information >>> for a PR. >>> >>> I seem to recall that if wlanX is your primary/first lagg >>> interface, then it uses the MAC address from the underlying >>> interface as lagg's MAC address. In this case it works, >>> but that's not the usual case 'cause you'd rather use a >>> faster wired interface first if it exists. >>> >>> So this works: >>> >>> ifconfig lagg0 laggproto failover laggport wlan0 laggport bge0 >>> >>> but this doesn't: >>> >>> ifconfig lagg0 laggproto failover laggport bge0 laggport wlan0 >>> >>> In the latter case, lagg only works when bge0 is up. >> >> Also note that lagg(4) still references ath0 in its example instead >> of wlan0. >> >> # ifconfig em0 up >> # ifconfig ath0 nwid my_net up >> # ifconfig lagg0 laggproto failover laggport em0 laggport ath0 \ >> 192.168.1.1 netmask 255.255.255.0 >> > > r190526 makes it possible to do the wired/wireless failover in HEAD. The > only caveat is you must manually set the mac address of the wireless device > to match the wired device because lagg's automatic setting of the wlanX ifnet > doesn't propagate to the underlying device (the way if_setlladdr works makes > it difficult). In the mean time you can do: > > ifconfig ath0 ether 00:11:22:33:44:55 > > where the mac address is whatever your wired nic's address is and then setup > lagg0 using the wlan; e.g. > > ifconfig ath0 ether 00:11:22:33:44:55 > ifconfig wlan create wlandev ath0 ssid my_net up > ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... I just verfied this now works for me in -current. As you said, the only work-around needed is that one must set the mac address on the wireless device(s) to match the master laggport. -- DE