+ Responder ao Tópico



  1. #1

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    eu tentei rodar o pptp pra conectar no modem ( alcatel - brasiltelecom - adsl )

    abaixo estao as confs e o log do ./pptp valeww

    ppp.conf

    set authname [email protected]
    set authkey minhasenha
    set timeout 0
    set log Phase Chat IPCP CCP tun command
    set ifaddr 10.0.0.138/0 255.255.255.0
    add default HISADDR

    options

    lock
    updetach
    noipdefault
    usepeerdns
    defaultroute
    debug
    auth
    proxyarp
    modem
    crtscts
    lcp-echo-interval 30
    lcp-echo-failure 4

    pap-secrets

    # Secrets for authentication using PAP
    # client server secret IP addresses
    [email protected] * senha 10.0.0.138 RELAY_PPP1


    chap-secrets

    # Secrets for authentication using CHAP
    # client server secret IP addresses
    [email protected] * senha 10.0.0.138 RELAY_PPP1

    log do ./pptp

    [root@skynet sbin]# ./pptp 10.0.0.138
    using channel 11
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/4
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x75 <mru 9178> <auth pap> <magic 0xe814590>]
    sent [LCP ConfRej id=0x75 <auth pap>]
    rcvd [LCP ConfReq id=0x76 <mru 9178> <magic 0xe814590>]
    sent [LCP ConfAck id=0x76 <mru 9178> <magic 0xe814590>]
    rcvd [LCP TermReq id=0x77]
    sent [LCP TermAck id=0x77]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x28 <mru 9178> <auth pap> <magic 0x4e888548>]
    sent [LCP ConfRej id=0x28 <auth pap>]
    rcvd [LCP ConfReq id=0x29 <mru 9178> <magic 0x4e888548>]
    sent [LCP ConfAck id=0x29 <mru 9178> <magic 0x4e888548>]
    rcvd [LCP TermReq id=0x2a]
    sent [LCP TermAck id=0x2a]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x95 <mru 9178> <auth pap> <magic 0x5d92cbf5>]
    sent [LCP ConfRej id=0x95 <auth pap>]
    rcvd [LCP ConfReq id=0x96 <mru 9178> <magic 0x5d92cbf5>]
    sent [LCP ConfAck id=0x96 <mru 9178> <magic 0x5d92cbf5>]
    rcvd [LCP TermReq id=0x97]
    sent [LCP TermAck id=0x97]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x6a <mru 9178> <auth pap> <magic 0x5fd5bc73>]
    sent [LCP ConfRej id=0x6a <auth pap>]
    rcvd [LCP ConfReq id=0x6b <mru 9178> <magic 0x5fd5bc73>]
    sent [LCP ConfAck id=0x6b <mru 9178> <magic 0x5fd5bc73>]
    rcvd [LCP TermReq id=0x6c]
    sent [LCP TermAck id=0x6c]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x37 <mru 9178> <auth pap> <magic 0x68ef99e8>]
    sent [LCP ConfRej id=0x37 <auth pap>]
    rcvd [LCP ConfReq id=0x38 <mru 9178> <magic 0x68ef99e8>]
    sent [LCP ConfAck id=0x38 <mru 9178> <magic 0x68ef99e8>]
    rcvd [LCP TermReq id=0x39]
    sent [LCP TermAck id=0x39]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x8c <mru 9178> <auth pap> <magic 0x7f3b445d>]
    sent [LCP ConfRej id=0x8c <auth pap>]
    rcvd [LCP ConfReq id=0x8d <mru 9178> <magic 0x7f3b445d>]
    sent [LCP ConfAck id=0x8d <mru 9178> <magic 0x7f3b445d>]
    rcvd [LCP TermReq id=0x8e]
    sent [LCP TermAck id=0x8e]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x6d <mru 9178> <auth pap> <magic 0x2f6b37>]
    sent [LCP ConfRej id=0x6d <auth pap>]
    rcvd [LCP ConfReq id=0x6e <mru 9178> <magic 0x2f6b37>]
    sent [LCP ConfAck id=0x6e <mru 9178> <magic 0x2f6b37>]
    rcvd [LCP TermReq id=0x6f]
    sent [LCP TermAck id=0x6f]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0xe3 <mru 9178> <auth pap> <magic 0x28983b25>]
    sent [LCP ConfRej id=0xe3 <auth pap>]
    rcvd [LCP ConfReq id=0xe4 <mru 9178> <magic 0x28983b25>]
    sent [LCP ConfAck id=0xe4 <mru 9178> <magic 0x28983b25>]
    rcvd [LCP TermReq id=0xe5]
    sent [LCP TermAck id=0xe5]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0xe <mru 9178> <auth pap> <magic 0x68a77996>]
    sent [LCP ConfRej id=0xe <auth pap>]
    rcvd [LCP ConfReq id=0xf <mru 9178> <magic 0x68a77996>]
    sent [LCP ConfAck id=0xf <mru 9178> <magic 0x68a77996>]
    rcvd [LCP TermReq id=0x10]
    sent [LCP TermAck id=0x10]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x11a03886> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0xac <mru 9178> <auth pap> <magic 0x18c11f80>]
    sent [LCP ConfRej id=0xac <auth pap>]
    rcvd [LCP ConfReq id=0xad <mru 9178> <magic 0x18c11f80>]
    sent [LCP ConfAck id=0xad <mru 9178> <magic 0x18c11f80>]
    rcvd [LCP TermReq id=0xae]
    sent [LCP TermAck id=0xae]
    LCP: timeout sending Config-Requests
    Connection terminated.
    [root@skynet sbin]#



    []´z
    Valew



  2. #2
    estanisgeyer
    Visitante

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    Qual é o modelo do Alcatel?
    Ele suporte PPOE?
    Caso não suporte, faça-o em modo bridge e use o pacote rp-ppoe para conectar.

    []&acute;s

    Marcelo Estanislau.

  3. #3

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    alcatel speed touch pro

    ele suporta pppoe

    sim!

    o q devo fazer?

  4. #4

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    acho q a brasiltelecom naum trabalha com PPPOE....

    mas voi se te explicar como fazer o q o estanisgeyer disse...... (mas antes tem que confirmar isso com a brasiltelecom.... tenho quase certeza q naum vai funciona)

    ve se vc já tem instalado o rp-pppoe.......

    se vc já tiver instalado tenta executar o adsl-setup
    ai vc configura....

    e pra iniciar a conexão adsl-start


  5. #5

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    a brasiltelecom aceita pppoe o modem ta pra pptp

    configurei o ppoe e olha só o q deu


    [root@skynet sbin]# ./adsl-setup
    Welcome to the Roaring Penguin ADSL 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 [email protected]):

    INTERFACE

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

    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 &acute;no&acute; (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&acute;s primary DNS server.
    If your ISP claims that &acute;the server will provide DNS addresses&acute;,
    enter &acute;server&acute; (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: 200.199.241.38
    Please enter the IP address of your ISP&acute;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: 200.199.241.17

    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 &acute;NONE&acute; 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): NONE
    Please enter a number from 0 to 2
    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: eth0
    User name: [email protected]
    Activate-on-demand: No
    Primary DNS: 200.199.241.38
    Secondary DNS: 200.199.241.17
    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 &acute;adsl-start&acute; to bring up your ADSL link and &acute;adsl-stop&acute; to bring
    it down. Type &acute;adsl-status&acute; to see the link status.
    [root@skynet sbin]# ./adsl-start
    ................TIMED OUT
    ./adsl-start: line 192: 1214 Terminado $CONNECT "$@" >/dev/null 2>&1
    [root@skynet sbin]#

  6. #6

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    a brasiltelecom aceita pppoe o modem ta pra pptp

    configurei o ppoe e olha só o q deu


    [root@skynet sbin]# ./adsl-setup
    Welcome to the Roaring Penguin ADSL 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 [email protected]):

    INTERFACE

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

    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 &acute;no&acute; (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&acute;s primary DNS server.
    If your ISP claims that &acute;the server will provide DNS addresses&acute;,
    enter &acute;server&acute; (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: 200.199.241.38
    Please enter the IP address of your ISP&acute;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: 200.199.241.17

    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 &acute;NONE&acute; 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): NONE
    Please enter a number from 0 to 2
    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: eth0
    User name: [email protected]
    Activate-on-demand: No
    Primary DNS: 200.199.241.38
    Secondary DNS: 200.199.241.17
    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 &acute;adsl-start&acute; to bring up your ADSL link and &acute;adsl-stop&acute; to bring
    it down. Type &acute;adsl-status&acute; to see the link status.
    [root@skynet sbin]# ./adsl-start
    ................TIMED OUT
    ./adsl-start: line 192: 1214 Terminado $CONNECT "$@" >/dev/null 2>&1
    [root@skynet sbin]#

  7. #7
    estanisgeyer
    Visitante

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    O alcatel Speed Toch Pro, pelo que sei, ele não tem suporte a PPoE. A Brasil Telecom Trabalha com PPoE para o plano Residencial e PPoA para o Plano empresarial. Tenho um modem destes instalado em meu cliente, porém para funcionar, tive que configurar em modo bridge o modem. Depois rodei o rp-ppoe.
    A configuração do seu rp-ppoe está correta, seu problema é com o modem. Tenta colocar em modo bridge.
    Ahhh... Se for um modem roteador (que com certeza não é...) ppoe, vc não usa o rp-ppoe, e sim configura tudo no modem....

    []&acute;s

    Marcelo Estanislau.

  8. #8

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    Kra uso speedy... com esse mesmo modem... e pppoe...

    funcionou perfeitamente com o adsl-start....

    ah só tem q tomar cuidado com uma coisinha.... a eth0 (ou interface q esteja o modem) tem q estar DOWN..... se naum dá problema nas rotas.....

    mas esse naum é o seu caso... pq nem conecta ele conecta..!!!!

  9. #9

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    estanisgeyer

    tipo eu to usando pptp, porque minha adsl é do tipo home e as portas ficam bloqueadas e dai o pptp libera elas, no modo bridge eu tenho elas liberadas tb?

    como eu configuro o bridge no modem / e no linux tem q fazer algo?

    valew!!

  10. #10
    estanisgeyer
    Visitante

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    Cara, colocando pptp, bridge, ou qualquer outro coisa que for, ele terá as portas bloqueadas. Isso é bloqueado lá nos equipamentos da BrasilTelecom. Vc não tem o manual do Modem? Verifique se ele possui etiqueta em baixo dele e veja o data de fabricação, release ou alguma informação para se fazer uma pesquisa com o fabricante, das especificações técnicas.
    Para colocar ele em modo bridge, há uma opção para ativá-lo no navegador (10.0.0.254, se não me engano, esse é o ip do modem). Se vc ativar o bridge, vc não terá mais acesso ao modem, vai precisar reiniciar ele.
    Vc não encontrou nada referente a PPoE nas configurações dele?
    Nosso amigo postou que o Speed Touch Pro tem suporte, pode ser um modelo mais novo que tenho do meu cliente, não sei....
    Vc precisa dar uma verificada nesse ponto...
    Posta aí que ajudo...

    Marcelo Estanislau.

  11. #11

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    eu queria apenas liberar as portas dele pq ninguem de fora consegue acessar!

    sabe como?

    coloquei pptp, pq um amigo meu q trabalha brt disse q isso liberar as portas

  12. #12
    estanisgeyer
    Visitante

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    Negativo, o pptp não faz isso.
    Vc pode mudar as portas do seu serviço, pode fazer o httpd escutar na porta 8080, por exemplo, o ssh em porta diferente e assim vai.
    Afinal, qual o propósito de ter as portas liberadas?

    []&acute;s

    Marcelo Estanislau.

  13. #13

    Padrão AJUDEM!! ADSL BRT nao funciona!!!

    eu rodei aqui um ircd 1 ftpd e 1 sshd funcionaram OK, mas quem tenta acessar de fora nao consegue acesso.............. por isso quero libera-las