Дружба Ubuntu и ADSL модема D-Link DSL 200 3 Gen.

Автор Somebody, 26 Мая 2008, 23:32

« предыдущая тема - следующая тема »

0 Пользователей и 1 Гость просматривают эту тему.

Somebody

Уважаемые участники LFK и просто продвинутые Linuxoid'ы!!! я хотел спросить о настройки модема D-Link DSL-200 III Generation!! Я своими познаниями в Линухе не силен, но я установил на него дрова, нужные синхи! Он успешно синхранизируется, лампочки не тухнут, определяется как сетевое устройство tap0!!! но когда я запускаю sudo pppoeconf он сканирует устройства и невидит в нем конекта!! когда я пишу sudo pppoe-start он запускается и пишит типа CONNECTION IS TIME OUT!!! помоему так!! и я уже 2 неделю бьюсь и немагу настроить!! что можете посоветовать, кроме покупки другого модема???
может мне поставить другой Линух?? Винда окончательно, задрала, Помогите мне вступить в ряды Линухоидов 

Мой Линух: Ubuntu 7.10 Gutsy!!

Vicpo

eciadsl точно настроен?
если не сложно конфиг в студию
второе попробуй настроить подключение через network manager
третье нужны выводы команд
ifconfigи
lspciдля начала пока хватит

Somebody

Вот мой лог:
linuxoid@linuxoid-desktop:~$ sudo eciadsl-start
[sudo] password for linuxoid:

[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is missing... trying to mount
Loading tun/tap module...
tun loaded successfully

[EciAdsl 2/5] Uploading firmware...

Process skipped .. no more needed
firmware loaded successfully

[EciAdsl 3/5] Synchronization...

OK eciadsl-synch: success                                                           
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
linuxoid@linuxoid-desktop:~$ sudo pppoe-start
................TIMED OUT
/usr/sbin/pppoe-start: line 193:  5936 Terminated              $CONNECT "$@" > /dev/null 2>&1
linuxoid@linuxoid-desktop:~$

Остальное в Скринах!!
1. pppoeconf
2. pppoeconf eror
3. А вот настройки!

ща закину еще логи!

Somebody

linuxoid@linuxoid-desktop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:22:01:76:F0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:21 Base address:0xcc00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linuxoid@linuxoid-desktop:~$ [b]sudo eciadsl-start[/b]
[sudo] password for linuxoid:

[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is missing... trying to mount
Loading tun/tap module...
tun loaded successfully

[EciAdsl 2/5] Uploading firmware...

Process skipped .. no more needed
firmware loaded successfully

[EciAdsl 3/5] Synchronization...

OK eciadsl-synch: success                                                           
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
linuxoid@linuxoid-desktop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:22:01:76:F0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:21 Base address:0xcc00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tap0      Link encap:Ethernet  HWaddr 00:FF:63:8D:B4:B4 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[glow=red,2,300]linuxoid@linuxoid-desktop:~$ lspci[/glow]
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
02:03.0 IDE interface: Integrated Technology Express, Inc. Unknown device 8213
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
linuxoid@linuxoid-desktop:~$


Eciadsl.conf
VID1=0915
PID1=8104
VID2=0915
PID2=8104
MODE=LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS
VCI=40
VPI=0
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/gs7470_synch20.bin
PPPD_USER=Somebody
PPPD_PASSWD=
USE_DHCP=no
USE_STATICIP=no
STATICIP=
GATEWAY=
MODEM=Other
MODEM_CHIPSET=GS7470
SYNCH_ALTIFACE=5
PPPOECI_ALTIFACE=1
PROVIDER=Other
DNS1=212.19.40.14
DNS2=212.19.48.14

2. Pppoe.conf
ETH='tap0'
USER='ptn'
DEMAND=no
#DEMAND=300
DNSTYPE=SERVER
PEERDNS=yes
DNS1=
DNS2=
DEFAULTROUTE=yes
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
CF_BASE=`basename $CONFIG`
PIDFILE="/var/run/$CF_BASE-pppoe.pid"
SYNCHRONOUS=no
#SYNCHRONOUS=yes
CLAMPMSS=1412
#CLAMPMSS=100
#CLAMPMSS=no
LCP_INTERVAL=20
LCP_FAILURE=3
#LCP_FAILURE=30
PPPOE_TIMEOUT=80
FIREWALL=NONE
LINUX_PLUGIN=
PPPOE_EXTRA=""
PPPD_EXTRA=""

3. Resolv.conf
nameserver 212.19.40.14
nameserver 212.19.48.14

Vicpo

SYNCH=/etc/eciadsl/gs7470_synch20.bin вот эту строчку поменяй на SYNCH=/etc/eciadsl/gs7470_synch21.bin или попробуй вот этот файл синхронизации(во вложении) у тебя вроде как синхронизация идет и в то же время не идет по причине того что у казтелекома модуляция MultiMode попробуй то что сказал потом отпишись

Somebody

поставил 21 синх!! все окей!! появилось окно настройки pppoeconf  в котором ввел логин и пароль!! после этого pppoe-start и опять TIME OUT!!
ЗЫ: лампочки на модеме горят!!
С 999 синхрой, синхранизация проходит около 10 минут, и лампочки мигают!!! pppoeconf невидит конект!!

Vicpo

так тады оставь на 21 синхе и логи отработки pppoe в студию при подключении

Vicpo


Somebody

ЛОГ!
linuxoid@linuxoid-desktop:~$ sudo eciadsl-start
[sudo] password for linuxoid:

[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is missing... trying to mount
Loading tun/tap module...
tun loaded successfully

[EciAdsl 2/5] Uploading firmware...

Process skipped .. no more needed
firmware loaded successfully

[EciAdsl 3/5] Synchronization...

OK eciadsl-synch: success                                                           
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
linuxoid@linuxoid-desktop:~$ sudo eciadsl-stop
EciAdsl: shutting down...
Please wait... disconnecting
modem disconnected
linuxoid@linuxoid-desktop:~$ cd ~/Downloads
linuxoid@linuxoid-desktop:~/Downloads$ sudo mv eciadsl.conf /etc/eciadsl/eciadsl.conf
linuxoid@linuxoid-desktop:~/Downloads$ sudo eciadsl-start
[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is OK

[EciAdsl 2/5] Uploading firmware...

Process skipped .. no more needed
firmware loaded successfully

[EciAdsl 3/5] Synchronization...

OK eciadsl-synch: success                                                           
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
linuxoid@linuxoid-desktop:~/Downloads$ pppoe-setuo
bash: pppoe-setuo: command not found
linuxoid@linuxoid-desktop:~/Downloads$ pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

/usr/sbin/pppoe-setup: Sorry, you must be root to run this script
linuxoid@linuxoid-desktop:~/Downloads$ sudo pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good!  Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default Somebody):

INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default tap0): tap0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
>>> Enter the demand value (default no): no

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 217.15.134.65
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
>>> Enter the secondary DNS server address here: 217.15.135.68

PASSWORD

>>> Please enter your PPPoE password:   
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
>>> Choose a type of firewall (0-2): 0

** Summary of what you entered **

Ethernet Interface: tap0
User name:          Somebody
Activate-on-demand: No
Primary DNS:        217.15.134.65
Secondary DNS:      217.15.135.68
Firewalling:        NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/resolv.conf
  (But first backing it up to /etc/resolv.conf-bak)
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down.  Type 'pppoe-status' to see the link status.
linuxoid@linuxoid-desktop:~/Downloads$ sudo mv pap-secrets /etc/eciadsl/pap-secrets
linuxoid@linuxoid-desktop:~/Downloads$ sudo mv chap-secrets /etc/eciadsl/chap-secrets
linuxoid@linuxoid-desktop:~/Downloads$ sudo eciadsl-stopEciAdsl: shutting down...
Please wait... disconnecting
modem disconnected
linuxoid@linuxoid-desktop:~/Downloads$ sudo eciadsl-start

[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is OK

[EciAdsl 2/5] Uploading firmware...

Process skipped .. no more needed
firmware loaded successfully

[EciAdsl 3/5] Synchronization...

OK eciadsl-synch: success                                                           
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
linuxoid@linuxoid-desktop:~/Downloads$ sudo if
if        ifconfig  ifdown    ifup     
linuxoid@linuxoid-desktop:~/Downloads$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:22:01:76:F0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:21 Base address:0x8c00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tap0      Link encap:Ethernet  HWaddr 00:FF:06:BA:BC:CA 
          inet6 addr: fe80::2ff:6ff:feba:bcca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

linuxoid@linuxoid-desktop:~/Downloads$ sudo pppoe-start................TIMED OUT
/usr/sbin/pppoe-start: line 193:  6533 Terminated              $CONNECT "$@" > /dev/null 2>&1

Vicpo

Вот смотри ты поднимаешь синхронизацию потом настраиваешь pppoe после настройки попробуй сразу стартовать pppoe-start и почитай статью выше по ссылке там особенности Ubuntu написаны

Somebody

я так и делаю, после настройки сразу рррое-старт а там Тайм Аут!!!
ЗЫ ща еще разок попробую

Vicpo


Somebody

Vicpo я только не уверен в настроиках ДНС?? если можешь, дай пожалуйста ИП ДНС серваков!!
а так, у меня все стоит как в инструкции! только вместо 0.33 у меня 0.40 в винде так пашет!!
файлы пппое.конф и остальные создаются сами! все проверил! только в ДНС неуверен!

Vicpo

212.19.149.53 212.19.149.54 ставь эти не ошибешься :-) да у мегалайн 0,40

Somebody

VICPO!!!! У меня это получилось!!!!
Ёхохо и бутылка рома!!!
Вот логи!! Правда я поставил Ubuntu 8.04 а действия выполнял такие же. как описано выше вот мой лог сейчас!
linuxoid@linuxoid-desktop:~$ sudo pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good!  Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default )()()()()()()(): )()()()()()()()(

INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default tap0): tap0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
>>> Enter the demand value (default no):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 212.19.149.53
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
>>> Enter the secondary DNS server address here: 212.19.149.54

PASSWORD

>>> Please enter your PPPoE password:   
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
>>> Choose a type of firewall (0-2): 0

** Summary of what you entered **

Ethernet Interface: tap0
User name:          ()()()()()()()()()
Activate-on-demand: No
Primary DNS:        212.19.149.53
Secondary DNS:      212.19.149.54
Firewalling:        NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/resolv.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down.  Type 'pppoe-status' to see the link status.
linuxoid@linuxoid-desktop:~$ sudo pppoe-start
.. Connected!
linuxoid@linuxoid-desktop:~$

Скрин выложу попозже!!

Vicpo

значит дело было в ядре все таки........ я читал об этом но вроде в списке не благонадежных не числилось и в списках благонадежных кстати тоже

Somebody

Правда почемуто после 30 минут инет проподает!!!
Пишу пппое-старт пишет что типа уже запущено!!!
пишу пппое-стоп пишет какуюто фигню!! помогает только отсоединение модема!!!

Vicpo

когда интернет пропадает в консоли dmesg | tail и вывод сюда

Somebody

а можно ето вообще устранить???
ща зайду с Линя!! Просто тут у меня ася, телефон и всякое такое в винде, а там пока нету!!!
Ща погодь  ;)

Vicpo

чтобы устранить надо  для начала узнать что происходит