ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@rambler.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] connect: Network is unreachable
Date: Sat, 19 Jan 2008 12:56:46 +0300
Message-ID: <200801191256.57543@ruslandh> (raw)
In-Reply-To: <496691200734410@webmail23.yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

Здравствуйте yuri
  В сообщении от 19 января 2008 yuri написал(a):
 > 1. Модем работает в режиме router.
 >
 > 2. service network restart - помогает, но мне нужно отключить
 > интерфейс, а затем включить через 12 часов.
service network stop
service network start

>
 > 3. А если у кого-то три интерфейса и нужно отключить один?
Отключать можно и через ifconfig, а вот включать один, конкретный 
интерфейс наверное можно, написав свой скрипт, но не через ifconfig - 
ifconfig не считывает настройки интерфейса (ip и т.п.), он просто его 
поднимает (без адресов и настроек). Кстати, правильнее ориетироваться 
на систему команд ip (ip link, ip addres и т.п.), так как во всех 
конфигурационных файлах прописываются  параметры именно этих команд, и 
это касасается не только дистрибутивов ALT. ifconfig, route и т.п. 
оставлены для совместимости и эммулируются через те-же команды ip.


-- 
  А ещё говорят так  (fortune):
 
You will reach the highest possible point in your business or 
profession. ? 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-01-19  9:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 21:47 yuri-orel
2008-01-18 22:14 ` Владимир
2008-01-18 22:32 ` yuri
2008-01-18 23:33 ` Ilja Raskin
2008-01-19  3:13   ` Sergey Sharavin
2008-01-19  5:27     ` Хихин Руслан
2008-01-19  9:20     ` yuri
2008-01-19  9:56       ` Хихин Руслан [this message]
2008-01-22  1:06         ` Michael Shigorin
2008-01-19  6:53 ` Александр Ершов
2008-01-19 10:09 ` Olvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801191256.57543@ruslandh \
    --to=hihin@rambler.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git