LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-10-2005, 08:13 AM   #1
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Rep: Reputation: 15
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
 
Old 12-11-2005, 05:22 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
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
 
Old 12-12-2005, 11:18 AM   #3
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
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 )

I didn't do any editing in rc.inet1.conf except for changing the debugging option 'DEBUG_ETH_UP' to 'yes'
 
Old 12-13-2005, 03:36 AM   #4
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
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]=""
 
Old 12-13-2005, 12:19 PM   #5
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
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

Last edited by slack_prad; 12-13-2005 at 12:31 PM.
 
Old 12-13-2005, 12:57 PM   #6
hiren_bhatt
Member
 
Registered: Oct 2005
Distribution: FC3,Debian
Posts: 127

Rep: Reputation: 15
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.
 
Old 12-14-2005, 11:35 AM   #7
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
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?
 
Old 12-14-2005, 12:30 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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
 
Old 12-14-2005, 03:38 PM   #9
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
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)
 
Old 12-14-2005, 11:13 PM   #10
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Since you compile your own kernel. Did you compile in ppp and pppoe support?
 
Old 12-15-2005, 01:53 AM   #11
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
yes (actually when i compiled first i missed this module and i compiled again with the pppoe module included)
 
Old 12-15-2005, 07:31 AM   #12
hiren_bhatt
Member
 
Registered: Oct 2005
Distribution: FC3,Debian
Posts: 127

Rep: Reputation: 15
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
 
Old 12-15-2005, 08:17 AM   #13
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
hiren,

Slackware comes with that package. That's what i've been trying to use. I need help with that.
 
Old 12-15-2005, 09:18 AM   #14
hiren_bhatt
Member
 
Registered: Oct 2005
Distribution: FC3,Debian
Posts: 127

Rep: Reputation: 15
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?
 
Old 12-15-2005, 09:34 AM   #15
hiren_bhatt
Member
 
Registered: Oct 2005
Distribution: FC3,Debian
Posts: 127

Rep: Reputation: 15
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

Last edited by hiren_bhatt; 12-15-2005 at 09:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting up network with PPPOE ozymandias Linux - Networking 2 09-10-2005 07:16 PM
Setting up PPPOE connection UmneyDurak Fedora 1 03-10-2005 06:04 PM
Require assistance setting up PPPoe with firewall (2 NIC's) roggs Linux - Networking 3 12-09-2004 01:48 PM
setting up rp-pppoe server in suse 9.0 penguin_n00b Linux - Networking 1 04-05-2004 05:57 PM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-14-2004 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration