From owner-freebsd-wireless@FreeBSD.ORG Wed May 21 20:13:42 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1920FC4E for ; Wed, 21 May 2014 20:13:42 +0000 (UTC) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEDDA2BC7 for ; Wed, 21 May 2014 20:13:41 +0000 (UTC) Received: by mail-qg0-f48.google.com with SMTP id i50so4149809qgf.35 for ; Wed, 21 May 2014 13:13:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DAN+jltaHqTZ36TuM5IFPPMph89BgHA8STjQgvBX6Aw=; b=Fr3K9qJnTuoVl6DuQojOegCyrC10rE3troZoCkIfFZ34WZ5gWNA103oe7a+YWPMdBE DQKbNcXgsIOVHlnYE/xJ8mUUcARZH+avHNtLCbV2RIh+ffjML+aWp66nObqtrcqB8KWG UX/JNNoO0ionokWqUJKkOmBMTwDBZMIlVx/MD/i6ZvzhRwywWhfMtiNy3spdmQUF48/N JROb5nl1N0GJdetvZ6+rfsXc5Wo6vNcYuCP6jRmBDeT955yqz9vMsFweFxlE1pa+gAaT jwrUU8e46Wl9+aAjIiBGQhLruO7qHEWlnEhtB4QRrFBUYdi2qLKnHzHzTo4Z3W4lhlOb jnrA== MIME-Version: 1.0 X-Received: by 10.140.22.209 with SMTP id 75mr70144229qgn.4.1400703220697; Wed, 21 May 2014 13:13:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Wed, 21 May 2014 13:13:40 -0700 (PDT) In-Reply-To: <1400681626433-5914139.post@n5.nabble.com> References: <1400681626433-5914139.post@n5.nabble.com> Date: Wed, 21 May 2014 13:13:40 -0700 X-Google-Sender-Auth: omF9RfB-5CqprmRIKy_2lRwGqtc Message-ID: Subject: Re: fail to do the bridge on tdma by using the scripts under net80211 From: Adrian Chadd To: Andy Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 20:13:42 -0000 Hi, Are you doing bridging on the master? Does the slave have an IP address, or are you trying to do bridging on the slave too? -a On 21 May 2014 07:13, Andy wrote: > Recently I just wanna try the TDMA wireless network of FreeBSD. My network is > simple, just three computers, two connect by TDMA each other(one master, one > slave) and another computer connect the TDMA master computer by ethernet > port(wired). > > For start, I just run the scripts setup.tdma-master and > setup.tdma-slave(under /usr/src/tools/tools/net80211/scripts) on each TDMA > computer. These two scripts will create two tdma nodes with both bridged to > each wired NIC. After this, I think I could ping between these two bridge > but it doesn't work!! > > At First I think the problem is happen in TDMA connection, so I set IP > addresses for two TDMA nodes, and I can ping between them, so the problem > maybe in the bridge setting. But looking into the scripts, I find there is > nothing differece with bridge setting in the handbook. > > Am I missing something important here? > > I would greatly appreciate it if anyone could offer some information on > these questions! > > Following are some of my network setting > on the master node: > > > > > on the slave node: > > wlan0: flags=8943 metric 0 > mtu 1500 > ether 00:15:6d:6a:a6:bd > inet6 fe80::215:6dff:fe6a:a6bd%wlan0 prefixlen 64 scopeid 0x4 > inet 192.168.4.2 netmask 0xffffff00 broadcast 192.168.4.255 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g > status: running > ssid freebsd+tdma channel 10 (2457 MHz 11g) bssid ec:88:8f:c4:40:18 > country US ecm authmode OPEN privacy OFF txpower 21 ucastrate 24 > mcastrate 24 scanvalid 60 protmode CTS wme burst tdmaslot 1 > tdmaslotcnt 2 tdmaslotlen 10000 tdmabintval 5 > bridge0: flags=8843 metric 0 mtu > 1500 > ether 02:84:ff:8d:58:00 > inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=1 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: wlan0 flags=143 > ifmaxaddr 0 port 4 priority 128 path cost 370370 > > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 link#3 UH 0 0 lo0 > 192.168.2.0/24 link#5 U 0 1 bridge > 192.168.2.2 link#5 UHS 0 0 lo0 > 192.168.4.0/24 link#4 U 0 4 wlan0 > 192.168.4.2 link#4 UHS 0 0 lo0 > > > > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/fail-to-do-the-bridge-on-tdma-by-using-the-scripts-under-net80211-tp5914139.html > Sent from the freebsd-wireless mailing list archive at Nabble.com. > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"