This is small guide about setting up broadband on Ubuntu 7.04, both in PPPoE and Bridged mode.
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
Broadband internet setup is a breeze in Ubuntu. ADSL based broadband provides 2 modes to connect to the internet i.e.
You can use both modes to connect to the internet on Ubuntu.
- PPPoE mode
- Bridged mode
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 pppoeconfChoose 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-providerTo disconnect:
$ sudo poff dsl-providerAfter 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 ppp0The output should be like this:
ppp0 Link encapoint-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