Checking Connection

By admin

When computer restart everything get applied, checking internet connection is main thing to do :

$ sudo su

[sudo] password for alamsyah:

Enter same password as user ‘alamsyah’ to get into root session.

Checking if internet connected using ping :

# ping yahoo.com

PING yahoo.com (69.147.114.224) 56(84) bytes of data.
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=1 ttl=48 time=447 ms
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=2 ttl=48 time=369 ms
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=3 ttl=48 time=365 ms
^C
— yahoo.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2100ms
rtt min/avg/max/mdev = 365.620/394.291/447.984/37.999 ms
#

Update Ubuntu Server

apt-get update is our best friend :-)

# apt-get update

Hit http://us.archive.ubuntu.com jaunty Release.gpg
Ign http://us.archive.ubuntu.com jaunty/main Translation-en_US
Get:1 http://security.ubuntu.com jaunty-security Release.gpg [189B]
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Get:2 http://us.archive.ubuntu.com jaunty-updates Release.gpg [189B]
Ign http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Get:3 http://security.ubuntu.com jaunty-security Release [49.6kB]
Hit http://us.archive.ubuntu.com jaunty Release
Get:4 http://us.archive.ubuntu.com jaunty-updates Release [49.6kB]
Hit http://us.archive.ubuntu.com jaunty/main Packages
Hit http://us.archive.ubuntu.com jaunty/restricted Packages
Hit http://us.archive.ubuntu.com jaunty/main Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Sources
Hit http://us.archive.ubuntu.com jaunty/universe Packages
Hit http://us.archive.ubuntu.com jaunty/universe Sources
Hit http://us.archive.ubuntu.com jaunty/multiverse Packages
Hit http://us.archive.ubuntu.com jaunty/multiverse Sources
Get:5 http://us.archive.ubuntu.com jaunty-updates/main Packages [16.8kB]
Get:6 http://security.ubuntu.com jaunty-security/main Packages [11.6kB]
Get:7 http://us.archive.ubuntu.com jaunty-updates/restricted Packages [14B]
Get:8 http://us.archive.ubuntu.com jaunty-updates/main Sources [4756B]
Get:9 http://us.archive.ubuntu.com jaunty-updates/restricted Sources [14B]
Get:10 http://us.archive.ubuntu.com jaunty-updates/universe Packages [6078B]
Get:11 http://us.archive.ubuntu.com jaunty-updates/universe Sources [14B]
Get:12 http://us.archive.ubuntu.com jaunty-updates/multiverse Packages [14B]
Get:13 http://us.archive.ubuntu.com jaunty-updates/multiverse Sources [14B]
Get:14 http://security.ubuntu.com jaunty-security/restricted Packages [14B]
Get:15 http://security.ubuntu.com jaunty-security/main Sources [3370B]
Get:16 http://security.ubuntu.com jaunty-security/restricted Sources [14B]
Get:17 http://security.ubuntu.com jaunty-security/universe Packages [4143B]
Get:18 http://security.ubuntu.com jaunty-security/universe Sources [14B]
Get:19 http://security.ubuntu.com jaunty-security/multiverse Packages [14B]
Get:20 http://security.ubuntu.com jaunty-security/multiverse Sources [14B]
Fetched 147kB in 10s (14.6kB/s)
Reading package lists… Done

Upgrade package or software installed

# apt-get upgrade

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages have been kept back:
bind9 bind9-host bind9utils clamav clamav-freshclam dnsutils grub libbind9-40 libisccc40 libisccfg40 liblwres40 linux-image-server linux-server ntfs-3g
python python-minimal update-manager-core
The following packages will be upgraded:
clamav-base libcups2 libcupsimage2 libfreetype6 php-pear php5-cgi php5-cli php5-common php5-curl php5-gd php5-mhash php5-mysql php5-pspell php5-recode
php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
19 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 30.4MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com jaunty-updates/main clamav-base 0.95.1+dfsg-1ubuntu1.1 [21.4MB]
0% [1 clamav-base 61982/21.4MB 0%]

The process will continue till all packages upgraded successfully.

  • Pages

  • Download Ubuntu

  • Download Fedora

  • Tags

  • Categories

    • Translate to:

  •