ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitriy Khanzhin <dimajin@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] модем ADSL
Date: Sun, 06 Apr 2008 21:16:58 +0400
Message-ID: <47F9058A.9030208@mail.ru> (raw)
In-Reply-To: <47F8DCB2.9040905@gmail.com>

Motsyo Gennadi aka Drool пишет:
> Геннадий Ищенко пишет:
>>
>> Спасибо Matsyo Gennadi за информацию. Буду изучать.
>> Извините за ошибку в ссылке. Настройки модема
>> можно посмотреть на: http://ifolder.ru/6032493
> 
> 	Обычная настройка бриждом. Попросите кого-нибудь поделиться своими
> конфигами pppoe-соединения, если им кто-то пользуется.

У меня настроен бриджом.
[diman@dimanko ~]$ cat /etc/net/ifaces/ppp0/options
ONBOOT=yes
PPPTYPE=pppoe
HOST=world0
PPPPERSIST=on
PPPMAXFAIL=0
[diman@dimanko ~]$ cat /etc/net/ifaces/ppp0/pppoptions
user user_name
defaultroute
mtu 1476
nomppe
[diman@dimanko ~]$ cat /etc/net/ifaces/world0/options
TYPE=eth
MODULE=8139too
BOOTPROTO=static
DISABLED=no
ONBOOT=yes
[diman@dimanko ~]$ cat /etc/net/ifaces/world0/ipv4address
192.168.1.4/24
[diman@dimanko ~]$ cat /etc/net/ifaces/world0/ipv4route
192.168.1.1
default via 192.168.1.1

В /etc/ppp/{pap,chap}-secrets (зависит от метода аутентификации) не забыть
вписать логин-пароль.
И все, собственно.
# ifup ppp0 интерфейс поднимает,
# ifdown ppp0 - кладет.

ethernet-интерфейс обозван world0, т.к. еще один смотрит в локалку.

А если хочется пользовать pppoe-connect, правки файла /etc/ppp/pppoe.conf
вообще интуитивно-понятны. :-)

А вот что я правил после альтератора- уже не помню.

-- 
Rgrds, jinn.


  reply	other threads:[~2008-04-06 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 13:48 Геннадий Ищенко
2008-04-06 14:22 ` Motsyo Gennadi aka Drool
2008-04-06 17:16   ` Dmitriy Khanzhin [this message]
2008-04-06 17:38     ` Alexey I. Froloff
2008-04-06 18:12       ` Dmitriy Khanzhin
2008-04-06 18:33         ` Alexey I. Froloff
2008-04-07 15:00         ` Michael Shigorin
2008-04-07 15:25           ` Dmitriy Khanzhin
2008-04-07 15:40             ` Michael Shigorin

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=47F9058A.9030208@mail.ru \
    --to=dimajin@mail.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