Re: eth configuration for dataone

"Mahesh T. Pai" <[email protected]>
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
Prakash Jose Kokkatt said on Fri, Jul 29, 2005 at 01:14:36PM +0530,:

 > Will you  please explain  how to configure  pppoe for a  single non
 > networked computer,bear  tthat i know  little about networking!what
 > should  be  done  to  stop  debian  from  searching  for  networked
 > computers by

I am  presuming that you have not  changed the /etc/network/interfaces
file you posted  two days back. It is also presumed  that you have not
tampered with the modem  - if you have, just poke a  pin or the refill
of an old  ball point pen into  the reset hole at the  back, just near
the power switch an restart the modem.
 
1. Comment out all lines except

  iface lo inet loopback
  address 127.0.0.1
  netmask 255.0.0.0
  broadcast 127.255.255.255
  network 127.0.0.0

All OTHER  lines should  have a #  at the  first column. That  way, if
somthing goes wrong, you can simply remove the # and get back.

2. as root, say ``/etc/init.d/networking restart''.

3. Add the following lines to /etc/network/interfaces

   auto eth0
        iface eth0 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down


4. run pppoeconf

   depending on your taste, choose whether you want to run ppp at boot
   time (I do not), and decide whether you do not want to start ppp now.

5. Check /etc/network/interfaces now. It will have added the following
   two lines:-

   # please do not modify the following line
     pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf


Now, saying `pon dsl-provider' will connect you to the net.

HINT:- /etc/ppp/peers/provider a symlink to 
/etc/ppp/peers/dsl-provider; and I can connect just by invoking pon.
     
 > runnung DHCPDISCOVER?What will be the values if we are configuring

Find what dhcp client is installed and uninstall them.

# dpkg -l dhcp* |grep ii

Will show what dhcp package is installed (it could be dhcp or dhcp3)

Now apt-get remove <the package> will do the trick.
 
 > eth0  manually(no  DHCP)?I use  dataone  256  modem HUAWEI  SmartAX
 > MT880.my  network-admin GUI  shows  two networks  present first  is
 > unknown  dslconnection and eth0(which  i configred  using DHCP).For
 > DSL to start
 
After `pon dsl-provider' is invoked,  it will show both eth0 and ppp0,
in addition to the loopback interface.

 > i use pon dsl-provider,then it shows rp-pppoe0 ? loaded.

Can be ignored if above is done successfully.

 >  BUt I need  to run network-admin and check  enable eth0(GUI Hangs)
 > and run pon dsl-provider dsl will be connected.please help

install the package pppstatus to  show the status of the network. Most
window managers (IceWM,  KDE, GNOME) have applets which  reside in the
taskbar showing the  network status. Configure the applet  to show the
status of *ppp0*. By default, they show the status of eth0.
 
-- 
         Mahesh T. Pai    <<>>   http://paivakil.port5.com
Half knowledge is worse than ignorance.
    --Thomas B. Macaulay
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.