Početak›Forumi›Linuks distribucije›Ubuntu,Mint,…›[rešeno] GG & PPPoE
- This topic has 18 odgovora, 5 glasova, and was last updated 16 years, 2 months ranije by burga.
-
AutorČlanci
-
4. februar 2008. u 8:55 pm #66124incognitoUčesnik
Ljudi imam problem sa konekcijom. Instalirao sam Feisty Fawn bez problema, konfigurisao pppoeconf i internet je proradio. Uradio sam pocetno azuriranje, medjutim kad sam drugi dan ukljucio komp internet vise nece da radi.Na komande iz terminala mi odgovara da je sve u redu medjutim ja ne mogu da se povezem na internet. Na win particiji radi normalno i na 6.10 je radio normalno. Modem je adsl prikljucen preko eth porta.
Sta bi moglo da bude u pitanju?4. februar 2008. u 9:11 pm #66125GoranSTXUčesnikDaj malo vise informacija…
Jesi proverio da li radi ping ka nekoj IP adresi i ka domenu tipa http://www.linuxo.net ?
Kakav je izlaz za ifconfig komandu?5. februar 2008. u 1:07 am #66126dukenukem_4dUčesnikovo bi mogao da bude onaj bug na ubuntu-u 7.04 ili 7.10
ako se konekcija gasi pomoću poff pppd proces biva ‘ubiven’ na takav
način da se ne odjavi od servera provajdera
[code]plog[/code]
daje neke informacije ako se radi o tome
a rešenje bi bilo da se umesto poff koristi
[code]sudo killall -HUP pppd[/code]
http://www.linuxo.net/forum/index.php/topic,8432.msg63835.html#msg638357. februar 2008. u 7:31 pm #66127incognitoUčesnikEvo malo vise informacija.
Komanda: dpkg -s pppoeconf
odgovor: Status: install ok installedkomanda: ifconfig
odgovor: eth0 Link encap:Ethernet HWaddr 00:16:EC:02:AO:63
inet addr: 192.168.1.10 Bcast:255.255.255.255 Mask: 255.255.255.224
inet6 addr: fe80::216:ecff:fe02:a063/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 94 errors:0 dropped:0 overruns:0 frame:0
TX packets: 100 errors:0 dropped:0 overruns:0 carrier:0
collisions:o txqeuelen:1000
RX bytes: 7381 (7.2 KiB) TX bytes: 9515 (9.2 KiB)
interrput: 18 Base address:0xdc00komanda: sudo pon dsl-provider
odgovor: Plugin rp-pppoe.so loadedkomanda: ping 192.168.1.10
odgovor: 64 bytes from 192.168.1.10: icpm_seq=ttl 64 time 0,029
64 bytes from 192.168.1.10: icpm_seq=ttl 64 time 0,032
i tako je nizao spisak8. februar 2008. u 3:46 pm #66128burgaUčesnikTo znači da si nakačen. Ako u isto vreme ne možeš da pristupiš nekom sajtu ukucavajući ne-ip-adresu (http://www.linuxo.net i sl.) znači da ti nije dobar DNS.
U svoj /etc/ppp/pppoe.conf u sekciji u kojoj se podešava DNS upiši
[code]# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS. Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=noDNS1=208.67.222.222
DNS2=208.67.220.220
[/code]Ovo je adrsa OpenDNSa
8. februar 2008. u 6:46 pm #66129incognitoUčesnikMoj /etc/ppp/pppoe.conf je prazan. Kako treba da izgleda?
8. februar 2008. u 7:25 pm #66130burgaUčesnikEvo ti ga moj /etc/ppp/pppoe-conf:
[code]#***********************************************************************
#
# pppoe.conf
#
# Configuration file for rp-pppoe. Edit as appropriate and install in
# /etc/ppp/pppoe.conf
#
# NOTE: This file is used by the pppoe-start, pppoe-stop, pppoe-connect and
# pppoe-status shell scripts. It is *not* used in any way by the
# “pppoe” executable.
#
# Copyright (C) 2000 Roaring Penguin Software Inc.
#
# This file may be distributed under the terms of the GNU General
# Public License.
#
# LIC: GPL
# $Id: pppoe.conf,v 1.11 2005/08/09 02:49:12 dfs Exp $
#***********************************************************************# When you configure a variable, DO NOT leave spaces around the “=” sign.
# Ethernet card connected to DSL modem
ETH=’eth0′# PPPoE user name. You may have to supply “@provider.com” Sympatico
# users in Canada do need to include “@sympatico.ca”
# Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use [email protected]
USER=’[email protected]’# Bring link up on demand? Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND=no
#DEMAND=300# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=NOCHANGE# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS. Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=noDNS1=208.67.222.222
DNS2=208.67.220.220# Make the PPPoE connection your default route. Set to
# DEFAULTROUTE=no if you don’t want this.
DEFAULTROUTE=yes### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU’RE AN EXPERT
# How long pppoe-start waits for a new PPP interface to appear before
# concluding something went wrong. If you use 0, then pppoe-start
# exits immediately with a successful status and does not wait for the
# link to come up. Time is in seconds.
#
# WARNING WARNING WARNING:
#
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
# to connect forever after pppoe-start is called. Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
CONNECT_TIMEOUT=30# How often in seconds pppoe-start polls to check if link is up
CONNECT_POLL=2# Specific desired AC Name
ACNAME=# Specific desired service name
SERVICENAME=# Character to echo at each poll. Use PING=”” if you don’t want
# anything echoed
PING=”.”# File where the pppoe-connect script writes its process-ID.
# Three files are actually used:
# $PIDFILE contains PID of pppoe-connect script
# $PIDFILE.pppoe contains PID of pppoe process
# $PIDFILE.pppd contains PID of pppd process
CF_BASE=`basename $CONFIG`
PIDFILE=”/var/run/$CF_BASE-pppoe.pid”# Do you want to use synchronous PPP? “yes” or “no”. “yes” is much
# easier on CPU usage, but may not work for you. It is safer to use
# “no”, but you may want to experiment with “yes”. “yes” is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=no# Do you want to clamp the MSS? Here’s how to decide:
# – If you have only a SINGLE computer connected to the DSL modem, choose
# “no”.
# – If you have a computer acting as a gateway for a LAN, choose “1412”.
# The setting of 1412 is safe for either setup, but uses slightly more
# CPU power.
CLAMPMSS=1412
#CLAMPMSS=no# LCP echo interval and failure count.
LCP_INTERVAL=20
LCP_FAILURE=3# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80# Firewalling: One of NONE, STANDALONE or MASQUERADE
FIREWALL=NONE# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
LINUX_PLUGIN=# Any extra arguments to pass to pppoe. Normally, use a blank string
# like this:
PPPOE_EXTRA=””# Rumour has it that “Citizen’s Communications” with a 3Com
# HomeConnect DSL Modem DualLink requires these extra options:
# PPPOE_EXTRA=”-f 3c12:3c13 -S ISP”# Any extra arguments to pass to pppd. Normally, use a blank string
# like this:
PPPD_EXTRA=””########## DON’T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
# If you wish to COMPLETELY overrride the pppd invocation:
# Example:
# OVERRIDE_PPPD_COMMAND=”pppd call dsl”# If you want pppoe-connect to exit when connection drops:
# RETRY_ON_FAILURE=no
[/code]12. februar 2008. u 9:23 pm #66131incognitoUčesnikProblem sam resio reinstalisanjem i sada sve radi, ali meni je taj /etc/ppp/pppoeconf i dalje prazan
13. februar 2008. u 8:15 pm #66132burgaUčesnikOnda sedi i cuti 😉
-
AutorČlanci
Moraš biti prijavljen da bi postavio komentar u ovoj temi.