diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-03-04 17:48:08 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-03-04 17:48:08 +0000 |
commit | 5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274 (patch) | |
tree | 3cde03e52ffc147d9b8adc628e86942d01f810aa /perl-install | |
parent | 87cfb5bdad5e80eb98c924749c3ad03e40e6b794 (diff) | |
download | drakx-5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274.tar drakx-5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274.tar.gz drakx-5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274.tar.bz2 drakx-5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274.tar.xz drakx-5d2461b00ff9ef0c87858a04d6a7d9fe2fb17274.zip |
add provider IDs, comments, cleanups
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/adsl_consts.pm | 144 |
1 files changed, 127 insertions, 17 deletions
diff --git a/perl-install/network/adsl_consts.pm b/perl-install/network/adsl_consts.pm index 000f3b2f8..9274390c3 100644 --- a/perl-install/network/adsl_consts.pm +++ b/perl-install/network/adsl_consts.pm @@ -9,26 +9,41 @@ use utf8; @ISA = qw(Exporter); @EXPORT = qw(@adsl_data); -# From: +# Originally from : # http://www.eagle-usb.org/article.php3?id_article=23 # http://www.sagem.com/web-modems/download/support-fast1000-fr.htm # http://perso.wanadoo.fr/michel-m/protocolesfai.htm our %adsl_data = ( - # country|provider => { VPI, VCI_hexa, ... } + ## format chosen is the following : + # country|provider => { VPI, VCI_hexa, ... } all parameters + # country is automagically translated into LANG with N function + # provider is kept "as-is", not translated + # id is used by eagleconfig to identify an ISP (I use ISO_3166-1) + # see http://en.wikipedia.org/wiki/ISO_3166-1 + # url_tech : technical URL providing info about ISP + # vpi : virtual path identifier + # vci : virtual channel identifier (in hexa below !!) # Encapsulation: # 1=PPPoE LLC, 2=PPPoE VCmux (never used ?) # 3=RFC1483/2684 Routed IP LLC, # 4=RFC1483/2684 Routed IP (IPoA VCmux) # 5 RFC2364 PPPoA LLC, # 6 RFC2364 PPPoA VCmux + # see http://faq.eagle-usb.org/wakka.php?wiki=AdslDescription # dns are provided for when !usepeerdns in peers config file + # dnsServer2 dnsServer3 : main DNS + # dnsServers_text : string with any valid DNS (when more than 2) + # DOMAINNAME2 : used for search key in /etc/resolv.conf # method : PPPoA, pppoe, static or dhcp + # methods_all : all methods for connection with this ISP (when more than 1) + # modem : model of modem provided by ISP or tested with ISP # please forward updates to http://forum.eagle-usb.org - # order alphabetically by country (in English) / ISP (local language) + # try to order alphabetically by country (in English) / ISP (local language) N("Algeria") . "|Wanadoo" => { + id => 'DZ01', vpi => 0, vci => 23, Encapsulation => 1, @@ -39,6 +54,7 @@ our %adsl_data = ( N("Argentina") . "|Speedy" => { + id => 'AR01', vpi => 1, vci => 23, Encapsulation => 1, @@ -49,6 +65,7 @@ our %adsl_data = ( N("Austria") . "|Any" => { + id => 'AT00', vpi => 8, vci => 30, Encapsulation => 6, @@ -57,6 +74,7 @@ our %adsl_data = ( N("Austria") . "|AON" => { + id => 'AT01', vpi => 1, vci => 20, Encapsulation => 6, @@ -65,6 +83,7 @@ our %adsl_data = ( N("Austria") . "|Telstra" => { + id => 'AT02', vpi => 8, vci => 23, Encapsulation => 1, @@ -73,6 +92,7 @@ our %adsl_data = ( N("Belgium") . "|ADSL Office" => { + id => 'BE04', vpi => 8, vci => 23, Encapsulation => 3, @@ -81,6 +101,7 @@ our %adsl_data = ( N("Belgium") . "|Tiscali BE" => { + id => 'BE01', vpi => 8, vci => 23, Encapsulation => 6, @@ -92,6 +113,7 @@ our %adsl_data = ( N("Belgium") . "|Belgacom" => { + id => 'BE03', vpi => 8, vci => 23, Encapsulation => 6, @@ -100,6 +122,7 @@ our %adsl_data = ( N("Belgium") . "|Turboline" => { + id => 'BE02', vpi => 8, vci => 23, Encapsulation => 5, @@ -108,6 +131,7 @@ our %adsl_data = ( N("Brazil") . "|Speedy/Telefonica" => { + id => 'BR01', vpi => 8, vci => 23, Encapsulation => 1, @@ -118,6 +142,7 @@ our %adsl_data = ( N("Brazil") . "|Velox/Telemar" => { + id => 'BR02', vpi => 0, vci => 21, Encapsulation => 1, @@ -126,6 +151,7 @@ our %adsl_data = ( N("Brazil") . "|Turbo/Brasil Telecom" => { + id => 'BR03', vpi => 0, vci => 23, Encapsulation => 1, @@ -134,6 +160,7 @@ our %adsl_data = ( N("Brazil") . "|Rio Grande do Sul (RS)" => { + id => 'BR04', vpi => 1, vci => 20, Encapsulation => 1, @@ -142,6 +169,7 @@ our %adsl_data = ( N("Bulgaria") . "|BTK ISDN" => { + id => 'BG02', vpi => 1, vci => 20, Encapsulation => 1, @@ -150,6 +178,7 @@ our %adsl_data = ( N("Bulgaria") . "|BTK POTS" => { + id => 'BG01', vpi => 0, vci => 23, Encapsulation => 1, @@ -158,6 +187,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Beijing" => { + id => 'CN01', vpi => 0, vci => 23, Encapsulation => 3, @@ -166,6 +196,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Changchun" => { + id => 'CN02', vpi => 8, vci => 23, Encapsulation => 3, @@ -174,6 +205,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Harbin" => { + id => 'CN03', vpi => 8, vci => 23, Encapsulation => 3, @@ -182,6 +214,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Jilin" => { + id => 'CN04', vpi => 0, vci => 27, Encapsulation => 3, @@ -190,6 +223,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Lanzhou" => { + id => 'CN05', vpi => 0, vci => 20, Encapsulation => 3, @@ -198,6 +232,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Tianjin" => { + id => 'CN06', vpi => 0, vci => 23, Encapsulation => 3, @@ -206,6 +241,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Xi'an" => { + id => 'CN07', vpi => 8, vci => 23, Encapsulation => 3, @@ -214,6 +250,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Chongqing" => { + id => 'CN08', vpi => 0, vci => 23, Encapsulation => 3, @@ -222,6 +259,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Fujian" => { + id => 'CN09', vpi => 0, vci => 0xc8, Encapsulation => 3, @@ -230,6 +268,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Guangxi" => { + id => 'CN10', vpi => 0, vci => 23, Encapsulation => 3, @@ -238,6 +277,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Guangzhou" => { + id => 'CN11', vpi => 8, vci => 20, Encapsulation => 3, @@ -246,6 +286,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Hangzhou" => { + id => 'CN12', vpi => 0, vci => 20, Encapsulation => 3, @@ -254,6 +295,7 @@ our %adsl_data = ( N("China") . "|China Netcom|Hunan" => { + id => 'CN13', vpi => 0, vci => 23, Encapsulation => 3, @@ -262,6 +304,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Nanjing" => { + id => 'CN14', vpi => 8, vci => 23, Encapsulation => 3, @@ -270,6 +313,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Shanghai" => { + id => 'CN15', vpi => 8, vci => 51, Encapsulation => 3, @@ -278,6 +322,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Shenzhen" => { + id => 'CN16', vpi => 8, vci => 23, Encapsulation => 3, @@ -286,6 +331,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Urumqi" => { + id => 'CN17', vpi => 0, vci => 20, Encapsulation => 3, @@ -294,6 +340,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Wuhan" => { + id => 'CN18', vpi => 0, vci => 20, Encapsulation => 3, @@ -302,6 +349,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Yunnan" => { + id => 'CN19', vpi => 0, vci => 23, Encapsulation => 3, @@ -310,6 +358,7 @@ our %adsl_data = ( N("China") . "|China Telecom|Zhuhai" => { + id => 'CN20', vpi => 0, vci => 23, Encapsulation => 3, @@ -318,6 +367,8 @@ our %adsl_data = ( N("Czech Republic") . "|Cesky Telecom" => { + id => 'CZ01', + url_tech => 'http://www.telecom.cz/domacnosti/internet/pristupove_sluzby/broadband/vse_o_kz_a_moznostech_instalace.php', vpi => 8, vci => 48, Encapsulation => 6, @@ -326,6 +377,7 @@ our %adsl_data = ( N("Denmark") . "|Any" => { + id => 'DK01', vpi => 0, vci => 65, method => 'pppoe', @@ -334,6 +386,7 @@ our %adsl_data = ( N("Finland") . "|Sonera" => { + id => 'FI01', vpi => 0, vci => 64, Encapsulation => 3, @@ -341,8 +394,9 @@ our %adsl_data = ( }, N("France") . "|Free non dégroupé 512/128 & 1024/128" => - { - vpi => 8, + { + id => 'FR01', + vpi => 8, vci => 23, Encapsulation => 6, dnsServer2 => '213.228.0.23', @@ -353,6 +407,7 @@ our %adsl_data = ( N("France") . "|Free dégroupé 1024/256 (mini)" => { + id => 'FR04', vpi => 8, vci => 24, Encapsulation => 4, @@ -364,6 +419,7 @@ our %adsl_data = ( N("France") . "|n9uf tel9com 512 & dégroupé 1024" => { + id => 'FR05', vpi => 8, vci => 23, Encapsulation => 6, @@ -374,6 +430,7 @@ our %adsl_data = ( N("France") . "|Cegetel non dégroupé 512 IP/ADSL et dégroupé" => { + id => 'FR08', vpi => 8, vci => 23, Encapsulation => 6, @@ -384,6 +441,7 @@ our %adsl_data = ( N("France") . "|Club-Internet" => { + id => 'FR06', vpi => 8, vci => 23, Encapsulation => 6, @@ -395,6 +453,7 @@ our %adsl_data = ( N("France") . "|Wanadoo" => { + id => 'FR09', vpi => 8, vci => 23, Encapsulation => 6, @@ -406,6 +465,7 @@ our %adsl_data = ( N("France") . "|Télé2" => { + id => 'FR02', vpi => 8, vci => 23, Encapsulation => 6, @@ -416,8 +476,9 @@ our %adsl_data = ( N("France") . "|Tiscali.fr 128k" => { + id => 'FR03', vpi => 8, - vci => 23, + vci => 23, Encapsulation => 5, dnsServer2 => '213.36.80.1', dnsServer3 => '213.36.80.2', @@ -426,6 +487,7 @@ our %adsl_data = ( N("France") . "|Tiscali.fr 512k" => { + id => 'FR07', vpi => 8, vci => 23, Encapsulation => 6, @@ -436,6 +498,7 @@ our %adsl_data = ( N("Germany") . "|Deutsche Telekom (DT)" => { + id => 'DE01', vpi => 1, vci => 20, Encapsulation => 1, @@ -444,6 +507,7 @@ our %adsl_data = ( N("Germany") . "|1&1" => { + id => 'DE02', vpi => 1, vci => 20, Encapsulation => 1, @@ -454,6 +518,7 @@ our %adsl_data = ( N("Greece") . "|Any" => { + id => 'GR01', vpi => 8, vci => 23, Encapsulation => 6, @@ -462,6 +527,7 @@ our %adsl_data = ( N("Hungary") . "|Matav" => { + id => 'HU01', vpi => 1, vci => 20, Encapsulation => 1, @@ -470,6 +536,7 @@ our %adsl_data = ( N("Ireland") . "|Any" => { + id => 'IE01', vpi => 8, vci => 23, Encapsulation => 1, @@ -478,6 +545,7 @@ our %adsl_data = ( N("Israel") . "|Bezeq" => { + id => 'IL01', vpi => 8, vci => 30, Encapsulation => 6, @@ -486,28 +554,32 @@ our %adsl_data = ( method => 'pppoa', }, - N("Italy") . "|Telecom Italia" => + N("Italy") . "|Libero.it" => { + id => 'IT04', + url_tech => 'http://internet.libero.it/assistenza/adsl/installazione_ass.phtml', vpi => 8, vci => 23, Encapsulation => 6, - dnsServer2 => '195.20.224.234', - dnsServer3 => '194.25.2.129', + dnsServer2 => '193.70.192.25', + dnsServer3 => '193.70.152.25', method => 'pppoa', }, - - N("Italy") . "|Libero.it" => + + N("Italy") . "|Telecom Italia" => { + id => 'IT01', vpi => 8, vci => 23, Encapsulation => 6, - dnsServer2 => '193.70.192.25', - dnsServer3 => '193.70.152.25', + dnsServer2 => '195.20.224.234', + dnsServer3 => '194.25.2.129', method => 'pppoa', }, N("Italy") . "|Telecom Italia/Office Users (ADSL Smart X)" => { + id => 'IT02', vpi => 8, vci => 23, Encapsulation => 3, @@ -516,6 +588,7 @@ our %adsl_data = ( N("Italy") . "|Tiscali.it, Alice" => { + id => 'IT03', vpi => 8, vci => 23, Encapsulation => 6, @@ -526,6 +599,7 @@ our %adsl_data = ( N("Lithuania") . "|Lietuvos Telekomas" => { + id => 'LT01', vpi => 8, vci => 23, Encapsulation => 1, @@ -534,6 +608,7 @@ our %adsl_data = ( N("Morocco") . "|Maroc Telecom" => { + id => 'MA01', vpi => 8, vci => 23, Encapsulation => 6, @@ -544,6 +619,7 @@ our %adsl_data = ( N("Netherlands") . "|KPN" => { + id => 'NL01', vpi => 8, vci => 30, Encapsulation => 6, @@ -552,6 +628,7 @@ our %adsl_data = ( N("Netherlands") . "|Eager Telecom" => { + id => 'NL02', vpi => 0, vci => 21, Encapsulation => 3, @@ -560,6 +637,7 @@ our %adsl_data = ( N("Netherlands") . "|Tiscali" => { + id => 'NL03', vpi => 0, vci => 22, Encapsulation => 3, @@ -568,6 +646,7 @@ our %adsl_data = ( N("Netherlands") . "|Versatel" => { + id => 'NL04', vpi => 0, vci => 20, Encapsulation => 3, @@ -613,6 +692,7 @@ our %adsl_data = ( N("Poland") . "|Telekomunikacja Polska (TPSA/neostrada)" => { + id => 'PL01', vpi => 0, vci => 23, Encapsulation => 6, @@ -623,6 +703,8 @@ our %adsl_data = ( N("Poland") . "|Netia neostrada" => { + id => 'PL02', + url_tech => 'http://www.netia.pl/?o=d&s=210', vpi => 8, vci => 23, Encapsulation => 1, @@ -633,6 +715,7 @@ our %adsl_data = ( N("Portugal") . "|PT" => { + id => 'PT01', vpi => 0, vci => 23, Encapsulation => 1, @@ -641,6 +724,8 @@ our %adsl_data = ( N("Russia") . "|MTU-Intel" => { + id => 'RU01', + url_tech => 'http://stream.ru/s-requirements', vpi => 1, vci => 50, Encapsulation => 1, @@ -651,17 +736,19 @@ our %adsl_data = ( N("Slovenia") . "|SiOL" => { - dnsServer2 => '193.189.160.11', - dnsServer3 => '193.189.160.12', + id => 'SL01', vpi => 1, vci => 20, method => 'pppoe', - DOMAINNAME2 => 'siol.net', Encapsulation => 1, + dnsServer2 => '193.189.160.11', + dnsServer3 => '193.189.160.12', + DOMAINNAME2 => 'siol.net', }, N("Spain") . "|Telefónica IP dinámica" => { + id => 'ES01', vpi => 8, vci => 20, Encapsulation => 1, @@ -669,18 +756,21 @@ our %adsl_data = ( dnsServer3 => '80.58.0.97', method => 'pppoe', }, + N("Spain") . "|Telefónica ip fija" => { + id => 'ES02', vpi => 8, vci => 20, Encapsulation => 3, + method => 'static', dnsServer2 => '80.58.32.33', dnsServer3 => '80.58.0.97', - method => 'static', }, N("Spain") . "|Wanadoo/Eresmas Retevision" => { + id => 'ES03', vpi => 8, vci => 23, Encapsulation => 6, @@ -691,6 +781,7 @@ our %adsl_data = ( N("Spain") . "|Wanadoo PPPoE" => { + id => 'ES04', vpi => 8, vci => 20, Encapsulation => 1, @@ -699,6 +790,7 @@ our %adsl_data = ( N("Spain") . "|Wanadoo ip fija" => { + id => 'ES05', vpi => 8, vci => 20, Encapsulation => 3, @@ -707,6 +799,7 @@ our %adsl_data = ( N("Spain") . "|Tiscali" => { + id => 'ES06', vpi => 1, vci => 20, Encapsulation => 6, @@ -715,6 +808,7 @@ our %adsl_data = ( N("Spain") . "|Arrakis" => { + id => 'ES07', vpi => 0, vci => 23, Encapsulation => 6, @@ -723,6 +817,7 @@ our %adsl_data = ( N("Spain") . "|Auna" => { + id => 'ES08', vpi => 0, vci => 23, Encapsulation => 6, @@ -731,6 +826,7 @@ our %adsl_data = ( N("Spain") . "|Communitel" => { + id => 'ES09', vpi => 0, vci => 21, Encapsulation => 6, @@ -739,6 +835,7 @@ our %adsl_data = ( N("Spain") . "|Euskatel" => { + id => 'ES10', vpi => 8, vci => 20, Encapsulation => 1, @@ -747,6 +844,7 @@ our %adsl_data = ( N("Spain") . "|Uni2" => { + id => 'ES11', vpi => 1, vci => 21, Encapsulation => 6, @@ -755,6 +853,7 @@ our %adsl_data = ( N("Spain") . "|Ya.com PPPoE" => { + id => 'ES12', vpi => 8, vci => 20, Encapsulation => 1, @@ -763,6 +862,7 @@ our %adsl_data = ( N("Spain") . "|Ya.com static" => { + id => 'ES13', vpi => 8, vci => 20, Encapsulation => 3, @@ -771,6 +871,7 @@ our %adsl_data = ( N("Sweden") . "|Telia" => { + id => 'SE01', vpi => 8, vci => 23, Encapsulation => 3, @@ -779,6 +880,7 @@ our %adsl_data = ( N("Switzerland") . "|Any" => { + id => 'CH01', vpi => 8, vci => 23, Encapsulation => 3, @@ -787,6 +889,7 @@ our %adsl_data = ( N("Switzerland") . "|BlueWin / Swisscom" => { + id => 'CH02', vpi => 8, vci => 23, Encapsulation => 5, @@ -797,6 +900,7 @@ our %adsl_data = ( N("Switzerland") . "|Tiscali.ch" => { + id => 'CH03', vpi => 8, vci => 23, Encapsulation => 1, @@ -805,6 +909,7 @@ our %adsl_data = ( N("Thailand") . "|Asianet" => { + id => 'TH01', vpi => 0, vci => 64, Encapsulation => 1, @@ -815,6 +920,8 @@ our %adsl_data = ( N("Tunisia") . "|Planet.tn" => { + id => 'TH01', + url_tech => 'http://www.planet.tn/', vpi => 0, vci => 23, Encapsulation => 5, @@ -825,6 +932,7 @@ our %adsl_data = ( N("United Arab Emirates") . "|Etisalat" => { + id => 'AE01', vpi => 0, vci => 32, Encapsulation => 5, @@ -835,6 +943,7 @@ our %adsl_data = ( N("United Kingdom") . "|Tiscali UK " => { + id => 'UK01', vpi => 0, vci => 26, Encapsulation => 6, @@ -845,6 +954,7 @@ our %adsl_data = ( N("United Kingdom") . "|British Telecom " => { + id => 'UK02', vpi => 0, vci => 26, Encapsulation => 6, |