[Desktop] Desktop; DHCP
Ljuba Jakovleva
=?iso-8859-1?q?ljuba64_=CE=C1_mail=2Eru?=
Чт Окт 4 18:57:36 MSD 2007
Отчёт о поисках DHCP.
> а ENTER нажимали после LINKDETECT=no
> ?
Нажимала.
>
> Попробуйте поставить LINKDETECT=no первой строчкой
Поставила.
Password:
[root на l ~]# lspci | grep Eth
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[root на l ~]#
Попробуем сделать так:
каталог /etc/net/ifaces/eth0 вы переместите куда-нить
выполняете service network restart
и выполняете initconf
Password:
[root на l contrib]# ./initconf
Processing interface 'lo': configuration exists
Processing interface 'eth0':TEST: will write to file /etc/net/iftab:
--------8<--------8<--------8<--------8<
# Generated by /etc/net initconf script
eth0 mac 00:04:61:76:ef:8f
--------8<--------8<--------8<--------8<
TEST: will create directory /etc/net/ifaces/eth0:
TEST: will write to file /etc/net/ifaces/eth0/options:
--------8<--------8<--------8<--------8<
# If you want to change current interface name, edit /etc/net/iftab,
# rename current directory and uncomment this line:
#TYPE=eth
--------8<--------8<--------8<--------8<
TEST: will write to file /etc/net/ifaces/eth0/options:
--------8<--------8<--------8<--------8<
# Uncomment this line if you don't have modules.conf alias for this interface
# and don't intend to use hotplug configuration.
#MODULE=8139too
--------8<--------8<--------8<--------8<
TEST: will write to file /etc/net/iftab:
--------8<--------8<--------8<--------8<
# Generated by /etc/net initconf script
#eth0 driver 8139too
--------8<--------8<--------8<--------8<
finished
[root на l contrib]# ./initconf write
Processing interface 'lo': configuration exists
Processing interface 'eth0': finished
[root на l contrib]#
Далее раскомментированы строки в /etc/net/ifaces/eth0 и в /etc/net/iftab
-- eth0
И добавить
ONBOOT=yes
BOOTPROTO=dhcp
Добавила.
root на l ~]# service network restart
Computing interface groups: .. 2 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (1 interfaces)
Stopping eth0: ...OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: .....OK
Starting group 1/realphys (1 interfaces)
Starting eth0: .....!.OK
Processing /etc/net/vlantab: empty.
[root на l ~]#
Password:
[root на l ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:61:76:EF:8F
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)
Interrupt:217 Base address:0x8000
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:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3571 (3.4 KiB) TX bytes:3571 (3.4 KiB)
rpm -qa | grep dhcpcd
Password:
[root на l ~]# rpm -qa | grep dhcpcd
dhcpcd-1.3.22pl4-alt3.0
[root на l ~]#
Password:
[root на l ~]# dhcpcd eth0
[root на l ~]# service network restart
Computing interface groups: .. 2 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (1 interfaces)
Stopping eth0: .OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: .....OK
Starting group 1/realphys (1 interfaces)
Starting eth0: .....!.OK
Processing /etc/net/vlantab: empty.
[root на l ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:61:76:EF:8F
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)
Interrupt:217 Base address:0xa000
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)
Вот... сделала, всё что сказали.
Люба.
Подробная информация о списке рассылки Desktop