How to connect linux to internet

How to Connect to internet in Ubuntu?

Sorry, I scanned 1 interface, but the Access Concentrator of your provider did not respond. Please check your network and modem cables. Another reason or the scan failure may also be another running pppoe process which controls the modem.

but when i configure my modem using Bridge mode.then im able to connect to internet in ubuntu but when im configure my modem in pppoe over Ethernet its not working and shows me above Error.

3 Answers 3

Internet Connection Setup in Ubuntu (Wired)

Before I go into this detailed technical babble, I want to go over a basic check list for connectivity to the Internet.

Cable/DSL modem is powered on and is authenticated with your ISP (meaning, the “Cable” or “DSL” light on the front is on solid, and you have a good connection to your ISP). Your cable modem is directly attached to your PC Ethernet port via a Cat5 Ethernet cable. If you have more than one PC in your house and you own a router see the next item: Your Cable/DSL modem is attached to your router’s up link port via a Cat5 cable, and your PC is attached to one of the routers down link ports. Once again: DOUBLE CHECK YOUR PHYSICAL LAYER and make sure everything is correctly connected. 

enter image description here

The above is the standard connection scheme of a home network. If you have done the above, shoot for the moon and try to open Firefox and visit www.google.com. If it says the page can’t be displayed, try clicking (inside of Firefox) Edit>Preferences and then select the Advanced catagory at the top-far-right, and then click the Network tab (see below).

enter image description here

From there, click on the Settings button within the Connection zone of the window. This window will then appear:

enter image description here

From here, make sure the “Auto-Detect Proxy Settings” radio button is selected (as above). Then hit OK.

Now, close Firefox, restart it and attempt to visit www.google.com again.

Connection Troubleshooting (skip if you’re not having any problems)

Typical Internet users have to have the following equipment in order to get access to the Internet:

A modem (Could be dial up, could be DSL, could be cable. All three perform the same basic function: Modulate and demodulate data as it is sent to and received from your Internet Service Provider, as well as assign you one single IP address). An Ethernet Adapter. A Router (required if you have more than one computer in the house and you want them to access the Internet simultaneously). 

Another networking device that is similar to a router, but inadequate for Internet connection management between more than one computer, is a Hub. Hubs are devices that do absolutely no routing of traffic with IP address, but instead, can only route traffic based on MAC addresses. Hubs were originally designed for LAN networks that did not need Internet access; only shared access between local, in-house computers. Hubs are also bad for security reasons, since they are nothing more than repeaters that echo all traffic out of every port on the device.

Читайте также:  Xbox 360 wireless controller linux

Basic Internet connectivity requires IP address routing capability (a router, in other words), as well as default gateway and DNS addresses to either be known in advanced, or (much more often) auto-configured by the modem/router using DHCP. In Ubuntu, DHCP is enabled on all Ethernet devices by default. This means that when you turn your computer on, it should ask the router (or cable/DSL modem) “What is my IP address, subnet mask, and default gateway supposed to be?” And the router replies and assigns the client PC an unused IP address along with the rest of the requested information. In this way, multiple computers on a LAN can be dynamically assigned IP addresses by the router as they are needed.

So the first thing you should check is if your computer is being assigned an IP address by the router at all. A quick way to do this is to open Applications>Accessories>Terminal, and once it is open, type in “ifconfig” (which is short for Interface Config). The readout will look similar to this:

enter image description here

In the above screenshot, you’ll see interface names listed down the left side (in this case, there are only two shown: eth0 and lo — which stands for “loopback”). These names vary depending on the type of networking device you are using. Another example: if you had more than one Ethernet adapter in your computer, you would likely see the second one listed here as “eth1″.

To the right of “eth0″ we see a lot of information written out for us. The “inet addr:” is your Local IP address. (In the above example, the IP address assigned to the computer is 192.168.73.129). If you have an address here, then that means your router/modem properly assigned you an address while booting your PC. If you don’t see an ip address here, you can attempt to force your router to assign you one by typing in “dhcpcd eth0″ and pressing enter. (Note: dhcpcd is not installed by default. To installed it from terminal, type “sudo apt-get install dhcpcd”).

An alternative place to check and see if you are being assigned an IP address is System>Administration>Network Tools applet:

enter image description here

Unlike the ifconfig command, you can only view the IP addressing information for one network device at a time in here. And other than that, you can’t do much here when it comes to setting up your device.

The other place to check your network settings is in System>Administrator>Network. In here, you should select your Ethernet device and make sure it is in “Roaming Mode”, which places the device into DHCP mode.

If you’re still not able to get an IP address assigned to your networking interface then the cause might be a bad cable, the modem/router may need to be reset or your network interface is broken or unsupported (rare).

Источник

InternetHowto

Once Ubuntu is installed and running, one of the first things you may want to do is to get connected to the Internet. This can be useful for installing software and getting help.

Читайте также:  Updating java version in linux

This task is usually very simple, however it requires a minimum of involvement on your part. Of course, you will need to be subscribed to an Internet Service Provider, and have Internet connection installed and functional.

There are several ways to connect to Internet, depending on what type of connection you have. You could have broadband (i.e. ADSL), dialup (i.e. a 56 kbit/s modem) or access to Internet directly via your Local Area Network (wireless or ethernet or other).

Jump to the section corresponding to your type of connection. See NetworkAdmin and NetworkDevices if you need to configure your device.

Broadband

If you have an ADSL or cable modem there are several possibilities, depending on the type of modem.

Ethernet Modem (pppoe)

If your modem connects to your PC with an ethernet network cable you probably want to setup a pppoe connection. However, nowadays many modems also integrate a router, in this case you should follow the instructions provided by the manufacturer, you may find extra help in the Local Area Network section below (if you configure the device via a web interface, it probably has an integrated router).

In order to setup a pppoe connection, please see ADSLPPPoE.

USB modem

This is probably the the most demanding type of modem to set up, USB is far from the ideal medium for network access. If you can get your hands on an ethernet modem you may save yourself some trouble. If you have a modem that can connect both via USB and ethernet you should use the ethernet connection.

If you have a ADSL usb modem, you should refer to the UsbAdslModem

Dialup

If you have a dialup connection, a 56 kbit/s or slower modem, you should refer to the DialupModemHowto. This inscludes USB cell modems.

Local Area Network — wireless, ethernet or other

If you connect to the Internet via a Local Area Network, the configuration depends entirely on your network.

Configuration information should be provided by your network administrator.

If you connect via a router on a home network, you should read the router’s documentation, the default Ubuntu configuration may work without further configuration.

You may have to configure the interface through which you connect to use DHCP (dynamic configuration, usually the default) or specify an IP address, default gateway or DNS server.

You must have your ethernet or Wifi card working before starting to configure Internet access, you may find information on hardware here : NetworkDevices

Mobile phone

If you wish to connect to the Internet with the modem integrated into a modern mobile phone, you may find helpful information in BluetoothDialup, about configuring PPP dialup through a Bluetooth-compatible mobile phone, or in CableDialup for connecting with a mobile phone via a USB cable.

iBurst

To connect with iBurst wireless Internet access, see MobileWirelessBroadband.

IPwireless mobile broadband

To connect with sentech mywireless internet access, see IpwirelessPcmcia.

Mobile broadband

Jaunty Jackolope (9.04) and Karmic Koala (9.10) featured enhanced support for setting up mobile broadband. It supports most major mobile carriers. To set your interface up you can click the Network manager icon in your tray and follow the instructions.

Internet Connection Sharing

InternetHowto (последним исправлял пользователь ckimes 2017-09-25 23:56:50)

Читайте также:  Linux show file process

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

3 Workable Ways of Connecting Linux PC To The Internet.

internet_world_banner_fossnaija

Follow us on Twitter Follow us on Facebook Follow us on Instagram Follow us on LinkedIn Follow us on rss

The internet has become an integral part of our digital life. With the advent of the web browser, along with other web technologies that sprang up as a result of it, staying offline is presently almost impossible.

Sending and receiving emails, media streaming, with the many social networks here and there, there is no doubt there is need for a working internet connection.

In this post I’ll show you various common ways you can connect your Linux system to the internet.

#1 Wired connections.

It simply means you’d have to access the internet by connecting your Linux PC, using cables, through the Ethernet port to a RJ45 port (using DSL) on a wall.

Ethernet-port-fossnaija

So it would only work on PCs with Ethernet network interface cards. Data is transmitted over copper telephone lines. Connecting to the internet this way is common in large business, corporate or enterprise environments. It’s mostly likely going to be used at work or your office. And this would be very expensive to set up for individual use.

Wireless Connections.

Wireless connections have in recent times become the most popular people connect their PCs to the internet, and the one that is would be very attractive to the individual computer user. As the name implies “wire-less” connections do not require any network cables to connect to a internet network. Especially now that computers are becoming smaller and mobile with every model iteration. let’s now talk about some wireless connections methods.

#2 Dial-Up Modems.

To use this method, you’d need to connect a USB modem to your PC after which the modem will dial-up to your internet service provider (ISP) network (a sort of proxy to connect to the internet).

etisalat_modem_on_laptop_fossnaija

These modems usually come preconfigured with settings from the ISP. Some modems do not work with a particular Linux distribution because the manufacturers (and ISPs) wont provide Linux drivers and software. You can do a thorough google web search using the modem device name to see how others have solved the problem with that particular modem. But you can check this post to see how to set a ZTE USB modem on ubuntu Linux.

#3 Wi-Fi.

To connect to the internet very easily and fast this is the most popular method available today. You simply scan for available Wi-Fi network form your Linux pc and connect. Most time they are closed (passworded) which will require a password, some might be open (without a password) One of the reason for this is that wireless network devices have become cheap when compared to the cost wiring long distance to provide internet connectivity.

And most importantly many computer and computer-based accessories come with wireless capabilities. Linux is wireless-compatitble out of the box. Check here how you can connect to wifi network. With the proliferation of internet-enabled mobile devices like phones and tablets you can share you mobile internet connection with your Linux PC wirelessly.

There you have it. Try them out.

Happy Linux’NG

Источник

Оцените статью
Adblock
detector