* Re: [sisyphus] Master beta (almost [JT]) @ 2002-01-25 17:39 ` Aleksandr Blohin 2002-01-26 9:16 ` Aleksandr Blohin 1 sibling, 0 replies; 5+ messages in thread From: Aleksandr Blohin @ 2002-01-25 17:39 UTC (permalink / raw) To: sisyphus On Fri, 25 Jan 2002 17:13:46 +0200 voo_doo@t-online.de (Vladislav Vostrykh) wrote: VV> 4. Когда выбрано несколько способов покдлючения к инету (в моем VV> случае - DSL и локальная сеть), в конце процедуры настройки сети VV> появляется окошко, которое предлагает выбрать дефолтное подключение. VV> Текст, почему-то, на английском. VV> Несмотря на выбор "локальная сеть", при загрузке также стартует VV> сервис adsl Это после-инсталляционный скрипт виноват. Жаль, но придётся прибить ;( VV> И, кстати, что-то с ним не так. Коннектится, но связи нет. VV> У меня pppoe, может поэтому. Смысл в том, что нужно убить дефолтный VV> рутинг, т.е. последовательность команд У меня тоже :) VV> route del default VV> service adsl stop VV> service adsl start Это должно работать и без route del default VV> приводит интернет в жизнеспособное состояние. VV> Кстати, жалко что не ставится rp-pppoe-gui при выборе DSL. Мне VV> как-то с ней удобнее. Захотел -- подключился. Тем более, работает от VV> пользователя. Ваша правда - жаль. А при установке, интересно, Вы его выбирали? VV> Но, поставив ее руками, я получил ту же самую проблему с рутингом. VV> Для себя я ее решил добавлением строки VV> route del default Опять же, это лишнее. Или Вы что-то недо-установили в системе. VV> в файл /usr/sbin/adsl-connect [sass@sass sbin]#/usr/sbin/adsl-stop Killing pppd (1572) Killing adsl-connect (1495) [sass@sass sbin]# /usr/sbin/adsl-connect Using interface ppp0 Connect: ppp0 <--> /dev/pts/0 Remote message: CHAP authentication success, unit 323 local IP address 80.235.33.215 remote IP address 80.235.32.1 primary DNS address 194.126.115.18 secondary DNS address 194.126.101.34 И всё работает :) VV> Как правильней? В дистрибутиве это реализовано так, что когда вызывается service adsl start, то он, в свою очередь, вызывает скрипт, /etc/sysconfig/network-scripts/net_cnx_up, в котором содержится /sbin/route del defaul. net_cnx_up создаётся draknet-ом. -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Master beta (almost [JT]) 2002-01-25 17:39 ` [sisyphus] Master beta (almost [JT]) Aleksandr Blohin @ 2002-01-26 9:16 ` Aleksandr Blohin 2002-01-26 23:24 ` Vladislav Vostrykh 1 sibling, 1 reply; 5+ messages in thread From: Aleksandr Blohin @ 2002-01-26 9:16 UTC (permalink / raw) To: sisyphus On Fri, 25 Jan 2002 17:13:46 +0200 voo_doo@t-online.de (Vladislav Vostrykh) wrote: VV> 4. Когда выбрано несколько способов покдлючения к инету (в моем VV> случае - DSL и локальная сеть), в конце процедуры настройки сети <кусь> VV> Но, поставив ее руками, я получил ту же самую проблему с рутингом. VV> Для себя я ее решил добавлением строки VV> route del default VV> в файл /usr/sbin/adsl-connect VV> Как правильней? Более тщательное исследование позволяет предположить, что у Вас вступают в конфликт стартовые скрипты Internet и ADSL. Одного из них надо убить. -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Master beta (almost [JT]) 2002-01-26 9:16 ` Aleksandr Blohin @ 2002-01-26 23:24 ` Vladislav Vostrykh 2002-01-27 8:22 ` Andrey S. Pankov 2002-01-27 11:30 ` Aleksandr Blohin 0 siblings, 2 replies; 5+ messages in thread From: Vladislav Vostrykh @ 2002-01-26 23:24 UTC (permalink / raw) To: sisyphus Приветствую. Я тут намешаю из двух писем, можно? :) On Sat, 26 Jan 2002 11:16:24 +0200 "Aleksandr Blohin" <sass@uustoll.ee> wrote: > On Fri, 25 Jan 2002 17:13:46 +0200 > voo_doo@t-online.de (Vladislav Vostrykh) wrote: > > VV> 4. Когда выбрано несколько способов покдлючения к инету (в моем > VV> случае - DSL и локальная сеть), в конце процедуры настройки сети > > <кусь> > > VV> Но, поставив ее руками, я получил ту же самую проблему с рутингом. > VV> Для себя я ее решил добавлением строки > VV> route del default > VV> в файл /usr/sbin/adsl-connect > VV> Как правильней? > > Более тщательное исследование позволяет предположить, что у Вас вступают > в конфликт стартовые скрипты Internet и ADSL. Одного из них надо убить. Дело в том, что я уже тут говорил не про стартовые скрипты, а про tkppoe из rp-pppoe-gui. Ну и, кроме того, при инсталляции я выбрал Internet в качестве подключения (когда меня предупредили что несколько соединений). Почему при этом в стартовых скриптах оказался adsl? > VV> route del default > VV> service adsl stop > VV> service adsl start > > Это должно работать и без route del default Включил снова (для тестов) запуск adsl при загрузке. После загрузки: [root@voodoos-laptop root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:50:DA:EA:BF:59 inet addr:192.168.1.84 Bcast:192.168.1.255 Mask:255.255.255.0 ppp0 Link encap:Point-to-Point Protocol inet addr:ххх.ххх.227.83 P-t-P:217.5.98.8 Mask:255.255.255.255 [root@voodoos-laptop root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 (интернета нет) [root@voodoos-laptop root]# service adsl stop Shutting down ADSL link [ OK ] [root@voodoos-laptop root]# service adsl start Bringing up ADSL link.. Connected! [ OK ] [root@voodoos-laptop root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 (интернета нет) [root@voodoos-laptop root]# route del default (!!!) [root@voodoos-laptop root]# service adsl restart Shutting down ADSL link [ OK ] Bringing up ADSL link. Connected! [ OK ] [root@voodoos-laptop root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 ххх.ххх.98.8 0.0.0.0 UG 0 0 0 ppp0 (интернет есть!) > VV> Кстати, жалко что не ставится rp-pppoe-gui при выборе DSL. Мне > VV> как-то с ней удобнее. Захотел -- подключился. Тем более, работает от > VV> пользователя. > > Ваша правда - жаль. А при установке, интересно, Вы его выбирали? Как я писал выше, я не делал детального выбора пакетов, просто отметил _все_ разделы. Кстати, rp-pppoe поставился, а rp-pppoe-gui нет. Было бы здорово ставить оба при выборе подключения через DSL (и еще можно сделать линк "Интернет" на рабочем столе KDE не на kppp а на tkpppoe в этом случае) Ну вот, tkpppoe без route del default не работает :( То же самое - рутинг остается на 192.168.1.1. Именно поэтому мне и пришлось добавить строчку в /usr/sbin/adsl-connect После этого все работает как мне хочется :) (т.е. сначала сеть. а если ДСЛ нужен - то он через tkpppoe) > В дистрибутиве это реализовано так, что когда вызывается > service adsl start, то он, в свою очередь, вызывает скрипт, > /etc/sysconfig/network-scripts/net_cnx_up, в котором содержится > /sbin/route del defaul. > net_cnx_up создаётся draknet-ом. Вот содержимое net_cnx_up после инсталляции (примеры выше, кстати, тоже после инсталляции, т.е. я не конфигурировал больше DSL соединение. Ну, за исключением tkpppoe :)) [.... network-scripts]# cat /etc/sysconfig/network-scripts/net_cnx_up #!/bin/bash if [ "x$1" == "x--boot_time" ]; then exit; fi /etc/rc.d/init.d/network restart [......... network-scripts]# (черт, а зачем я, собственно, цитировал командную строку вверху с ifconfig и route??? :)) В общем, интернет есть, но после маааленького напильника :) Меня, кстати, больше интересует правильная работа tkpppoe, а не сервиса adsl. Потому что dsl раз в сутки отключают (чтобы динамический ip был :)), а заставлять пользователя (себя, например) делать service adsl restart не хочется. Кроме того, ДСЛ же не всегда подключен (на работе мне нужна сеть, дома - ДСЛ) Я не слишком тут расписался? :) Просто хочется чтобы такая комбинация (сеть и ДСЛ) работала "с нуля". WBR, Vlad Vostrykh ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Master beta (almost [JT]) 2002-01-26 23:24 ` Vladislav Vostrykh @ 2002-01-27 8:22 ` Andrey S. Pankov 2002-01-27 11:30 ` Aleksandr Blohin 1 sibling, 0 replies; 5+ messages in thread From: Andrey S. Pankov @ 2002-01-27 8:22 UTC (permalink / raw) To: sisyphus 27 Январь 2002 01:24, Вы написали: > Приветствую. Салют :) > Я тут намешаю из двух писем, можно? :) > > On Sat, 26 Jan 2002 11:16:24 +0200 > > "Aleksandr Blohin" <sass@uustoll.ee> wrote: > > On Fri, 25 Jan 2002 17:13:46 +0200 > > voo_doo@t-online.de (Vladislav Vostrykh) wrote: > > > > VV> 4. Когда выбрано несколько способов покдлючения к инету (в моем > > VV> случае - DSL и локальная сеть), в конце процедуры настройки сети > > > > <кусь> > > > > VV> Но, поставив ее руками, я получил ту же самую проблему с рутингом. > > VV> Для себя я ее решил добавлением строки > > VV> route del default > > VV> в файл /usr/sbin/adsl-connect > > VV> Как правильней? > > > > Более тщательное исследование позволяет предположить, что у Вас вступают > > в конфликт стартовые скрипты Internet и ADSL. Одного из них надо убить. > > Дело в том, что я уже тут говорил не про стартовые скрипты, а про tkppoe из > rp-pppoe-gui. Ну и, кроме того, при инсталляции я выбрал Internet в > качестве подключения (когда меня предупредили что несколько соединений). > Почему при этом в стартовых скриптах оказался adsl? > > > VV> route del default > > VV> service adsl stop > > VV> service adsl start > > > > Это должно работать и без route del default > > Включил снова (для тестов) запуск adsl при загрузке. После загрузки: > [root@voodoos-laptop root]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:50:DA:EA:BF:59 > inet addr:192.168.1.84 Bcast:192.168.1.255 Mask:255.255.255.0 > ppp0 Link encap:Point-to-Point Protocol > inet addr:ххх.ххх.227.83 P-t-P:217.5.98.8 Mask:255.255.255.255 > [root@voodoos-laptop root]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 > 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 > 0 eth0 (интернета нет) > > [root@voodoos-laptop root]# service adsl stop > Shutting down ADSL link > [ OK ] [root@voodoos-laptop root]# service adsl start > Bringing up ADSL link.. Connected! > [ OK ] [root@voodoos-laptop root]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 > 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 > 0 eth0 (интернета нет) > > [root@voodoos-laptop root]# route del default (!!!) > [root@voodoos-laptop root]# service adsl restart > Shutting down ADSL link > [ OK ] Bringing up ADSL link. Connected! > [ OK ] [root@voodoos-laptop root]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface ххх.ххх.98.8 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 > 0 lo 0.0.0.0 ххх.ххх.98.8 0.0.0.0 UG 0 0 > 0 ppp0 (интернет есть!) > Если я не ошибаюсь, то с какого-то времени для любых ррр соединений при наличии дефолтового роутинга он не переопределяется. Правда, я всегда просто тушил eth, подымал ррр и опять eth. > > VV> Кстати, жалко что не ставится rp-pppoe-gui при выборе DSL. Мне > > VV> как-то с ней удобнее. Захотел -- подключился. Тем более, работает от > > VV> пользователя. > > > > Ваша правда - жаль. А при установке, интересно, Вы его выбирали? > > Как я писал выше, я не делал детального выбора пакетов, просто отметил > _все_ разделы. Кстати, rp-pppoe поставился, а rp-pppoe-gui нет. Было бы > здорово ставить оба при выборе подключения через DSL (и еще можно сделать > линк "Интернет" на рабочем столе KDE не на kppp а на tkpppoe в этом случае) > Ну вот, tkpppoe без route del default не работает :( > То же самое - рутинг остается на 192.168.1.1. Именно поэтому мне и пришлось > добавить строчку в /usr/sbin/adsl-connect После этого все работает как мне > хочется :) (т.е. сначала сеть. а если ДСЛ нужен - то он через tkpppoe) > > > В дистрибутиве это реализовано так, что когда вызывается > > service adsl start, то он, в свою очередь, вызывает скрипт, > > /etc/sysconfig/network-scripts/net_cnx_up, в котором содержится > > /sbin/route del defaul. > > net_cnx_up создаётся draknet-ом. > > Вот содержимое net_cnx_up после инсталляции (примеры выше, кстати, тоже > после инсталляции, т.е. я не конфигурировал больше DSL соединение. Ну, за > исключением tkpppoe :)) > > [.... network-scripts]# cat /etc/sysconfig/network-scripts/net_cnx_up > #!/bin/bash > if [ "x$1" == "x--boot_time" ]; then exit; fi > > /etc/rc.d/init.d/network restart > [......... network-scripts]# > > (черт, а зачем я, собственно, цитировал командную строку вверху с ifconfig > и route??? :)) > > В общем, интернет есть, но после маааленького напильника :) > Меня, кстати, больше интересует правильная работа tkpppoe, а не сервиса > adsl. Потому что dsl раз в сутки отключают (чтобы динамический ip был :)), > а заставлять пользователя (себя, например) делать service adsl restart не > хочется. Кроме того, ДСЛ же не всегда подключен (на работе мне нужна сеть, > дома - ДСЛ) > > Я не слишком тут расписался? :) Просто хочется чтобы такая комбинация (сеть > и ДСЛ) работала "с нуля". > > WBR, > Vlad Vostrykh > > _______________________________________________ > Sisyphus mailing list > Sisyphus@altlinux.ru > http://altlinux.ru/mailman/listinfo/sisyphus ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Master beta (almost [JT]) 2002-01-26 23:24 ` Vladislav Vostrykh 2002-01-27 8:22 ` Andrey S. Pankov @ 2002-01-27 11:30 ` Aleksandr Blohin 1 sibling, 0 replies; 5+ messages in thread From: Aleksandr Blohin @ 2002-01-27 11:30 UTC (permalink / raw) To: sisyphus On Sun, 27 Jan 2002 00:24:20 +0100 voo_doo@t-online.de (Vladislav Vostrykh) wrote: VV> Дело в том, что я уже тут говорил не про стартовые скрипты, а про VV> tkppoe из rp-pppoe-gui. Только-что проверил - у меня всё работает. VV> Ну и, кроме того, при инсталляции я выбрал Internet в качестве VV> подключения (когда меня предупредили что несколько соединений). VV> Почему при этом в стартовых скриптах оказался adsl? Скрипт adsl устанавливается в том случае, если Вы выбрали rp-pppoe к установке. Это неотъемлемая часть этого пакета. Но, если раньше он был сконфигурирован так, чтобы поднимать adsl-соединение при старте системы автоматически, то теперь я изменил поведение после-установочных скриптов так, что теперь автоматический запуск пользователь должен назначить сам. А скрипт internet создаётся draknet-ом при настройке сетевых подключений. VV> Включил снова (для тестов) запуск adsl при загрузке. После загрузки: А internet при этом выключили? Попробуйте "опустить" сервис internet при загрузке. Иначе он вступает в конфликт с adsl, так как оба пытаются управлять одним и тем же соединением. >> VV> Кстати, жалко что не ставится rp-pppoe-gui при выборе DSL. Мне >> VV> как-то с ней удобнее. Захотел -- подключился. Тем более, работает >>от >> VV> пользователя. >> >> Ваша правда - жаль. А при установке, интересно, Вы его выбирали? VV> Как я писал выше, я не делал детального выбора пакетов, просто VV> отметил _все_ разделы. VV> Кстати, rp-pppoe поставился, а rp-pppoe-gui нет. Было бы здорово gui нужен не всем, но при выборе всех пакетов он должен был установиться. Это недочёт программы установки. В BTS, пожалуйста. VV> ставить оба при выборе подключения через DSL (и еще можно сделать VV> линк "Интернет" на рабочем столе KDE не на kppp а на tkpppoe в этом VV> случае) Хм. Подумаем :) -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-01-27 11:30 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-01-25 17:39 ` [sisyphus] Master beta (almost [JT]) Aleksandr Blohin 2002-01-26 9:16 ` Aleksandr Blohin 2002-01-26 23:24 ` Vladislav Vostrykh 2002-01-27 8:22 ` Andrey S. Pankov 2002-01-27 11:30 ` Aleksandr Blohin
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git