Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Помогите установить madwifi  (Прочитано 3703 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Помогите установить madwifi
« : 22 Сентября 2011, 20:09:25 »
Ноут TOSHIBA L30. WiFi 5005A. Год назад или больше ставил на него Ubuntu 10.4 были проблемы с WiFi, типа он есть, конектится, соединяется, но постоянно рвет соединение при увеличении нагрузки. Проблема тогда была решена установкой Madwifi (конечно если мне память не изменяет).
Сейчас на тоже ноут или на другой, но такой же (у меня их два), поставил Ubuntu 11, проблемы с WiFi те же, но вот Madwifi установить никак не выходит.
Что сделал
1. Скачал madwifi-0.9.4.tar.gz
2. Распаковал
3. Make выдает
./kernelversion.c:13:30: fatal error: linux/utsrelease.h: Нет такого файла или каталога
compilation terminated.
Makefile.inc:81: *** Cannot detect kernel version - please check compiler and KERNELPATH.  Останов.
4. make KERNELPATH=/usr/src/linux-headers-2.6.38-11
все тоже самое

Помогите, толи туплю, толи не знаю, в бубен бил, не помогло.

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #1 : 22 Сентября 2011, 20:25:25 »
sudo apt-get install build-essential
?
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #2 : 22 Сентября 2011, 21:15:39 »
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Уже установлена самая новая версия build-essential.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #3 : 22 Сентября 2011, 22:49:18 »
find /usr/ 2>/dev/null | grep "utsrelease\.h"
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #4 : 22 Сентября 2011, 22:58:06 »
/usr/src/linux-headers-2.6.38-11-generic/include/generated/utsrelease.h
/usr/src/linux-headers-2.6.38-8-generic/include/generated/utsrelease.h

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #5 : 22 Сентября 2011, 23:38:17 »
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/* /usr/src/linux-headers-`uname -r`/include/linux/и провери маке
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #6 : 22 Сентября 2011, 23:53:56 »
После make


Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.38-11-generic/build SUBDIRS=/home/kirill/Загрузки/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
  CC [M]  /home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.o
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:48:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make[3]: *** [/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/kirill/Загрузки/madwifi-0.9.4/ath] Ошибка 2
make[1]: *** [_module_/home/kirill/Загрузки/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [modules] Ошибка 2


Пользователь решил продолжить мысль 22 Сентября 2011, 23:56:23:
find /usr/ 2>/dev/null | grep "config\.h"
/usr/src/linux-headers-2.6.38-11/include/net/ipconfig.h
/usr/src/linux-headers-2.6.38-11/include/linux/virtio_config.h
/usr/src/linux-headers-2.6.38-11/include/linux/tipc_config.h
/usr/src/linux-headers-2.6.38-11/arch/powerpc/include/asm/pSeries_reconfig.h
/usr/src/linux-headers-2.6.38-11/arch/powerpc/include/asm/iseries/hv_lp_config.h
/usr/src/linux-headers-2.6.38-11/arch/x86/include/asm/mmconfig.h
/usr/src/linux-headers-2.6.38-11/arch/ia64/include/asm/sn/klconfig.h
/usr/src/linux-headers-2.6.38-11/arch/mips/include/asm/sn/klconfig.h
/usr/src/linux-headers-2.6.38-11/kernel/Kconfig.hz
/usr/src/linux-headers-2.6.38-11-generic/include/config/i2o/config.h
/usr/src/linux-headers-2.6.38-11-generic/include/config/snd/hda/reconfig.h
/usr/src/linux-headers-2.6.38-11-generic/include/config/arch/defconfig.h
/usr/src/linux-headers-2.6.38-11-generic/include/config/pci/mmconfig.h
/usr/src/linux-headers-2.6.38-11-generic/include/linux/virtio_config.h
/usr/src/linux-headers-2.6.38-11-generic/include/linux/tipc_config.h
/usr/src/linux-headers-2.6.38-11-generic/scripts/mod/elfconfig.h
/usr/src/linux-headers-2.6.38-11-generic/scripts/mod/.elfconfig.h.cmd
/usr/src/linux-headers-2.6.38-11-generic/kernel/Kconfig.hz
/usr/src/linux-headers-2.6.38-8/include/net/ipconfig.h
/usr/src/linux-headers-2.6.38-8/include/linux/virtio_config.h
/usr/src/linux-headers-2.6.38-8/include/linux/tipc_config.h
/usr/src/linux-headers-2.6.38-8/arch/powerpc/include/asm/pSeries_reconfig.h
/usr/src/linux-headers-2.6.38-8/arch/powerpc/include/asm/iseries/hv_lp_config.h
/usr/src/linux-headers-2.6.38-8/arch/x86/include/asm/mmconfig.h
/usr/src/linux-headers-2.6.38-8/arch/ia64/include/asm/sn/klconfig.h
/usr/src/linux-headers-2.6.38-8/arch/mips/include/asm/sn/klconfig.h
/usr/src/linux-headers-2.6.38-8/kernel/Kconfig.hz
/usr/src/linux-headers-2.6.38-8-generic/include/config/i2o/config.h
/usr/src/linux-headers-2.6.38-8-generic/include/config/snd/hda/reconfig.h
/usr/src/linux-headers-2.6.38-8-generic/include/config/arch/defconfig.h
/usr/src/linux-headers-2.6.38-8-generic/include/config/pci/mmconfig.h
/usr/src/linux-headers-2.6.38-8-generic/include/linux/virtio_config.h
/usr/src/linux-headers-2.6.38-8-generic/include/linux/tipc_config.h
/usr/src/linux-headers-2.6.38-8-generic/scripts/mod/elfconfig.h
/usr/src/linux-headers-2.6.38-8-generic/scripts/mod/.elfconfig.h.cmd
/usr/src/linux-headers-2.6.38-8-generic/kernel/Kconfig.hz
/usr/include/c++/4.5/i486-linux-gnu/bits/c++config.h
/usr/include/c++/4.5/i686-linux-gnu/bits/c++config.h
/usr/include/python2.7/pyconfig.h
/usr/include/_G_config.h
/usr/include/linux/virtio_config.h
/usr/include/linux/tipc_config.h
/usr/lib/syslinux/com32/include/syslinux/config.h
/usr/lib/syslinux/com32/include/klibc/sysconfig.h
/usr/lib/grub/i386-pc/config.h
/usr/lib/perl/5.10.1/CORE/config.h
/usr/lib/perl/5.10.1/CORE/uconfig.h
/usr/share/gtk-doc/html/evolution-exchange/evolution-exchange-E2kAutoconfig.html
/usr/share/gtk-doc/html/evolution-exchange/ximian-connector-autoconfig.html
/usr/share/cups/doc-root/help/man-cups-config.html
« Последнее редактирование: 22 Сентября 2011, 23:56:23 от kirillvv »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #7 : 23 Сентября 2011, 00:25:40 »
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/autoconf.h /usr/src/linux-headers-`uname -r`/include/linux/config.h
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #8 : 23 Сентября 2011, 00:27:59 »
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.38-11-generic/build SUBDIRS=/home/kirill/Загрузки/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
  CC [M]  /home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.o
In file included from /home/kirill/Загрузки/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45:0,
                 from /home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:71:
/home/kirill/Загрузки/madwifi-0.9.4/ath/../ath/if_athvar.h:98:14: error: conflicting types for 'irqreturn_t'
include/linux/irqreturn.h:16:24: note: previous declaration of 'irqreturn_t' was here
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_attach':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:402:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:426:2: error: implicit declaration of function 'init_MUTEX'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:678:5: error: 'struct net_device' has no member named 'open'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:679:5: error: 'struct net_device' has no member named 'stop'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:680:5: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:681:5: error: 'struct net_device' has no member named 'tx_timeout'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:683:5: error: 'struct net_device' has no member named 'set_multicast_list'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:684:5: error: 'struct net_device' has no member named 'do_ioctl'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:685:5: error: 'struct net_device' has no member named 'get_stats'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:686:5: error: 'struct net_device' has no member named 'set_mac_address'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:687:6: error: 'struct net_device' has no member named 'change_mtu'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_detach':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:958:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1005:5: error: 'struct net_device' has no member named 'stop'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_create':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1014:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1084:11: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_delete':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1248:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_suspend':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1350:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_resume':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1359:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_intr':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1652:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bmiss_tasklet':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1843:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_init':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:1886:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop_locked':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2014:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2078:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_reset':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2182:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_startraw':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2343:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_hardstart':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2558:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mgtstart':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:2875:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_alloc':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3237:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_delete':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3304:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_set':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3380:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_begin':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3395:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_end':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3416:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_merge_mcast':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3489:16: error: 'struct net_device' has no member named 'mc_list'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3489:38: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3491:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3491:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3491:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3491:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3493:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3493:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3493:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3493:10: error: dereferencing pointer to incomplete type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mode_init':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3504:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_updateslot':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3555:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_config':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3585:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_update':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3633:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_turbo_switch_mode':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:3776:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:4368:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_alloc':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:4820:42: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_cleanup':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:4855:42: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_free':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:4909:42: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_capture':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:5404:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_capture':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:5437:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_recv_mgmt':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:5502:42: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_tasklet':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:5574:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_start':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:6013:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_stop':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:6226:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_wme_update':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:6441:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_uapsd_flush':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:6460:42: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_start':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:6655:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:7495:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:7516:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:7551:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_timeout':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:7574:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_calibrate':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:7937:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_start':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8003:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_end':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8023:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_channel':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8041:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_coverageclass':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8057:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mhz2ieee':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8067:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newstate':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8082:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_stationkey':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8471:43: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newassoc':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8631:35: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getchannels':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8662:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_xr_rate_setup':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8832:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_subrates':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8861:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rate_setup':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:8904:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getstats':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9141:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_mac_address':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9164:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_change_mtu':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9196:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_ioctl':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9283:28: error: 'struct net_device' has no member named 'priv'
cc1: warnings being treated as errors
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_sysctl_halparam':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9370:3: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
include/linux/sysctl.h:970:12: note: expected 'loff_t *' but argument is of type 'size_t *'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9370:3: error: too many arguments to function 'proc_dointvec'
include/linux/sysctl.h:970:12: note: declared here
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9562:3: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
include/linux/sysctl.h:970:12: note: expected 'loff_t *' but argument is of type 'size_t *'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9562:3: error: too many arguments to function 'proc_dointvec'
include/linux/sysctl.h:970:12: note: declared here
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: At top level:
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9571:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9571:16: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9574:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9577:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9580:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9583:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9586:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9589:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9592:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9595:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9598:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9601:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9604:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9607:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9610:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9613:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9616:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9620:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9623:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9627:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9630:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9633:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9636:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9639:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9642:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9645:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9648:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9651:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9654:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9657:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9660:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9664:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9667:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9670:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9673:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9677:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9680:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9683:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9686:4: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_dynamic_sysctl_register':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9721:19: error: 'struct ctl_table' has no member named 'ctl_name'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9721:2: error: statement with no effect
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9726:19: error: 'struct ctl_table' has no member named 'ctl_name'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9726:2: error: statement with no effect
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9779:28: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9779:25: error: initialization from incompatible pointer type
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: At top level:
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9829:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9829:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9829:2: error: (near initialization for 'ath_static_sysctls[0].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9837:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9837:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9837:2: error: (near initialization for 'ath_static_sysctls[1].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9844:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9844:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9844:2: error: (near initialization for 'ath_static_sysctls[2].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9851:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9851:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9851:2: error: (near initialization for 'ath_static_sysctls[3].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9858:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9858:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9858:2: error: (near initialization for 'ath_static_sysctls[4].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9865:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9865:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9865:2: error: (near initialization for 'ath_static_sysctls[5].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9877:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9877:2: error: initializer element is not constant
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9877:2: error: (near initialization for 'ath_ath_table[0].procname')
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9884:2: error: unknown field 'ctl_name' specified in initializer
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9884:2: error: initialization makes pointer from integer without a cast
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9926:49: error: 'struct net_device' has no member named 'priv'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9928:24: error: 'struct net_device' has no member named 'open'
/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.c:9928:31: error: comparison of distinct pointer types lacks a cast
make[3]: *** [/home/kirill/Загрузки/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/kirill/Загрузки/madwifi-0.9.4/ath] Ошибка 2
make[1]: *** [_module_/home/kirill/Загрузки/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [modules] Ошибка 2

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #9 : 23 Сентября 2011, 01:04:43 »
11.04 пока патч.
lspci -knn | grep "Net\|Eth" -A2
студию
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #10 : 23 Сентября 2011, 01:06:56 »
lspci -knn | grep "Net\|Eth" -A2
09:02.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
   Subsystem: Toshiba America Info Systems Device [1179:ff31]
   Kernel driver in use: 8139too
--
09:04.0 Ethernet controller [0200]: Atheros Communications Inc. AR2413 802.11bg NIC [168c:001a] (rev 01)
   Subsystem: Askey Computer Corp. Device [144f:7094]
   Kernel driver in use: ath5k

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #11 : 23 Сентября 2011, 01:24:44 »
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
cd ~/
wget http://sites.google.com/site/lnmiitravi/files/ar5007eg-32-0.2.tar.gz -O ar5007eg-32-0.2.tar.gz
cd /etc/ndiswrapper/
sudo tar xvf ~/ar5007eg-32-0.2.tar.gz
sudo ndiswrapper -i /etc/ndiswrapper/ar5007eg/net5211.inf
sudo ndiswrapper -a 168c:001a net5211
sudo sed 's/"\/etc\/modprobe.d\/ndiswrapper";/"\/etc\/modprobe.d\/ndiswrapper.conf";/g' -i /usr/sbin/ndiswrapper-*
sudo ndiswrapper -ma
sudo rmmod ath5k
sudo modprobe ndiswrapper
ifconfig -a
iwlist scan

Пользователь решил продолжить мысль 23 Сентября 2011, 01:54:44:
ИЛИ
cd ~
wget http://snapshots.madwifi-project.org/madwifi-trunk-current.tar.gz
tar xvf madwifi-trunk-current.tar.gz
cd madwifi-trunk-*
make
sudo make install
echo "blacklist ath5k" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist ath5k_pci" | sudo tee -a /etc/modprobe.d/blacklist.conf
sudo rm /etc/modprobe.d/ndisw*
sudo reboot
« Последнее редактирование: 23 Сентября 2011, 02:30:01 от victor00000 »
Wars ~.o

Оффлайн kirillvv

  • Автор темы
  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #12 : 23 Сентября 2011, 02:03:14 »
Спасибо.
Работает стабильно связь не рвет, только по ощущениям ноут подтупливать стал.
Разглядываю системный монитор, если чего найду отпишусь.

Пользователь решил продолжить мысль 23 Сентября 2011, 02:34:33:
После установки драйверов Window сеть работала но ноут тупит, ему так уже лет пять.
После установки madwifi-trunk wifi нету вообще, видимо с blacklist где-то перестарался.
lspci -knn | grep "Net\|Eth" -A2
09:02.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
   Subsystem: Toshiba America Info Systems Device [1179:ff31]
   Kernel driver in use: 8139too
--
09:04.0 Ethernet controller [0200]: Atheros Communications Inc. AR2413 802.11bg NIC [168c:001a] (rev 01)
   Subsystem: Askey Computer Corp. Device [144f:7094]
   Kernel modules: ath_pci, ath5k



Пользователь решил продолжить мысль 23 Сентября 2011, 03:02:17:
помогает
modprobe ath_pci
после wifi работает, ноут не тормозит. но только до перезагрузки

Пользователь решил продолжить мысль 23 Сентября 2011, 03:39:47:
обнаружил файл
/etc/modprobe.d/blacklist-ath_pci.conf
закоментил там строчку
blacklist ath_pci
ура все работает, быстро и красиво.
огромное спасибо за помощь.
« Последнее редактирование: 23 Сентября 2011, 03:39:47 от kirillvv »

Оффлайн valen.5

  • Новичок
  • *
  • Сообщений: 5
    • Просмотр профиля
Re: Помогите установить madwifi
« Ответ #13 : 06 Декабря 2011, 21:28:50 »
проблема такая же, делал согласно сценария нет сигналов

 

Страница сгенерирована за 0.022 секунд. Запросов: 22.