[Comm] etcnet wifi и dhcp
Alexander Strelets
alexander.strelets на gmail.com
Сб Апр 4 21:12:33 MSD 2009
Добрый день,
2009/4/4 Mikhail Efremov <sem на altlinux.ru>:
> service network restart и посмотреть что выводится.
$ sudo service network restart
Computing interface groups: ... 3 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (2 interfaces)
Stopping eth0: ...OK
Stopping wlan0: ...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 wlan0: ...OK
Processing /etc/net/vlantab: empty.
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:25:16:D2:C8
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)
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:373042 errors:0 dropped:0 overruns:0 frame:0
TX packets:373042 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2974802348 (2.7 GiB) TX bytes:2974802348 (2.7 GiB)
wlan0 Link encap:Ethernet HWaddr 00:1D:E0:2D:79:5F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:265862 errors:0 dropped:0 overruns:0 frame:0
TX packets:176801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:281353838 (268.3 MiB) TX bytes:23286893 (22.2 MiB)
wmaster0 Link encap:UNSPEC HWaddr
00-1D-E0-2D-79-5F-F4-BF-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
$ sudo dhcpcd wlan0
wlan0: dhcpcd 4.0.12 starting
wlan0: broadcasting for a lease
wlan0: offered 192.168.0.55 from 192.168.0.1
wlan0: acknowledged 192.168.0.55 from 192.168.0.1
wlan0: leased 192.168.0.55 for 604800 seconds
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:25:16:D2:C8
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)
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:373042 errors:0 dropped:0 overruns:0 frame:0
TX packets:373042 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2974802348 (2.7 GiB) TX bytes:2974802348 (2.7 GiB)
wlan0 Link encap:Ethernet HWaddr 00:1D:E0:2D:79:5F
inet addr:192.168.0.55 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:265905 errors:0 dropped:0 overruns:0 frame:0
TX packets:176803 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:281367538 (268.3 MiB) TX bytes:23287619 (22.2 MiB)
wmaster0 Link encap:UNSPEC HWaddr
00-1D-E0-2D-79-5F-F4-FF-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
> NetworkManager точно не стоит?
NetworkManager, проверил, не стоит.
--
С уважением, Александр Стрелец.
Подробная информация о списке рассылки community