The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Подключение к Стрим'у"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Подключение к Стрим'у" 
Сообщение от ugoday Искать по авторуВ закладки on 19-Ноя-05, 17:21  (MSK)
Есть модем zyxel omni adsl lan, стоящий на уединённом (невключенном ни в какие сети) компе.
Есть статья https://www.opennet.ru/base/modem/OmniLanEELinux.txt.html, в который описываются способ подключения к стриму.
Делаю.
0. жму ресет на модеме.

1. опускаю интерфейс eth0
# ifconfig eth0 down

2. поднимаю интерфейс eth0
# ifconfig eth0 up

3. назначаю адреса
~ugoday# dhcpcd -dnCRYN eth0
dhcpcd: MAC address = 00:05:1c:0f:ff:8d
dhcpcd: your IP address = 192.163.1.32
~ugoday# dhcpcd.exe: interface eth0 has been configured with old IP=192.163.1.32

4. добавляю роутинг
~ugoday#  route add default gw  192.163.1.32 eth0
SIOCADDRT: File exists

5. захожу в модем
~ugoday# telnet 192.163.1.33

       Menu 3.2 - TCP/IP and DHCP Setup

                    DHCP Setup
                      DHCP= Server
                      Client IP Pool Starting Address= 192.163.1.32
                      Size of Client IP Pool= 1
                      Primary DNS Server= 212.188.4.10
                      Secondary DNS Server= 195.34.32.116
                      Remote DHCP Server= N/A
                    TCP/IP Setup:
                      IP Address= 192.163.1.33
                      IP Subnet Mask= 255.255.255.0
                      RIP Direction= Both
                        Version= RIP-2B
                      Multicast= None
                      IP Policies=
                      Edit IP Alias= No

                    Press ENTER to Confirm or ESC to Cancel:

        Menu 4 - Internet Access Setup

                    ISP's Name= stream
                    Encapsulation= PPPoE
                    Multiplexing= LLC-based
                    VPI #= 1
                    VCI #= 50
                    ATM QoS Type= UBR
                      Peak Cell Rate (PCR)= 0
                      Sustain Cell Rate (SCR)= 0
                      Maximum Burst Size (MBS)= 0
                    My Login= ppp0******@mtu
                    My Password= ********
                    Idle Timeout (sec)= 0
                    IP Address Assignment= Dynamic
                      IP Address= N/A
                    Network Address Translation= SUA Only
                      Address Mapping Set= N/A

                    Press ENTER to Confirm or ESC to Cancel:

                       Menu 11.1 - Remote Node Profile

     Rem Node Name= stream                Route= IP
     Active= Yes                          Bridge= No

     Encapsulation= PPPoE                 Edit IP/Bridge= No
     Multiplexing= LLC-based              Edit ATM Options= No
     Service Name=
     Incoming:                            Telco Option:
       Rem Login=                           Allocated Budget(min)= 0
       Rem Password= ********               Period(hr)= 0
     Outgoing:                              Schedule Sets=
       My Login= ppp0******@mtu             Nailed-Up Connection= Yes
       My Password= ********              Session Options:
       Authen= CHAP/PAP                     Edit Filter Sets= No
                                            Idle Timeout(sec)= N/A


                    Press ENTER to Confirm or ESC to Cancel:

6. выхожу из модема
Connection closed by foreign host.

7. пытаюсь пропинговаться
~ugoday# ping opennet.ru                        
ping: unknown host opennet.ru

8. Вопрос: где я накосячил и как это безобразие исправить?

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]

1. "Подключение к Стрим'у" 
Сообщение от ugoday Искать по авторуВ закладки on 20-Ноя-05, 10:30  (MSK)
На лоре сделали такую подсказку: "Диапазон сетей 192.163.1.0 netmask 255.255.255.0 принадлежит Texas Instruments В вашем случае должно быть 192.168.1.32 и 192.168.1.33".

Не помогло. Делаю так:

1. /home/ugoday# ifconfig eth0 down  

2. /home/ugoday# ifconfig eth0 up  

3. /home/ugoday# dhcpcd -dnCRYN eth0
dhcpcd: MAC address = 00:05:1c:0f:ff:8d
dhcpcd: your IP address = 192.168.1.32
/home/ugoday# dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.32

4. /home/ugoday#  route add default gw  192.168.1.32 eth0

5. ~% telnet 192.168.1.33

                        Menu 3.2 - TCP/IP and DHCP Setup

                    DHCP Setup
                      DHCP= Server
                      Client IP Pool Starting Address= 192.168.1.32
                      Size of Client IP Pool= 1
                      Primary DNS Server= 212.188.4.10
                      Secondary DNS Server= 195.34.32.116
                      Remote DHCP Server= N/A
                    TCP/IP Setup:
                      IP Address= 192.168.1.33
                      IP Subnet Mask= 255.255.255.0
                      RIP Direction= Both
                        Version= RIP-2B
                      Multicast= None
                      IP Policies=
                      Edit IP Alias= No

                    Press ENTER to Confirm or ESC to Cancel:

          Menu 4 - Internet Access Setup

                    ISP's Name= stream
                    Encapsulation= PPPoE
                    Multiplexing= LLC-based
                    VPI #= 1
                    VCI #= 50
                    ATM QoS Type= UBR
                      Peak Cell Rate (PCR)= 0
                      Sustain Cell Rate (SCR)= 0
                      Maximum Burst Size (MBS)= 0
                    My Login= ppp0401394@mtu
                    My Password= ********
                    Idle Timeout (sec)= 0
                    IP Address Assignment= Dynamic
                      IP Address= N/A
                    Network Address Translation= SUA Only
                      Address Mapping Set= N/A

                    Press ENTER to Confirm or ESC to Cancel:

                         Menu 11.1 - Remote Node Profile

     Rem Node Name= stream                Route= IP
     Active= Yes                          Bridge= No

     Encapsulation= PPPoE                 Edit IP/Bridge= No
     Multiplexing= LLC-based              Edit ATM Options= No
     Service Name=
     Incoming:                            Telco Option:
       Rem Login=                           Allocated Budget(min)= 0
       Rem Password= ********               Period(hr)= 0
     Outgoing:                              Schedule Sets=
       My Login= ppp0401394@mtu             Nailed-Up Connection= Yes
       My Password= ********              Session Options:
       Authen= CHAP/PAP                     Edit Filter Sets= No
                                            Idle Timeout(sec)= N/A


                    Press ENTER to Confirm or ESC to Cancel:

6. ~% ping google.com
ping: unknown host google.com

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру