LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-18-2004, 09:13 PM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
How to get ADSL working with RedHat9 - fine in Windows


Hi guys,

My ADSL setup is working fine from windows, but refuses to work at all in Rh9. I have tried to setup ADSL via adsl-setup, entering all my relevant info. I have enabled ipv4 forwarding.

This is the error:

Jun 19 03:52:35 StefanLinux pppd[3519]: pppd 2.4.1 started by root, uid 0
Jun 19 03:52:35 StefanLinux pppd[3519]: Using interface ppp0
Jun 19 03:52:35 StefanLinux pppd[3519]: Connect: ppp0 <--> /dev/pts/3
Jun 19 03:52:35 StefanLinux /etc/hotplug/net.agent: assuming ppp0 is already up
Jun 19 03:53:06 StefanLinux pppd[3519]: LCP: timeout sending Config-Requests
Jun 19 03:53:06 StefanLinux pppd[3519]: Connection terminated.
Jun 19 03:53:07 StefanLinux /etc/hotplug/net.agent: NET unregister event not
supported
Jun 19 03:53:10 StefanLinux pppoe[3520]: Timeout waiting for PADO packets
Jun 19 03:53:10 StefanLinux pppd[3519]: Exit

How can I fix this darn PAD0 error? I can ping the ADSL modem just fine.

Here is my /etc/sysconfig/network:

NETWORKING=yes
HOSTNAME=StefanLinux
GATEWAYDEV=eth0
FORWARD_IPV4=yes

and /etc/sysconfig/devices/ifcfg_ppp0:

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

Here are the command lines adsl-setup set up:

root 3672 3662 0 03:59 ? 00:00:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth0 -T 20 -U -m 1412 ipparam ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute hide-password nodetach mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp

Any idea how I can get my ADSL modem to respond to LCP requests? Again, it all works 100% fine in windows...

Any help appreciated

Thanks!
 
Old 06-19-2004, 02:12 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
You can ping your modem? I assume then that it is connected to your network card... Am I right? If this is so then don't bother with the ADSL setup thing. You should just be able to do a dhclient eth0 and that should hook you up.
 
Old 06-19-2004, 02:13 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
some ISPs may require to activate Linux support for your ID

Please check with your ISP whether they need to be informed about your Linux connections.
 
Old 06-19-2004, 11:31 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Original Poster
Rep: Reputation: 103Reputation: 103
Hi again

Thanks for the replies guys!

Yes I can ping my ADSL modem - it is installed on my network, connected to my hub.

What is dhclient? I apparently do not have such an executable on my system.

Thanks!
 
Old 06-19-2004, 12:02 PM   #5
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Original Poster
Rep: Reputation: 103Reputation: 103
Hi guys

I got DHCP and did dhclient eth0 like you suggested. Still no cigar - this is what it prints out when I start it:

[root@StefanLinux devices]# /sbin/dhclient eth0
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth0/00:20:ed:23:1a:4d
Sending on LPF/eth0/00:20:ed:23:1a:4d
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 169.254.255.100
SIOCADDRT: Network is unreachable
bound to 169.254.255.101 -- renewal in 1059819235 seconds.
[root@StefanLinux devices]#

169.254.255.100 is my ADSL router/modem. So I am progressing a l i t t l e...

This is in /var/log/messages:

Jun 19 18:57:05 StefanLinux dhclient: Internet Software Consortium DHCP Client V3.0pl2
Jun 19 18:57:05 StefanLinux dhclient: Copyright 1995-2001 Internet Software Consortium.
Jun 19 18:57:05 StefanLinux dhclient: All rights reserved.
Jun 19 18:57:05 StefanLinux dhclient: For info, please visit http://www.isc.org/products/DHCP
Jun 19 18:57:05 StefanLinux dhclient:
Jun 19 18:57:06 StefanLinux dhclient: Listening on LPF/eth0/00:20:ed:23:1a:4d
Jun 19 18:57:06 StefanLinux dhclient: Sending on LPF/eth0/00:20:ed:23:1a:4d
Jun 19 18:57:06 StefanLinux dhclient: Sending on Socket/fallback
Jun 19 18:57:09 StefanLinux dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Jun 19 18:57:10 StefanLinux dhclient: DHCPOFFER from 169.254.255.100
Jun 19 18:57:10 StefanLinux dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 19 18:57:10 StefanLinux dhclient: DHCPACK from 169.254.255.100
Jun 19 18:57:10 StefanLinux dhclient: bound to 169.254.255.101 -- renewal in 1059819417 seconds.
Jun 19 19:00:10 StefanLinux dhclient: Internet Software Consortium DHCP Client V3.0pl2
Jun 19 19:00:10 StefanLinux dhclient: Copyright 1995-2001 Internet Software Consortium.
Jun 19 19:00:10 StefanLinux dhclient: All rights reserved.
Jun 19 19:00:10 StefanLinux dhclient: For info, please visit http://www.isc.org/products/DHCP
Jun 19 19:00:10 StefanLinux dhclient:
Jun 19 19:00:11 StefanLinux dhclient: Listening on LPF/eth0/00:20:ed:23:1a:4d
Jun 19 19:00:11 StefanLinux dhclient: Sending on LPF/eth0/00:20:ed:23:1a:4d
Jun 19 19:00:11 StefanLinux dhclient: Sending on Socket/fallback
Jun 19 19:00:11 StefanLinux dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 19 19:00:12 StefanLinux dhclient: DHCPACK from 169.254.255.100
Jun 19 19:00:12 StefanLinux dhclient: bound to 169.254.255.101 -- renewal in 1059819235 seconds.
Jun 19 19:00:38 StefanLinux pppd[4391]: pppd 2.4.1 started by root, uid 0
Jun 19 19:00:38 StefanLinux pppd[4391]: Using interface ppp0
Jun 19 19:00:38 StefanLinux pppd[4391]: Connect: ppp0 <--> /dev/pts/5
Jun 19 19:00:38 StefanLinux /etc/hotplug/net.agent: assuming ppp0 is already up
Jun 19 19:01:09 StefanLinux pppd[4391]: LCP: timeout sending Config-Requests
Jun 19 19:01:09 StefanLinux pppd[4391]: Connection terminated.

As you can see, I still cannot get an LCP response from my router user ifup ppp0....

Any idea what next?

Thank you VERY much for the help this far!

Regards
 
Old 06-20-2004, 12:49 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Before you adsl-start, run a on another window

#tcpdump |grep PPP

You will know the exact failure point.
 
Old 06-20-2004, 12:59 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
In windows do you use a special (proprietary) client to log on to the internet through you modem or just regular networking?
 
  


Reply



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
Trouble with ADSL & Redhat9 Shaqlin_81 Linux - Networking 0 12-25-2004 12:57 PM
Everything works fine... but no ADSL!! Conexus Slackware 10 04-11-2004 06:29 AM
Mandrake 9.2 Everything fine, except ADSL Ruishanko Linux - Newbie 1 04-09-2004 11:44 AM
How ZoomX4 adsl usb on Redhat9.0 gerekmez Linux - Hardware 0 01-10-2004 09:09 AM
ADSL Connection is fine, but can't browse the internet. JustOne Linux - Networking 11 07-12-2003 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

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
Open Source Consulting | Domain Registration