Early set
From CSBLwiki
(Difference between revisions)
(Created page with "{{:template:mbn}} <div class="basic"> ==Early setting after installing ubuntu== ===1. Assigning static IP address=== Setting static IP address # /etc/network/interfaces<br> ifa...") |
(→Early setting after installing ubuntu) |
||
Line 1: | Line 1: | ||
{{:template:mbn}} | {{:template:mbn}} | ||
<div class="basic"> | <div class="basic"> | ||
- | + | Early setting after installing ubuntu | |
===1. Assigning static IP address=== | ===1. Assigning static IP address=== | ||
Setting static IP address | Setting static IP address |
Revision as of 06:20, 5 August 2012
<html> <style type="text/css">
.basic {
font-family : helvetica; font-size : 12pt;
}
pre {
font-size : 12pt; padding: 10pt; margin: 5pt 0; border: 2px solid #abcdef; background-color: #f9f9f9; font-family:sans-serif; line-height: 160%;
}
</style> </html>
Early setting after installing ubuntu
1. Assigning static IP address
Setting static IP address
# /etc/network/interfaces
iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 auto eth0
Setting DNS server
# /etc/resolv.conf nameserver 10.23.11.24 nameserver 10.23.12.24
Restart network
$ sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... [ OK ]
You may be finding the warning, but it's ok.
Done!