From owner-freebsd-questions@FreeBSD.ORG Sun Oct 28 18:51:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90F52BF8 for ; Sun, 28 Oct 2012 18:51:39 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc2-s38.blu0.hotmail.com (blu0-omc2-s38.blu0.hotmail.com [65.55.111.113]) by mx1.freebsd.org (Postfix) with ESMTP id 4936A8FC12 for ; Sun, 28 Oct 2012 18:51:38 +0000 (UTC) Received: from BLU0-SMTP470 ([65.55.111.71]) by blu0-omc2-s38.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 28 Oct 2012 11:50:31 -0700 X-Originating-IP: [117.193.48.238] X-EIP: [iuun9NecKL14BGsT9o6YbLn4zk1BYYbG] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([117.193.48.238]) by BLU0-SMTP470.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 28 Oct 2012 11:50:30 -0700 Date: Mon, 29 Oct 2012 00:20:17 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon Subject: Problem with connecting FreeBSD 8.3 to wireless network References: <20121026164311.6a44948b.freebsd@edvax.de> <20121026210606.829bf5bd.freebsd@edvax.de> <20121027221916.1eff3d9e.freebsd@edvax.de> <20121028022357.18ede7cd.freebsd@edvax.de> In-Reply-To: <20121028022357.18ede7cd.freebsd@edvax.de> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Oct 2012 18:50:31.0518 (UTC) FILETIME=[1B0E7FE0:01CDB53D] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 18:51:39 -0000 On 28-Oct-12 05:53, Polytropon wrote: > On Sun, 28 Oct 2012 05:47:46 +0530, Manish Jain wrote: >> >> On 28-Oct-12 01:49, Polytropon wrote: >> I don't mind >> pulling in and building a few more ports as long as it is not the whole >> GNOME2 metaport. > > It could very well be the whole Gnome 2 metaport. :-( Hi All, After reading all the replies to my earlier post "Problem with libpng + Mozilla applications on FreeBSD 8.3", I finally summoned up the courage to build the GNOME2 metaport from the ports directory. Since this would not be possible within my lifetime with my usual internet connection, I paid for and succeeded in getting temporary access to a wireless network. Win XP connects to the network pretty smoothly, so there was much reason for hope that things would go smoothly on my FreeBSD 8.3 installation too. I tried configuring the Atheros device to the network as explained in the FreeBSD handbook. But I am having usual rate of success, which is not very high. All the required modules are present in the kernel, as can be seen below : # kldload ath kldload: can't load ath: File exists # kldload wlan_tkip kldload: can't load wlan_tkip: File exists But dmesg returns no output for ath0 : # dmesg | grep -i ath ifconfig returns the following output : # ifconfig bge0: flags=8843 metric 0 mtu 1500 options=c019b ether b8:88:e3:45:63:b1 inet6 fe80::ba88:e3ff:fe45:63b1%bge0 prefixlen 64 scopeid 0x2 nd6 options=3 media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 nd6 options=3 tun0: flags=8051 metric 0 mtu 1500 options=80000 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 Opened by PID 767 Since there is no mention of ath0, I did not expect creating the wlan0 pseudo-device would be a simple matter, and I was right : # ifconfig wlan0 create wlandev ath0 ifconfig: SIOCIFCREATE2: Device not configured Manually trying to create the pseudo-device ath0 presents equally unpleasant output : # ifconfig ath0 create ifconfig: SIOCIFCREATE2: Invalid argument pciconf does show my device, but I do not know how to make use of the information (please refer the last few lines of the output) : # pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x06491025 chip=0x01048086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x06491025 chip=0x01068086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA none0@pci0:0:22:0: class=0x078000 card=0x06491025 chip=0x1e3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = simple comms ehci0@pci0:0:26:0: class=0x0c0320 card=0x06491025 chip=0x1e2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x06491025 chip=0x1e208086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = multimedia subclass = HDA pcib1@pci0:0:28:0: class=0x060400 card=0x06491025 chip=0x1e108086 rev=0xc4 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:1: class=0x060400 card=0x06491025 chip=0x1e128086 rev=0xc4 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI ehci1@pci0:0:29:0: class=0x0c0320 card=0x06491025 chip=0x1e268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB isab0@pci0:0:31:0: class=0x060100 card=0x06491025 chip=0x1e5e8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x01018f card=0x06491025 chip=0x1e018086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = ATA none1@pci0:0:31:3: class=0x0c0500 card=0x06491025 chip=0x1e228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus atapci1@pci0:0:31:5: class=0x010185 card=0x06491025 chip=0x1e098086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = ATA bge0@pci0:2:0:0: class=0x020000 card=0x06471025 chip=0x16b514e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' class = network subclass = ethernet none2@pci0:2:0:1: class=0x080501 card=0x06471025 chip=0x16bc14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' class = base peripheral subclass = SD host controller none3@pci0:2:0:2: class=0x088000 card=0x06471025 chip=0x16be14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' class = base peripheral none4@pci0:2:0:3: class=0x088000 card=0x06471025 chip=0x16bf14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' class = base peripheral none5@pci0:3:0:0: class=0x028000 card=0x661711ad chip=0x0032168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network For completeness, the information I captured from Windows for the network was : wifi network name : tpkm 3 authentication : wpa-psk encryption : tkip key : "XXXXXXXXXX" Any help in getting my FreeBSD box to connect to the wireless network would be greatly appreciated. Those in a position to help but smugly choose not to may soon start experiencing a dramatic decline in their good fortunes. Thank you & Regards, Manish Jain bourne.identity@hotmail.com