|
![]() |
||
Como configurar a ADSL no Slackware 10???
|
||
. Nós temos 754.110 usuários, convidamos você fazer parte de nossa comunidade também! Se ainda não encontrou o que procura use nossa pesquisa. Esperamos que aprecie nosso trabalho.
![]() |
|
|
Opções do Tópico |
|
|
#1 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
Tenho um modem D-Link 500G, ligado ao hub, gostaria de saber como faco para configurar a ADSL no SlackWare 10???
|
|
|
|
|
|
#2 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
Configurei o adsl-setup, informei o dns primario e secundario, senha e firewall coloquei 1, quando digito adsl-start, ele tenta conectar, mais retorna um erro dizendo : timed out
/usr/sbin/adsl-start: line 194: 1664 Terminted $connect "#@" >/dev/null 2>&1 |
|
|
|
|
|
#3 (permalink) |
|
Super Participante
|
Se for ADSL-PPPoE use o comando #adsl-setup, responda as perguntas de configuração e após feito isso inicia a conexão com o comando #adsl-start.
Se for ADSL com ip fixo, vc não precisa fazer nada... apenas deixe as configurações de rede em DHCP. Obs: no firewall deixe como "0". Depois faça o firewall no iptables que é bem melhor para não haver esse tipo de problema. :arrow: :arrow: :arrow: |
|
|
|
|
|
#4 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
voce poderia me dizer se o ip fixo que devo colocar , e aquele que tem no modem, quando dou um ipconfig no dos ele aparece, voce poderia me passar um exemplo passo a passo de como colocar esse ip no DHPC, ficarei muito grato........
|
|
|
|
|
|
#5 (permalink) |
|
Veterano
|
o slack 10 não tem netconfig?
__________________
"Só é digno de seu poder aquele que o justifica dia após dia." Uin: 64809077 Linuxuser #282856 |
|
|
|
|
|
#6 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
Pessoal consigui finalmente configurar a adsl, foi so colocar o ip do meu modem d-link, no dhcp, e pronto aqui estou eu navegando......
|
|
|
|
|
|
#7 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
Quase nao acredito, estava navegando tudo perfeito, entao delisguei a maquina, depois quando tentei conectar novamente, nada de conectar, esta dando o mesmo erro, antes eu tinha configurado o netconfig, fui em ip fixo e nao em DHCP, em host name coloquei: micro3, em ip: 192.168.1.7 e em gatway: 10.1.1.1 e que o ip do modem, depois em nameserver repeti : 10.1.1.1.
no debian a coneccao e rapida , sera que e o dns primario e secundario, so que no debian esta o mesmo, que e o do provedor terra.... |
|
|
|
|
|
#8 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
ip e esse mesmo, 10.1.1.1 agora ele conecta mais nao navega, tentei entrar no browser e digitar 10.1.1.1 pediu para autenticar usuario e senha colocava a do meu provedor e dava senha invalida, sera que tenho que desabilitar algum servico, nao pode ser tao dificil assim???
|
|
|
|
|
|
#9 (permalink) |
|
Novo Membro
Registrado em: Jul 2004
Mensagens: 116
Reputação: 16
![]() |
Aproveitando, como faço pra fazer a net começar na inicialização, sem ter de ficar dando adsl-start toda vez?
|
|
|
|
|
|
#10 (permalink) | |
|
Zumbi
|
Citação:
#route del default #route add default ppp0 tenha acessa algum site.
__________________
" O DVD Pirata de hoje é a bala perdida de amanhã" Autoria: Bárbara Gancia - Jornalista Valdir Sumaré - SP |
|
|
|
|
|
|
#11 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
O que precisamente faz esse comando, eu estou perguntando porque tenho o win, na mesma maquina e acessa e navega com a adsl...., sera que vai desconfigurar alguma coisa no modem....
|
|
|
|
|
|
#12 (permalink) |
|
Veterano
Registrado em: Oct 2003
Mensagens: 1.438
Reputação: 18
![]() |
Sera que nunca vou conseguir, agora tentei instalar o gentoo linux, para ve se era do slackware o problema , ja de cara ele pede para configurar a dsl, dei um adsl-setup, configurei tudo direitinho acho eu, e depois quando dei um adsl-start, da o mesmo erro do slackware 10...
Vou colocar alguns pontos , alguma coisa deve ser: 1- Na configuracao do adsl-setup em active-on-demand deixo default: NO 2- Minha placa de rede e da via-onbord- deixo padrao tambem etho. 3 - configuro o adsl-setup se nao da tento configuar o dhpc... O que devo mudar??? Obs: com o debian configurou beleza, com o pppoeconfig, apenas pediu para localizar o modulo no kernel, creio eu, para minha placa de rede "via", sera que tem algum jeito de ver os parametros no debian para fazer igual nas outras distros???? |
|
|
|
|
|
#13 (permalink) |
|
Veterano
|
ow e o dns???
nao tem?? se tiver coloca no /etc/resolv.conf exemplo: search seudominio nameserver seu.1o.dns.aqui nameserver seu.2o.dns.aqui porque vc configura ele fica mas se vc reinicia ele apaga esse arquivo...
__________________
"Só é digno de seu poder aquele que o justifica dia após dia." Uin: 64809077 Linuxuser #282856 |
|
|
|
|
|
#14 (permalink) | |
|
Zumbi
|
Citação:
Quantas placas de rede tem na sua máquina? Vamos supor que seja uma, neste caso será eth0 certo? pelo visto vc já tem o pacote rp-pppoe instalado ok. vamos as comandos 17:38:49root@serv1linux/home/valdir#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... USER NAME >>> Enter your PPPoE user name (default xxxx@globo.com): coloca seu login 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 'n' is a number. (default eth1): 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 '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 ou enter 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: 200.204.0.10 colo o seu 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: 200.204.0.138 "também coloca o do seu provedor" PASSWORD >>> Please enter your PPPoE password: xxxxxx senha do provedor >>> Please re-enter your PPPoE password: xxxxxx 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): 1 ** Summary of what you entered ** Ethernet Interface: eth0 User name: xxxx@globo.com Activate-on-demand: No Primary DNS: 200.204.0.10 Secondary DNS: 200.204.0.138 Firewalling: STANDALONE >>> 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 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring it down. Type 'adsl-status' to see the link status. #adsl-start (para conectar) Caso conecte mas não navega #route del default #route add default ppp0 Verifica se agora está navegando. #vi /etc/resolv.conf nameserver 200.204.0.10 nameserver 200.204.0.138 #ifconfig (para verificar como se encontra sua interface veja sem tem o ppp0 no final ) para deixar o IP da sua placa pegar automaticamente o ip do modem vá em: #vi /etc/rc.d/rc.modules # /etc/rc.d/rc.inet1.conf # # This file contains the configuration settings for network interfaces. # If USE_DHCP[interface] is set to "yes", this overrides any other settings. # If you don't have an interface, leave the settings null (""). # Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="" NETMASK[1]="" USE_DHCP[1]="" DHCP_HOSTNAME[1]="" # Config information for eth2: IPADDR[2]="" NETMASK[2]="" USE_DHCP[2]="" DHCP_HOSTNAME[2]="" # Config information for eth3: IPADDR[3]="" NETMASK[3]="" USE_DHCP[3]="" DHCP_HOSTNAME[3]="" # Default gateway IP address: GATEWAY="" # Change this to "yes" for debugging output to stdout. Unfortunately, # /sbin/hotplug seems to disable stdout so you'll only see debugging output # when rc.inet1 is called directly. DEBUG_ETH_UP="no" Bom tenta ai vamos torcer que tenha sucesso. para vc conectar na internet automaticamente vc poder colocar ocomando do adsl-start no rc.local. #vi /etc/rc.d/rc.local #!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local setup commands in here: # #ifconfig eth0 0.0.0.0 up /usr/sbin/adsl-start #route del default #route add default ppp0 Caso volte a conectar e não navega descomente as 3 linhas comentadas no rc.local. boa sorte. Abraço
__________________
" O DVD Pirata de hoje é a bala perdida de amanhã" Autoria: Bárbara Gancia - Jornalista Valdir Sumaré - SP |
|
|
|
|
![]() |
| Opções do Tópico | |
|
|