Escolar Documentos
Profissional Documentos
Cultura Documentos
Can any one tell me the procedure on how to connect to wired LAN internet
connection through terminal..
javanoob asked
411 ● 7 ● 11 ● 27 Nov 19 '10 at 10:58
Suhaib edited
3,294 ● 5 ● 30 ● 45 Mar 30 '13 at 19:02
By using our site, you acknowledge that you have read and understand our Cookie
Policy, Privacy Policy, and our Terms of Service.
donatello answered
564 ● 1 ● 6 ● 18 Nov 19 '10 at 11:09
15 Whilst this may theoretically answer the question, it would be preferable to include
the essential parts of the answer here, and provide the link for reference. – Eliah
Kagan Aug 11 '12 at 22:05
3 -1 answers containing only a link are volatile and against the rules of the site. I hope
this down vote convinces you to follow the site rules – Braden Best Jun 27 '16 at
15:18
add a comment
By using our site, you acknowledge that you have read and understand our Cookie
Policy, Privacy Policy, and our Terms of Service.
This is just a modified version of: http://www.ubuntugeek.com
17 /ubuntu-networking-configuration-using-command-line.html
You can configure a network interface from the command line using
the networking utilities. You configure your network client hosts with
the command line by using commands to change your current
settings or by editing a number of system files. To configure your
network interface card to automatically connect when wired cable is
connected you can follow this "simple" steps:
auto eth0
iface eth0 inet dhcp
auto lo
iface lo inet loopback
auto eth2
iface eth2 inet dhcp
Example File:
auto eth0
iface eth0 inet static
address 192.168.0.100
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
By using our site, you acknowledge that you have read and understand our Cookie
Policy, Privacy Policy, and our Terms of Service.
share improve this answer
most answers on this issue are most likely to confuse readers when
2 demostrating what to put in the /etc/resolv.conf because they use
local addresses for the nameserver.
"For example a machine which should perform lookups from the DNS
server."
Here DNS server and nameserver mean the same thing. So instead of
placing a LAN address in there, put an actual DNS server address. (ie.
Google DNS server)
nameserver 8.8.8.8
this link explains the used of the resolv.conf file in more depth.
https://theos.in/desktop-linux/resolve-conf-linux-example/
lasec0203 answered
131 ● 2 Dec 16 '16 at 22:54
Your Answer
By using our site, you acknowledge that you have read and understand our Cookie
Policy, Privacy Policy, and our Terms of Service.
Body
Add picture
Log in
OR
Name
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
meta chat tour help blog privacy policy legal contact us full site
By using our site, you acknowledge that you have read and understand our Cookie
Policy, Privacy Policy, and our Terms of Service.