From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 00:47:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4C9B106564A for ; Wed, 18 Jun 2008 00:47:49 +0000 (UTC) (envelope-from ltrimin@yahoo.com) Received: from web35108.mail.mud.yahoo.com (web35108.mail.mud.yahoo.com [209.191.68.217]) by mx1.freebsd.org (Postfix) with SMTP id AE36E8FC20 for ; Wed, 18 Jun 2008 00:47:49 +0000 (UTC) (envelope-from ltrimin@yahoo.com) Received: (qmail 39928 invoked by uid 60001); 18 Jun 2008 00:47:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=eFKFTNbq8+eCRn8ybBD2c5rAV6SXhWwutRCxG8CmPYftJ/7Zk33U/AHOjprA4skiNLbFC+60W3XL7tyFnybiPJ6x9W1FEo08udgdQGP+PfM+VVhDTVR26k/nszUcvSRTfCrbYLTw9K7wx5o02tTrZsxrxRIHiQj6JSKoNF2gjhQ=; Received: from [99.236.81.175] by web35108.mail.mud.yahoo.com via HTTP; Tue, 17 Jun 2008 17:47:49 PDT X-Mailer: YahooMailWebService/0.7.199 Date: Tue, 17 Jun 2008 17:47:49 -0700 (PDT) From: =?iso-8859-1?Q?Luis_Trimi=FFfffff1o?= To: jeff@degrind.org In-Reply-To: <20080617075634.440466q7m95f97dw@unknwn.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <112237.39090.qm@web35108.mail.mud.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Wireless net work set up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ltrimin@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 00:47:50 -0000 Hello Jeff Thanks for your repply yes I noticed that and I tried what you suggested as well before but nada I tried a couple of things that may give somebody clues of what is going on 1. I use the sysintall utility and went to configure-networking-interfaces= and noted the following regarding my interfaces: ndis0 =20 rl0 RealTek 8129/8139 PCI ethernet card (this is the ethernet that I am = using rigth now) so the kernel on boot recognices the hardware but seems like later does not= have a clue about it.=20 Is there a config file where I should specify this? 2. I tried what jeff sugested in the following manner typig from root: Pavilion# ifconfig ndis0 inet 192.168.1.5/24 Pavilion# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 10 No DHCPOFFERS received. No working leases in persistent database - sleeping. ##### This seems to be common theme all the time, I get the same thing ####= # during boot process ##### Later I tried: Pavilion# ifconfig ndis0 up scan SSID BSSID CHAN RATE S:N INT CAPS BELL455 00:1b:5b:6b:04:31 11 54M 139:0 100 EP ??? ??? ??? ?= ?? ??? ??? LFnet 00:13:46:cd:8e:9a 6 54M 151:0 100 EP ??? ??? ??? ?= ?? ??? WPA ATH VEN VEN WME isaac 00:1c:10:24:c9:f6 6 54M 115:0 100 EP ??? ??? ??? ?= ?? ??? ??? VEN WPA Pavilion# ifconfig ndis0 ndis0: flags=3D8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:90:4b:f3:6e:44 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS ##### Later I tried a manual connection Pavilion# wpa_supplicant -i ndis0 -c /etc/wpa_supplicant.conf Trying to associate with 00:13:46:cd:8e:9a (SSID=3D'LFnet' freq=3D2437 MHz) WPA: Key negotiation completed with 00:13:46:cd:8e:9a [PTK=3DTKIP GTK=3DTKI= P] CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) ##### here the terminal just hangs and noting happens, have to hit ^+C to t= erminate #### although while this was happening I open another window and run ####if= config ndis0 to see the status of the device $ ifconfig ndis0 ndis0: flags=3D8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:90:4b:f3:6e:44 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status: associated ssid LFnet channel 6 bssid 00:13:46:cd:8e:9a authmode WPA privacy OFF TKIP 2:128-bit txpowmax 100 bmiss 7 protmode CTS #### so the darn thing is getting connected but again no transfer of inform= ation. Something that puzzle me is that the inet and the broadcast were res= et=20 does this give any additional clues of what may be the problem? I have a question about this: should I be telling freebsd wich interface sh= ould be use? rl0 is up and running at the same time will it conflict with n= dis0? Thanks Luis --- El mar 17-jun-08, jeff@degrind.org escribi=F3: > De: jeff@degrind.org > Asunto: Re: Wireless net work set up > A: "Luis Trimi=FFfffff1o" > Fecha: martes, 17 junio, 2008, 9:56 am > Luis, > Take a look at your ifconfig output. You'll notice that > ndis0 has an =20 > ip of 0.0.0.0 with a broadcast of 255.255.255.255. Either > set this with: > ifconfig ndis0 inet 192.168.1.5/24 > or if your router assigns dhcp leases: > dhclient ndis0 > HTH, > Jeff > > Hello I had been trying to set up a wireless > connection for my =20 > > laptop but nothing seems to work > > What I am using: FreeBSD 6.2 release p3 > > Architecture amd 64 > > hardware: HP pavilion zv6000 > > > > so far what I had done: > > > > 1. Use the ndisgen to make kernel modules from > wireless broadcom =20 > > windows drivers. > > 2. verify that the drivers actualy work with the > kernel by checking dmesg > > > > here is my dmesg: > > > > FreeBSD 6.2-RELEASE-p3 #3: Sat Mar 24 14:24:31 EST > 2007 > > =20 > root@PAVILLION.LuisFerNET:/usr/obj/usr/src/sys/KERNEL2 > > Timecounter "i8254" frequency 1193182 Hz > quality 0 > > CPU: AMD Athlon(tm) 64 Processor 3800+ (2387.79-MHz > K8-class CPU) > > Origin =3D "AuthenticAMD" Id =3D 0xff0=20 > Stepping =3D 0 > > =20 > > > Features=3D0x78bfbff > > AMD > Features=3D0xe0500800 > > real memory =3D 1072627712 (1022 MB) > > avail memory =3D 1023938560 (976 MB) > > kbd0 at kbdmux0 > > cpu0 on motherboard > > pcib0: pcibus 0 on > motherboard > > pci0: on pcib0 > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > pci1: at device 5.0 (no driver > attached) > > pcib2: at device 4.0 on pci0 > > pci2: on pcib2 > > ohci0: mem > 0xb0000000-0xb0000fff irq 11 =20 > > at device 19.0 on pci0 > > ohci0: [GIANT-LOCKED] > > usb0: OHCI version 1.0, legacy support > > usb0: SMM does not respond, resetting > > usb0: on ohci0 > > usb0: USB revision 1.0 > > uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, > addr 1 > > uhub0: 4 ports with 4 removable, self powered > > ohci1: mem > 0xb0001000-0xb0001fff irq 11 =20 > > at device 19.1 on pci0 > > ohci1: [GIANT-LOCKED] > > usb1: OHCI version 1.0, legacy support > > usb1: SMM does not respond, resetting > > usb1: on ohci1 > > usb1: USB revision 1.0 > > uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, > addr 1 > > uhub1: 4 ports with 4 removable, self powered > > ehci0: mem > 0xb0002000-0xb0002fff irq =20 > > 11 at device 19.2 on pci0 > > ehci0: [GIANT-LOCKED] > > usb2: EHCI version 1.0 > > usb2: companion controllers, 4 ports each: usb0 usb1 > > usb2: on ehci0 > > usb2: USB revision 2.0 > > uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, > addr 1 > > uhub2: 8 ports with 8 removable, self powered > > ichsmb0: port 0x8400-0x840f > mem =20 > > 0xb0003000-0xb00033ff at device 20.0 on pci0 > > device_attach: ichsmb0 attach returned 6 > > atapci0: port =20 > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at > device 20.1 on =20 > > pci0 > > ata0: on atapci0 > > ata1: on atapci0 > > isab0: at device 20.3 on pci0 > > isa0: on isab0 > > pcib3: at device 20.4 on pci0 > > pci3: on pcib3 > > fwohci0: mem =20 > > 0xb0208000-0xb02087ff,0xb0200000-0xb0203fff irq 10 at > device 0.0 on =20 > > pci3 > > fwohci0: OHCI version 1.10 (ROM=3D0) > > fwohci0: No. of Isochronous channels is 4. > > fwohci0: EUI64 57:3f:02:00:7b:6c:40:79 > > fwohci0: Phy 1394a available S400, 2 ports. > > fwohci0: Link S400, max_rec 2048 bytes. > > firewire0: on fwohci0 > > sbp0: on firewire0 > > fwe0: on firewire0 > > if_fwe0: Fake Ethernet address: 56:3f:02:6c:40:79 > > fwe0: Ethernet address: 56:3f:02:6c:40:79 > > fwe0: if_start running deferred for Giant > > fwohci0: Initiate bus reset > > fwohci0: node_id=3D0xc000ffc0, gen=3D1, CYCLEMASTER mode > > firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) > > firewire0: bus manager 0 (me) > > ndis0: mem > 0xb0204000-0xb0205fff =20 > > irq 10 at device 2.0 on pci3 > > ndis0: NDIS API version: 5.1 > > ndis0: Ethernet address: 00:90:4b:f3:6e:44 > > cbb0: mem > 0xb0209000-0xb0209fff irq 10 at =20 > > device 4.0 on pci3 > > cardbus0: on cbb0 > > pccard0: <16-bit PCCard bus> on cbb0 > > pci3: at device 4.3 (no driver > attached) > > pci3: at device 4.4 (no driver > attached) > > rl0: port > 0xa000-0xa0ff mem =20 > > 0xb020a400-0xb020a4ff irq 10 at device 6.0 on pci3 > > miibus0: on rl0 > > rlphy0: on > miibus0 > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, > 100baseTX-FDX, auto > > rl0: Ethernet address: 00:0f:b0:73:53:f5 > > pci0: at device 20.5 (no > driver attached) > > pci0: at device > 20.6 (no driver attached) > > orm0: at iomem =20 > > > 0xc0000-0xcefff,0xd0000-0xd5fff,0xd8000-0xd8fff,0xdf800-0xdffff > on =20 > > isa0 > > atkbdc0: at port > 0x60,0x64 on isa0 > > atkbd0: flags 0x1 irq 1 on atkbdc0 > > kbd1 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > psm0: irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: model IntelliMouse, device ID 3 > > ppc0: cannot reserve I/O port range > > sc0: at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > sio0: port may not be enabled > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 8250 or not responding > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > sio1: port may not be enabled > > vga0: at port 0x3c0-0x3df > iomem 0xa0000-0xbffff on isa0 > > ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, > addr 2, iclass 3/1 > > ums0: 3 buttons and Z dir. > > Timecounter "TSC" frequency 2387785415 Hz > quality 800 > > Timecounters tick every 1.000 msec > > ad0: 95396MB at > ata0-master UDMA100 > > acd0: DVDR at ata1-master > PIO4 > > cd0 at ata1 bus 0 target 0 lun 0 > > cd0: Removable CD-ROM > SCSI-0 device > > cd0: 16.000MB/s transfers > > cd0: cd present [2038688 x 2048 byte records] > > Trying to mount root from ufs:/dev/ad0s2a > > osscore: This version of Open Sound System has expired > > osscore: Please download the latest version from > www.opensound.com > > ichsmb0: port 0x8400-0x840f > mem =20 > > 0xb0003000-0xb00033ff at device 20.0 on pci0 > > ichsmb0: can't map I/O > > device_attach: ichsmb0 attach returned 6 > > atiaudio0: mem > 0xb0003400-0xb00034ff irq 10 at device =20 > > 20.5 on pci0 > > module_register_init: MOD_LOAD (ossmodule, > 0xffffffffa7ec7d30, 0) error 12 > > stray irq7 > > stray irq7 > > too many stray irq 7's: not logging anymore > > > > so ndis0 is recognized by the kernel > > > > 3. I had been following the manual to try to get the > wireless to work > > 3.1 Modify /etc/wpa_supplicant.conf added the ssid > of the network =20 > > and the password for WPA-PSK > > 3.2 Modify /etc/rc.conf Added > ifconfig_ndis0=3D"WPA DHCP" > > > > when the computer boots it try to connects but never > gets a package =20 > > back from the router > > I try do it manually from root but same history. > Example, from root: > > > > PAVILLION# ifconfig ndis0 > > ndis0: > flags=3D8843 > mtu 1500 > > inet 0.0.0.0 netmask 0xff000000 broadcast > 255.255.255.255 > > ether 00:90:4b:f3:6e:44 > > media: IEEE 802.11 Wireless Ethernet > autoselect (OFDM/54Mbps) > > status: associated > > ssid LFnet channel 6 bssid 00:13:46:cd:8e:9a > > authmode WPA privacy OFF txpowmax 100 bmiss 7 > protmode CTS > > > > so it seems like the laptop and the router are > conected since the =20 > > statuss apears as associated. When checking the router > side it shows =20 > > that there is a wireless conection which agrees with > the mac of the =20 > > laptop. But there is no actual transfer of information > between them > > > > any clues?? I am missing something here? > > > > Thanks > > > > > > > > > > > > =20 > > > _________________________________________________________________________= ___________ > > Yahoo! Deportes Beta > > =A1No te pierdas lo =FAltimo sobre el torneo clausura > 2008! Ent=E9rate =20 > > aqu=ED http://deportes.yahoo.com > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >=0A=0A=0A _________________________________________________________= ___________________________=0AYahoo! Deportes Beta=0A=A1No te pierdas lo = =FAltimo sobre el torneo clausura 2008! Ent=E9rate aqu=ED http://deportes.y= ahoo.com