From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 05:07:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8091E16A41F for ; Thu, 17 Nov 2005 05:07:47 +0000 (GMT) (envelope-from r0ach@dreamisle.ca) Received: from dreamisle.ca (pitchfork.dreamisle.ca [142.179.101.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 108D743D45 for ; Thu, 17 Nov 2005 05:07:46 +0000 (GMT) (envelope-from r0ach@dreamisle.ca) Received: from [10.0.0.44] (lappy.dreamisle.ca [10.0.0.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dreamisle.ca (Postfix) with ESMTP id 6E68680C2 for ; Wed, 16 Nov 2005 21:07:46 -0800 (PST) Message-ID: <437C1007.8050909@dreamisle.ca> Date: Wed, 16 Nov 2005 21:07:19 -0800 From: r0ach User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: problems with hostap/bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 05:07:47 -0000 after reading the wireless section in the fbsd handbook and sam/loaders wireless article (http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html), ive still been unable to get a working access point network: {Internet} | ------------- | DSL Modem | ------------- | ---------- | fw/ | | router | ---------- | 10.0.0.1 ---------- <..............> | Switch | ----- xl0 . FreeBSD . ---------- .251. Access Point . | <..............> ----------- ath0 (g520) ^ ^ ^ ^ pc1 pc2 pc3 ^^^^ .10 .11 .12 ^ .45 <....^.....> . windows . . wifi . . client . <..........> i followed the handbook and setup a bridge between ath0 and xl0 and im able to connect to the access point (10.0.0.251), but unable to obtain an ip from my router (10.0.0.1), or connect to any other ips on the lan # ifconfig ath0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS ERP 00:13:46:48:65:87 1 11 54M 59 120 73 2640 ES 0 if i enable bridge.debug, i can see client macaddr trying to hit router mac any ideas why packets arent returning from the bridge? 00.13.46.48.65.87 -- windows client 0.01.03.e6.8d.2e -- router Nov 16 16:58:26 backup kernel: bridge_in: new addr 00.13.46.48.65.87 at 975 for ath0 Nov 16 16:58:26 backup kernel: bridge_in: 00.13.46.48.65.87 ->00.01.03.e6.8d.2e ty 0x0800 dst BDG_UNKNOWN Nov 16 16:58:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0800 dst BDG_BCAST Nov 16 16:58:32 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0800 dst BDG_BCAST Nov 16 16:58:36 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0800 dst BDG_BCAST Nov 16 16:58:43 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0800 dst BDG_BCAST Nov 16 16:58:58 backup kernel: bridge_in: new addr 00.13.46.48.65.87 at 975 for ath0 Nov 16 16:58:58 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0800 dst BDG_BCAST Nov 16 16:59:30 backup kernel: bridge_in: new addr 00.13.46.48.65.87 at 975 for ath0 Nov 16 16:59:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0806 dst BDG_BCAST Nov 16 16:59:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->00.01.03.e6.8d.2e ty 0x0800 dst BDG_UNKNOWN Nov 16 16:59:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->00.01.03.e6.8d.2e ty 0x0806 dst xl0 Nov 16 16:59:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0806 dst BDG_BCAST Nov 16 16:59:30 backup kernel: bridge_in: 00.13.46.48.65.87 ->00.01.03.e6.8d.2e ty 0x0800 dst xl0 Nov 16 16:59:31 backup kernel: bridge_in: 00.13.46.48.65.87 ->ff.ff.ff.ff.ff.ff ty 0x0806 dst BDG_BCAST Nov 16 16:59:31 backup kernel: bridge_in: 00.13.46.48.65.87 ->00.01.03.e6.8d.2e ty 0x0800 dst xl0 # kldstat Id Refs Address Size Name 1 7 0xc0400000 63070c kernel 2 1 0xc0a31000 80b0 bridge.ko 3 1 0xc0a3a000 10840 if_ath.ko 4 2 0xc0a4b000 26b60 ath_hal.ko 5 2 0xc0a72000 2c7c ath_rate.ko xl0: flags=8943 mtu 1500 options=9 inet6 fe80::201:2ff:fee8:8346%xl0 prefixlen 64 scopeid 0x1 inet 10.0.0.251 netmask 0xff000000 broadcast 10.255.255.255 ether 00:01:02:e8:83:46 media: Ethernet autoselect (100baseTX ) status: active ath0: flags=8943 mtu 1500 inet6 fe80::211:95ff:fee4:c861%ath0 prefixlen 64 scopeid 0x2 inet 10.0.0.252 netmask 0xff000000 broadcast 10.255.255.255 ether 00:11:95:e4:c8:61 media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g status: associated ssid amishg channel 11 bssid 00:11:95:e4:c8:61 authmode OPEN privacy OFF txpowmax 29 protmode OFF dtimperiod 1 bintval 100 # sysctl -a | grep "ether.bridge" net.link.ether.bridge_cfg: ath0 xl0 net.link.ether.bridge_ipfw: 0 net.link.ether.bridge_ipf: 0 net.link.ether.bridge.config: ath0 xl0 net.link.ether.bridge.enable: 1 net.link.ether.bridge.predict: 0 net.link.ether.bridge.dropped: 0 net.link.ether.bridge.packets: 809 # dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (266.44-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 167772160 (160 MB) avail memory = 154660864 (147 MB) ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0x44000000-0x47ffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x2000-0x207f mem 0x42000000-0x4200 007f irq 11 at device 13.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:e8:83:46 ath0: mem 0x42100000-0x4210ffff irq 11 at device 15.0 on pci0 ath0: Ethernet address: 00:11:95:e4:c8:61 ath0: mac 7.9 phy 4.5 radio 5.6 isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0x20a0-0x20af at device 20.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0x2080-0x209f irq 11 at de vice 20.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 20.3 (no driver attached) pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xe0000-0xe7fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 266444540 Hz quality 800 Timecounters tick every 1.000 msec ad0: 3077MB at ata0-master UDMA33 acd0: CDROM at ata1-master PIO4 Trying to mount root from ufs:/dev/ad0s1a xl0: promiscuous mode enabled ath0: promiscuous mode enabled