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


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: wifi&runtu  (Прочитано 1415 раз)

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

Оффлайн kuzyara

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
  • java here, java there, java every facking where
    • Просмотр профиля
wifi&runtu
« : 14 Октября 2010, 11:01:23 »
Здравствуйте. У меня стоит runtu10.04 и NDISwrapper для вафли. При переходе от одной беспроводной сети к другой линк сам не поднимается. Помогает только ребут системы.
kol@kol-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:54:81:29:47 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:26 Base address:0x6000

lo        Link encap:Локальная петля (Loopback) 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3478 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:404483 (404.4 KB)  TX bytes:404483 (404.4 KB)

vboxnet0  Link encap:Ethernet  HWaddr 0a:00:27:00:00:00 
          inet addr:192.168.56.1  Bcast:192.168.56.255  Mask:255.255.255.0
          inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:88841 (88.8 KB)

wlan0     Link encap:Ethernet  HWaddr f0:7b:cb:3f:0f:8b 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:331625 errors:0 dropped:0 overruns:0 frame:0
          TX packets:174507 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:478705080 (478.7 MB)  TX bytes:13875694 (13.8 MB)
          Interrupt:16 Память:f0100000-f0110000

kol@kol-laptop:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          SIOCDELRT: No such process
There is already a pid file /var/run/dhclient.wlan0.pid with pid 2201
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.0.77 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
cat: /sys/module/p80211/parameters/wlan_wext_write: No such file or directory
ssh stop/waiting
ssh start/running, process 30884
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module p80211 not found.
Failed to load p80211.ko.
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
ssh stop/waiting
ssh start/running, process 31078
                                                                         [ OK ]
kol@kol-laptop:~$


можно решить эту проблему какнибудь по мягкому?

Оффлайн БТР

  • Заслуженный пользователь
  • СуперМодератор
  • Старожил
  • *
  • Сообщений: 6293
    • Просмотр профиля
Re: wifi&runtu
« Ответ #1 : 14 Октября 2010, 11:06:09 »
Отключать/подключать соединение в Wicd пробовал?

И перезапускать демон Wicd.

Оффлайн kuzyara

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
  • java here, java there, java every facking where
    • Просмотр профиля
Re: wifi&runtu
« Ответ #2 : 15 Ноября 2011, 15:40:39 »
Отключать/подключать соединение в Wicd пробовал?

И перезапускать демон Wicd.

соединения как бы и так нет, а перезапуск демона никак не влияет.

kol@kol-laptop:~$ sudo ifdown wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 5727
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.0.6 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
cat: /sys/module/p80211/parameters/wlan_wext_write: No such file or directory

kol@kol-laptop:~$ sudo ifup wlan0
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module p80211 not found.
Failed to load p80211.ko.
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   LPF/wlan0/f0:7b:cb:3f:0f:8b
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
^C

kol@kol-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     No scan results

vboxnet0  Interface doesn't support scanning.

kol@kol-laptop:~$ sudo reboot

tail /var/log/wicd/wicd.log
2011/11/15 19:18:42 :: ---------------------------
2011/11/15 19:18:42 :: wicd initializing...
2011/11/15 19:18:42 :: ---------------------------
2011/11/15 19:18:42 :: wicd is version 1.7.0 552
2011/11/15 19:18:42 :: setting backend to external
2011/11/15 19:18:42 :: trying to load backend external
2011/11/15 19:18:42 :: successfully loaded backend external
2011/11/15 19:18:42 :: trying to load backend external
2011/11/15 19:18:42 :: successfully loaded backend external
2011/11/15 19:18:42 :: Automatically detected wireless interface wlan0
2011/11/15 19:18:42 :: setting wireless interface wlan0
2011/11/15 19:18:42 :: automatically detected wired interface eth0
2011/11/15 19:18:42 :: setting wired interface eth0
2011/11/15 19:18:42 :: setting wpa driver wext
2011/11/15 19:18:42 :: setting use global dns to True
2011/11/15 19:18:42 :: setting global dns
2011/11/15 19:18:42 :: global dns servers are 192.168.0.6 None None
2011/11/15 19:18:42 :: domain is None
2011/11/15 19:18:42 :: search domain is None
2011/11/15 19:18:42 :: setting automatically reconnect when connection drops True
2011/11/15 19:18:42 :: Setting dhcp client to 0
2011/11/15 19:18:42 :: Wireless configuration file found...
2011/11/15 19:18:42 :: Wired configuration file found...
2011/11/15 19:18:42 :: chmoding configuration files 0600...
2011/11/15 19:18:42 :: chowning configuration files root:root...
2011/11/15 19:18:42 :: Using wireless interface...wlan0
2011/11/15 19:18:42 :: Using wired interface...eth0
2011/11/15 19:18:48 :: Autoconnecting...
2011/11/15 19:18:48 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:18:51 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:18:53 :: Autoconnecting...
2011/11/15 19:18:53 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:18:56 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:18:58 :: Autoconnecting...
2011/11/15 19:18:58 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:19:01 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:19:17 :: Autoconnecting...
2011/11/15 19:19:17 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:19:20 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:20:20 :: Daemon going down, killing wicd-monitor...
2011/11/15 19:20:20 :: Removing PID file...
2011/11/15 19:20:20 :: Shutting down...
2011/11/15 19:20:20 :: Exception KeyError: KeyError(-1217120576,) in <module 'threading' from '/usr/lib/python2.6/threading.pyo'> ignored
2011/11/15 19:20:21 :: ---------------------------
2011/11/15 19:20:21 :: wicd initializing...
2011/11/15 19:20:21 :: ---------------------------
2011/11/15 19:20:21 :: wicd is version 1.7.0 552
2011/11/15 19:20:21 :: setting backend to external
2011/11/15 19:20:21 :: trying to load backend external
2011/11/15 19:20:21 :: successfully loaded backend external
2011/11/15 19:20:21 :: trying to load backend external
2011/11/15 19:20:21 :: successfully loaded backend external
2011/11/15 19:20:21 :: Automatically detected wireless interface wlan0
2011/11/15 19:20:21 :: setting wireless interface wlan0
2011/11/15 19:20:21 :: automatically detected wired interface eth0
2011/11/15 19:20:21 :: setting wired interface eth0
2011/11/15 19:20:21 :: setting wpa driver wext
2011/11/15 19:20:21 :: setting use global dns to True
2011/11/15 19:20:21 :: setting global dns
2011/11/15 19:20:21 :: global dns servers are 192.168.0.6 None None
2011/11/15 19:20:21 :: domain is None
2011/11/15 19:20:21 :: search domain is None
2011/11/15 19:20:21 :: setting automatically reconnect when connection drops True
2011/11/15 19:20:21 :: Setting dhcp client to 0
2011/11/15 19:20:21 :: Wireless configuration file found...
2011/11/15 19:20:21 :: Wired configuration file found...
2011/11/15 19:20:21 :: chmoding configuration files 0600...
2011/11/15 19:20:21 :: chowning configuration files root:root...
2011/11/15 19:20:21 :: Using wireless interface...wlan0
2011/11/15 19:20:21 :: Using wired interface...eth0
2011/11/15 19:20:27 :: Autoconnecting...
2011/11/15 19:20:27 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:20:30 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:20:32 :: Autoconnecting...
2011/11/15 19:20:32 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 19:20:35 :: Unable to autoconnect, you'll have to manually connect
2011/11/15 19:21:56 :: trying to load backend ioctl
2011/11/15 19:21:56 :: WARNING: python-iwscan not found, falling back to using iwlist scan.
2011/11/15 19:21:56 :: WARNING: python-wpactrl not found, falling back to using wpa_cli.
2011/11/15 19:21:56 :: trying to load backend external
2011/11/15 19:25:14 :: attempting to set hostname with dhclient
2011/11/15 19:25:14 :: using dhcpcd or another supported client may work better
2011/11/15 19:25:15 :: attempting to set hostname with dhclient
2011/11/15 19:25:15 :: using dhcpcd or another supported client may work better
2011/11/15 19:25:17 :: attempting to set hostname with dhclient
2011/11/15 19:25:17 :: using dhcpcd or another supported client may work better
2011/11/15 19:25:17 :: attempting to set hostname with dhclient
2011/11/15 19:25:17 :: using dhcpcd or another supported client may work better
2011/11/15 19:33:34 :: ---------------------------
2011/11/15 19:33:34 :: wicd initializing...
2011/11/15 19:33:34 :: ---------------------------
2011/11/15 19:33:34 :: wicd is version 1.7.0 552
2011/11/15 19:33:34 :: setting backend to external
2011/11/15 19:33:34 :: trying to load backend external
2011/11/15 19:33:34 :: successfully loaded backend external
2011/11/15 19:33:34 :: trying to load backend external
2011/11/15 19:33:34 :: successfully loaded backend external
2011/11/15 19:33:34 :: Automatically detected wireless interface wlan0
2011/11/15 19:33:34 :: setting wireless interface wlan0
2011/11/15 19:33:34 :: automatically detected wired interface eth0
2011/11/15 19:33:34 :: setting wired interface eth0
2011/11/15 19:33:34 :: setting wpa driver wext
2011/11/15 19:33:34 :: setting use global dns to True
2011/11/15 19:33:34 :: setting global dns
2011/11/15 19:33:34 :: global dns servers are 192.168.0.6 None None
2011/11/15 19:33:34 :: domain is None
2011/11/15 19:33:34 :: search domain is None
2011/11/15 19:33:34 :: setting automatically reconnect when connection drops True
2011/11/15 19:33:34 :: Setting dhcp client to 0
2011/11/15 19:33:34 :: Wireless configuration file found...
2011/11/15 19:33:34 :: Wired configuration file found...
2011/11/15 19:33:34 :: chmoding configuration files 0600...
2011/11/15 19:33:34 :: chowning configuration files root:root...
2011/11/15 19:33:34 :: Using wireless interface...wlan0
2011/11/15 19:33:34 :: Using wired interface...eth0
2011/11/15 19:33:45 :: Daemon going down, killing wicd-monitor...
2011/11/15 19:33:45 :: Removing PID file...
2011/11/15 19:33:45 :: Shutting down...
2011/11/15 19:33:45 :: Exception KeyError: KeyError(-1217358144,) in <module 'threading' from '/usr/lib/python2.6/threading.pyo'> ignored
2011/11/15 19:40:20 :: trying to load backend ioctl
2011/11/15 19:40:20 :: trying to load backend external
2011/11/15 19:52:44 :: trying to load backend ioctl
2011/11/15 19:52:44 :: trying to load backend external
2011/11/15 20:01:56 :: trying to load backend ioctl
2011/11/15 20:01:56 :: trying to load backend external
2011/11/15 20:06:35 :: ---------------------------
2011/11/15 20:06:35 :: wicd initializing...
2011/11/15 20:06:35 :: ---------------------------
2011/11/15 20:06:35 :: wicd is version 1.7.0 552
2011/11/15 20:06:35 :: setting backend to external
2011/11/15 20:06:35 :: trying to load backend external
2011/11/15 20:06:35 :: successfully loaded backend external
2011/11/15 20:06:35 :: trying to load backend external
2011/11/15 20:06:35 :: successfully loaded backend external
2011/11/15 20:06:35 :: Automatically detected wireless interface wlan0
2011/11/15 20:06:35 :: setting wireless interface wlan0
2011/11/15 20:06:35 :: automatically detected wired interface eth0
2011/11/15 20:06:35 :: setting wired interface eth0
2011/11/15 20:06:35 :: setting wpa driver wext
2011/11/15 20:06:35 :: setting use global dns to True
2011/11/15 20:06:35 :: setting global dns
2011/11/15 20:06:35 :: global dns servers are 192.168.0.6 None None
2011/11/15 20:06:35 :: domain is None
2011/11/15 20:06:35 :: search domain is None
2011/11/15 20:06:35 :: setting automatically reconnect when connection drops True
2011/11/15 20:06:35 :: Setting dhcp client to 0
2011/11/15 20:06:35 :: Wireless configuration file found...
2011/11/15 20:06:35 :: Wired configuration file found...
2011/11/15 20:06:35 :: chmoding configuration files 0600...
2011/11/15 20:06:35 :: chowning configuration files root:root...
2011/11/15 20:06:35 :: Using wireless interface...wlan0
2011/11/15 20:06:35 :: Using wired interface...eth0
2011/11/15 20:06:41 :: Autoconnecting...
2011/11/15 20:06:41 :: No wired connection present, attempting to autoconnect to wireless network
2011/11/15 20:06:44 :: trying to automatically connect to...KarpinW/Lan
2011/11/15 20:06:44 :: Connecting to wireless network KarpinW/Lan
2011/11/15 20:06:44 :: attempting to set hostname with dhclient
2011/11/15 20:06:44 :: using dhcpcd or another supported client may work better
2011/11/15 20:06:44 :: attempting to set hostname with dhclient
2011/11/15 20:06:44 :: using dhcpcd or another supported client may work better
2011/11/15 20:06:44 :: Putting interface down
2011/11/15 20:06:44 :: Releasing DHCP leases...
2011/11/15 20:06:44 :: attempting to set hostname with dhclient
2011/11/15 20:06:44 :: using dhcpcd or another supported client may work better
2011/11/15 20:06:44 :: Setting false IP...
2011/11/15 20:06:44 :: Stopping wpa_supplicant
2011/11/15 20:06:44 :: Flushing the routing table...
2011/11/15 20:06:44 :: Putting interface up...
2011/11/15 20:06:46 :: Setting static IP : 192.168.0.2
2011/11/15 20:06:46 :: Setting default gateway : 192.168.0.6
2011/11/15 20:06:46 :: Verifying AP association...
2011/11/15 20:06:46 :: Attempt 1 of 10...
2011/11/15 20:06:46 :: Successfully associated.
2011/11/15 20:06:46 :: Connecting thread exiting.
2011/11/15 20:06:51 :: Sending connection attempt result Success

FATAL: Module p80211 not found.
Что это и почему эта ошибка пропадает после перезагрузки?

 

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