ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: vic ismakaev <viclists@mail.esoo.ru>
To: community@altlinux.ru
Subject: [Comm] pppd & PEERNAME & (may be) /proc
Date: Sat, 21 Jun 2003 15:12:02 +0600
Message-ID: <200306211512.02285.viclists@mail.esoo.ru> (raw)

Приветствую!
Возник вопросик,ответа на который я найти не могу:
есть ли в системе место,где PPPd может хранить свои переменные окружения.
Если основываться на мысли,что pppd может передавать свои переменные 
окружения(IFNAME,DEVICE,PEERNAME,PPPLOGNAME,SPEED,etc)  внешним скриптам 
auth-up/ip-up ,то по идее он может и хранить эти переменные где-нибудь в 
системе (в памяти или в /proc).Но откуда их можно вытянуть -я не нахожу.
В /proc/pid_of_pppd/environ храняться только переменные ,которые были 
выставлены вызвавшим pppd процессом (mgetty,например),а вот куда бы мог pppd 
затолкнуть установленые им переменные - не пойму.
Понимаю,что можно их взять через скрипты - но мне бы этого не хотелось.
Я бы предпочел,чтобы их можно было взять из /proc. Есть такая возможность или 
нет?
-- 
С уважением
Виктор В Исмакаев


             reply	other threads:[~2003-06-21  9:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-21  9:12 vic ismakaev [this message]
2003-06-21 12:51 ` ASA

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=200306211512.02285.viclists@mail.esoo.ru \
    --to=viclists@mail.esoo.ru \
    --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