From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: sisyphus@altlinux.ru From: Arioch Date: Sat, 26 Mar 2005 03:09:38 +0300 Message-ID: References: <20050322130301.470b2a1b.pilot@altlinux.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 80.249.152.133 User-Agent: Mozilla Thunderbird 1.0 (X11/20050202) X-Accept-Language: ru-ru, ru In-Reply-To: <20050322130301.470b2a1b.pilot@altlinux.ru> Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: glas-sisyphus@m.gmane.org X-MailScanner-To: sisyphus@altlinux.ru Subject: [sisyphus] Re: I: /etc/net 0.7.0 X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 00:09:53 -0000 Archived-At: List-Archive: Denis Ovsienko =D0=C9=DB=C5=D4: 1. =EF=D0=D1=D4=D8 =D0=D2=C9 =DA=C1=D0=D5=D3=CB=C5 =D0=CF=DE=C5=CD-=D4=CF= =CE=C5 =D7=D9=DA=D7=C1=CC=D3=D1 dhcpcd :-( 2. =D7=CE=D5=D4=D2=C9 ifdown =D7=D9=D0=CF=CC=CE=D1=C5=D4=D3=D1 =D0=D2=CF=D7= =C5=D2=CB=C1 BOOTPROTO =CE=C1 "dhcp-static" =C9 =D4.=C4. =E1 =CB=C1=CB =CE=C1=D3=DE=C5=D4 "dhcp,static" =C9 =D4.=C4. ? 3. =CE=C5 =C8=D7=C1=D4=C1=C5=D4 \n\r: ~~~~~~~~~~~~~ [root@localhost root]# ifup eth0 'eth0' is already up [root@localhost root]# [root@localhost root]# ~~~~~~~~~~~~~ 4. =D7=C9=C4=C9=CD=CF =D7 =CE=C1=D3=D4=CF=D1=DD=C9=CA =CD=CF=CD=C5=CE=D4 = dhcpcd =D7=D9=D0=CF=CC=CE=D1=C5=D4=D3=D1 =CF=D4=C4=C5=CC=D8=CE=D9=CD =D0=CF= =D4=CF=CB=CF=CD. =F7 =D2=C5=DA=D5=CC=D8=D4=C1=D4=C5 =D3=CC=D5=D6=C2=C1 arpwatch =CE=C5 =DA= =C1=D0=D5=D3=CB=C1=C5=D4=D3=D1, =D4=C9=D0=C1 =CE=C5 =CE=C1=DA=CE=C1=DE=C5= =CE ip-=C1=C4=D2=C5=D3=D3. =F7=C9=C4=C9=CD=CF =CF=CE=C1 =D3=CC=C9=DB=CB=CF=CD =D2=C1=CE=CF =DA=C1=D0= =D5=D3=CB=C1=C5=D4=D3=D1 =C9 =D0=D9=D4=C1=C5=D4=D3=D1 =C5=C7=CF =D0=CF=CC= =D5=DE=C9=D4=D8? =FE=D4=CF =C4=C5=CC=C1=D4=D8 =CE=C5 =DA=CE=C1=C0 - =D0=CF=C8=CF=D6=C5 =D0= =D2=CF=D3=D4=D9=C8 =D2=C5=DB=C5=CE=C9=CA =CE=C5=D4. 5. =F0=CF=D3=D4=C1=D2=C1=C0=D3=D8 =D0=CF=C2=CF=CC=D4=C1=D4=D8 =D3 ifplugd= team. =E9=C2=CF =CE=C1=DA=D2=C5=CC=CF :-) =F7=CF=D4 =DA=C1=C2=C1=D7=CE=D9=CA =DC=CB=D3=D0=C5=D2=C9=CD=C5=CE=D4: service ifplugd stop service network stop >>>> eth0 is down service network stop service ifplugd stop >>>> eth0 is UP =D7=CF=DA=CD=CF=D6=CE=CF, =CE=D5=D6=CE=CF, =DE=D4=CF=C2=D9 ifplugd =DA=C1= =D7=C9=D3=C5=CC=CF =CF=D4 network ? =CB=D3=D4=C1=D4=C9, =CB=D5=D3=CF=DE=C5=CB ifplugd FAQ: file://localhost/usr/share/RTFM/ifplugd-0.26/README.html 3: Q: When the cable is unplugged and the interface shut down it is=20 still available with ifconfig and markes as UP. Why this? A: ifplugd cannot detect the link beat with a shut down interface on=20 certain (most as of kernel 2.4.19) network drivers. Thus ifplugd enables = the interface before querying the link status. This may be switched off=20 with -a flag. You might want to use it if you have a sane network driver = (e.g. eepro100). The subdirectory patches/ in the ifplugd distribution=20 includes a patch for the 8139too 0.9.26 driver, which makes the driver=20 compatible with -a. Don't ask me how to apply this patch. If you don't=20 know, you won't need it.