LinuxForum.Fans
Тема

Wi-Fi

Автор: vux 51 сообщений 14597 просмотров
#232127

emerge -av broadcom-sta

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild fUD ] net-wireless/broadcom-sta-5.100.82.38-r1 [5.100.82.112-r2] 0 kB

Total: 1 package (1 downgrade), Size of downloads: 0 kB
Fetch Restriction: 1 package

following installed packages are masked:- sys-kernel/gentoo-sources-3.2.6::gentoo (masked by: package.mask)
/etc/portage/package.mask:
#>net-wireless/broadcom-sta-5.100.82.112-r1

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-wireless/broadcom-sta-5.100.82.38-r1
* hybrid-portsrc_x86_64-v5_100_82_38.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 3.0.6
* Checking for suitable kernel configuration options...
* CONFIG_WIRELESS_EXT: is not set when it should be.
* Starting with 2.6.33, it is not possible to set WEXT_PRIV directly. We recommend to set another symbol selecting WEXT_PRIV, for example, PRISM54, IPW2200 and so on. See Bug #248450 comment#98.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
* ERROR: net-wireless/broadcom-sta-5.100.82.38-r1 failed (setup phase):
* Incorrect kernel configuration options
*
* Call stack:
* ebuild.sh, line 85: Called pkg_setup
* broadcom-sta-5.100.82.38-r1.ebuild, line 44: Called linux-mod_pkg_setup
* linux-mod.eclass, line 585: Called linux-info_pkg_setup
* linux-info.eclass, line 889: Called check_extra_config
* linux-info.eclass, line 783: Called die
* The specific snippet of code:
* die "Incorrect kernel configuration options"
*
* If you need support, post the output of 'emerge --info =net-wireless/broadcom-sta-5.100.82.38-r1',
* the complete build log and the output of 'emerge -pqv =net-wireless/broadcom-sta-5.100.82.38-r1'.
* The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/temp/die.env'.
* S: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/work'

>>> Failed to emerge net-wireless/broadcom-sta-5.100.82.38-r1, Log file:

>>> '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/temp/build.log'

* Messages for package net-wireless/broadcom-sta-5.100.82.38-r1:

* CONFIG_WIRELESS_EXT: is not set when it should be.
* Starting with 2.6.33, it is not possible to set WEXT_PRIV directly. We recommend to set another symbol selecting WEXT_PRIV, for example, PRISM54, IPW2200 and so on. See Bug #248450 comment#98.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
* ERROR: net-wireless/broadcom-sta-5.100.82.38-r1 failed (setup phase):
* Incorrect kernel configuration options
*
* Call stack:
* ebuild.sh, line 85: Called pkg_setup
* broadcom-sta-5.100.82.38-r1.ebuild, line 44: Called linux-mod_pkg_setup
* linux-mod.eclass, line 585: Called linux-info_pkg_setup
* linux-info.eclass, line 889: Called check_extra_config
* linux-info.eclass, line 783: Called die
* The specific snippet of code:
* die "Incorrect kernel configuration options"
*
* If you need support, post the output of 'emerge --info =net-wireless/broadcom-sta-5.100.82.38-r1',
* the complete build log and the output of 'emerge -pqv =net-wireless/broadcom-sta-5.100.82.38-r1'.
* The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/temp/die.env'.
* S: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.38-r1/work'


Это ядро 3.0.6.
Я добавляю эту опцию вручную в .config
но после очередного make oldconfig или make menuconfig опция исчезает из .config
и broadcom-sta опять не хочет собираться
#232133

Значит данная опция зависит от другой опции, которую тоже над включить!
Мой кнфиг не пробовали?
Его немного по идее подредактировать надо.
попробуйте menuconfig

text
Networking support  --->
                     Wireless  --->
                        <M>   cfg80211 - wireless configuration API

Дальше по названию видно что надо включить.

#232312

Короче собрал последнее ядро с b43 - работает!
Не понял почему раньше не работало с b43 - но поскольку в гугле все на мою модель вайфая ставят broadcom-sta то я и зациклился на этом.
А оказалось как раз все наоборот. Насколько я понимаю последние версии ядра\broadcom-sta не дружат с этой моделью - это имхо.
Вобщем большое всем человеческое спасиба за участие!!! :rolleyes: Проблема решена.

#232343

Ну не все ставят wink
У меня сначала на b43 работало, затем перешел на проприетарные дрова, вроде как broadcom-sta предоставляет большие возможности для работы с wi-fi, по этому все и ставят именно broadcom-sta.

#232417

мою карту b43 посылает в эротич путешествие. и даже официально заявлено.
поэтому юзаю sta

#232436

я кстате всьотаки установил ста. Проблема скорее всего была в настойках ядра. Щас все пашет на ~amd64

#232654

меня еще интересует такая мелочь.
При загрузке системы dhcpcd запускаеться 2 раза.
Я в загрузку добавлял только свой вайфай интерфейс: rc-update add eth0 ну и блютус
а система когда гузиться то пытаеться dhcpcd запустить еще на раннем этапе:
[console]start-stop-daemon: failed to start `/sbin/dhcpcd`
Failed to start dhcpcd
ERROR: dhcpcd failed to start[/console]

потом ее запускает мой интерфейс и все нормально.
мелочь но режет глаза. Нигде вроде но добавлено ранее dhcpcd

#232658

А что в /etc/conf.d/net?
Покажите вывод команды

text
rc-config show --all
#232697

[console]modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
config_eth1=( "dhcp" )[/console]
все довольно банально - интерфейс eth0 - ethernet - не использую

[console]# rc-config show all
Status of init scripts in runlevel "boot"
alsasound [started]
bootmisc [started]
fsck [started]
hostname [started]
hwclock [started]
keymaps [started]
localmount [started]
modules [started]
mtab [started]
net.lo [started]
procfs [started]
root [started]
swap [started]
sysctl [started]
termencoding [started]
urandom [started]
Status of init scripts in runlevel "default"
bluetooth [started]
local [started]
net.eth1 [started]
netmount [started]
udev-postmount [started]
Status of init scripts in runlevel "shutdown"
killprocs [stopped]
mount-ro [stopped]
savecache [stopped]
Status of init scripts in runlevel "sysinit"
devfs [started]
dhcpcd [started]
dmesg [started]
udev [started]
[/console]

и еще - гдето в гугле увидел что иногда в net в вайфай вставляют строчку [console]dhcp_eth1="nontp nonis"[/console]
что она дает? Все работает и с ней и без нее/

и еще - тот dhcp что запускаеться при загрузке интерфейсом eth1 - запускаеться медленно - задержка гдето 15 сек.

#232704

vux, в самом начале темы я уже писал, что вы используете старый синтаксис /etc/conf.d/net.

vux написал:

[console]Status of init scripts in runlevel "sysinit"
devfs [started]
dhcpcd [started][/console]

Откуда он тут?

vux написал:
что она дает? Все работает и с ней и без нее/

Если мне не изменяет память, это позволяет при получении настроек от dhcp-сервера не переписывать сервера синхронизации времени NTP и информационной службы сети NIS.

#232706

Не знаю как оно попало в sysinit но я убрял - и все нормально + плюс теперь нет задержки - благодарю!

Войдите или зарегистрируйтесь, чтобы ответить.