WLAN-Support

mark-use

Well-Known Member
Hi FreeBSD-Lovers!

Ich hab mir vor kurzem einen neuen Laptop ( Asus A6Q00R ) geleistet und nun kämpfe ich damit meine Hardware zum laufen zu bringen.
Erstmal geht die Soundkarte nicht, das ist aber nicht so wichtig, viel wichtiger wäre die WLAN-Karte, da ich auf ner Insel in Spanien lebe und es nichtmal ne Telefonleitung zu meinem Haus gibt, somit bin ich aufs WLAN beschränkt.
So wie es aussieht hat die Kiste ne Broadcom WLAN-Karte, bin mir aber nicht sicher, da *duck* Windows nur eine Asus-WLAN-Card findet.

Ich hab nachdem ich von Projekt Evil gehört hab versucht meinen eigenen Treiber zu backen, leider funktioniert der aber nicht richtig.
Nachdem ich das Kernelmodul geladen hab, gabs zwar ein Device ndis0, leider konnt ich damit aber nicht nach APs scannen.

Momentan hab ich zum Installieren von Ports erstmal ne Zwischenlösung( VmWare unter Windows, make fetch-required... ), aber das geht mir echt auf die Nerven.
Was für native BSD-WLAN-Treiber gibt es denn, irgendwie kommt es mir so vor, als ob das LINT-File vom 6er BSD kleiner ist als beim 5er.
Ich wär wirklich dankbar wenn mir jemand weiterhelfen könnte.


Hier der Output von dmesg:
---------- SNIP -----------------
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: Intel(R) Celeron(R) M processor 1.60GHz (1600.07-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8
Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
AMD Features=0x100000<NX>
real memory = 402456576 (383 MB)
avail memory = 384409600 (366 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfebff000-0xfebfffff 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: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff 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: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebfd000-0xfebfdfff 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: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f 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
pcib2: <PCIBIOS PCI-PCI bridge> at device 20.4 on pci0
pci2: <PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0xb800-0xb8ff mem 0xfeaffc00-0xfeaffcff irq 5 at device 0.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:17:31:01:89:a1
cbb0: <RF5C476 PCI-CardBus Bridge> irq 4 at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci2: <base peripheral> at device 1.1 (no driver attached)
pci2: <base peripheral> at device 1.2 (no driver attached)
pci2: <network> at device 3.0 (no driver attached)
pci0: <multimedia, audio> at device 20.5 (no driver attached)
pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
Timecounter "TSC" frequency 1600067669 Hz quality 800
Timecounters tick every 1.000 msec
Interrupt storm detected on "irq11: ohci0 ohci1+"; throttling interrupt source
ad0: 57231MB <HTS541060G9AT00 MB3VA60A> at ata0-master UDMA100
acd0: DVDR <MATSHITADVD-RAM UJ-841S/1.00> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s2a
logo_saver: the console does not support M_VGA_CG320
module_register_init: MOD_LOAD (logo_saver, 0xc1a3cac8, 0) error 19
rl0: link state changed to UP
ndis0: <ASUS 802.11g Network Adapter> mem 0xfeafc000-0xfeafdfff irq 5 at device 3.0 on pci2
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:17:31:11:f2:b4

-------SNIP---------

und hier ifconfig:
-------- SNIP --------
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ether 00:17:31:11:f2:b4
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 protmode CTS
---------SNIP--------
 
Ich habe noch nie WLAN unter FreeBSD betrieben, aber mir scheint Deine ssid leer zu sein (ssid "" channel 1).

BTW: Gibts einen Grund, warum Du das nach OpenBSD -> OpenBSD-Netzwerk gepostet hast?! :)
 
Hehe, mist.
War keine Absicht, hab mich in der Zeile vertan, kann mal wer das Posting nach FreeBSD verschieben pls.
Achso, die ssid is eigentlich egal wenn ich nach APs suche.
 
Wie scannst du denn genau nach APs? Dein ndis0 ist ja noch nicht UP, also musst du sowas machen: "ifconfig ndis0 up scan"
 
Kann mir jemand sagen ob es ne chance gibt die Soundkarte zum laufen zu bringen?
Ich hab schon viel im Netz gesucht, aber immernoch keine Lösung gefunden...
 
Ich habe mir auch ein günstiges Notebook gekauft, leider mit Broadcom-Wlan.
Habe mich schon durch ein haufen Howtos und Forenbeiträge gekämpft

In der /boot/loader.conf steht
ndis_load="YES
if_ndis_load="YES"
bcmwl5_sys_load="YES"

ndisgen hat bcmwl5_sys.ko erfolgreich erstellt.
bcmwl5_sys.ko liegt in /boot/kernel und in /boot/modules

kldstat zeigt bcmwl5_sys.ko an

Was mich wundert, dass ein

dmesg

nichts mit ndis ausgibt. Auch mit ifconfig krieg ich keine ndis interface.

Nur für mein Verständnis; müsste nicht dmesg etwas mit ndis ausspucken? Selbst wenn der Windowstreiber nicht funktioniert?
 
Zurück
Oben