<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Автозагрузка]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=8888</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8888&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Автозагрузка».]]></description>
		<lastBuildDate>Sun, 05 Dec 2010 01:05:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118935#p118935</link>
			<description><![CDATA[<p>Всем спасибо! Получилось. smile</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sun, 05 Dec 2010 01:05:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118935#p118935</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118819#p118819</link>
			<description><![CDATA[<div class="quotebox"><cite>odin пишет:</cite><blockquote><p>а что запуск через network scripts уже не в моде?.... неужели проще ставить костыли и подпорки?</p></blockquote></div><p>дык труЪ</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 04 Dec 2010 15:21:12 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118819#p118819</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118817#p118817</link>
			<description><![CDATA[<p>а что запуск через network scripts уже не в моде?.... неужели проще ставить костыли и подпорки?</p><p>нужно создать /etc/sysconfig/network-scripts/ifcfg-&lt;ваш интерфейс&gt; (к примеру ifcfg-ppp0) .... и вписать в него нужные параметры... примеров и мануалов в интернете можно найти много....</p>]]></description>
			<author><![CDATA[null@example.com (odin)]]></author>
			<pubDate>Sat, 04 Dec 2010 15:16:13 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118817#p118817</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118815#p118815</link>
			<description><![CDATA[<div class="quotebox"><cite>Wolfenberg пишет:</cite><blockquote><p>В файл /etc/rc.local вписал sh ~/vpn.sh</p></blockquote></div><p>в момент отработки rc.local ещё не заданны переменные окружения. Например $HOME и $PATH. Потому либо вы их сами инициализируйте, либо, как пишет <strong>sbin</strong>, задавайте полный путь до каждого файла (вообще говоря, это касается и внутренностей скрипта. т.е. <strong>/sbin/route</strong>)</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 04 Dec 2010 15:04:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118815#p118815</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118807#p118807</link>
			<description><![CDATA[<p>Wolfenberg, попробуйте вписать полный путь до vpn.sh</p>]]></description>
			<author><![CDATA[null@example.com (sbin)]]></author>
			<pubDate>Sat, 04 Dec 2010 14:21:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118807#p118807</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118765#p118765</link>
			<description><![CDATA[<p><strong>drBatty</strong><br />Странно-скрипт запускается и выполняется shell&#039;ом на &quot;ура&quot;, но система в упор не хочет его признавать в rc.local. oO <br />Таблица маршрутов, создаваемая скриптом ~/vpn.sh:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@localhost medvezhka]# route -v<br />Kernel IP routing table<br />Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags Metric Ref&nbsp; &nbsp; Use Iface<br />192.168.0.9&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.8&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />ns2.avtograd.ru 172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.1&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />ns.avtograd.ru&nbsp; 172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />109.226.88.1&nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.255 UH&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 ppp0<br />192.168.0.3&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.2&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.5&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.4&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.7&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.6&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.255 UGH&nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.0.0&nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />172.16.72.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;10&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />link-local&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.0.0&nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;10&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />172.16.0.0&nbsp; &nbsp; &nbsp; 172.16.72.1&nbsp; &nbsp; &nbsp;255.240.0.0&nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />10.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 172.16.72.1&nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 ppp0<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;172.16.72.1&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 10&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0</div></p></div></div><p>В файл /etc/rc.local вписал sh ~/vpn.sh</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 11:12:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118765#p118765</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118762#p118762</link>
			<description><![CDATA[<p><strong>drBatty</strong>, скрипт уже создан (сейчас с него сюда попал) smile Просто видоизменил файл, прописываемый в Kubuntu.<br />Теперь осталось его в автозагрузке проверить.</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:59:15 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118762#p118762</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118754#p118754</link>
			<description><![CDATA[<p><strong>Wolfenberg</strong>, если-бы вы сделали так, как советует <strong>papin-aziat</strong>, то тогда смогли-бы отправить весь вывод в лог файл, а потом его почитать.</p><p>И обратите внимание на ключ <strong>route -v</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:34:12 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118754#p118754</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118744#p118744</link>
			<description><![CDATA[<p><strong>drBatty</strong>, спасибо! smile<br />Перезапустил систему - та же история. Только в shell&#039;е пауза появилась.</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:13:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118744#p118744</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118743#p118743</link>
			<description><![CDATA[<div class="quotebox"><cite>Wolfenberg пишет:</cite><blockquote><p>А здесь её можно прописать, как в Kubuntu, командой sleep 10?</p></blockquote></div><p>да</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:11:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118743#p118743</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118741#p118741</link>
			<description><![CDATA[<p><strong>papin-aziat</strong><br />Сами по себе эти команды работают.<br />Значит, лучше создать файл .sh а в локале просто организовать запуск? oO<br />Только вот задержку какой командой прописывать?</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:09:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118741#p118741</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118737#p118737</link>
			<description><![CDATA[<p><strong>Wolfenberg</strong>, вообще это плохая идея писать скрипты прямо в файлы типа rc.local. Создайте отдельный скрипт, протестируйте его хорошенько при всяких условиях, и потом уже поместите ссылку на него в rc.local.</p>]]></description>
			<author><![CDATA[null@example.com (papin-aziat)]]></author>
			<pubDate>Sat, 04 Dec 2010 10:04:05 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118737#p118737</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118735#p118735</link>
			<description><![CDATA[<p><strong>drBatty</strong><br />А здесь её можно прописать, как в Kubuntu, командой sleep 10? oO</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 09:59:18 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118735#p118735</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118733#p118733</link>
			<description><![CDATA[<div class="quotebox"><cite>Wolfenberg пишет:</cite><blockquote><p>Теперь команды подьёма VPN вообще игнорируются, пока их команный процессор не запустит. blink</p></blockquote></div><p>не кажется-ли вам, что нужно ввести задержку после<br /></p><div class="codebox"><pre><code>pppd call aist</code></pre></div><p>?</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 04 Dec 2010 09:53:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118733#p118733</guid>
		</item>
		<item>
			<title><![CDATA[Re: Автозагрузка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=118728#p118728</link>
			<description><![CDATA[<p>Теперь команды подьёма VPN вообще игнорируются, пока их команный процессор не запустит. oO <br />Вот маршруты при старте:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">92.168.0.8 via 172.16.72.1 dev eth0&nbsp; src 172.16.72.101 <br />192.168.0.0/24 via 172.16.72.1 dev eth0 <br />172.16.72.0/24 dev eth0&nbsp; proto kernel&nbsp; scope link&nbsp; src 172.16.72.101&nbsp; metric 10 <br />169.254.0.0/16 dev eth0&nbsp; scope link&nbsp; metric 10 <br />172.16.0.0/12 via 172.16.72.1 dev eth0 <br />10.0.0.0/8 via 172.16.72.1 dev eth0 <br />default via 172.16.72.1 dev eth0&nbsp; metric 10</div></p></div></div><p>Принудительный подъём внешней сетки:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">192.168.0.8 via 172.16.72.1 dev eth0&nbsp; src 172.16.72.101 <br />109.226.88.1 dev ppp0&nbsp; proto kernel&nbsp; scope link&nbsp; src 109.226.89.28 <br />192.168.0.3 via 172.16.72.1 dev eth0&nbsp; src 172.16.72.101 <br />192.168.0.0/24 via 172.16.72.1 dev eth0 <br />172.16.72.0/24 dev eth0&nbsp; proto kernel&nbsp; scope link&nbsp; src 172.16.72.101&nbsp; metric 10 <br />169.254.0.0/16 dev eth0&nbsp; scope link&nbsp; metric 10 <br />172.16.0.0/12 via 172.16.72.1 dev eth0 <br />10.0.0.0/8 via 172.16.72.1 dev eth0 <br />default dev ppp0&nbsp; scope link <br />default via 172.16.72.1 dev eth0&nbsp; metric 10</div></p></div></div><p>Сам файл rc.local:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">touch /var/lock/subsys/local<br />pppd call aist<br />route add default ppp0<br />route add -net 192.168.0.0 netmask 255.255.255.0 gw 172.16.72.1 dev eth0<br />route add -net 172.16.0.0 netmask 255.240.0.0 gw 172.16.72.1 dev eth0<br />route add -net 10.0.0.0 netmask 255.0.0.0 gw 172.16.72.1 dev eth0</div></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Sat, 04 Dec 2010 09:37:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=118728#p118728</guid>
		</item>
	</channel>
</rss>
