LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-06-2003, 10:34 AM   #1
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Rep: Reputation: 15
eth0 eth1 ppp0


Hi all,

I have set up an xDSL (PPPoE) connection on my first ethernet card (eth0) as ppp0 and it works! The problem is that I have to wait for my two ethernet cards to fail getting any IP addresses when booting before ppp0 successfully connects.

As can be seen from the messages file below, eth0 (and eth1) try to get their IP addresses using DHCP before ppp0 has connected.

Thank you for your help!

Janis

Jun 29 21:31:37 localhost init: Entering runlevel: 5
Jun 29 21:31:37 localhost kudzu: Updating /etc/fstab succeeded
Jun 29 21:31:44 localhost kudzu: succeeded
Jun 29 21:31:44 localhost iptables: Flushing all current rules and user defined chains:
Jun 29 21:31:44 localhost iptables: succeeded
Jun 29 21:31:44 localhost iptables: ^[[60G
Jun 29 21:31:44 localhost iptables: succeeded
Jun 29 21:31:44 localhost iptables:
Jun 29 21:31:44 localhost iptables: Clearing all current rules and user defined chains:^[[60G[
Jun 29 21:31:44 localhost iptables:
Jun 29 21:31:44 localhost iptables: Applying iptables firewall rules:
Jun 29 21:31:44 localhost iptables: succeeded
Jun 29 21:31:44 localhost iptables: ^[[60G
Jun 29 21:31:44 localhost iptables:
Jun 29 21:31:44 localhost rc: Starting iptables: succeeded
Jun 29 21:31:45 localhost sysctl: net.ipv4.ip_forward = 0
Jun 29 21:31:45 localhost sysctl: net.ipv4.conf.default.rp_filter = 1
Jun 29 21:31:45 localhost sysctl: kernel.sysrq = 0
Jun 29 21:31:45 localhost sysctl: kernel.core_uses_pid = 1
Jun 29 21:31:45 localhost network: Setting network parameters: succeeded
Jun 29 21:31:45 localhost logger: punching nameserver 217.5.98.90 through the firewall
Jun 29 21:31:45 localhost network: Bringing up loopback interface: succeeded
Jun 29 21:31:45 localhost ifup:
Jun 29 21:31:45 localhost ifup: Determining IP information for eth0...
Jun 29 21:31:58 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Jun 29 21:32:14 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Jun 29 21:32:42 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Jun 29 21:32:56 localhost ifup: failed.
Jun 29 21:32:56 localhost network: Bringing up interface eth0: failed
Jun 29 21:32:56 localhost ifup:
Jun 29 21:32:56 localhost ifup: Determining IP information for eth1...
Jun 29 21:33:01 localhost ifup: failed; no link present. Check cable?
Jun 29 21:33:01 localhost network: Bringing up interface eth1: failed
Jun 29 21:33:01 localhost pppd[727]: pppd 2.4.1 started by root, uid 0
Jun 29 21:33:01 localhost pppd[727]: Connect: ppp0 <--> /dev/pts/0
Jun 29 21:33:03 localhost pppd[727]: remote IP address 217.5.98.90 <29>Jun 29 21:33:03 pppd[727]: primary DNS address 212.185.252.73
Jun 29 21:33:03 localhost logger: punching nameserver 212.185.252.73 through the firewall
Jun 29 21:33:03 localhost logger: punching nameserver 194.25.2.129 through the firewall
Jun 29 21:33:07 localhost network: Bringing up interface ppp0: succeeded
 
Old 07-06-2003, 01:02 PM   #2
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Original Poster
Rep: Reputation: 15
ok, I inactivated eth1 because I don't need it. I tried also to inactivate eth0, which made the boot faster but now the ppp0 logical device (which uses the eth0 card) did not get activated also and I had to install the internet connection manually after the boot. So, either way, it's extra effort.

Of course, online help is preferred. Barring that, any pointers to a good networking tutorial ?

Janis
 
Old 07-06-2003, 01:55 PM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
maybe you should activate it after you boot up, then
try the DSL stuff. If you never activate the card, then
im guessing u wont be able to use it.
 
  


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
eth0 / eth1 and ppp0 ikarus Mandriva 8 11-26-2005 08:49 PM
ppp0,eth0,eth1 question Digital_Err0r Linux - Networking 1 09-22-2005 11:41 AM
eth1 and ppp0, need to send UDP packets through ppp0 smhs Linux - Networking 2 07-12-2005 08:54 AM
Newbie Question: Route all request coming from eth1 to ppp0/dsl0/eth0 hansschmucker SUSE / openSUSE 0 02-12-2005 09:38 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM

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

All times are GMT -5. The time now is 10:21 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
Open Source Consulting | Domain Registration