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 autolearn=ham version=3.2.5 Date: Thu, 19 Jul 2012 20:07:50 +0600 From: Ildar Mulyukov To: sisyphus@lists.altlinux.org In-Reply-To: <1338955924.18974.4@ildar.innovations.kz> (from ildar@altlinux.ru on Wed Jun 6 10:12:04 2012) X-Mailer: Balsa 2.4.90 Message-Id: <1342706870.702.2@ildar.innovations.kz> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [sisyphus] [-> wiki] NetworkManager "System eth0" profile X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 14:08:06 -0000 Archived-At: List-Archive: List-Post: =EB=CF=D2=CF=DE=C5, =CE=C1=C4=CF =DA=C1=C6=C9=CB=D3=C9=D2=CF=D7=C1=D4=D8. #=E9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CE=C9=C5 =CB=CF=CE=C6=C9=C7=D5=D2=C1=C3=C9= =C9 =C9=CE=D4=C5=D2=C6=C5=CA=D3=C1 =D7 etcnet =D7 NetworkManager =E4=CC=D1 =D4=CF=C7=CF, =DE=D4=CF=C2=D9 =D7 NetworkManager =C9=D3=D0=CF=CC= =D8=DA=CF=D7=C1=D4=D8 =CB=CF=CE=C6=C9=C7=D5=D2=C1=C3=C9=C0 =C9=CE=D4=C5=D2= =C6=C5=CA=D3=C1 =D7 =20 etcnet (=C1 =DC=D4=CF =D7=CF=DA=CD=CF=D6=CE=CF =C2=CC=C1=C7=CF=C4=C1=D2=D1 = =D0=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=DE=C1=C5= =CD=CF=C7=D5=D4 =C2=D9=D4=D8 [=D0=D2=CF=C2=CC=C5=CD=D9 =D3 =20 =D2=C1=DA=D2=C5=DB=C5=CE=C9=C5=CD =C9=CD=A3=CE (=D0=D5=CE=CB=D4 =20 2)](http://lists.altlinux.org/pipermail/sisyphus/2012-June/357707.html) * =E4=C1=CC=C5=CB=CF =CE=C5 =D7=D3=C5 =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=C9 =D0= =CF =CE=C1=D3=D4=D2=CF=CA=CB=C5 =C9=CE=D4=C5=D2=C6=C5=CA=D3=C1 etcnet =C2= =D5=C4=D5=D4 =20 =D2=C1=C2=CF=D4=C1=D4=D8 =D7 NetworkManager: + =CB=CF=CE=C5=DE=CE=CF =D6=C5, =D2=C1=C2=CF=D4=C1=C0=D4 BOOTPROTO=3Dsta= tic/dhcp, =C1=C4=D2=C5=D3=C1, =CD=C1=D3=CB=C9 =C9 =20 =DB=CC=C0=DA(=D9). + ifup-post =C9 ifdown-post =C2=D5=C4=D5=D4 =CF=D4=D2=C1=C2=C1=D4=D9=D7= =C1=D4=D8, =C5=D3=CC=C9 =D4=CF=CC=D8=CB=CF =20 NM_RUN_ETCNET_POST=3Dyes =D7 =C6=C1=CA=CC=C5 /etc/sysconfig/NetworkManager - =CE=C5 =D2=C1=C2=CF=D4=C1=C0=D4 if*-pre - =CE=C5 =D2=C1=C2=CF=D4=C1=C0=D4 fw/iptables =C9 =D0=CF=C4=CF=C2=CE=D9= =C5 - =CE=C5 =D2=C1=C2=CF=D4=C1=C5=D4 =D7=D3=A3 =CF=D3=D4=C1=CC=D8=CE=CF=C5. On 06.06.2012 10:12:04, Ildar Mulyukov wrote: > =E8=CD. =F3 DISABLED=3Dyes =D1 =C5=DD=C5 =CE=C5 =D0=D2=CF=C2=CF=D7=C1=CC.= =E4=C1=D7=C1=CA=D4=C5, =D0=CF=D0=D2=CF=C2=D5=C0. > =E9=DA=D7=C9=CE=C9=D4=C5 =DA=C1 =DB=D5=CD. >=20 > On 06.06.2012 10:09:13, Ildar Mulyukov wrote: >> =F4=C1=CB. =ED=C9=C8=C1=C9=CC, >> =C4=C1=D7=C1=CA=D4=C5 =D1 =D0=CF=D3=D4=C1=D2=C1=C0=D3=D8 =D0=CF-=C4=D2= =D5=C7=CF=CD=D5 =C9=DA=CC=CF=D6=C9=D4=D8. >> 1. =E5=D3=CC=C9 =D7 /etc/net/ifaces/eth0/options: >> NM_CONTROLLED=3Dyes >> ONBOOT=3Dno >> (=DC=D4=CF, =CB=C1=CB =D1 =D0=CF=CE=D1=CC, =D2=C5=CB=CF=CD=C5=CE=C4=D5= =C5=CD=C1=D1 =CE=C1=D3=D4=D2=CF=CA=CB=C1, =D4=C1=CB?) >> =F7 =DC=D4=CF=CD =D3=CC=D5=DE=C1=C5 NM _=CE=C5_ =D3=DE=C9=D4=C1=C5=D4 = =C5=C7=CF autoconnect=3Dtrue, =C9 =D0=D2=C9 =20 >> =D3=CF=C5=C4=C9=CE=C5=CE=C9=C9 =CB=C1=C2=C5=CC=D1 =D0=D2=CF=C6=C9=CC=D8 = =CE=C5 =C1=CB=D4=C9=D7=C9=D2=D5=C5=D4=D3=D1. >>=20 >> 2. =E5=D3=CC=C9 =D7 /etc/net/ifaces/eth0/options: >> NM_CONTROLLED=3Dyes >> ONBOOT=3Dyes >> =F7 =DC=D4=CF=CD =D3=CC=D5=DE=C1=C5 =D0=D2=C9 =D3=D4=C1=D2=D4=C5 =D3=C5= =D2=D7=C9=D3=C1 network eth0 =C1=CB=D4=C9=D7=C9=D2=D5=C5=D4=D3=D1 =D3=CB=D2= =C9=D0=D4=CF=CD =20 >> etcnet, =C9 =D4=CF=C7=C4=C1 /etc/net/ifaces/eth0/resolv.conf =D0=CF=D0= =C1=C4=C1=C5=D4 =D7 =D3=D0=C9=D3=CF=CB =20 >> openresolv, =C4=C1=D6=C5 =C5=D3=CC=C9 =CB=C1=C2=C5=CC=D8 =CE=C5 =D7=CF= =D4=CB=CE=D5=D4. >>=20 >> 3. =E5=C4=C9=CE=D3=D4=D7=C5=CE=CE=D9=CD =D2=C1=C2=CF=D4=C1=C0=DD=C9=CD = =D7=C1=D2=C9=C1=CE=D4=CF=CD =D1=D7=CC=D1=C5=D4=D3=D1 NM_CONTROLLED=3Dyes =20 >> ONBOOT=3Dyes =D3 =D0=CF=D3=CC=C5=C4=D5=DD=C9=CD ifdown eth0, =DE=D4=CF, = =D3=CF=C2=D3=D4=D7=C5=CE=CE=CF, =C9 =C4=C5=CC=C1=CC =20 >> SysV-=D3=CB=D2=C9=D0=D4 NetworkManager. =EF=C4=CE=C1=CB=CF, =D3 =D0=D2= =C9=C8=CF=C4=CF=CD systemd, =D3=C4=C5=CC=C1=D4=D8 =20 >> ifdown eth0 =CE=C5=CB=CF=CD=D5. >>=20 >> =FE=D4=CF =D0=CF=D3=CF=D7=C5=D4=D5=C5=D4=C5?=