LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-14-2005, 10:47 AM   #1
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Rep: Reputation: 15
HowTo startup pppoe automatically before logging in?


before started up eth0.
Code:
mathsniper:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:73674 (71.9 KiB)  TX bytes:73674 (71.9 KiB)
after started up eth0. (using command "ifconfig eth0 up")
Code:
mathsniper:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:75:B3:F8:EA
          inet6 addr: fe80::204:75ff:feb3:f8ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:8643 dropped:0 overruns:0 carrier:17270
          collisions:0 txqueuelen:1000
          RX bytes:12774960 (12.1 MiB)  TX bytes:0 (0.0 b)
          Interrupt:209 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:73674 (71.9 KiB)  TX bytes:73674 (71.9 KiB)
after started up PPP connection. (using command "pon dsl-provider")
Code:
mathsniper:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:75:B3:F8:EA
          inet6 addr: fe80::204:75ff:feb3:f8ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:8665 dropped:0 overruns:0 carrier:17314
          collisions:0 txqueuelen:1000
          RX bytes:12776392 (12.1 MiB)  TX bytes:0 (0.0 b)
          Interrupt:209 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:73674 (71.9 KiB)  TX bytes:73674 (71.9 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:202.175.166.50  P-t-P:202.175.100.17  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:467 (467.0 b)  TX bytes:348 (348.0 b)
I have to use command "ifconfig eth0 up" startup eth0 manually. Where can i set it start it up automatically?
 
Old 09-14-2005, 11:11 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Have you tried "pppoeconf"?
 
Old 09-17-2005, 11:27 AM   #3
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Configure pppoe as a ppp0 interface:

http://www.linbyte.com/debian/pppoe.php
 
Old 09-18-2005, 12:58 AM   #4
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
The /etc/network/interfaces
Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo

iface lo inet loopback


### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.

iface dsl-provider inet ppp
          provider dsl-provider
# please do not modify the following line
     pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
how can I startup "auto eth0"?
 
  


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
HOWTO PPPoE Server Bilal84 Linux - Networking 1 05-23-2005 07:22 AM
MDK 10.0 Logging out automatically NC_Jed Mandriva 5 01-24-2005 01:33 AM
automatically logging into XWindows ironcrouton Linux - Newbie 2 12-16-2004 06:44 AM
automatically logging in? bobbens Debian 2 11-01-2004 05:49 AM
Starting program automatically as logging in adcripps Linux - Newbie 9 03-13-2002 12:47 PM

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

All times are GMT -5. The time now is 02:17 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