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


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: [РЕШЕНО] Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)  (Прочитано 6599 раз)

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

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #30 : 27 Июня 2011, 23:36:15 »
:~$ cat  /etc/udev/rules.d/70-persistent-net.rules
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:33:4a:0e:7a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# USB device 0x0bda:0x8198 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:63:23:1b:ae", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #31 : 27 Июня 2011, 23:46:18 »
Редактор
найти
# USB device 0x0bda:0x8198 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:63:23:1b:ae", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Заменить

DRIVERS=="ndiswrapper"
Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #32 : 28 Июня 2011, 00:01:09 »
Не помогло....
:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

wlan1     Failed to read scan data : Network is down

anastasiya@tosha:~$ sudo ifconfig wlan0 up
[sudo] password for anastasiya:
wlan0: ОШИБКА при получении флагов интерфейса: Нет такого устройства
anastasiya@tosha:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         
anastasiya@tosha:~$ cat  /etc/udev/rules.d/70-persistent-net.rules
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:33:4a:0e:7a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# USB device 0x0bda:0x8198 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="ndiswrapper", ATTR{address}=="00:21:63:23:1b:ae", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x0bda:0x8198 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:63:23:1b:ae", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #33 : 28 Июня 2011, 00:11:33 »
ndiswrapper -l
dmesg | grep ndiswrapper
ls -d /etc/ndiswrapper/*
ls /etc/ndiswrapper/*
покажи

Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #34 : 28 Июня 2011, 00:40:09 »
:~$ ndiswrapper -l
net8187b : driver installed
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K: Отказано в доступе
WinXP2K : invalid driver!
anastasiya@tosha:~$ dmesg | grep ndiswrapper
[   21.621885] ndiswrapper version 1.55 loaded (smp=yes, preempt=no)
[   21.728390] usbcore: registered new interface driver ndiswrapper
anastasiya@tosha:~$ ls -d /etc/ndiswrapper/*
/etc/ndiswrapper/net8187b  /etc/ndiswrapper/WinXP2K
anastasiya@tosha:~$ ls /etc/ndiswrapper/*
/etc/ndiswrapper/net8187b:
0BDA:8187.F.conf  0BDA:8189.F.conf  net8187b.inf  rtl8187b.sys
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K: Отказано в доступе


Пользователь решил продолжить мысль 28 Июня 2011, 00:40:41:
думаю, что можно сделать
sudo chmod 777 /etc/ndiswrapper/WinXP2K

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #35 : 28 Июня 2011, 01:01:49 »
Неее
Ты был сделал
sudo ndiswrapper -i /etc/ndiswrapper/WinXP2K
Отказано процесс стоять ndiswrapper
---------------------------------------
Повторю
sudo rmmod ndiswrapper
sudo rmmod rtl8187
ls /etc/ndiswrapper/WinXP2K/
sudo ndiswrapper -i /etc/ndiswrapper/WinXP2K/ГДЕ_ФАЙЛ_ТОЛЬКО_ИНФ.inf
sudo modprobe ndiswrapper
ndiswrapper -l
iwlist scan
Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #36 : 28 Июня 2011, 01:19:44 »
:~$ sudo rmmod ndiswrapper
[sudo] password for anastasiya:
anastasiya@tosha:~$ sudo rmmod rtl8187
anastasiya@tosha:~$ ls /etc/ndiswrapper/WinXP2K/
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K/: Отказано в доступе
anastasiya@tosha:~$ sudo ls /etc/ndiswrapper/WinXP2K/
net8187b.cat  net8187b.inf  rtl8187B.sys
anastasiya@tosha:~$ sudo ndiswrapper -i /etc/ndiswrapper/WinXP2K/net8187b.inf
driver net8187b is already installed
anastasiya@tosha:~$ sudo modprobe ndiswrapper
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook.modprobe, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook, it will be ignored in a future release.
anastasiya@tosha:~$ ndiswrapper -l
net8187b : driver installed
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K: Отказано в доступе
WinXP2K : invalid driver!
anastasiya@tosha:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

anastasiya@tosha:~$ sudo ifconfig wlan1 up
wlan1: ОШИБКА при получении флагов интерфейса: Нет такого устройства
anastasiya@tosha:~$ sudo ifconfig wlan0 up
wlan0: ОШИБКА при получении флагов интерфейса: Нет такого устройства
anastasiya@tosha:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #37 : 28 Июня 2011, 01:27:16 »
Повторю
sudo rmmod ndiswrapper
sudo rmmod rtl8187
ls /etc/ndiswrapper/net8187b/
sudo ndiswrapper -a 0bda:8198 net8187b
sudo ndiswrapper -i /etc/ndiswrapper/net8187b/net8187b.inf
sudo modprobe ndiswrapper
ndiswrapper -l
iwlist scan
« Последнее редактирование: 28 Июня 2011, 01:49:11 от victor00000 »
Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #38 : 28 Июня 2011, 01:47:37 »
:~$ sudo rmmod ndiswrapper
[sudo] password for anastasiya:
anastasiya@tosha:~$ sudo rmmod rtl8187
ERROR: Module rtl8187 does not exist in /proc/modules
anastasiya@tosha:~$ ls /etc/ndiswrapper/net8187b/
0BDA:8187.F.conf  0BDA:8189.F.conf  net8187b.inf  rtl8187b.sys
anastasiya@tosha:~$ sudo ndiswrapper -i /etc/ndiswrapper/net8187b/net8187b.inf
driver net8187b is already installed
anastasiya@tosha:~$ sudo modprobe ndiswrapper
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook.modprobe, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook, it will be ignored in a future release.
anastasiya@tosha:~$ ndiswrapper -l
net8187b : driver installed
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K: Отказано в доступе
WinXP2K : invalid driver!
anastasiya@tosha:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #39 : 28 Июня 2011, 01:50:43 »
Повторю
sudo rmmod ndiswrapper
sudo rmmod rtl8187
ls /etc/ndiswrapper/net8187b/
sudo ndiswrapper -a 0bda:8198 net8187b
sudo ndiswrapper -i /etc/ndiswrapper/net8187b/net8187b.inf
sudo modprobe ndiswrapper
ndiswrapper -l
iwlist scan
Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #40 : 28 Июня 2011, 12:42:09 »
:~$ sudo rmmod ndiswrapper
anastasiya@tosha:~$ sudo rmmod rtl8187
anastasiya@tosha:~$ ls /etc/ndiswrapper/net8187b/
0BDA:8187.F.conf  0BDA:8198.F.conf  rtl8187b.sys
0BDA:8189.F.conf  net8187b.inf
anastasiya@tosha:~$ sudo ndiswrapper -a 0bda:8198 net8187b
Driver 'net8187b' is already used for '0BDA:8198'
anastasiya@tosha:~$ sudo ndiswrapper -i /etc/ndiswrapper/net8187b/net8187b.inf
driver net8187b is already installed
anastasiya@tosha:~$ sudo modprobe ndiswrapper
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook.modprobe, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook, it will be ignored in a future release.
anastasiya@tosha:~$ ndiswrapper -l
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook.modprobe, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/omnibook, it will be ignored in a future release.
net8187b : driver installed
device (0BDA:8198) present (alternate driver: rtl8187)
ls: невозможно открыть каталог /etc/ndiswrapper/WinXP2K: Отказано в доступе
WinXP2K : invalid driver!
anastasiya@tosha:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

wlan1     Scan completed :
          Cell 01 - Address: 8A:A9:DC:61:B5:F5
                    ESSID:"UbunTuWiFi"
                    Protocol:IEEE 802.11g
                    Mode:Ad-Hoc
                    Frequency:2.412 GHz (Channel 1)
                    Quality:51/100  Signal level:-63 dBm  Noise level:-96 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
     
anastasiya@tosha:~$ cat /etc/rc.local
#!/bin/sh -e
[...]
mount -a

iwconfig wlan0 rate 5.5M fixed
rmmod rtl8187
modprobe ndiswrapper

exit 0

Заработало!!!!! Через NM коннектится!!!!

Только после перезагрузки падает((((
Что нужно изменить в rc.local?

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #41 : 28 Июня 2011, 19:36:10 »
sudo rmmod ndiswrapper
sudo rmmod rtl8187
ls /etc/ndiswrapper/net8187b/
sudo rm -R /etc/ndiswrapper/WinXP2K
sudo mv /etc/modprobe.d/blacklist /etc/modprobe.d/blacklistf.conf
sudo  mv /etc/modprobe.d/omnibook.modprobe /etc/modprobe.d/omnibook.modprobe.conf
sudo rm /etc/modprobe.d/ndiswrapper
sudo mv /etc/modprobe.d/omnibook /etc/modprobe.d/omnibook.conf
sudo sed 's/"\/etc\/modprobe.d\/ndiswrapper";/"\/etc\/modprobe.d\/ndiswrapper.conf";/g' -i /usr/sbin/ndiswrapper-*
sudo ndiswrapper -a 0bda:8198 net8187b
sudo ndiswrapper -i /etc/ndiswrapper/net8187b/net8187b.inf
sudo ndiswrapper -ma
sudo modprobe ndiswrapper
ndiswrapper -l
iwlist scan
anastasiya@tosha:~$ cat /etc/rc.local
#!/bin/sh -e
[...]
mount -a

iwconfig wlan0 rate 5.5M fixed
rmmod rtl8187
modprobe ndiswrapper

« Последнее редактирование: 28 Июня 2011, 19:38:44 от victor00000 »
Wars ~.o

Оффлайн ___WereMax___

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
  • Бубен -самая нужная вещь СИС-админа
    • Просмотр профиля
Re: Проблема с WiFi на Toshiba a300-1g2 (RTL8187B Wireless Adapter)
« Ответ #42 : 28 Июня 2011, 21:20:55 »
ООООООООООО!!!!
Все заработало!!!

victor00000, огромное спасибо!!!!!!

 

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