Jump to content
Sign in to follow this  
babbio

broadband

Recommended Posts

How to connect Ubuntu to the Internet through a broadband connection? I decided to give Linux a try, and I picked the Ubuntu variant. I have some problems with the Internet connection though. I have a broadband (modem-less) PPoE connection, and all the info needed in order for me to connect are the username and password (which I have). Where can I enter this info in Ubuntu? Step-by-step please.

____________________________

Edited by Guest

Share this post


Link to post
Share on other sites

Here is a link to my site: I made a tutorial for forwarding ports to recording software called Yawcam. It's a little different because I have separate router and modem. Also, its for windows.

http://birdman.ulmb.com/dep/guides/port_forward_for_yawcam/index.html

 

So you have a computer, connected to a router, connected to the broadband. It must be one of those router+modem things?

 

Normally that info (password) would go into the router/modem so that it can connect to the WAN (your phone line).

 

Once your router/modem is connected, somewhere in its settings it should show a public IP address. If so, thats good.

 

In the router, there should be settings for 'port forwarding'. It might be called like 'applications and gaming'.

 

What we want to do is forward the ports that are used to connect to the server. For my Ubuntu server, running Zoneminder, the ports are simply port 80, because it is accessed by normal web browsing.

 

In the router set it to forward port 80 to the IP address that the server has on the LAN. Another note on that; in the server, make sure you set the IP address to stay the same. In other words, manually set the server's IP in the settings, instead of letting the router assign the server one.

 

At this point, everything should be set up. Router is connected to WAN (broadband), it has a public IP, router configured to forward correct ports to IP of the server, server has a static IP (non-changing).

 

Now we are not quite done. At this point, you should be able to go to the IP of the router, from outside your network, and access the server. BUT, that IP is probably dynamic, meaning it changes.

 

We need to make an address that doesn't change. We will use DynDNS for that. Sign up, it's free, and make a host name. Mine's coffeeserver.homeip.net.

 

Here is a wonderful guide to setting up ddclient which will update your host name with the IP of your router:

http://mexpolk.wordpress.com/2008/01/29/ubuntu-gutsy-dyndns-client-setup/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×