Sarge 3.1-Networking and aDSL problems...please have a look..
Hello to All,
I am using Sarge 3.1r0a happily.My Problem is that i configured my standalone PC with network-admin GUI setting an IP-192.168.1.2/255.255.255.0 and G/W(router):192.168.1.1.and restarted networking.and 'ifconfig' displayed lan card 'eth0' and loopback interface 'lo' correctly.now i ran pppoeconf and everythings working.But when i restarted PC and logged into Sarge 'ifconfig' shows only 'lo'.But i have enabled 'network-admin' to start/Activate 'eth0' on startup.networking is not started,also i cant run 'pon-dsl-provider' to get aDSL connected.i need to manually start networking by '/etc/init.d/netwroking restart'.will you geeks help me connected to internet........ between iam using a huawei MT 880 modem/router.and webinterface is @192.168.1.1. also in debian any 'chkconfig' like tools for configuring @ startup..... :rolleyes: will you geeks help me connected to internet.......:( |
Please post the contents of your /etc/network/interfaces.
"network-admin" is part of gnome-system-tools, right? It's possible that using two different config tools has messed up your /etc/network/interfaces. I think using pppoeconf should have been enough. Is "chkconfig" RedHat's tool for managing init scripts / services? If so, then you can install either "sysvconfig" (a terminal tool with ncurses interface) or "bum" (a GUI tool). |
here is /etc/network/interfaces:(not working):(
# 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 iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 network 127.0.0.0 # The primary network interface # please do not modify the following line 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 ======================================================== ifconfig shows eth0,lo and ppp0(but somehow not working) For mine adsl cable is connected dirctly to PCs tcp/ip port. B/w can i know which packages are for networking and aDSL?what is the normal procedure for adsl.i run network-admin>new ethernet>eth0 saved.and ran 'pppoeconf'.And chkconfig replacement for Debian is 'update-rc.d'.i tried that for starting network at boot.please....help... |
Looks like you've got lots of unnecessary stuff in your /etc/network/interfaces. Maybe cleaning it up will make it work better. I suggest that you should delete everything that follows this line: "# The loopback network interface". Then you can add the following two lines to set up the loopback interface:
auto lo iface lo inet loopback After that, run "pppoeconf" and check /etc/network/interfaces again. Now it should look something like this: Code:
# This file describes the network interfaces available on your system You don't need to specifically make networking to start at boot -- "pppoeconf" will set that up for you. But if you want to control which services are loaded at boot time, you can install "bum" (boot-up manager) with the command "aptitude install bum gksu". To run it, type "gksu bum". |
Thanks Dead Parrot for ur reply.now i tried what u said and heres my
cat /etc/network/interfaces:(put manual start(pon &off) Quote:
Now am writing from Sarge.i downloaded eciadsl.deb is it have any use?..:confused: Quote:
my ifconfig ppp0 Quote:
|
You had the "pre-up /sbin/ifconfig eth0 up" line in the /etc/network/interfaces that
you posted earlier, so I think it's what you ought to have there. It's strange that "pppoeconf" didn't add it. The line "pre-up /sbin/ifconfig eth0 up" should automatically get eth0 ready before starting ppp0, so there shouldn't be any need for "auto eth0" and "iface eth0 inet manual" (or anything like that). It's possible that I'm wrong about this but I think you should at first do some copying & pasting to make your /etc/network/interfaces to look like the example I gave in my earlier post and then reboot and check with "ifconfig" if the three interfaces "lo", "eth0" and "ppp0" have come up as expected. If not, then try "pon dsl-provider". Quote:
Code:
$ apt-cache show eciadsl If you managed to get a net connection without it, then I don't think you actually need it. You'll probably find some more info about this driver from /usr/share/doc/eciadsl/ . |
thanks.the line
Quote:
but that doesnt seem to work.whatever, now i removed all connxns by deleting from network-admin and started pppoeconf and all run smoothly- seleted manual(pon/poff) and tried pon dsl-provider and connected.now i reboot and tried pon dsl-provider but its not connecting.while #ifconfig lists ppp0,eth0 and lo. and eth0 is starting up at boot also. as strange it is. After i edited eth0 and gave ip 192.168.1.2/255.255.255.0 and g/w 192.168.1.1 (huawei MT880 router).restarted network.and again tried pon dsl-provider.not connected.but listed in by ifconfig command as ppp0 . Please help......or is it a bug.i installed eciadsl also for support for CPE.but not discovered :) |
In your first post you say: "i configured my standalone PC with network-admin
GUI setting an IP-192.168.1.2/255.255.255.0 and G/W(router):192.168.1.1.and restarted networking.and 'ifconfig' displayed lan card 'eth0' and loopback interface 'lo' correctly.now i ran pppoeconf and everythings working." That sounds like a good starting point. You set a static ip address, netmask & gateway. Then you ran "pppoeconf" and everything was working. :) So I took a look at the /etc/network/interfaces in your second post and edited that a little. Here's how I think it should look: Code:
auto lo if that works any better than the previous attempts. EDIT: I found another thread that you may find useful: http://www.linuxquestions.org/questions/history/366436 |
Thanks.I'll try it and posts the result...
BIB |
@Dead Parrot:
I tried those and no workaround it seems.so i am going for a reinstall,coz i opted expert26 during install.Thank You:Pengy: |
OK, obviously the normal adsl setup (via pppoeconf) is not sufficient for your
specific modem/router. That hardware needs some special settings and I don't know what they are. But did you explore the link I gave in my last post? It seems that there's an in-built web based configuration interface for your router, and all you need to do to access it is to point your web browser to the following address: http://192.168.1.1/ . That definitely seems worth a try. And this runlevel0 guy/gal seems to know a lot about these kind of modem/routers, so his/her posts are also worth a careful read. So it seems to me that basically you need to configure /etc/network/interfaces to bring "lo", "eth0" and "ppp0" up at boot and then point your web browser to the above address in order to configure your router. Good luck. :) |
Thanks Dead Parrot.Took solid 3 hours reinstalled sarge and now somehow pppoe IS working.also those" pre-up /sbin/ifconfig eth0 up" is showing up now. guess what?i didnt put any IP address etc for onboard lan card eth0.simply ran pppoeconf and am browsing right now from Sarge ! .b/w i made a dependeny mess with the prev install as i upgraded all libc6 and installed 2.6.12 kernel....and tried to install udev v.70.?? and from 2.6.12 onwards no hotplug needed for udev .SO i misconfigured both some how lasttime i installed hotplug and latest udev .07? and everything messed up!But NOw Sarge Rocks!
Thanks to All.:) B/W only irritant is i have to run as root :"ifconfig eth0 up" every time:( :( |
Hai to All,
I got my sarge 3.1 connected to web via adsl.but i have to manually awake lan eth0 by running Code:
debian:/home/prakash# ifconfig eth0 up |
Hmm... Apparently the "pre-up /sbin/ifconfig eth0 up" isn't taking effect as expected.
You could try adding "auto eth0" to /etc/network/interfaces. Or if you already have "auto lo", you can change it to "auto lo eth0" -- that should have the same effect as "auto eth0". In other words, it should bring eth0 up at boot. |
Hai dead parrot
i tried adding "auto eth0" to /etc/network/interfaces.heres what i got after i restarted my networking. Code:
debian:/home/prakash# /etc/init.d/networking restart |
All times are GMT -5. The time now is 10:03 AM. |