From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Message-ID: <491BA06A.4030709@rambler.ru> Date: Thu, 13 Nov 2008 06:35:06 +0300 From: "Kharitonov A. Dmitry" User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <4919C946.3070602@rambler.ru> <491A0CBF.4030208@rambler.ru> <491AE794.3020703@rambler.ru> <491B37D8.9030904@rambler.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?koi8-r?b?QURTTCDXIEFMRDQuMQ==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 03:34:40 -0000 Archived-At: List-Archive: List-Post: Владимир Головин пишет: > 12 ноября 2008 г. 23:08 пользователь Kharitonov A. Dmitry > написал: > >>> + for pick in '$GOOD_MODULE_LIST' >>> + '[' 8139too = 8139too ']' >>> + return 0 >>> + check_eth_link eth0 >>> + local TARGET=eth0 >>> + local LMAX=5 >>> + '[' 5 -ge 0 -a 5 -le 300 ']' >>> + '[' -x /usr/sbin/ifplugstatus ']' >>> + local i=0 result >>> + true >>> + /usr/sbin/ifplugstatus -q eth0 >>> + result=2 >>> + '[' 2 = 2 ']' >>> + return 0 >>> + print_progress >>> + is_yes '' >>> + case "$1" in >>> + return 1 >>> + return 0 >>> ++ dhcp_cmdline >>> ++ local H T >>> ++ case `basename $DHCP_CLIENT` in >>> +++ basename /sbin/dhcpcd >>> ++ '[' -n localhost ']' >>> ++ case "$DHCP_HOSTNAME" in >>> ++ '[' -n localhost.localdomain -a localhost.localdomain '!=' >>> localhost -a localhost.localdomain '!=' localhost.localdomain ']' >>> ++ T='-t 30' >>> ++ echo ' -d -t 30 eth0' >>> + DHCP_CMDLINE=' -d -t 30 eth0' >>> + /sbin/dhcpcd -d -t 30 eth0 >>> Error, eth0: netlink: No such process >>> >>> >> # echo '#!/bin/bash' | cat - /etc/net/scripts/config-ipv4 > /tmp/1 >> # cat /tmp/1 > /etc/ne/scripts/config-ipv4 >> # ifdown eth0 >> # ifup eth0 >> # hostname >> # /sbin/dhcpcd -d -t 30 eth0 >> # cat /var/lib/dhcpcd/dhcpcd-eth0.info >> > > [root@localhost scripts]# echo '#!/bin/bash' | cat - > /etc/net/scripts/config-ipv4 > /tmp/1 > [root@localhost scripts]# cat /tmp/1 > /etc/net/scripts/config-ipv4 > [root@localhost scripts]# ifdown eth0 > [root@localhost scripts]# ifup eth0 > Error, eth0: netlink: No such process > [root@localhost scripts]# hostname > localhost.localdomain > [root@localhost scripts]# /sbin/dhcpcd -d -t 30 eth0 > Error, eth0: dhcpcd already running (/var/run/dhcpcd-eth0.pid) > [root@localhost scripts]# cat /var/lib/dhcpcd/dhcpcd-eth0.info > IPADDR='92.101.166.100' > NETMASK='255.255.255.0' > BROADCAST='92.101.166.255' > ROUTES='0.0.0.0,0.0.0.0,78.36.160.1' > DNSSERVERS='78.36.171.200 212.48.193.36' > DHCPSID='192.168.1.1' > DHCPSNAME='' > LEASETIME='30' > RENEWALTIME='15' > REBINDTIME='26' > INTERFACE='eth0' > CLASSID='dhcpcd 3.0.17' > CLIENTID='00:14:d1:31:73:54' > DHCPCHADDR='00:14:d1:31:73:54' > [root@localhost scripts]# ping 192.168.1.1 > connect: Network is unreachable > # ifdown eth0 # /sbin/dhcpcd -d -t 30 eth0 В cat /etc/net/options.d/00-default из списка "GOOD_MODULE_LIST=" уберите "8139too" Должно помочь # ifdown eth0 # rm -f /var/lib/dhcpcd/dhcpcd-eth0.info # ifup eth0 # cat /var/lib/dhcpcd/dhcpcd-eth0.info uname -a