Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-29-2014, 06:30 PM
|
#1
|
Member
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380
Rep:
|
PPPoE not browsing
New ISP today.
Installer put a box on a tree in sight of the tower, and plugged the end of the cable into my computer.
I did pppoe-setup, entering username and pwd, nothing else required, then pppoe-start.
It says it's connected.
It looks like it's working, but browsers don't work.
On boot, it says
Code:
waiting for carrier
carrier acquired
soliciting a (?) lease
timed out
so it looks like it isn't getting an IP address from the server, and then I have to start PPPoE from command line.
My last link that I'm using now uses DHCP to a satellite.
So, is there a conflict between PPPoE and DHCP? And if so, how to disable DHCP?
When trying to use the local tower -
Code:
# pppoe-status
pppoe-status: Link is up and running on interface ppp0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet 68.171.73.158 netmask 255.255.255.255 destination 10.0.0.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 10 bytes 254 (254.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 45 (45.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
-----------------
When running on the satellite/DHCP
Code:
# /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 104.129.124.53 netmask 255.255.252.0 broadcast 255.255.255.255
inet6 fe80::1e6f:65ff:fe4c:79cd prefixlen 64 scopeid 0x20<link>
ether 1c:6f:65:4c:79:cd txqueuelen 1000 (Ethernet)
RX packets 8657 bytes 6815275 (6.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7107 bytes 1558141 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 12 bytes 600 (600.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 600 (600.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Or is it something I wot not?
|
|
|
09-30-2014, 01:52 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
If there is a conflict with dhcpd (not sure, since I've never used PPPOE from a computer, only from a linksys router running dd-wrt), try a killall dhcpcd and then run your script again. If that does fix the problem, edit /etc/rc.d/rc.inet1.conf and remove the "yes" from the line that has dhcp on it. That will prevent the computer from attempting to get a dhcp address before connecting to pppoe.
However, I don't think that's your issue, because your eth0 is showing an ip address (googling it shows that it is assigned to Xplornet Communications in Canada, which according to your location, you are in Canada), so that seems to imply it is getting an ip from your ISP. Have you verified the username and password? I know when I was in Germany, I had a crazy username for T-Mobile's DSL. It was something like 00097655234534567891234#0001@t-online.de. It included my connection id (first 12 digits) and my subscriber number (11 digits) and joint user number (the numbers following the "#" and they were for joint accounts with multiple modems).
So, your satellite connection is different from your dsl connection? Do you get an ip (ifconfig) after running pppoe? According to the output of pppoe-status, there's an ip of 68.171.73.158 which is assigned to Reseau Picanoc.net Inc.
Can you post your pppoe.conf file (think it might be under /etc/ppp/pppoe.conf)? Also your /etc/resolv.conf?
|
|
|
09-30-2014, 06:30 PM
|
#3
|
Member
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380
Original Poster
Rep:
|
It might be fixed - I deleted dhcp and dhcpcd; now it connects but sometimes times out, then connects on reboot.
(and there is a continuous download showing in gkrellm/eth0 <1kB)
Yes, the satellite connection is different, and I have unplugged the power to it.
I don't see anything after pppoe-start runs, just see the panel opening in gkrellm.
here is 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$
#***********************************************************************
# 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 xxyyzz@magma.ca
USER='pschpsch0r'
# 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=SERVER
# 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=yes
DNS1=
DNS2=
# 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
==========================
here is /etc/resolv.conf:
Code:
nameserver 69.196.22.114
nameserver 205.151.16.3
|
|
|
All times are GMT -5. The time now is 08:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|