Wireless net work set up

Luis Trimiÿfffff1o ltrimin at yahoo.com
Wed Jun 18 00:47:50 UTC 2008


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  <unknown network interface type>           
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. 
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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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='LFnet' freq=2437 MHz)
WPA: Key negotiation completed with 00:13:46:cd:8e:9a [PTK=TKIP GTK=TKIP]
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 terminate

#### although while this was happening I open another window and run ####ifconfig ndis0 to see the status of the device

$ ifconfig ndis0
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 information. Something that puzzle me is that the inet and the broadcast were reset 

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 should be use? rl0 is up and running at the same time will it conflict with ndis0?

Thanks

Luis






--- El mar 17-jun-08, jeff at degrind.org <jeff at degrind.org> escribió:

> De: jeff at degrind.org <jeff at degrind.org>
> Asunto: Re: Wireless net work set up
> A: "Luis Trimiÿfffff1o" <ltrimin at yahoo.com>
> Fecha: martes, 17 junio, 2008, 9:56 am
> Luis,
> Take a look at your ifconfig output. You'll notice that
> ndis0 has an  
> 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  
> > 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  
> > 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
> >    
> root at 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 = "AuthenticAMD"  Id = 0xff0 
> Stepping = 0
> >    
> >
> Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
> >   AMD
> Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
> > real memory  = 1072627712 (1022 MB)
> > avail memory = 1023938560 (976 MB)
> > kbd0 at kbdmux0
> > cpu0 on motherboard
> > pcib0: <Host to PCI bridge> pcibus 0 on
> motherboard
> > pci0: <PCI bus> on pcib0
> > pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> > pci1: <PCI bus> on pcib1
> > pci1: <display, VGA> at device 5.0 (no driver
> attached)
> > pcib2: <PCI-PCI bridge> at device 4.0 on pci0
> > pci2: <PCI bus> on pcib2
> > ohci0: <ATI SB400 USB Controller> mem
> 0xb0000000-0xb0000fff irq 11  
> > at device 19.0 on pci0
> > ohci0: [GIANT-LOCKED]
> > usb0: OHCI version 1.0, legacy support
> > usb0: SMM does not respond, resetting
> > usb0: <ATI SB400 USB Controller> 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: <ATI SB400 USB Controller> mem
> 0xb0001000-0xb0001fff irq 11  
> > at device 19.1 on pci0
> > ohci1: [GIANT-LOCKED]
> > usb1: OHCI version 1.0, legacy support
> > usb1: SMM does not respond, resetting
> > usb1: <ATI SB400 USB Controller> 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: <ATI SB400 USB 2.0 controller> mem
> 0xb0002000-0xb0002fff irq  
> > 11 at device 19.2 on pci0
> > ehci0: [GIANT-LOCKED]
> > usb2: EHCI version 1.0
> > usb2: companion controllers, 4 ports each: usb0 usb1
> > usb2: <ATI SB400 USB 2.0 controller> 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: <SMBus controller> port 0x8400-0x840f
> mem  
> > 0xb0003000-0xb00033ff at device 20.0 on pci0
> > device_attach: ichsmb0 attach returned 6
> > atapci0: <ATI IXP400 UDMA133 controller> port  
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at
> device 20.1 on  
> > pci0
> > ata0: <ATA channel 0> on atapci0
> > ata1: <ATA channel 1> on atapci0
> > isab0: <PCI-ISA bridge> at device 20.3 on pci0
> > isa0: <ISA bus> on isab0
> > pcib3: <PCI-PCI bridge> at device 20.4 on pci0
> > pci3: <PCI bus> on pcib3
> > fwohci0: <Texas Instruments TSB43AB22/A> mem  
> > 0xb0208000-0xb02087ff,0xb0200000-0xb0203fff irq 10 at
> device 0.0 on  
> > pci3
> > fwohci0: OHCI version 1.10 (ROM=0)
> > 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: <IEEE1394(FireWire) bus> on fwohci0
> > sbp0: <SBP-2/SCSI over FireWire> on firewire0
> > fwe0: <Ethernet over FireWire> 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=0xc000ffc0, gen=1, CYCLEMASTER mode
> > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> > firewire0: bus manager 0 (me)
> > ndis0: <Broadcom 802.11g Network Adapter> mem
> 0xb0204000-0xb0205fff  
> > irq 10 at device 2.0 on pci3
> > ndis0: NDIS API version: 5.1
> > ndis0: Ethernet address: 00:90:4b:f3:6e:44
> > cbb0: <PCI-CardBus Bridge> mem
> 0xb0209000-0xb0209fff irq 10 at  
> > device 4.0 on pci3
> > cardbus0: <CardBus bus> on cbb0
> > pccard0: <16-bit PCCard bus> on cbb0
> > pci3: <mass storage> at device 4.3 (no driver
> attached)
> > pci3: <base peripheral> at device 4.4 (no driver
> attached)
> > rl0: <RealTek 8139 10/100BaseTX> port
> 0xa000-0xa0ff mem  
> > 0xb020a400-0xb020a4ff irq 10 at device 6.0 on pci3
> > miibus0: <MII bus> on rl0
> > rlphy0: <RealTek internal media interface> on
> miibus0
> > rlphy0:  10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, auto
> > rl0: Ethernet address: 00:0f:b0:73:53:f5
> > pci0: <multimedia, audio> at device 20.5 (no
> driver attached)
> > pci0: <simple comms, generic modem> at device
> 20.6 (no driver attached)
> > orm0: <ISA Option ROMs> at iomem  
> >
> 0xc0000-0xcefff,0xd0000-0xd5fff,0xd8000-0xd8fff,0xdf800-0xdffff
> on  
> > isa0
> > atkbdc0: <Keyboard controller (i8042)> at port
> 0x60,0x64 on isa0
> > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> > kbd1 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > psm0: <PS/2 Mouse> irq 12 on atkbdc0
> > psm0: [GIANT-LOCKED]
> > psm0: model IntelliMouse, device ID 3
> > ppc0: cannot reserve I/O port range
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > 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: <Generic ISA VGA> 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 <Seagate ST9100822A 3.02> at
> ata0-master UDMA100
> > acd0: DVDR <MATSHITAUJ-840D/1.02> at ata1-master
> PIO4
> > cd0 at ata1 bus 0 target 0 lun 0
> > cd0: <MATSHITA UJ-840D 1.02> 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: <SMBus controller> port 0x8400-0x840f
> mem  
> > 0xb0003000-0xb00033ff at device 20.0 on pci0
> > ichsmb0: can't map I/O
> > device_attach: ichsmb0 attach returned 6
> > atiaudio0: <ATI IXP400> mem
> 0xb0003400-0xb00034ff irq 10 at device  
> > 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  
> > and the password for WPA-PSK
> >    3.2 Modify /etc/rc.conf  Added
> ifconfig_ndis0="WPA DHCP"
> >
> > when the computer boots it try to connects but never
> gets a package  
> > back from the router
> > I try do it manually from root but same history.
> Example, from root:
> >
> > PAVILLION# ifconfig ndis0
> > ndis0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
> 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  
> > statuss apears as associated. When checking the router
> side it shows  
> > that there is a wireless conection which agrees with
> the mac of the  
> > laptop. But there is no actual transfer of information
> between them
> >
> > any clues?? I am missing something here?
> >
> > Thanks
> >
> >
> >
> >
> >
> >        
> >
> ____________________________________________________________________________________
> > Yahoo! Deportes Beta
> > ¡No te pierdas lo último sobre el torneo clausura
> 2008! Entérate  
> > aquí http://deportes.yahoo.com
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> >


      ____________________________________________________________________________________
Yahoo! Deportes Beta
¡No te pierdas lo último sobre el torneo clausura 2008! Entérate aquí http://deportes.yahoo.com


More information about the freebsd-questions mailing list