[Comm] ALD4 и wifi - не работает?
Paco qw
=?iso-8859-1?q?qw=2Eiampaco_=CE=C1_gmail=2Ecom?=
Вс Дек 16 13:33:33 MSK 2007
15.12.07, Андрей Черепанов <cas на altlinux.ru> написал(а):
>
> 15 декабря 2007 Paco qw написал:
> > # ifconfig -a
> > eth0 Link encap:Ethernet HWaddr 00:19:DB:3D:05:4C
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:0 (0.0 b) TX bytes:2360 (2.3 KiB)
> > Interrupt:177 Base address:0xd800
> >
> > eth1 Link encap:Ethernet HWaddr 00:18:DE:11:CB:DC
> > UP BROADCAST MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:32 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:185 Base address:0xc000 Memory:fdeff000-fdefffff
> >
> > lo Link encap:Local Loopback
> > inet addr:127.0.0.1 Mask:255.0.0.0
> > UP LOOPBACK RUNNING MTU:16436 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:0
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> >
> > # dhcpcd eth1 - нет сети
> iwconfig что говорит?
>
> У меня в /etc/net/ifaces/eth1/wpa_supplicant.conf:
> ctrl_interface=/var/run/wpa_supplicant
> update_config=1
>
> network={
> ssid="cellar"
> key_mgmt=NONE
> }
>
> И всё работает.
>
>
> --
> Андрей Черепанов
> ALT Linux
> cas на altlinux.ru
>
Начнём с чистого листа. Reboot
альтератор->apply - нет сети
# iwlist eth1 scan
eth1 Scan completed :
Cell 01 - Address: 00:19:CB:13:4E:7B
ESSID:"<hidden>"
Protocol:IEEE 802.11bg
Mode:Master
Channel:1
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
Quality=52/100 Signal level=-77 dBm Noise level=-77
dBm
Extra: Last beacon: 84ms ago
# iwconfig eth1
eth1 unassociated ESSID:off/any
Mode:Managed Frequency=nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:6 Missed beacon:0
# cat /etc/net/ifaces/eth1/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
ssid="Albion"
key_mgmt=NONE
}
# ps -ef | grep wpa
root 7077 1 0 11:17 ? 00:00:00 /usr/sbin/wpa_supplicant
-ieth1
root 7079 1 0 11:17 ? 00:00:00 /usr/sbin/wpa_cli -ieth1 -B
-P/v
root 7176 3718 0 11:21 pts/2 00:00:00 grep wpa
# service network stop
Computing interface groups: ... 3 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (2 interfaces)
Stopping eth0: RTNETLINK answers: No such process
...OK
Stopping eth1: OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
# kill 7077 7079
альтератор.
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:DB:3D:05:4C
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2360 (2.3 KiB)
Interrupt:177 Base address:0xd800
eth1 Link encap:Ethernet HWaddr 00:18:DE:11:CB:DC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:19 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:185 Base address:0x4000 Memory:fdeff000-fdefffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# dhcpcd eth1 - нет сети
# service network restart
Computing interface groups: ... 3 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (2 interfaces)
Stopping eth0: RTNETLINK answers: No such process
.OK
Stopping eth1: OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
Computing interface groups: ... 3 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: ....OK
Starting group 1/realphys (2 interfaces)
Starting eth0: ...!.OK
Starting eth1: ..ctrl_iface exists and seems to be in use - cannot
override it
Delete '/var/run/wpa_supplicant/eth1' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
Processing /etc/net/vlantab: empty.
Не рабоает ) Может быть есть какая-то последовательность действий, 100%
приводящая к требуемуму результату?
Как это не смешно, но все действия происходят на ноуте Аквариус,
обородование которого, как зверялось, поддерживается Альтом )
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20071216/9fa6bba9/attachment-0002.html>
Подробная информация о списке рассылки community