LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help with setting up pppoe (https://www.linuxquestions.org/questions/slackware-14/help-with-setting-up-pppoe-391228/)

slack_prad 12-10-2005 07:13 AM

Help with setting up pppoe
 
I compiled the 2.6.14.3 kernel with ppp over ethernet support

my onboard ethernet card is recognized as eth0 (ifconfig eth0)

With pppoe-setup, i set up my connection. But when i try to run pppoe-start, it says 'timed out' with this message:

Code:

# pppoe-start
................TIMED OUT
/usr/sbin/pppoe-start: line 193: 13131 Terminated              $CONNECT "$@" >/d ev/null 2>&1

and when i do a pppoe-connect

Code:

pppoe-connect
Couldn't set tty to PPP discipline: Invalid argument
pppoe: read (asyncReadFromPPP): Session 4090: Input/output error

and also while booting up i get these messages:

Code:

/etc/rc.d/rc.inet1

unknown command 'eth_up' line1
unknown command 'eth_up' line2
unknown command 'eth_up' line3
unknown command 'eth_up' line4
unknown command 'eth_up' line260

i set DEBUG_ETH_UP="yes" in the rc.inet1.conf to get any debugging output ... but i don't seem to get any :confused:

comprookie2000 12-11-2005 04:22 PM

Is you ethernet card connected to a modem provided by your isp?
Have you set up /etc/rc.d/rc.inet1.conf
Did you run netconfig?
Have you read the Book?
http://www.slackbook.org/html/index.html

slack_prad 12-12-2005 10:18 AM

thanks for the reply...

the ethernet card is onboard (intel 10/100 PRO)

I've configured the network (usgin netconfig) for a DHCP connection.(i've read the slackbook ... that's how i got this far :D )

I didn't do any editing in rc.inet1.conf except for changing the debugging option 'DEBUG_ETH_UP' to 'yes'

carboncopy 12-13-2005 02:36 AM

You shouldn't set ethernet card connected to ADSL modem to DHCP.

Unless your modem is really a router. Leave the settings in /etc/rc.d/rc.inet1.conf empty. vix:

Code:

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""


slack_prad 12-13-2005 11:19 AM

well my ADSL modem is set in the bridged mode ...so doesn't it act as a router?

anyway .. i've set the conf file as you said

hiren_bhatt 12-13-2005 11:57 AM

try this
 
try ifup ppp0 or ifup/sbin/ppp0 for connecting
ifdown ppp0 or ifdown /sbin/ppp0 for disconnecting

you can check the connection using adsl-status

also check for the configuration file /etc/sysconfig/network-scripts/ifcfg-ppp0
check weather all the parameter are correct or not.

your ethernet card should be connected to your ADSL or DSL modem(on matter in bridge mode or router mode). Also your modem should be getting proper link. You may see this by looking at some LED that might be there on modem, showing a constant or a blinking light.

slack_prad 12-14-2005 10:35 AM

my ADSL-router is working fine..I'm able to connect to the internet using ubuntu

i tried ifup / ifdown... but it says there is no such command

aren't those commands debian based?

gbonvehi 12-14-2005 11:30 AM

Just wondering, can you connect with some default Slackware kernel? If you can connect using another Linux distribution, then you should be able to do it in Slackware since most share the same programs (and of course, the kernel) to support connections.
Maybe you can detail how you do it on Ubuntu, so we can tell you the equivalent commands on Slackware.

Btw, in Slackware, there's no ifup, ifdown, use: ifconfig eth0 down && ifconfig eth0 up

slack_prad 12-14-2005 02:38 PM

gbonvehi,

the default slackware kernel didn't recognize either my sound card or my onboard ethernet...so i got the new one compiled

in my ubuntu .. i set my connec using
Code:

sudo pppoeconf (which is just like the pppoe-setup)
and also i tried pppoe-setup on ubuntu and it was working fine(i was able to connect)

carboncopy 12-14-2005 10:13 PM

Since you compile your own kernel. Did you compile in ppp and pppoe support?

slack_prad 12-15-2005 12:53 AM

yes (actually when i compiled first i missed this module and i compiled again with the pppoe module included)

hiren_bhatt 12-15-2005 06:31 AM

You can do one thing get the rp-pppoe. It has a free client for pppoe. The setup is very easy and simple. I am using it and its works very fine.

You can get rp-pppoe from
http://www.roaringpenguin.com/pengui...e_rp-pppoe.php

slack_prad 12-15-2005 07:17 AM

hiren,

Slackware comes with that package. That's what i've been trying to use. I need help with that.

hiren_bhatt 12-15-2005 08:18 AM

Ok, so do you need help configuring it? If so, check weather there commands are there or not
or just go in to /sbin and see weather these things are there or not. Are you able to configure any thing with following.
adsl-connect
adsl-setup
adsl-start
adsl-status
adsl-stop


If yes also check weather the following files are there
/etc/sysconfig/network-scripts/ifcfg-ppp0

do you want step-by-step procedure how to do it, or you have all ready configured using adsl-setup and is not working?

hiren_bhatt 12-15-2005 08:34 AM

Oh ok I think you have all ready tried out with adsl-setup. Check the configuration of the file /etc/sysconfig/network-scripts/ifcfg-ppp0 it should be as following.

USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=20
LCP_FAILURE=3
LCP_INTERVAL=80
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0
PROVIDER=DSLppp0
USER= your loginname@isp
PEERDNS=no


All times are GMT -5. The time now is 03:07 PM.