Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure the network system of Ubuntu

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to install and configure the network system in Ubuntu". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install and configure the network system in Ubuntu.

Ubuntu installation configuration network

Sudo pppoeconf

Pon dsl-provider

Poff

Input at the terminal

Sudo gedit / etc/ppp/options

Change lcp-echo-failure 4 to lcp-echo-failure 40 in the pop-up document because there is an obvious flaw in the default setting of Ubutnu. The number of lcp-echo-failure is set to 4 and lcp-echo-interval is set to 30 seconds. In other words, if the ADSL server does not return the echo-reply signal within 120 seconds, Ubuntu will think that there is something wrong with the network and immediately break the reconnection, which makes people very unhappy.

Other common network Ubuntu installation configurations

Graphical interface sometimes the Ubuntu installation configuration network does not take effect and can be configured on the command line

The IP command line is configured as follows

Sudo gedit / etc/network/interfaces

DHCP

The DHCP configuration is as follows (assuming surfing the Internet through eth2)

# The primary network interface-use DHCP to find our address

Auto eth2

Iface eth2 inet dhcp / / designated as dhcp

And then restart.

Sudo / etc/init.d/networking restart

Static IP

Static IP address Ubuntu installation configuration is as follows (assuming surfing the Internet through eth2)

# The primary network interface

Auto eth2

Iface eth2 inet static / / designated as static

Address 192.168.3.90 / / IP address

Gateway 192.168.3.1 / Gateway

Netmask 255.255.255.0 / / Subnet Mask

Also need to restart

Sudo / etc/init.d/networking restart

DNS

Ubuntu installation and configuration of DNS if necessary

Sudo gedit / etc/resolv.conf

Nameserver 192.168.3.2

Thank you for your reading, the above is the content of "how to install and configure the network system of Ubuntu". After the study of this article, I believe you have a deeper understanding of how to install and configure the network system of Ubuntu, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report