Tuesday, October 05, 2010

Kenapa KDE Network Manager daku tiada masalah langsung didalam OpenSuSE 11.3?

Sejak daku guna sang Gecko atau OpenSuSE, mmg daku tidak akan buat fresh install seperti distro2 lain. Kebiasannya daku akan buat Network Upgrade sahaja.... ;-)

Bagaimana daku buat Network Upgrade dari OpenSuSE 11.2 ke OpenSuSE 11.3?

Langkah Pertama,

Switch mode kepada "Root",

[email protected]:~> sudo -s
root's password:           
linux-5jvk:/home/g3ck0 #

Langkah kedua,

Pastikan sudah mendapat talian Internet dengan memeriksa IP, dan test PING

linux-5jvk:/home/g3ck0 # ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1A:6B:35:C0:2A  
          inet6 addr: fe80::21a:6bff:fe35:c02a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100                          
          RX bytes:240 (240.0 b)  TX bytes:2178 (2.1 Kb)       
          Memory:ee000000-ee020000                             

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                             
          RX bytes:12676 (12.3 Kb)  TX bytes:12676 (12.3 Kb)    

wlan1     Link encap:Ethernet  HWaddr 00:1B:77:08:D6:31  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1     
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                        
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)              

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-77-08-D6-31-00-00-00-00-00-00-00-00-00-00                                             
          UP RUNNING  MTU:0  Metric:1                           
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
          collisions:0 txqueuelen:1000                          
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)                
linux-5jvk:/home/g3ck0 # ping www.yahoo.com
PING any-fp.wa1.b.yahoo.com (72.30.2.43) 56(84) bytes of data.
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_seq=1 ttl=54 time=204 ms                                              
^C                                                              
--- any-fp.wa1.b.yahoo.com ping statistics ---                  
2 packets transmitted, 1 received, 50% packet loss, time 1001ms 
rtt min/avg/max/mdev = 204.161/204.161/204.161/0.000 ms         

Langkah Ketiga,

Sila refresh akan repo dan update semua packages dengan melaksanakan arahan dibawah,

linux-5jvk:/home/g3ck0 # zypper ref
Repository 'openSUSE-11.2-Non-Oss' is up to date.
Repository 'openSUSE-11.2-Oss' is up to date.    
Repository 'openSUSE-11.2-Update' is up to date. 
All repositories have been refreshed.            
linux-5jvk:/home/g3ck0 # zypper up
Loading repository data...        
Reading installed packages...     

Nothing to do.
linux-5jvk:/home/g3ck0 #

Langkah Kelima

Senaraikan semua "Repository" untuk memeriksa status,
linux-5jvk:/home/g3ck0 # zypper repos --uri
 "Enable" kan "Repo-Update" dengan arahan ini,
linux-5jvk:/home/g3ck0 # zypper modifyrepo --enable repo-update
Lagi sekali laksanakan arahan untuk Refresh dan Update semua Repo sekali lagi
linux-5jvk:/home/g3ck0 # zypper ref                                     
Repository 'openSUSE-11.2-Non-Oss' is up to date.                       
Repository 'openSUSE-11.2-Oss' is up to date.                           
Repository 'openSUSE-11.2-Update' is up to date.                        
All repositories have been refreshed.                                   
linux-5jvk:/home/g3ck0 # zypper up
Loading repository data...        
Reading installed packages...     

Nothing to do.
linux-5jvk:/home/g3ck0 #

Langkah keenam

Disable semua "repo" yang ada dengan arahan dibawah,

linux-5jvk:/home/g3ck0 # zypper modifyrepo --all --disable
Repository 'openSUSE 11.2-0' has been successfully disabled.
Nothing to change for repository 'repo-debug'.              
Repository 'repo-non-oss' has been successfully disabled.                                           
Repository 'repo-oss' has been successfully disabled.                                               
Nothing to change for repository 'repo-source'.                                                     
Repository 'repo-update' has been successfully disabled.                                            
linux-5jvk:/home/g3ck0 #

Langkah ketujuh

Masukkan "repo" OpenSuSE 11.3 dengan arahan dibawah,

linux-5jvk:/home/g3ck0 # zypper addrepo --name "openSUSE-11.3 OSS" http://download.opensuse.org/distribution/11.3/repo/oss/ repo-11.3-oss                                                               
Adding repository 'openSUSE-11.3 OSS' [done]                                                        
Repository 'openSUSE-11.3 OSS' successfully added                                                   
Enabled: Yes                                                                                        
Autorefresh: No                                                                                     
URI: http://download.opensuse.org/distribution/11.3/repo/oss/                                       

linux-5jvk:/home/g3ck0 # 
linux-5jvk:/home/g3ck0 # zypper addrepo --name "openSUSE-11.3 Non-OSS" http://download.opensuse.org/distribution/11.3/repo/non-oss/ repo-11.3-non-oss                                                   
Adding repository 'openSUSE-11.3 Non-OSS' [done]                                                    
Repository 'openSUSE-11.3 Non-OSS' successfully added                                               
Enabled: Yes                                                                                        
Autorefresh: No                                                                                     
URI: http://download.opensuse.org/distribution/11.3/repo/non-oss/                                   

linux-5jvk:/home/g3ck0 # zypper addrepo --name "openSUSE-11.3 Updates" http://download.opensuse.org/update/11.3/ repo-11.3-update                                                                       
Adding repository 'openSUSE-11.3 Updates' [done]                                                    
Repository 'openSUSE-11.3 Updates' successfully added                                               
Enabled: Yes                                                                                        
Autorefresh: No                                                                                     
URI: http://download.opensuse.org/update/11.3/                                                      
linux-5jvk:/home/g3ck0 #

Langkah Kelapan

Kita "Refresh" sekali lagi akan "repo" yang baru tadi dengan arahan dibawah,

linux-5jvk:/home/g3ck0 # zypper ref
Retrieving repository 'openSUSE-11.3 Non-OSS' metadata [done]
Building repository 'openSUSE-11.3 Non-OSS' cache [done]     
Retrieving repository 'openSUSE-11.3 OSS' metadata [done]    
Building repository 'openSUSE-11.3 OSS' cache [done]         
Retrieving repository 'openSUSE-11.3 Updates' metadata [done]

Building repository 'openSUSE-11.3 Updates' cache [done]     
All repositories have been refreshed. 

Langkah Kesembilan

Kita laksankan arahan ini bagi menaiktaraf akan openSuSE 11.2 kepada openSuSE 11.3,
linux-5jvk:/home/g3ck0 # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.                                                                                               
Loading repository data...                                                                          
Reading installed packages...                                                                       
Computing distribution upgrade...                                                                   

The following NEW packages are going to be installed:
akonadi-runtime boost-license1_42_0 ca-certificates ca-certificates-mozilla cifs-utils cpp45 DeviceKit-power fftw3 gconf-polkit gegl-0_1 gimp-module-hal glibc-devel gnome-keyring-pam    bla..bla..bla...bla.. bla...

The following packages are going to be REMOVED:
atk audit-libs cifs-mount DeviceKit-disks freetype2 kde4-webkitpart kdebluetooth4 libgadu  libgcc44 libgomp44 libjpeg libpackagekit-glib12 libpolkit-qt0 libsnmp15 libspeex libstdc++44 bla..bla..bla...bla.. bla...
The following packages are going to be upgraded:
a2ps aaa_base aalib acl acpica acpid agg akregator alsa alsa-oss alsa-plugins alsa-utils amarok  apparmor-docs apparmor-parser apparmor-profiles apparmor-utils ark aspell aspell-en at attr     bla..bla..bla...bla.. bla...

The following product is going to be upgraded:
  openSUSE 11.3                               

The following packages are going to be downgraded:
 AdobeICCProfiles aria2 gdbm gpm info libppl7 libppl_c2 pkg-config preload-kmp-default 

The following packages are going to be reinstalled:
flash-player MozillaFirefox mozilla-js192 mozilla-xulrunner191 mozilla-xulrunner191-gnomevfs  mozilla-xulrunner192 mozilla-xulrunner192-gnome                                              

The following packages are going to change architecture:
  bash-doc       i586 -> noarch                    
  perl-doc       i586 -> noarch                         
  perl-TimeDate  i586 -> noarch                         
  readline-doc   i586 -> noarch                         
  vim-data       i586 -> noarch                         
1021 packages to upgrade, 9 to downgrade, 166 new, 7 to reinstall, 31 to remove, 5 to change arch.
Overall download size: 883.2 MiB. After the operation, additional 310.2 MiB will be used.         
Continue? [y/n/?] (y): 
Tekan "Y" atau "Enter" sahaja bagi meneruskan proses ini...
(Use arrows or pgUp/pgDown keys to scroll the text by lines or pages.)                            

In order to install 'openSUSE 11.3' (product), you must agree to terms of the following license agreement:                                                                                              

LICENSE AGREEMENT
openSUSE® 11.3  

This agreement governs your download, installation, or use of openSUSE 11.3 and its updates, regardless of the delivery mechanism. openSUSE 11.3 is a collective work under US Copyright Law. Subject to the bla..bla..bla..bla...
Untuk semua "agreement" cuma perlu taip "yes" sahaja ..;-) dan proses menaiktaraf bermula,

Do you agree with the terms of the license? [yes/no] (no): yes
Removing libjpeg-6.2.0-882.2 [done]                           
Removing libsnmp15-5.4.2.1-11.2.1 [done]                      
Retrieving package poppler-data-0.4.0-3.1.noarch (1/1203), 1.4 MiB (11.4 MiB unpacked)
Retrieving: poppler-data-0.4.0-3.1.noarch.rpm [done (99.5 KiB/s)]                     
Installing: poppler-data-0.4.0-3.1 [done]                                             
Retrieving package AdobeICCProfiles-2.0-137.1.noarch (2/1203), 2.5 MiB (5.4 MiB unpacked)
Retrieving: AdobeICCProfiles-2.0-137.1.noarch.rpm [done (186.7 KiB/s)]                   
Installing: AdobeICCProfiles-2.0-137.1 [done]                                            
Retrieving package plasma-theme-oxygen-4.4.4-3.1.2.i586 (3/1203), 552.0 KiB (551.0 KiB unpacked)
Retrieving: plasma-theme-oxygen-4.4.4-3.1.2.i586.rpm [done (0 B/s)]                             
Installing: plasma-theme-oxygen-4.4.4-3.1.2 [done]                                              
Retrieving package yast2-country-data-2.19.19-0.1.1.i586 (4/1203), 34.0 KiB (172.0 KiB unpacked)
Retrieving: yast2-country-data-2.19.19-0.1.1.i586.rpm [done]                                    
Installing: yast2-country-data-2.19.19-0.1.1 [done]       

Langkah Terakhir

Tunggu hingga selesai dan "Reboot" PC atau Notebook anda bagi melihat kesan akan segala proses yang elah dilakukan..


Selamat berjaya..... anda memang hebat!





No comments: