Сразу скажу:
1. Я не фряшник-профессионал, могу фигню ляпнуть - не подкалывайте
2. С этой вайфайкой все прекрасно работало на 6.4 и 7.2 (сейчас 7.3)
3. Букв будет много
Итак. Ставлю FreeBSD 8.1-RELEASE. В rc.conf пишу:
Код: Выделить всё
ifconfig_ural0="inet 172.30.0.11 netmask 255.255.0.0 ssid lepishome wepmode off channel 2 media OFDM/54Mbps mediaopt hostap up"
Делаю руками
Код: Выделить всё
ifconfig ural0 172.30.0.11 netmask 255.255.0.0 up
Пишу в консоли
Код: Выделить всё
ifconfig ural0 ssid lepishome
Код: Выделить всё
ifconfig: SIOCS80211: Invalid argument
Попытался повторить
Код: Выделить всё
wlans_ural0="wlan0"
ifconfig_wlan0="inet 172.30.0.11 netmask 255.255.0.0 ssid lepishome wepmode off channel 2 media OFDM/54Mbps mediaopt hostap up"
А потом я еще раз попробовал
Код: Выделить всё
ifconfig ural0 ssid lepishome
Код: Выделить всё
ural0: discard raw packet
Пробовал пересобирать ядро, обновлял исходники - результата ноль.
Мой dmesg
Код: Выделить всё
Jul 28 23:05:42 lepis syslogd: kernel boot file is /boot/kernel/kernel
Jul 28 23:05:42 lepis kernel: Copyright (c) 1992-2010 The FreeBSD Project.
Jul 28 23:05:42 lepis kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jul 28 23:05:42 lepis kernel: The Regents of the University of California. All rights reserved.
Jul 28 23:05:42 lepis kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Jul 28 23:05:42 lepis kernel: FreeBSD 8.1-RELEASE #0: Wed Jul 28 20:58:59 UTC 2010
Jul 28 23:05:42 lepis kernel: lepis@:/usr/obj/usr/src/sys/lepis i386
Jul 28 23:05:42 lepis kernel: module_register: module if_bridge already exists!
Jul 28 23:05:42 lepis kernel: Module if_bridge failed to register: 17
Jul 28 23:05:42 lepis kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Jul 28 23:05:42 lepis kernel: CPU: Pentium(R) Dual-Core CPU E5300 @ 2.60GHz (2621.49-MHz 686-class CPU)
Jul 28 23:05:42 lepis kernel: Origin = "GenuineIntel" Id = 0x1067a Family = 6 Model = 17 Stepping = 10
Jul 28 23:05:42 lepis kernel: 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>
Jul 28 23:05:42 lepis kernel: Features2=0x400e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE>
Jul 28 23:05:42 lepis kernel: AMD Features=0x20100000<NX,LM>
Jul 28 23:05:42 lepis kernel: AMD Features2=0x1<LAHF>
Jul 28 23:05:42 lepis kernel: TSC: P-state invariant
Jul 28 23:05:42 lepis kernel: real memory = 2147483648 (2048 MB)
Jul 28 23:05:42 lepis kernel: avail memory = 2055565312 (1960 MB)
Jul 28 23:05:42 lepis kernel: ACPI APIC Table: <A_M_I_ OEMAPIC >
Jul 28 23:05:42 lepis kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Jul 28 23:05:42 lepis kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
Jul 28 23:05:42 lepis kernel: cpu0 (BSP): APIC ID: 0
Jul 28 23:05:42 lepis kernel: cpu1 (AP): APIC ID: 1
Jul 28 23:05:42 lepis kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
Jul 28 23:05:42 lepis kernel: kbd1 at kbdmux0
Jul 28 23:05:42 lepis kernel: acpi0: <A_M_I_ OEMRSDT> on motherboard
Jul 28 23:05:42 lepis kernel: acpi0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: acpi0: Power Button (fixed)
Jul 28 23:05:42 lepis kernel: acpi0: reservation of fed1c000, 4000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of fed20000, 70000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of ffc00000, 300000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of fec00000, 1000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of fee00000, 1000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of f0000000, 4000000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of 0, a0000 (3) failed
Jul 28 23:05:42 lepis kernel: acpi0: reservation of 100000, 7dd00000 (3) failed
Jul 28 23:05:42 lepis kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Jul 28 23:05:42 lepis kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
Jul 28 23:05:42 lepis kernel: cpu0: <ACPI CPU> on acpi0
Jul 28 23:05:42 lepis kernel: ACPI Warning: Incorrect checksum in table [OEMB] - 0x27, should be 0x22 (20100331/tbutils-354)
Jul 28 23:05:42 lepis kernel: cpu1: <ACPI CPU> on acpi0
Jul 28 23:05:42 lepis kernel: acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Jul 28 23:05:42 lepis kernel: Timecounter "HPET" frequency 14318180 Hz quality 900
Jul 28 23:05:42 lepis kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Jul 28 23:05:42 lepis kernel: pci0: <ACPI PCI bus> on pcib0
Jul 28 23:05:42 lepis kernel: vgapci0: <VGA-compatible display> port 0xcc00-0xcc07 mem 0xfe400000-0xfe7fffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
Jul 28 23:05:42 lepis kernel: agp0: <Intel G41 SVGA controller> on vgapci0
Jul 28 23:05:42 lepis kernel: agp0: detected 32764k stolen memory
Jul 28 23:05:42 lepis kernel: agp0: aperture size is 256M
Jul 28 23:05:42 lepis kernel: pci0: <multimedia, HDA> at device 27.0 (no driver attached)
Jul 28 23:05:42 lepis kernel: pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
Jul 28 23:05:42 lepis kernel: pci2: <ACPI PCI bus> on pcib1
Jul 28 23:05:42 lepis kernel: pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
Jul 28 23:05:42 lepis kernel: pci1: <ACPI PCI bus> on pcib2
Jul 28 23:05:42 lepis kernel: ale0: <Atheros AR8121/AR8113/AR8114 PCIe Ethernet> port 0xdc00-0xdc7f mem 0xfeac0000-0xfeafffff irq 17 at device 0.0 on pci1
Jul 28 23:05:42 lepis kernel: ale0: 960 Tx FIFO, 1024 Rx FIFO
Jul 28 23:05:42 lepis kernel: ale0: Using 1 MSI messages.
Jul 28 23:05:42 lepis kernel: miibus0: <MII bus> on ale0
Jul 28 23:05:42 lepis kernel: atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
Jul 28 23:05:42 lepis kernel: atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
Jul 28 23:05:42 lepis kernel: ale0: Ethernet address: 90:e6:ba:cb:2c:7b
Jul 28 23:05:42 lepis kernel: ale0: [FILTER]
Jul 28 23:05:42 lepis kernel: uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xc400-0xc41f irq 23 at device 29.0 on pci0
Jul 28 23:05:42 lepis kernel: uhci0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: uhci0: LegSup = 0x2f00
Jul 28 23:05:42 lepis kernel: usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
Jul 28 23:05:42 lepis kernel: uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xc480-0xc49f irq 19 at device 29.1 on pci0
Jul 28 23:05:42 lepis kernel: uhci1: [ITHREAD]
Jul 28 23:05:42 lepis kernel: uhci1: LegSup = 0x2f00
Jul 28 23:05:42 lepis kernel: usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
Jul 28 23:05:42 lepis kernel: uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xc800-0xc81f irq 18 at device 29.2 on pci0
Jul 28 23:05:42 lepis kernel: uhci2: [ITHREAD]
Jul 28 23:05:42 lepis kernel: uhci2: LegSup = 0x2f00
Jul 28 23:05:42 lepis kernel: usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
Jul 28 23:05:42 lepis kernel: uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xc880-0xc89f irq 16 at device 29.3 on pci0
Jul 28 23:05:42 lepis kernel: uhci3: [ITHREAD]
Jul 28 23:05:42 lepis kernel: uhci3: LegSup = 0x2f00
Jul 28 23:05:42 lepis kernel: usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
Jul 28 23:05:42 lepis kernel: ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfe9f7c00-0xfe9f7fff irq 23 at device 29.7 on pci0
Jul 28 23:05:42 lepis kernel: ehci0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: usbus4: EHCI version 1.0
Jul 28 23:05:42 lepis kernel: usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
Jul 28 23:05:42 lepis kernel: pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Jul 28 23:05:42 lepis kernel: pci3: <ACPI PCI bus> on pcib3
Jul 28 23:05:42 lepis kernel: rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 19 at device 0.0 on pci3
Jul 28 23:05:42 lepis kernel: miibus1: <MII bus> on rl0
Jul 28 23:05:42 lepis kernel: rlphy0: <RealTek internal media interface> PHY 0 on miibus1
Jul 28 23:05:42 lepis kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Jul 28 23:05:42 lepis kernel: rl0: Ethernet address: 00:50:ba:5c:b0:b6
Jul 28 23:05:42 lepis kernel: rl0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Jul 28 23:05:42 lepis kernel: isa0: <ISA bus> on isab0
Jul 28 23:05:42 lepis kernel: atapci0: <Intel ICH7 UDMA100 controller> port 0xb480-0xb487,0xb400-0xb403,0x8f0-0x8f7,0x8f8-0x8fb,0xac00-0xac0f irq 18 at device 31.1 on pci0
Jul 28 23:05:42 lepis kernel: atapci0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: ata2: <ATA channel 0> on atapci0
Jul 28 23:05:42 lepis kernel: ata2: [ITHREAD]
Jul 28 23:05:42 lepis kernel: atapci1: <Intel ICH7 SATA300 controller> port 0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb80f irq 22 at device 31.2 on pci0
Jul 28 23:05:42 lepis kernel: atapci1: [ITHREAD]
Jul 28 23:05:42 lepis kernel: ata3: <ATA channel 0> on atapci1
Jul 28 23:05:42 lepis kernel: ata3: [ITHREAD]
Jul 28 23:05:42 lepis kernel: ata4: <ATA channel 1> on atapci1
Jul 28 23:05:42 lepis kernel: ata4: [ITHREAD]
Jul 28 23:05:42 lepis kernel: acpi_button0: <Power Button> on acpi0
Jul 28 23:05:42 lepis kernel: atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Jul 28 23:05:42 lepis kernel: ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
Jul 28 23:05:42 lepis kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Jul 28 23:05:42 lepis kernel: ppc0: FIFO with 16/16/9 bytes threshold
Jul 28 23:05:42 lepis kernel: ppc0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: ppbus0: <Parallel port bus> on ppc0
Jul 28 23:05:42 lepis kernel: plip0: <PLIP network interface> on ppbus0
Jul 28 23:05:42 lepis kernel: plip0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: lpt0: <Printer> on ppbus0
Jul 28 23:05:42 lepis kernel: lpt0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: lpt0: Interrupt-driven port
Jul 28 23:05:42 lepis kernel: ppi0: <Parallel I/O> on ppbus0
Jul 28 23:05:42 lepis kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Jul 28 23:05:42 lepis kernel: uart0: [FILTER]
Jul 28 23:05:42 lepis kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Jul 28 23:05:42 lepis kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jul 28 23:05:42 lepis kernel: kbd0 at atkbd0
Jul 28 23:05:42 lepis kernel: atkbd0: [GIANT-LOCKED]
Jul 28 23:05:42 lepis kernel: atkbd0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: pmtimer0 on isa0
Jul 28 23:05:42 lepis kernel: sc0: <System console> at flags 0x100 on isa0
Jul 28 23:05:42 lepis kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jul 28 23:05:42 lepis kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jul 28 23:05:42 lepis kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Jul 28 23:05:42 lepis kernel: ata0: [ITHREAD]
Jul 28 23:05:42 lepis kernel: ata1 at port 0x170-0x177,0x376 irq 15 on isa0
Jul 28 23:05:42 lepis kernel: ata1: [ITHREAD]
Jul 28 23:05:42 lepis kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Jul 28 23:05:42 lepis kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0
Jul 28 23:05:42 lepis kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1
Jul 28 23:05:42 lepis kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1
Jul 28 23:05:42 lepis kernel: Timecounters tick every 1.000 msec
Jul 28 23:05:42 lepis kernel: ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging disabled
Jul 28 23:05:42 lepis kernel: load_dn_sched dn_sched FIFO loaded
Jul 28 23:05:42 lepis kernel: load_dn_sched dn_sched PRIO loaded
Jul 28 23:05:42 lepis kernel: load_dn_sched dn_sched QFQ loaded
Jul 28 23:05:42 lepis kernel: load_dn_sched dn_sched RR loaded
Jul 28 23:05:42 lepis kernel: load_dn_sched dn_sched WF2Q+ loaded
Jul 28 23:05:42 lepis kernel: usbus0: 12Mbps Full Speed USB v1.0
Jul 28 23:05:42 lepis kernel: usbus1: 12Mbps Full Speed USB v1.0
Jul 28 23:05:42 lepis kernel: usbus2: 12Mbps Full Speed USB v1.0
Jul 28 23:05:42 lepis kernel: usbus3: 12Mbps Full Speed USB v1.0
Jul 28 23:05:42 lepis kernel: usbus4: 480Mbps High Speed USB v2.0
Jul 28 23:05:42 lepis kernel: ad4: 38166MB <Seagate ST340015A 3.01> at ata2-master UDMA100
Jul 28 23:05:42 lepis kernel: ugen0.1: <Intel> at usbus0
Jul 28 23:05:42 lepis kernel: uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Jul 28 23:05:42 lepis kernel: ugen1.1: <Intel> at usbus1
Jul 28 23:05:42 lepis kernel: uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
Jul 28 23:05:42 lepis kernel: ugen2.1: <Intel> at usbus2
Jul 28 23:05:42 lepis kernel: uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
Jul 28 23:05:42 lepis kernel: ugen3.1: <Intel> at usbus3
Jul 28 23:05:42 lepis kernel: uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
Jul 28 23:05:42 lepis kernel: ugen4.1: <Intel> at usbus4
Jul 28 23:05:42 lepis kernel: uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
Jul 28 23:05:42 lepis kernel: ad9: 76318MB <Seagate ST380817AS 3.42> at ata4-slave UDMA100 SATA
Jul 28 23:05:42 lepis kernel: SMP: AP CPU #1 Launched!
Jul 28 23:05:42 lepis kernel: GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s).
Jul 28 23:05:42 lepis kernel: Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
Jul 28 23:05:42 lepis kernel: uhub0: 2 ports with 2 removable, self powered
Jul 28 23:05:42 lepis kernel: uhub1: 2 ports with 2 removable, self powered
Jul 28 23:05:42 lepis kernel: uhub2: 2 ports with 2 removable, self powered
Jul 28 23:05:42 lepis kernel: uhub3: 2 ports with 2 removable, self powered
Jul 28 23:05:42 lepis kernel: Root mount waiting for: usbus4
Jul 28 23:05:42 lepis last message repeated 2 times
Jul 28 23:05:42 lepis kernel: uhub4: 8 ports with 8 removable, self powered
Jul 28 23:05:42 lepis kernel: Root mount waiting for: usbus4
Jul 28 23:05:42 lepis kernel: ugen4.2: <ASUS> at usbus4
Jul 28 23:05:42 lepis kernel: ural0: <ASUS 802.11g WLAN Drive, class 0/0, rev 2.00/0.01, addr 2> on usbus4
Jul 28 23:05:42 lepis kernel: ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526
Jul 28 23:05:42 lepis kernel: Trying to mount root from ufs:/dev/ad9s1a
Jul 28 23:05:43 lepis kernel: rl0: link state changed to UP
Jul 28 23:05:57 lepis login: ROOT LOGIN (root) ON ttyv7
Jul 28 23:06:56 lepis login: ROOT LOGIN (root) ON ttyv6
Jul 28 23:15:11 lepis login: ROOT LOGIN (root) ON ttyv6
Jul 28 23:48:17 lepis kernel: ural0: discard raw packet
Jul 28 23:55:36 lepis reboot: rebooted by root
Jul 28 23:55:36 lepis syslogd: exiting on signal 15