Here is a very simple step by step guide to setup ADSL internet connection on Fedora.
Things I have used :
1) The router provided by BSNL Dataone India, Huawei SmartAX MT882.
2) fedora core 7
Procedure in a NutShellProcedure Detailed :
ifconfig eth0 192.168.1.1
1) Connect the router
You need to connect the ADSL modem to the Ethernet card.
During booting the eth0(that is the default ethernet interface) may not be configured automatically by Linux (if you are using my modem). In my case the startup script pause for a very long time saying-"bringing up the eth0 interface" and then after a couple of minutes shows it as [Failed]. So I would recommend to put the router off during booting, so that you can save some time while booting.
2)Setting up eth0
Login as root for Fedora users.( or use sudo if you don't want to login as root)
Then look out for any ip address .It may not be configured.So we are going to manually configure it.
[root@localhost ~]# service network restart
This command may automatically bring up the eth0.In my case, it worked on Ubuntu but not on Fedora.
If it brings up eth0 then skip next command (ie to manually give ip info of router)
[root@localhost ~]# ifconfig eth0 192.168.1.1
[root@localhost ~]# ifconfig
The IP we entered should be there .go on to next step.
Now on, eth0 knows that the router is having ip address 192.168.1.1
Note that the 192.168.1.1 address depends upon the make of the router.It may only work for SmartAXmt882 (also mt880) router.Other routers supplied by BSNL like motorola may have different address.You can find the router ip of your router from Google .
3)Setting up the pppoe (Peer to Peer Over Ethernet) connection
[root@localhost ~]# pppoe-setup
This will bring a wizard for setting up the broadband connection. It will ask your username password and some other questions.Give things you don't know as default.I selected the default device,ie ppp0(0 is the number0 and not alphabet O), firewall as the 2nd option,DNS and rest as default.
Read the instructions at the end and write it down some where.The Setup is now finished.
4)Connect and Disconnect internet
Each time to connect dsl:
[root@localhost ~]#fup ppp0
and to disconnect dsl:
[root@localhost ~]#ifdown ppp0
You can use "#ifconfig eth0 ipaddress" if the eth0 is not automatically setup at boot time.
Fedora is a great distro.I have been using Linux for many years, and among the popular new-gen distos like Ubuntu, Suse, Fedora i found Fedora the best for me.It might be because I began my Linux with Redhat. This comparison topic is worth a new blog. So I am saving it for another time. Check http://polishlinux.org/choose/comparison?distro1=Fedora&distro2=Ubuntu for a Fedora vs Ubuntu comparison.Hope you find this guide simple and useful.