LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-01-2005, 05:42 PM   #16
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46

Quote:
if i try network-admin GUI for setting up ethernet lan it works ok and start at bootup.but afterthat i cannot get adsl connxn connected to web.ie by running 'pppoeconf' after eth0 is set with network-admin.
OK, sounds to me that network-admin isn't the right way to go, since you cannot connect to web after reboot.

Quote:
i deleted all connections and ran pppoeconf and i tried
pon dsl-provider.ifconfig listed all ie eth0,lo,ppp0(connxn) properly and i can browse web now.if i restart debian,i need to run as #ifconfig eth0 up and #pon dsl-provider.
This sounds more promising. The only problem with this approach seems to be that you need to run "ifconfig eth0 up" and "pon dsl-provider" manually after each reboot.

I had this latter situation in mind when I suggested that you should add these both commands to /etc/init.d/local (so that they would be run automatically at boot). But you said that you tried this and "it produced a lot of instances of ppp and i need to run killall and poff -a etc." So apparently you shouldn't put *both* of these commands to /etc/init.d/local, but how about putting only "ifconfig eth0 up" there (without the quotes)?

If that brings eth0 successfully up during boot time, then the only thing that's left to worry about would be "pon dsl-provider", which you would still need to run manually after every reboot. But it would be one step closer to the solution. So give it a try and tell us how it turns out.
 
Old 11-06-2005, 09:58 PM   #17
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Hello All,I reconfigure network connexns and assigned IP addresses
for LAN etc and eth0 is starting at bootup.if i try 'pon dsl-provider', ppp0 is listed as active by ifconfig. however if i ran:
Code:
route add default ppp0
every time inorder to get connected
So How can i make 'ppp0' as defaultroute?
ifconfig lists eth0,lo and ppp0.but u cannot ping or browse web.my /etc/network/interfaces file:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet static
name Ethernet LAN card
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1

auto eth0

iface dsl-provider inet ppp
provider dsl-provider
Please Help urgently...................


After "pon dsl-provider",
I need to run :
Code:
route add default ppp0
that will connect.i updated manually my ppp,pppoe and pppoeconf packages to latest unstable distros package inthe hope that it will work.after i upgraded pppoe/pppoeconf,my
/etc/network/interfaces files last line "pre-up /sbin/ifconfig eth0 up" was removed automatically. .but that was OK as those lines are not bringing up my eth0 lan anyway.but now lan is working at boot,only problem is i need to run this again for internet adsl:
Code:
route add default ppp0
So my problem is how to make ppp0 as default connection rather than running :route add default ppp0 everytime.Please Help geeks urgently........


Last edited by deepclutch; 11-07-2005 at 12:53 PM.
 
Old 11-07-2005, 12:54 PM   #18
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Please help bro...
 
Old 11-08-2005, 04:08 AM   #19
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

SOLVED.I dont know how its got solved auto magically!.I reinstalled ppp/pppoe/pppoeconf debs before removed all user/passwd in pap/chap lines and dsl-provider files.now my /etc/network/interfaces file looks like this:
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet static
name Ethernet LAN card
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1

auto eth0

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
b/w Thanks again.............

Last edited by deepclutch; 11-08-2005 at 04:10 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
Remote controls maroonbaboon LinuxQuestions.org Member Success Stories 1 01-14-2008 04:45 PM
Xined - what it controls Swakoo Linux - General 4 10-19-2005 12:48 PM
upgrade packages > no network Normanya Linux - Networking 3 06-21-2005 03:26 PM
Help! How to install packages through network? tony yu SUSE / openSUSE 2 01-27-2005 06:33 PM
keyboard controls butthead Linux - Security 2 11-06-2001 08:39 AM

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

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