From owner-freebsd-mobile Sun Jan 19 11: 9:15 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83D7537B401 for ; Sun, 19 Jan 2003 11:09:12 -0800 (PST) Received: from socrates.Berkeley.EDU (socrates.Berkeley.EDU [128.32.25.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F0A543E4A for ; Sun, 19 Jan 2003 11:09:12 -0800 (PST) (envelope-from jmuelmen@socrates.Berkeley.EDU) Received: from socrates.Berkeley.EDU (localhost [127.0.0.1]) by socrates.Berkeley.EDU (8.11.3/8.11.3) with ESMTP id h0JJ9BU15765 for ; Sun, 19 Jan 2003 11:09:11 -0800 (PST) Received: (from jmuelmen@localhost) by socrates.Berkeley.EDU (8.11.3/8.11.3) id h0JJ9BA15746; Sun, 19 Jan 2003 11:09:11 -0800 (PST) Message-Id: <200301191909.h0JJ9BA15746@socrates.Berkeley.EDU> To: "M. Warner Losh" Cc: freebsd-mobile@FreeBSD.ORG From: Johannes Muelmenstaedt Subject: Re: problems with SMC 2632W in hostap mode In-Reply-To: Your message of "Sun, 19 Jan 2003 02:40:46 MST." <20030119.024046.40389953.imp@bsdimp.com> Date: Sun, 19 Jan 2003 11:09:11 -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org To confuse things more, I've reverted to bridging, just to see if the problem might have gone away. (It didn't, of course.) Here's what the machine looks like now: - userland ppp is talking pppoe with a DSL modem over xl0 - wi0, rl0 and rl1 are all bridged together, and rl1 has IP number 10.0.0.1 xl0: flags=8843 mtu 1500 options=3 inet6 fe80::250:daff:fe5f:f9c2%xl0 prefixlen 64 scopeid 0x1 ether 00:50:da:5f:f9:c2 media: Ethernet autoselect (10baseT/UTP) status: active wi0: flags=8943 mtu 1500 inet6 fe80::204:e2ff:fe57:80f6%wi0 prefixlen 64 scopeid 0x2 ether 00:04:e2:57:80:f6 media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps ) status: associated ssid john_f_kennedy_international 1:john_f_kennedy_international stationname brb channel 11 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 rl0: flags=8943 mtu 1500 inet6 fe80::205:5dff:fe45:f30e%rl0 prefixlen 64 scopeid 0x3 ether 00:05:5d:45:f3:0e media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8943 mtu 1500 inet6 fe80::205:5dff:fe45:ffd0%rl1 prefixlen 64 scopeid 0x4 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:05:5d:45:ff:d0 media: Ethernet autoselect (100baseTX ) status: active lp0: flags=8810 mtu 1500 ppp0: flags=8010 mtu 1500 faith0: flags=8002 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 mtu 1492 inet 66.32.185.224 --> 66.32.185.1 netmask 0xffffffff Opened by PID 55 Just in case I've got my bridging settings wrong: net.link.ether.bridge_cfg: wi0,rl0,rl1 net.link.ether.bridge: 1 net.link.ether.bridge_ipfw: 0 net.link.ether.bridge_ipf: 0 net.link.ether.bridge_ipfw_drop: 0 net.link.ether.bridge_ipfw_collisions: 0 I don't know if it's relevant, but here is what the kernel thinks about the NICs: Dec 22 00:51:42 brooklyn-bridge /kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x1800-0x187f mem 0xf4009000-0xf400907f irq 11 at device 13.0 on pci0 Dec 22 00:51:42 brooklyn-bridge /kernel: xl0: Ethernet address: 00:50:da:5f:f9:c2 Dec 22 00:51:42 brooklyn-bridge /kernel: miibus0: on xl0 Dec 22 00:51:42 brooklyn-bridge /kernel: xlphy0: <3c905C 10/100 internal PHY> on miibus0 Dec 22 00:51:42 brooklyn-bridge /kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 22 00:51:42 brooklyn-bridge /kernel: wi0: port 0x1c00-0x1c3f,0x1880-0x18ff mem 0xf4008000-0xf4008fff irq 10 at device 14.0 on pci0 Dec 22 00:51:42 brooklyn-bridge /kernel: wi0: 802.11 address: 00:04:e2:57:80:f6 Dec 22 00:51:42 brooklyn-bridge /kernel: wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A Dec 22 00:51:42 brooklyn-bridge /kernel: wi0: Intersil Firmware: Primary 0.03.00, Station 0.08.03 Dec 22 00:51:42 brooklyn-bridge /kernel: rl0: port 0x1000-0x10ff mem 0xf4009400-0xf40094ff irq 15 at device 15.0 on pci0 Dec 22 00:51:42 brooklyn-bridge /kernel: rl0: Ethernet address: 00:05:5d:45:f3:0e Dec 22 00:51:42 brooklyn-bridge /kernel: miibus1: on rl0 Dec 22 00:51:42 brooklyn-bridge /kernel: rlphy0: on miibus1 Dec 22 00:51:42 brooklyn-bridge /kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 22 00:51:42 brooklyn-bridge /kernel: rl1: port 0x1400-0x14ff mem 0xf4009800-0xf40098ff irq 9 at device 16.0 on pci0 Dec 22 00:51:42 brooklyn-bridge /kernel: rl1: Ethernet address: 00:05:5d:45:ff:d0 Dec 22 00:51:42 brooklyn-bridge /kernel: miibus2: on rl1 Dec 22 00:51:42 brooklyn-bridge /kernel: rlphy1: on miibus2 Dec 22 00:51:42 brooklyn-bridge /kernel: rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto D If I assign one of the clients 10.0.0.12 and try to ping 10.0.0.1 from the client, here's what tcpdump -i wi0 on the AP machine says: 11:00:53.542001 arp who-has 10.0.0.1 tell 10.0.0.12 11:00:53.542163 arp who-has 10.0.0.1 tell 10.0.0.12 11:00:53.542345 arp reply 10.0.0.1 is-at 0:4:e2:57:80:f6 11:00:54.534133 arp who-has 10.0.0.1 tell 10.0.0.12 11:00:54.534298 arp who-has 10.0.0.1 tell 10.0.0.12 11:00:54.534468 arp reply 10.0.0.1 is-at 0:4:e2:57:80:f6 ... But the client doesn't see any of the arp replies. Furthermore the client only sees one arp who-has per second, I'm puzzled why the AP sees two. The client works fine at work, so I don't think I have to suspect that it's the client that's at fault. Something else that confuses me is that if I run dhclient on one of the client machines and the dhcpd on the AP machine sends back a DHCPNAK, the client actually receives the DHCPNAK. It doesn't receive anything after that, though. Let me know what to try next. Thanks, Johannes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message