Autor Tópico: Ajuda - Configuração da Conexão  (Lida 1289 vezes)

Offline Fábio Escalona

  • Usuário Ubuntu
  • *
  • Mensagens: 2
    • Ver perfil
Ajuda - Configuração da Conexão
« Online: 06 de Julho de 2007, 19:15 »
Encontrei um tutorial de como instalar o modem usb no site do Ubuntu.Descompactei o arquivo e copiei para a pasta lib/firmware.Até ai tudo bem...so que entrei no gedit do ueagle-atm e fiz conforme explicado,e tambem editei um arquivo de chap-secrets e outro de pap-secrets.Só que qdo fui fazer o pon para conectar nao consegui...foi assim q digitei o ueagle-atm:

user "<fabio0801@uol.com.br>"
plugin ppoatm.so <200.204.0.10>.<200.204.0.138>
noipdefault
usepeerdns
defaultroute
persist
noauth

Os outros arquivos ficaram assim:

chap-secrets

# Secrets for authentication using CHAP # client server secret IP addresses
"fabio0801@uol.com.br" "*" "senha" "*"

pap-secrets

# # /etc/ppp/pap-secrets # # This is a pap-secrets file to be used with the AUTO_PPP function of # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn) # after a user has passed this file. Don't be disturbed therefore by the fact # that this file defines logins with any password for users. /etc/passwd # (again, /etc/shadow, too) will catch passwd mismatches. # # This file should block ALL users that should not be able to do AUTO_PPP. # AUTO_PPP bypasses the usual login program so it's necessary to list all # system userids with regular passwords here. # # ATTENTION: The definitions here can allow users to login without a # password if you don't use the login option of pppd! The mgetty Debian # package already provides this option; make sure you don't change that.
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd * hostname "" * # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any # other accounts that should not be able to use pppd! guest hostname "*" - master hostname "*" - root hostname "*" - support hostname "*" - stats hostname "*" - # OUTBOUND connections
# Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line.
# * password

"fabio0801@uol.com.br" "*" "senha" "*"

Será q digitei alguma coisa errada? ???

Será q alguem pode me ajudar?Tem outra maneira de eu me conectar sem te q fazer todo esse procedimento? ???

alarcon

  • Visitante
Re: Ajuda - Configuração da Conexão
« Resposta #1 Online: 06 de Julho de 2007, 22:27 »
Encontrei um tutorial de como instalar o modem usb no site do Ubuntu.Descompactei o arquivo e copiei para a pasta lib/firmware.Até ai tudo bem...so que entrei no gedit do ueagle-atm e fiz conforme explicado,e tambem editei um arquivo de chap-secrets e outro de pap-secrets.Só que qdo fui fazer o pon para conectar nao consegui...foi assim q digitei o ueagle-atm:

user "<fabio0801@uol.com.br>"
plugin ppoatm.so <200.204.0.10>.<200.204.0.138>
noipdefault
usepeerdns
defaultroute
persist
noauth

Os outros arquivos ficaram assim:

chap-secrets

# Secrets for authentication using CHAP # client server secret IP addresses
"fabio0801@uol.com.br" "*" "senha" "*"

pap-secrets

# # /etc/ppp/pap-secrets # # This is a pap-secrets file to be used with the AUTO_PPP function of # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn) # after a user has passed this file. Don't be disturbed therefore by the fact # that this file defines logins with any password for users. /etc/passwd # (again, /etc/shadow, too) will catch passwd mismatches. # # This file should block ALL users that should not be able to do AUTO_PPP. # AUTO_PPP bypasses the usual login program so it's necessary to list all # system userids with regular passwords here. # # ATTENTION: The definitions here can allow users to login without a # password if you don't use the login option of pppd! The mgetty Debian # package already provides this option; make sure you don't change that.
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd * hostname "" * # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any # other accounts that should not be able to use pppd! guest hostname "*" - master hostname "*" - root hostname "*" - support hostname "*" - stats hostname "*" - # OUTBOUND connections
# Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line.
# * password

"fabio0801@uol.com.br" "*" "senha" "*"

Será q digitei alguma coisa errada? ???

Será q alguem pode me ajudar?Tem outra maneira de eu me conectar sem te q fazer todo esse procedimento? ???

Tente assim:

"fabio0801@uol.com.br"  "*"  "senha"   "*"

ao invés de:

"fabio0801@uol.com.br" "*" "senha" "*"



Caso não funcione tente só assim:

"fabio0801@uol.com.br"  * "senha"

Para os arquivos pap-secrets e chap-secrets em /etc/ppp/