Guide Broadband setup in Ubuntu 7.04 (Feisty Fawn)

Status
Not open for further replies.
This is small guide about setting up broadband on Ubuntu 7.04, both in PPPoE and Bridged mode.



Broadband internet setup is a breeze in Ubuntu. ADSL based broadband provides 2 modes to connect to the internet i.e.

  • PPPoE mode
  • Bridged mode
You can use both modes to connect to the internet on Ubuntu.

Thanks to Shirish for this info:

For those who are new, pppoeconf is similar to the dial-up utility which you do , you make the connections & hence are slightly more secure. Actually most of the modem+routers have bridge mode but just needs to be turned on with some configuration, I might put up the configuraton for the D-Link 502T (or might have done it already sometime back) . IIRC bridge mode &/or pppoeconf are one & the same. The good thing with bridge mode (pppoeconf) is that one doesn't have to do any port -forwarding so one can do torrents & stuff easy. It has its own pluses & minuses just like everything else. Just need to have the firewall to do your work. Some of the better routers also have a hardware firewall so you can have some kind of white-list/blacklist.

The internet mode by the router where username & password are done usually have some kind of virtual server where you can port-forward for your bittorrent and/or game servers if you play games. The good part is apart from port 80 & port 25 (which are usually open) all the other ports are closed apart from any ports opened up specifically to allow some application to use.

You can check your internet mode in the ADSL modem setup page (e.g. http://192.168.1.1) in a browser. If you are using the PPPoE mode, you are not required to do any configurations in Ubuntu and your broadband internet will work by default. But if you want to use the Bridged mode, you have to follow the steps mentioned below (you'll need DNS information of your broadband service provider) :

  • Go to System->Administration->Network. In the "Connections" tab choose "Wired Connection", click properties and ensure that the configuration is "DHCP". In the DNS tab, add the DNS addresses provided by your service provider and click "Close".
  • Try pinging your your router ip i.e. 192.168.1.1, 192.168.1.2 etc through a terminal.
  • Then run the following command :
$ sudo pppoeconf​
Choose default setting in all options. When prompted for user name, password, enter correct user name, password provided by your internet service provider.

After this, run the following command to start your dialer:

$ sudo pon dsl-provider​
To disconnect:

$ sudo poff dsl-provider​
After connecting (i.e. after running the pon command, try pinging any website from the terminal i.e. Google). If you can ping it then your internet is connected!

You can also verify by pinging ur DNS server or by using the following command:

$ ifconfig ppp0​
The output should be like this:

ppp0 Link encap:Point-to-Point Protocol

inet addr:122.163.133.73 P-t-P: 202.56.215.135 Mask: 255.255.255.255

You can check out the same at my blog:

Fun with GNU/Linux!: Fun with Ubuntu 7.04 (Feisty Fawn)

I hope this guide is of some help to someone :)

 
  • Like
Reactions: 2 people
Dark Star said:
Thanks a lot ! Btw my DSL router get mounted automatically then why to use it? Plz tell me... Repped gr8 efforts :D

You must be using PPPoE then. In
Bridged mode it has to be done manually.

 
Now, as u know, i updated my firmware which caused the mode to be switched to bridged. so, i am using bridged mode on Ubuntu as well as Windows.
 
Hi all,
Monty it would have been better if you had said what pppoeconf does as well as bridged mode does. For those who are new, pppoeconf is similar to the dial-up utility which you do , you make the connections & hence are slightly more secure. Actually most of the modem+routers have bridge mode but just needs to be turned on with some configuration, I might put up the configuraton for the D-Link 502T (or might have done it already sometime back) . IIRC bridge mode &/or pppoeconf are one & the same. The good thing with bridge mode (pppoeconf) is that one doesn't have to do any port -forwarding so one can do torrents & stuff easy. It has its own pluses & minuses just like everything else. Just need to have the firewall to do your work. Some of the better routers also have a hardware firewall so you can have some kind of white-list/blacklist.
The internet mode on the other hand is when the username & password are fed into the router & the router does the dialing, a kind of automated dialer. One has to just on the router. Most of the modem+ router usually have some kind of virtual server where you can port-forward for your bittorrent and/or game servers if you play games. The good part is apart from port 80 & port 25 (which are usually open) all the other ports are closed apart from any ports opened up specifically to allow some application to use.
The cons of it is there are no error reports. If you use pppoeconf and/or bridge mode & if you dial & there is some error then that is thrown up with some error no. so you know if the server is responding or not, or have some sense. With this, you don't have that kind of info.
 
  • Like
Reactions: 1 person
montylee,

Sorry I had to update my response again. Seems my mind was occupied somewhere else. Now I have given a fuller response, while you have updated the howto, there is still a large disconnect with what I've written & what you are saying. I'm saying pppoeconf & bridge mode are the same, while internet mode (where the router does the job of dialer) is different. if you feel or know anything different, please let us know. I have done it both ways hence know.
 
Status
Not open for further replies.