Wifi при старте: совсем глупый вопрос.

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
xxor
рядовой
Сообщения: 42
Зарегистрирован: 2011-02-24 14:34:12

Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение xxor » 2011-12-02 18:37:26

Всех приветствую. Вопрос совсем глупый, в гугле не забанен, маны курил.
ОС - FreeBSD 9. Pre-release.
Подключил на ноуте wifi, всё прекрасно, только хочу, чтобы он включался при старте.
Сейчас помогает только гуёвая утилита wifi network manager, или если из консоли -

Код: Выделить всё

sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
Попробовал положить скрипт wifi с правами на запуск в каталог /usr/local/etc/rc.d что-то вроде

Код: Выделить всё

#!/bin/sh
echo -n ' Wi-fi'

case "$1" in
start)
        wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
        ;;
stop)
        killall wpa_supplicant
        ;;
*)
        echo "Usage: `basename $0` {start|stop}" >&2
        exit 64
        ;;
esac

exit 0
Но вайфая нет.
Подозреваю, что и не скриптом надо, может он рано стартует?

Заранее благодарен за помощь.
С уважением.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
xxor
рядовой
Сообщения: 42
Зарегистрирован: 2011-02-24 14:34:12

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение xxor » 2011-12-03 13:49:46

Ну видимо, не такой уж и глупый вопрос.

/etc/rc.conf

Код: Выделить всё

hostname="localhost.dell"
#keymap=ru.koi8-r.kbd
sshd_enable="YES"
hald_enable="NO"
dbus_enable="YES"
megafon_enable="YES"
snd_driver_load="YES"
kdm4_enable="YES"
snd_hda_load="YES"
linux_enable="YES"
devfs_system_ruleset="system"
devfs_enable="YES"

# Enable HP LaserJet P1005
p1005_enable="YES"

cupsd_enable="YES"
wlans_bwn0="wlan0"

ifconfig_wlan0="WPA DHCP"
hostapd_enable="YES"
moused_enable="NO"
moused_nondefault_enable="NO"
moused_type="auto"
fusefs_enable="YES"
/boot/loader.conf

Код: Выделить всё

snd_hda_load="YES"
hw.snd.default_unit=1
hint.hdac.0.config="gpio2"
hint.hdac.0.cad2.nid13.config="device=Speaker conn=Fixed"
vboxdrv_load="YES"

if_bwn_load="YES"

sem_load="YES"
wlan_xauth_load="YES"
ums_load="YES"

if_wi_load="YES"
wlan_load="YES"
wlan_amrr_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
bwn_v4_ucode_load="YES"
siba_bwn_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"

mmc_load="YES"
mmcsd_load="YES"
sdhci_load="YES"
/etc/wpa_supplicant.conf

Код: Выделить всё

# /etc/wpa_supplicant.conf written by wifimgr(8)

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
        #: HTC
        ssid="XXOR"
        bssid=90:21:55:e8:85:b7
        key_mgmt=WPA-PSK
        proto=RSN
        scan_ssid=1
        priority=2
        psk="12340965464334222"
}
С уважением.

Аватара пользователя
xxor
рядовой
Сообщения: 42
Зарегистрирован: 2011-02-24 14:34:12

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение xxor » 2011-12-03 13:58:38

Ну и вывод dmesg (не могу отредактировать предыдущее сообщение).

Код: Выделить всё

Copyright (c) 1992-2011 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 9.0-PRERELEASE #0: Mon Nov 14 16:27:04 MSK 2011
    root@localhost.dell:/usr/obj/usr/src/sys/GENERIC i386
module_register: module pccard/wi already exists!
Module pccard/wi failed to register: 17
module_register: module pci/wi already exists!
Module pci/wi failed to register: 17
CPU: Intel(R) Core(TM)2 Duo CPU     T5850  @ 2.16GHz (2161.30-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
  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=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 3221225472 (3072 MB)
avail memory = 3131449344 (2986 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <DELL   M08    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <DELL M08    > on motherboard
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 100000, bf56d800 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xeff8-0xefff mem 0xfea00000-0xfeafffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
agp0: <Intel GM965 SVGA controller> on vgapci0
agp0: aperture size is 256M, detected 7676k stolen memory
vgapci1: <VGA-compatible display> mem 0xfeb00000-0xfebfffff at device 2.1 on pci0
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0
usbus2: EHCI version 1.0
usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0
hdac0: <Intel 82801H High Definition Audio Controller> mem 0xfe9fc000-0xfe9fffff irq 21 at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci9: <ACPI PCI bus> on pcib1
mskc0: <Marvell Yukon 88E8040 Fast Ethernet> port 0xde00-0xdeff mem 0xfe8fc000-0xfe8fffff irq 16 at device 0.0 on pci9
msk0: <Marvell Technology Group Ltd. Yukon FE+ Id 0xb8 Rev 0x00> on mskc0
msk0: disabling jumbo frame support
msk0: Ethernet address: 00:1d:09:61:91:ff
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E3016 10/100 Fast Ethernet PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
pcib2: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci11: <ACPI PCI bus> on pcib2
siba_bwn0: <Broadcom BCM4312 802.11a/b/g Wireless> mem 0xfe7fc000-0xfe7fffff irq 17 at device 0.0 on pci11
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4311 rev 10) PHY (analog 4 type 2 rev 8) RADIO (manuf 0x17f ver 0x2050 rev 2)
bwn0: DMA (32 bits)
bwn0: Using 1 MSI messages
pcib3: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci12: <ACPI PCI bus> on pcib3
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0
uhci2: LegSup = 0x2f00
usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0
uhci3: LegSup = 0x2f00
usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0
uhci4: LegSup = 0x2f00
usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0
usbus6: EHCI version 1.0
usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib4
fwohci0: <1394 Open Host Controller Interface> mem 0xfe3ff800-0xfe3fffff irq 16 at device 9.0 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 47:4f:c0:00:35:3d:e8:70
fwohci0: Phy 1394a available S400, 1 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 0x14b0000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 46:4f:c0:3d:e8:70
fwe0: Ethernet address: 46:4f:c0:3d:e8:70
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 47:4f:c0:00:35:3d:e8:70 @ 0xfffe00000000, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
sdhci0: <RICOH R5C822 SD> mem 0xfe3ff400-0xfe3ff4ff irq 18 at device 9.1 on pci2
sdhci0: 1 slot(s) allocated
pci2: <base peripheral> at device 9.2 (no driver attached)
pci2: <base peripheral> at device 9.3 (no driver attached)
pci2: <base peripheral> at device 9.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ahci0: <Intel ICH8M AHCI SATA controller> port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eff mem 0xfe9fb800-0xfe9fbfff irq 17 at device 31.2 on pci0
ahci0: AHCI v1.10 with 3 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 2 on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64,0x62,0x66 irq 1 on acpi0
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 GlidePoint, device ID 0
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x77 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 2 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
vboxdrv: fAsync=0 offMin=0x138 offMax=0x478
hdac0: HDA Codec #0: Conexant (Unknown)
hdac0: HDA Codec #1: Silicon Image SiI1392 HDMI
hdac0: HDA Codec #2: Sigmatel STAC9228X
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
pcm0: <HDA Silicon Image SiI1392 HDMI PCM #0 HDMI> at cad 1 nid 1 on hdac0
pcm1: <HDA Sigmatel STAC9228X PCM #0 Analog> at cad 2 nid 1 on hdac0
pcm2: <HDA Sigmatel STAC9228X PCM #1 Analog> at cad 2 nid 1 on hdac0
pcm3: <HDA Sigmatel STAC9228X PCM #2 Digital> at cad 2 nid 1 on hdac0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
ada0 at ahcich0 bus 0 scbus1 target 0 lun 0
ada0: <WDC WD1600BEVT-75ZCT1 11.01A11> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <PBDS DVD+-RW DS-8W1P BD1B> Removable CD-ROM SCSI-0 device 
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
Root mount waiting for: usbus6 usbus2
Root mount waiting for: usbus6 usbus2
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus6 usbus2
uhub6: 6 ports with 6 removable, self powered
ugen2.2: <OmniVision Technologies, Inc. -2640-07.07.20.3> at usbus2
Trying to mount root from ufs:/dev/ada0s3a [rw]...
ugen5.2: <Broadcom> at usbus5
uhub7: <Broadcom BCM2045B2, class 9/0, rev 2.00/1.00, addr 2> on usbus5
ugen3.2: <Logitech> at usbus3
ums0: <Logitech USB-PS2 Optical Mouse, class 0/0, rev 2.00/22.00, addr 2> on usbus3
ums0: 8 buttons and [XYZ] coordinates ID=0
uhub7: 3 ports with 0 removable, bus powered
ugen5.3: <Broadcom Corp> at usbus5
ukbd0: <Broadcom Corp product 0x4502, class 0/0, rev 2.00/1.00, addr 3> on usbus5
kbd2 at ukbd0
ugen5.4: <Broadcom Corp> at usbus5
ums1: <Broadcom Corp product 0x4503, class 0/0, rev 2.00/1.00, addr 4> on usbus5
ums1: 3 buttons and [XY] coordinates ID=2
wlan0: Ethernet address: 00:22:68:95:34:1b
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
bwn0: status of RF switch is changed to OFF
bwn0: please turn on the RF switch
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x1)
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
wlan0: link state changed to DOWN
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost
bwn0: status of RF switch is changed to OFF
bwn0: please turn on the RF switch
drm0: <Intel i965GM> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730
bwn0: need multicast update callback
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
bwn0: status of RF switch is changed to OFF
bwn0: please turn on the RF switch
wlan0: link state changed to UP
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
bwn0: RX decryption attempted (old 0 keyidx 0x1)
Кстати насчёт

Код: Выделить всё

bwn0: status of RF switch is changed to OFF
У меня на ноуте (Dell Inspiron 1525) переключатель имеет три положения. ON - OFF, это понятно, и ещё одно без фиксации - в виндах так запускался отдельно wifi. Сейчас при этом сообщении без перевода кнопки wifi запускается (впрочем, и кнопка сама в положении ON).
С уважением.

Аватара пользователя
xxor
рядовой
Сообщения: 42
Зарегистрирован: 2011-02-24 14:34:12

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение xxor » 2011-12-03 17:41:34

Попытался сделать так:

/usr/local/etc/rc.d/wifi

Код: Выделить всё

#!/bin/sh
sleep 15
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
Не помогло.
С уважением.

Аватара пользователя
xxor
рядовой
Сообщения: 42
Зарегистрирован: 2011-02-24 14:34:12

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение xxor » 2011-12-03 21:35:32

Продолжаем эксперимент. Попробовал через cron (КДЕ - планировщик заданий) - не помогло.

Редактировал по всякому файл в rc.d. С ключевыми словами - всё как полагается.

Например.

Код: Выделить всё

#!/bin/sh

# PROVIDE: wifi
# REQUIRE: LOGIN
# KEYWORD: shutdown

/etc/rc.d/netif start
Причём если после загрузки просто /etc/rc.d/netif start - всё тоже включается.

Вот так.

sudo /etc/rc.d/netif start

Код: Выделить всё

ifconfig: create: bad value
Starting wpa_supplicant.
wpa_supplicant already running? (pid=3625).
Starting Network: lo0 msk0 bwn0 fwe0 fwip0 wlan0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0xc 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
msk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8010a<TXCSUM,VLAN_MTU,TSO4,LINKSTATE>
        ether 00:1d:09:61:91:ff
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
bwn0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 00:22:68:95:34:1b
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 46:4f:c0:3d:e8:70
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        lladdr 47.4f.c0.0.35.3d.e8.70.a.2.ff.fe.0.0.0.0
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:22:68:95:34:1b
        inet 192.168.1.36 netmask 0xffffff00 broadcast 192.168.1.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 1 (2412 MHz 11g)
        country US authmode WPA1+WPA2/802.11i privacy MIXED deftxkey 2
        txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250
        roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL
Вы хоть подскажите, куда копать. )
С уважением.

Аватара пользователя
??????
рядовой
Сообщения: 37
Зарегистрирован: 2011-12-02 18:40:06
Откуда: ????????, ????????

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение ?????? » 2011-12-03 21:54:14

/etc/crontab спасёт отца русской демократии. )

Код: Выделить всё

@reboot root    /etc/rc.d/netif start

snorlov
подполковник
Сообщения: 3832
Зарегистрирован: 2008-09-04 11:51:25
Откуда: Санкт-Петербург

Re: Wifi при старте: совсем глупый вопрос.

Непрочитанное сообщение snorlov » 2011-12-04 14:31:05

xxor
А вы не пробовали выключить в rc.conf старт hostapd