ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Horoshkov <yurih@voliacable.com>
To: community@altlinux.ru
Subject: [Comm] Re: [SUMMARY] Настройка интернета через кабельное TV
Date: Fri, 21 Jan 2005 08:51:41 +0200
Message-ID: <41F0A67D.8090500@voliacable.com> (raw)
In-Reply-To: <41F02976.2000409@voliacable.com>

Yuri Horoshkov пишет:
> Anatoliy Lisjutin пишет:
> 
>> В сообщении от 20 Январь 2005 23:44 Yuri Horoshkov написал(a):
>>  
>>
>>> Здравствуйте Community!
>>> Имеется свежеустановленный Мастер 2.4 и подключение к Интернету через
>>> сетевую карту 3com905 и далее кабельный модем. При установке Мастера
>>> карта определилась и я указал адрес 192.168.0.1. В ответ мне назначили
>>> DNS 192.168.0.2, а в скобках шлюз 192.168.0.1, что я и подтвердил.
>>> Имеются записи:
>>> В /etc/hosts:
>>> 127.0.0.1     localhost.localdomain
>>> 192.168.0.1    mayhome
>>> В /etc/resolv.conf:
>>> search localdomain
>>> nameserver    127.0.0.1
>>> nameserver    192.168.0.2
>>>   
>>
>> Ой как интересно. Это Вы сами сетку создаете и сами в ней шлюзом 
>> будете или все же в локальную сеть провайдера входите?
> 
> Вхожу в локальную сеть провайдера.
> 
>> В последнем случае вам бы или IP конкретный и DNS назначили или IP 
>> DHCP и шлюза в сети как у меня. Если вас подключали то и исходные 
>> данные бы должны были оставить для подключения. Вы дбумажки посмотрите 
>> повнимательнее.
>>
>>  
>>
> Мне настраивали Windows под такой Инет и там все адреса устанавливаются 
> автоматически(т.е. провайдером). И как я сейчас сообразил, при установке 
> Мастера мне не надо было явно прописывать те IP, которые упоминались 
> выше. Но тогда не понимаю, какие записи в /etc/sisconfig/network надо 
> править,  чтобы они соответствовали автоматическому получению адресов от 
> провайдера как в Windows?

Разобрался. В /etc/sysconfig/network должны быть записи:
NETWORKING=yes
GATEWAY=0.0.0.0
А в /etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Кроме того должен стоять dhcp-client.
Всё отлично работает и squid и pdnsd c обычными настройками.

P.S. Подскажите, плз, есть ли такая "примочка" для этого случая, чтобы 
трафик считала, скорость показывала и "лампочки" в трее мигали. Ну прямо 
как в кррр.


-- 
С уважением,
Юрий.


  reply	other threads:[~2005-01-21  6:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 20:44 [Comm] " Yuri Horoshkov
2005-01-20 21:06 ` Anatoliy Lisjutin
2005-01-20 21:58   ` Yuri Horoshkov
2005-01-21  6:51     ` Yuri Horoshkov [this message]
2005-01-21  8:08       ` [Comm] " Michael Shigorin
2005-01-21 15:18         ` Yuri Horoshkov
2005-01-21 16:05           ` Anatoliy Lisjutin
2005-01-21 10:41       ` [Comm] Re: [SUMMARY] " Anatoliy Lisjutin
2005-01-21 11:39         ` Andriy Dobrovol's'kii
2005-01-21 12:08           ` Anatoliy Lisjutin
2005-01-21 13:55             ` [Comm] [FAQ!] " 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=41F0A67D.8090500@voliacable.com \
    --to=yurih@voliacable.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