Ubuntu: can't connect to local internet using wire


I'm at work right now. there's a Windows pc connected to some sort of shared wired internet ... when I connect that wire to my laptop I can't connect to the internet it keeps connecting and then it just fail to connect showing an error network disconnected.
is there any way I can connect my Ubuntu laptop to this network ? do I have to set an IP or something like that ?

what I have tired yet is to copy MAC address from Windows pc and type it down when I creat a new ethernet network... also I set IP4 to be automatic.. am I going to the right direction ?


It seems like your network is protected and need to configure your proxy settings. First,

Create Ethernet Network and select Manual Method in your IPv4 settings. Now add Address, Netmask, Gateway, DNS Servers.

Go to

System Settings-->Network-->Network Proxy-->Manual-->add your proxyIP and port

and If you want to get update or access the internet through the terminal:

sudo gedit /etc/apt/apt.conf  

you'll see

Acquire::http::proxy "http://proxyip:port/";
Acquire::https::proxy "https://proxyip:port/";
Acquire::ftp::proxy "ftp://proxyip:port/";
Acquire::socks::proxy "socks://proxyip:port/";

and if you have a username and password for your proxy then, change it to

Acquire::http::proxy "http://username:password@proxyip:port/";
Acquire::https::proxy "https://username:password@proxyip:port/";
Acquire::ftp::proxy "ftp://username:password@proxyip:port/";
Acquire::socks::proxy "socks://username:password@proxyip:port/";

I hope this will enable you to connect your network.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »