ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] IP dinamic
@ 2002-04-10 19:33 Pankratov Artem
  2002-04-11 10:43 ` [mdk-re] " Mikhail Zabaluev
  2002-04-11 10:57 ` Michael Shigorin
  0 siblings, 2 replies; 6+ messages in thread
From: Pankratov Artem @ 2002-04-10 19:33 UTC (permalink / raw)
  To: Altlinux

Привет!

Как из скрипта определить ip адрес при поднятии ppp0?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [mdk-re] Re: IP dinamic
  2002-04-10 19:33 [mdk-re] IP dinamic Pankratov Artem
@ 2002-04-11 10:43 ` Mikhail Zabaluev
  2002-04-11 11:01   ` Dmitry Gerasimov
  2002-04-11 10:57 ` Michael Shigorin
  1 sibling, 1 reply; 6+ messages in thread
From: Mikhail Zabaluev @ 2002-04-11 10:43 UTC (permalink / raw)
  To: Altlinux

Hello Pankratov,

On Wed, Apr 10, 2002 at 07:28:59PM +0400, Pankratov Artem wrote:
>
> Как из скрипта определить ip адрес при поднятии ppp0?

man ifconfig
man netstat

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
If you wish to succeed, consult three old people.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [mdk-re] Re: IP dinamic
  2002-04-10 19:33 [mdk-re] IP dinamic Pankratov Artem
  2002-04-11 10:43 ` [mdk-re] " Mikhail Zabaluev
@ 2002-04-11 10:57 ` Michael Shigorin
  2002-04-11 11:04   ` Dmitry Gerasimov
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2002-04-11 10:57 UTC (permalink / raw)
  To: Altlinux

On Wed, Apr 10, 2002 at 07:28:59PM +0400, Pankratov Artem wrote:
> Как из скрипта определить ip адрес при поднятии ppp0?
Почитайте доку на pppd в пределах описания скриптов ip-up/ip-down
-- им передается пригорошня параметров.  Кажется, IP там был :-)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mdk-re] Re: IP dinamic
  2002-04-11 10:43 ` [mdk-re] " Mikhail Zabaluev
@ 2002-04-11 11:01   ` Dmitry Gerasimov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Gerasimov @ 2002-04-11 11:01 UTC (permalink / raw)
  To: Mikhail Zabaluev

примерно так (доработаете сами - идею только покажу)

/sbin/ifconfig ppp0 | grep 'inet addr' | awk {'print $2'}

MZ> Hello Pankratov,

MZ> On Wed, Apr 10, 2002 at 07:28:59PM +0400, Pankratov Artem wrote:
>>
>> Как из скрипта определить ip адрес при поднятии ppp0?

MZ> man ifconfig
MZ> man netstat




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mdk-re] Re: IP dinamic
  2002-04-11 10:57 ` Michael Shigorin
@ 2002-04-11 11:04   ` Dmitry Gerasimov
  2002-04-11 11:34     ` [mdk-re] Кто юзает SuSe ? Ven
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Gerasimov @ 2002-04-11 11:04 UTC (permalink / raw)
  To: mandrake-russian

/sbin/ifconfig ppp0 | grep 'inet addr' | awk {'print $2'} | sed -e
"s/addr\://"

вот. -))




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [mdk-re] Кто юзает SuSe ?
  2002-04-11 11:04   ` Dmitry Gerasimov
@ 2002-04-11 11:34     ` Ven
  0 siblings, 0 replies; 6+ messages in thread
From: Ven @ 2002-04-11 11:34 UTC (permalink / raw)
  To: mandrake-russian

Хотся собрать/попасть в "группу интересующихся/пользующих" Сам щас на
Мандраке и Спринге сервера держу
Можо прямо на мыло
ven@promeximbank.ru






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-11 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-10 19:33 [mdk-re] IP dinamic Pankratov Artem
2002-04-11 10:43 ` [mdk-re] " Mikhail Zabaluev
2002-04-11 11:01   ` Dmitry Gerasimov
2002-04-11 10:57 ` Michael Shigorin
2002-04-11 11:04   ` Dmitry Gerasimov
2002-04-11 11:34     ` [mdk-re] Кто юзает SuSe ? Ven

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