ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Ostapets <eostapets@gmail.com>
To: community@altlinux.ru
Subject: Re: [Comm] динамический ip
Date: Mon, 18 Apr 2005 20:22:09 +0300
Message-ID: <e12fd2db0504181022636e8e34@mail.gmail.com> (raw)
In-Reply-To: <4263D775.8080209@ricom.ru>

On 4/18/05, Alexey Morsov <samurai@ricom.ru> wrote:
> Привет,
> 
> У меня домашняя машинка подключена по adsl, но при это с динамическим ip
> (менятеся грубо раз в 24 часа)
> От сюда у мен ядва вопроса:
> 1) можно как-то узнавать свой текущий ip адрес (по крону) и скажем
> сбрасывать его на email мне :) ?
Грубо говоря dhcp или ppp? Если первое - grep ^IPADDR
/etc/dhcp/dhcpcd-eth0.info | mail my@email.
Если второе:
echo "mail -s \$4 my@mail" > /etc/ppp/ip-up.d/email.notify
chmod u+rx /etc/ppp/ip-up.d/email.notify


-- 
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru

  parent reply	other threads:[~2005-04-18 17:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18 15:51 Alexey Morsov
2005-04-18 16:50 ` Nikolay A. Fetisov
2005-04-18 17:22 ` Eugene Ostapets [this message]
2005-04-18 18:41   ` Alexey Morsov
2005-04-18 20:08     ` Eugene Ostapets
2005-04-18 21:18       ` Alexey Morsov
2005-04-19  3:56         ` Eugene Ostapets
2005-04-18 17:42 ` sergey ivanov

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=e12fd2db0504181022636e8e34@mail.gmail.com \
    --to=eostapets@gmail.com \
    --cc=community@altlinux.ru \
    /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