<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; После переноса ЖД на другое железо получил eth0_rename]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18970&amp;type=atom" />
	<updated>2011-12-20T00:17:30Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18970</id>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235896#p235896" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>...не стоит драматизировать</p></blockquote></div><p>если одна, она и определяется как eth0. Всегда.<br /></p><div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>...и где ваша eth1?</p></blockquote></div><p>не нужно. Мне просто так удобнее. eth1 в резерве, для будущего развития системы.<br /></p><div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Или попробуйте заменить какую-либо из них на другую, или поменять у любой mac-адрес.</p></blockquote></div><p>зачем? у меня они как раз и привязаны к MAC&#039;адресу. Вот если я их местами поменяю, то всё будет работать.</p><p>Проблема в том, что ядро <strong>одновременно</strong> определяет интерфейсы. И какой будет каким - зависит от внешних причин. Вам просто повезло - у вас один определяется быстрее. Но это не всегда и не у всех так.</p><div class="quotebox"><cite>Forest Gump пишет:</cite><blockquote><p>*записал на бумажку MAC eth1_rename</p></blockquote></div><p>берём мышку, копируем и вставляем. Или просто переносим&nbsp; <img src="https://linuxforum.ru/img/smilies/ae.gif" alt="ae" /></p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-12-20T00:17:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235896#p235896</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235840#p235840" />
			<content type="html"><![CDATA[<p>спасибо, ребята!</p><p>сделал так:</p><p>как исправить eth1_rename.&nbsp; как исправить eth0_rename (для поисковиков)</p><br /><p>1) <strong>ifconfig -a</strong><br />*записал на бумажку MAC eth1_rename<br />2) <strong>cat /etc/udev/rules.d/70-persistent-net.rules</strong><br />*сделал резервную копию файла<br />*исправил MAC eth1 на тот, который выписал на бумажку<br />3) <strong>reboot</strong><br />*счастлив)</p><p>дошел сам, немножко погуглив :rolleyes: </p><p>поторопился создавать&nbsp; тему, видимо сказалось отсутствие опыта общения с nix&quot;ами, конец рабочего дня, и т.д.</p>]]></content>
			<author>
				<name><![CDATA[Forest Gump]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20885</uri>
			</author>
			<updated>2011-12-19T17:51:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235840#p235840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235811#p235811" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>три карточки, и они _всегда_ определяются правильно.</p></blockquote></div><p>...и где ваша <strong>eth1</strong>? <br />Или попробуйте заменить какую-либо из них на другую, или поменять у любой mac-адрес.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-12-19T15:09:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235811#p235811</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235810#p235810" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>Если следовать заветам Lupo Alberto, будут определяться как попало.</p></blockquote></div><p>...не стоит драматизировать&nbsp; wink <br /><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"><br />gentoo-laptop lupo # head -n2 /etc/udev/rules.d/70-persistent-net.rules<br /># This file was automatically generated by the /lib/udev/write_net_rules<br /># program, run by the persistent-net-generator.rules rules file.<br /></div></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-12-19T15:07:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235810#p235810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235807#p235807" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Forest Gump пишет:</cite><blockquote><p>По логике вещей, надо сперва узнать новый Mac-адрес интерфейса.<br />А затем этот новый мас-адрес где-то прописать взамен старого.<br />Так?</p><p>Если так, то расскажите где, пожалуйста.</p></blockquote></div><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">doc@dt:~/sysinfo$ cat /etc/udev/rules.d/70-persistent-net.rules </p><p># PCI device 0x1969:0x2048 (atl2)<br />SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;00:18:e7:15:9b:07&quot;, ATTR{dev_id}==&quot;0x0&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth0&quot;<br />SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;00:13:74:00:5c:38&quot;, ATTR{dev_id}==&quot;0x0&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth2&quot;<br />SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;00:e0:4c:14:19:a9&quot;, ATTR{dev_id}==&quot;0x0&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth3&quot;<br /></div><br />три карточки, и они _всегда_ определяются правильно. Если следовать заветам <strong>Lupo Alberto</strong>, будут определяться как попало.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-12-19T14:58:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235807#p235807</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235792#p235792" />
			<content type="html"><![CDATA[<p>Попробуйте <s>удалить</s> переместить куда-либо файл <em>/etc/udev/rules.d/70-persistent-net.rules</em> и перегрузиться.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-12-19T14:11:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235792#p235792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[После переноса ЖД на другое железо получил eth0_rename]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235791#p235791" />
			<content type="html"><![CDATA[<p>Собственно, сабж.<br />Дистрибутив Debian 5.0</p><p>Перенес ЖД на другое (идентичное) железо. Теперь мой <strong>eth0</strong> именуется как <strong>eth0_rename</strong>.<br />Интуитивно догадываюсь, что проблема в MAC адресе.<br />Но что делать не знаю.</p><p>По логике вещей, надо сперва узнать новый Mac-адрес интерфейса.<br />А затем этот новый мас-адрес где-то прописать взамен старого.<br />Так?</p><p>Если так, то расскажите где, пожалуйста.</p><p>Да, и ещё маленький вопрос, как из <strong>single mode</strong> отключить загрузку в <strong>gdm</strong>? Чтобы сразу в консоль загружался.</p><p>Заранее благодарен&nbsp; wink</p>]]></content>
			<author>
				<name><![CDATA[Forest Gump]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20885</uri>
			</author>
			<updated>2011-12-19T14:05:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235791#p235791</id>
		</entry>
</feed>
