DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default Connecting to wireless router

Hi,

I am having trouble connecting to my home's wireless router with my FreeBSD laptop. On the desktop that has the main-line internet connection, FreeBSD could easily connect.

However, when I try to search for a DHCP server with the laptop, it seems like it doesn't find anything. The 'Network Configuration' page comes up with everything blank. So, I just copied all of the information from the configuration on the desktop, and that didn't work.

I called Linksys and asked them if they could help, but they couldn't, since it is FreeBSD.

I know that my wireless card is configured correctly. I ran ifconfig, and it is configured as bfe0, but the status is "No carrier." I am not able to ping the router.

Does anyone know what might be going wrong?

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 19th August 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 358
Thanked 9 Times in 8 Posts
Default

What is the output of ifconfig?
Reply With Quote
  #3   (View Single Post)  
Old 19th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

bfe0 is a wired NIC, not a wireless one.

What's the output of pciconf -vl?
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #4   (View Single Post)  
Old 19th August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by TomAmundsen View Post
Hi,

I am having trouble connecting to my home's wireless router with my FreeBSD laptop. On the desktop that has the main-line internet connection, FreeBSD could easily connect.

However, when I try to search for a DHCP server with the laptop, it seems like it doesn't find anything. The 'Network Configuration' page comes up with everything blank. So, I just copied all of the information from the configuration on the desktop, and that didn't work.

I know that my wireless card is configured correctly. I ran ifconfig, and it is configured as bfe0, but the status is "No carrier." I am not able to ping the router.

Does anyone know what might be going wrong?

Thanks!
You need to associate with an access point before you can use a Wireless interface.. otherwise how would you differentiate between your network and a neighbours?

As mentioned, bfe(4) is not a wireless interface.. with that said, it's probably an unused Ethernet port.

Post the output of ifconfig so we can determine more about your current configuration... a dmesg would be nice too.

Please contain the output inside [code][/code] blocks..

Quote:
Originally Posted by TomAmundsen View Post
I called Linksys and asked them if they could help, but they couldn't, since it is FreeBSD.
Yeah, that's not a viable way of support... unfortunately.

Last edited by BSDfan666; 19th August 2008 at 03:38 AM.
Reply With Quote
  #5   (View Single Post)  
Old 19th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by phoenix View Post
bfe0 is a wired NIC, not a wireless one.

What's the output of pciconf -vl?
Ah, I didn't realize that!

You are correct, Broadcom made both my ethernet and wireless card, so I got confused. Indeed, it hasn't found the driver for my wireless card

Here is the result of
>pciconf -vl
Code:
hostb0@pci0:0:0:0:	class=0x060000 card=0x015f1028 chip=0x35808086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82852GM/GME/GMV/PM, 855GM/GME Montara Host-Hub Interface Bridge'
    class      = bridge
    subclass   = HOST-PCI
none0@pci0:0:0:1:	class=0x088000 card=0x015f1028 chip=0x35848086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82852GM/GME/GMV/PM, 855GM/GME Montara System Memory Controller'
    class      = base peripheral
none1@pci0:0:0:3:	class=0x088000 card=0x015f1028 chip=0x35858086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82852GM/GME/GMV/PM, 855GM/GME Montara Configuration Process'
    class      = base peripheral
pcib1@pci0:0:1:0:	class=0x060400 card=0x00000000 chip=0x35818086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82852GME/PM Montara Virtual PCI to AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:	class=0x0c0300 card=0x015f1028 chip=0x24c28086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:	class=0x0c0300 card=0x015f1028 chip=0x24c48086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:	class=0x0c0300 card=0x015f1028 chip=0x24c78086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:	class=0x0c0320 card=0x015f1028 chip=0x24cd8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:	class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:	class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DBM (ICH4-M) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:	class=0x01018a card=0x015f1028 chip=0x24ca8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller'
    class      = mass storage
    subclass   = ATA
none2@pci0:0:31:3:	class=0x0c0500 card=0x015f1028 chip=0x24c38086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
none3@pci0:0:31:5:	class=0x040100 card=0x015f1028 chip=0x24c58086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
none4@pci0:0:31:6:	class=0x070300 card=0x542214f1 chip=0x24c68086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller'
    class      = simple comms
    subclass   = generic modem
vgapci0@pci0:1:0:0:	class=0x030000 card=0x01491028 chip=0x4c661002 rev=0x02 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'ATI MOBILITY RADEON 9000 (Microsoft Corporation - Radeon Mobility M9'
    class      = display
    subclass   = VGA
bfe0@pci0:2:1:0:	class=0x020000 card=0x015f1028 chip=0x440114e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM4401 10/100 Integrated Ethernet Controller'
    class      = network
    subclass   = ethernet
none5@pci0:2:2:0:	class=0x028000 card=0x00011028 chip=0x432014e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM94309 802.11b/g Wireless LAN Controller'
    class      = network
cbb0@pci0:2:4:0:	class=0x060700 card=0x015f1028 chip=0xac44104c rev=0x02 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCI4510SDFSDFSD PC Card Controller SDFSDAFSADFSDAFSDAF'
    class      = bridge
    subclass   = PCI-CardBus
fwohci0@pci0:2:4:1:	class=0x0c0010 card=0x015f1028 chip=0x8029104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = '??? OHCI Compliant IEEE-1394 FireWire Controller'
    class      = serial bus
    subclass   = FireWire
Reply With Quote
  #6   (View Single Post)  
Old 19th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by BSDfan666 View Post
You need to associate with an access point before you can use a Wireless interface.. otherwise how would you differentiate between your network and a neighbours?

As mentioned, bfe(4) is not a wireless interface.. with that said, it's probably an unused Ethernet port.

Post the output of ifconfig so we can determine more about your current configuration... a dmesg would be nice too.

Please contain the output inside [code][/code] blocks..


Yeah, that's not a viable way of support... unfortunately.
Here is the result of
>ifconfig
Code:
bfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0b:db:9c:d5:c4
	inet6 fe80::20b:dbff:fe9c:d5c4%bfe0 prefixlen 64 scopeid 0x1 
	inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect (none)
	status: no carrier
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:c0:4f:67:94:61
	ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	lladdr 0.c0.4f.4a.20.67.94.61.a.2.ff.fe.0.0.0.0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
	inet 127.0.0.1 netmask 0xff000000
and now
> dmesg
Code:
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
    root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU 3.06GHz (1594.70-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 535691264 (510 MB)
avail memory = 510291968 (486 MB)
ACPI APIC Table: <INTEL  MONTARA >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
acpi0: <DELL MwoodNwd> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
device_attach: acpi_perf0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
device_attach: acpi_perf0 attach returned 6
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855GM host to AGP bridge> on hostb0
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 20 at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xd0204000-0xd0205fff irq 17 at device 1.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> PHY 1 on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: using obsoleted if_watchdog interface
bfe0: Ethernet address: 00:0b:db:9c:d5:c4
bfe0: [ITHREAD]
pci2: <network> at device 2.0 (no driver attached)
cbb0: <TI4510 PCI-CardBus Bridge> irq 16 at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
fwohci0: <1394 Open Host Controller Interface> mem 0xd0208000-0xd02087ff,0xd0200000-0xd0203fff irq 16 at device 4.1 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c0:4f:4a:20:67:94:61
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x1f46c000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:c0:4f:67:94:61
fwe0: Ethernet address: 02:c0:4f:67:94:61
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:c0:4f:4a:20:67:94:61 @ 0xfffe00000000, S400, maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
ichss: enabling SpeedStep support
ichss: enabling SpeedStep support
ichss0: <SpeedStep ICH> on cpu0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd27ff,0xdc000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0
ppc0: parallel port not found.
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: 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
sio0: [FILTER]
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
Timecounter "TSC" frequency 1594699404 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: CDRW <Samsung CD-RW/DVD-ROM SN-324B/U102> at ata0-master UDMA33
ad2: 38154MB <IC25N040ATCS04 0 CA4OA72A> at ata1-master UDMA100
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Packages_2.
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 
Trying to mount root from ufs:/dev/ad2s1a
logo_saver: the console does not support M_VGA_CG320
module_register_init: MOD_LOAD (logo_saver, 0xc32d47b0, 0) error 19
umass0: <SanDisk U3 Cruzer Micro, class 0/0, rev 2.00/0.10, addr 2> on uhub3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SanDisk U3 Cruzer Micro 4.05> Removable Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 3912MB (8013453 512 byte sectors: 255H 63S/T 498C)
cd0 at umass-sim0 bus 0 target 0 lun 1
cd0: <SanDisk U3 Cruzer Micro 4.05> Removable CD-ROM SCSI-2 device 
cd0: 40.000MB/s transfers
cd0: Attempt to query device size failed: UNIT ATTENTION, Not ready to ready change, medium may have changed
Reply With Quote
  #7   (View Single Post)  
Old 19th August 2008
LateNiteTV LateNiteTV is offline
Port Guard
 
Join Date: Jul 2008
Posts: 19
Thanked 0 Times in 0 Posts
Default

i believe the driver for the bcm94309 is included in freebsd 8.0 as a beta...
Reply With Quote
  #8   (View Single Post)  
Old 19th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by LateNiteTV View Post
i believe the driver for the bcm94309 is included in freebsd 8.0 as a beta...
Yea, well I don't think I am skilled enough to start running a CURRENT build of FreeBSD.

So, I tried using ndisgen to create the kernel module for my wireless card driver (from the Windows .inf and .sys files). It successfully created the .ko, so I loaded that, however no ndis0 device shows up.

> kldstat
Code:
Id Refs Address    Size     Name
 1   17 0xc0400000 906518   kernel
 2    1 0xc0d07000 9778c    bcmwl5_sys.ko
 3    3 0xc0d9f000 1aa10    ndis.ko
 4    2 0xc0dba000 e750     if_ndis.ko
 5    1 0xc0dc9000 6a32c    acpi.ko
 6    1 0xc3295000 22000    linux.ko
 7    1 0xc32e4000 4000     logo_saver.ko
> ifconfig
Code:
bfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0b:db:9c:d5:c4
	inet6 fe80::20b:dbff:fe9c:d5c4%bfe0 prefixlen 64 scopeid 0x1 
	media: Ethernet autoselect (none)
	status: no carrier
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:c0:4f:67:94:61
	ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	lladdr 0.c0.4f.4a.20.67.94.61.a.2.ff.fe.0.0.0.0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
	inet 127.0.0.1 netmask 0xff000000
Reply With Quote
  #9   (View Single Post)  
Old 19th August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

That method is always hit and miss, definitely not a end all solution to drivers on FreeBSD.

If there is a driver in the works for 8-CURRENT, I can't find any reference to it.. your other option might be to find a PCMCIA wireless card.

It's possible your laptop actually has a MiniPCI card inside, theoretically it might be possible to replace it.. but, it's not for the faint of heart.
Reply With Quote
Old 19th August 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Heh, I'm updating to -CURRENT now that I hear that it might contain broadcom wireless drivers. I have a BCM4309 a/b/g MiniPCI card in my new laptop. I'll let you all know how I make out.

Unfortunately, my attempts at usin an ndis driver all ended in kernel panics. I tried three different versions of the windows driver :-(

Adam
Reply With Quote
Old 19th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by BSDfan666 View Post
That method is always hit and miss, definitely not a end all solution to drivers on FreeBSD.

If there is a driver in the works for 8-CURRENT, I can't find any reference to it.. your other option might be to find a PCMCIA wireless card.

It's possible your laptop actually has a MiniPCI card inside, theoretically it might be possible to replace it.. but, it's not for the faint of heart.
Yea, I have a MiniPCI card... But, considering that I had to just completely disassemble this machine and remelt some pins on the motherboard just to get this thing working, I think just replacing a card might not be too bad.
Reply With Quote
Old 19th August 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Well I can't comment directly on the BCM94309, but my BCM4309 doesn't appear to be supported. At least, it's not detected by the GENERIC -CURRENT kernel.

Adam

EDIT:

If someone can point me to a reference somewhere that says that broadcom wireless cards should now work (or might work, or are being worked on) in -CURRENT, I'd appreciate it. I can at least send a report of my attempt.

Last edited by adamk; 19th August 2008 at 11:15 PM.
Reply With Quote
Old 20th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by TomAmundsen View Post
Yea, I have a MiniPCI card... But, considering that I had to just completely disassemble this machine and remelt some pins on the motherboard just to get this thing working, I think just replacing a card might not be too bad.
Probably not. In most cases, wireless card is as easy to upgrade/replace as RAM, all it takes is about 1 or 2 mins

Mini PCI wireless card is pretty affordable now ($15 - $20 for the good one on ebay), so its worth the time and investment.
__________________
The power of plain text? It can control an entire OS
Reply With Quote
Old 20th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Run # dmesg after loading the NDIS modules to see what (if any) errors are generated. That can usually lead to solutions.

Also, try using different Windows drivers with ndisgen. Something XP drivers work better, sometimes 2003 drivers work better, etc.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 20th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default Found the right driver - kernel panic

OK. So, it seems like I was using the wrong driver .inf and .sys. I talked to a guy from Dell who gave me the actual driver. It also included a firmware file: bcm43xx.cat (I'm not 100% positive this is the only firmware file, but probably).

I can finally see ndis0 coming up! But, now I am getting a kernel panic... (my first )

Is it possible that I still did the ndisgen incorrectly? Or is it likely that there's no way to use this card/driver?

Code:
ndis0: <Dell TrueMobile 1300 WLAN Mini-PCI Card> mem 0xd0206000-0xd0207fff irq 18 at device 2.0 on pci2
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1

Fatal trap 1: priviledged instruction fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x20:0x7
stack pointer            = 0x28:0xc10206c8
frame pointer            = 0x28:0x7b4
code segment           = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
trap number              = 1
panic: privildged instruction fault
cpuid = 0
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the consol to abort

Last edited by TomAmundsen; 20th August 2008 at 04:10 PM.
Reply With Quote
Old 20th August 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Yeah, that was the exact problem I was having. I finally decided to bite the bullet. After locating the mini-PCI card under the keyboard, I went on-line and ordered an Intel wireless mini-PCI card . I attempted to find an Atheros based one, but they seem to be harder to find.

Adam
Reply With Quote
Old 20th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by adamk View Post
Yeah, that was the exact problem I was having. I finally decided to bite the bullet. After locating the mini-PCI card under the keyboard, I went on-line and ordered an Intel wireless mini-PCI card . I attempted to find an Atheros based one, but they seem to be harder to find.

Adam
Ah, dang.

It doesn't seem like any of the others FreeBSD 8 kernel configurations in sys/i386/conf show support for our card...

I guess I will just buy that Intel PRO/Wireless 2915abg...
Reply With Quote
Old 22nd August 2008
coppermine's Avatar
coppermine coppermine is offline
Port Guard
 
Join Date: May 2008
Posts: 40
Thanked 0 Times in 0 Posts
Default

That is royal pain
// Michael Lucas (c) "Absolute FreeBSD"...

I have had this problem on almost all laptops in my possession. Currently I am using ubuntu on my work laptop and on all of my servers. I have stopped to struggle to set up all of these things on a laptop because it takes SO MUCH of time and grief!
By the way, I found the macbooks the only BSD-like laptops (most of my favorite shell commands and settings works out of the box!)

This was the lyrics. Yes, you need to change the wireless card if you want to get it working. I have found on the net that Intel 2xxx cards are well supported opposed to 3945abg. I did find the drivers for 3945abg, but it didn't work for me.
For completeness, my only experience with ndis didn't succeed. Although, it was one year ago playing with FreeBSD 6.2...

Atheros? yes!!! I had good experience working with one such card. It claimed to be made by Cisco, but FreeBSD told me that it is in fact an Atheros chip! It is worth to find such cards...
Reply With Quote
Old 22nd August 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Quote:
Originally Posted by adamk View Post
If someone can point me to a reference somewhere that says that broadcom wireless cards should now work (or might work, or are being worked on) in -CURRENT, I'd appreciate it. I can at least send a report of my attempt.
No it is not available in Current but it is in perforce available for testing,( http://perforce.freebsd.org/depotTre...bwi&HIDEDEL=NO ) (I tested it and it works with UP kernel in same way as it works in OpenBSD)

I have luck with my mini broadcom card via ndis which works wonderfully, better than bwi driver (...)

Last edited by richardpl; 22nd August 2008 at 04:18 PM.
Reply With Quote
Old 25th August 2008
TomAmundsen TomAmundsen is offline
Real Name: Tom Amundsen
Computional Linguist
 
Join Date: Jul 2008
Location: Los Angeles, CA
Posts: 23
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by TomAmundsen View Post
Ah, dang.

It doesn't seem like any of the others FreeBSD 8 kernel configurations in sys/i386/conf show support for our card...

I guess I will just buy that Intel PRO/Wireless 2915abg...
So, the Intel wireless card came in the mail today. I followed the instructions on the iwi man page and was connected to the internet within minutes.

As a matter of fact, I am submitting this post from my laptop, wirelessly.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to internet via adsl router michaelrmgreen FreeBSD General 3 9th August 2009 12:29 PM
router sees my wireless mac addres but I cannot ping it gosha OpenBSD General 7 26th July 2009 10:38 PM
pkg_add problems with connecting Mr-Biscuit NetBSD Package System (pkgsrc) 2 26th May 2009 11:44 AM
Connecting to router wirelessly guitarscn OpenBSD General 16 21st January 2009 03:47 AM
Wireless Router Compat questions whispersGhost Solaris 11 2nd June 2008 09:16 AM


All times are GMT. The time now is 11:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick