Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> Linux教程 >> Fedora pan0、virbr0 卸載 教程

Fedora pan0、virbr0 卸載 教程

日期:2017/2/7 14:29:09      編輯:Linux教程
 

在進行網絡配置的時候,硬件有eth0pan0以及virbr0 三個,
eth0物理網卡、virbr0 應該是虛擬網卡吧、pan0藍牙設備

PAN的實現技術主要有:Bluetooth、IrDA、Home RF與UWB(Ultra-Wideband Radio)四種

1、請先將雙機的JOB帶出,執行 yum groupremove "Virtualization" 命令嘗試卸載virbr0設備,通過ifconfig -a查看virbr0設備是否還存在;
2、如果還是沒有卸載掉virbr0網卡,再執行一下這個命令:yum remove libvirt ,用ifconfig -a查看網卡virbr0是否卸載。
3、如果執行yum報錯, 可以vi /etc/yum/plugincon.d/rhnplugin.conf然後將文件中的enable=1改成enable=0,目的是先禁用此功能,再執行yum remove libvirt進行卸載。

 

卸載完成重啟機器,虛擬網卡就不存在。


[root@localhost /]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:0C:29:FA:E2:24 

          inet addr:192.168.184.128  Bcast:192.168.184.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:fefa:e224/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:12505 errors:0 dropped:0 overruns:0 frame:0

          TX packets:5179 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:16935745 (16.1 MiB)  TX bytes:321260 (313.7 KiB)

          Interrupt:19 Base address:0x2024

 

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:218 errors:0 dropped:0 overruns:0 frame:0

          TX packets:218 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:15363 (15.0 KiB)  TX bytes:15363 (15.0 KiB)

 

virbr0    Link encap:Ethernet  HWaddr C6:D2:9E:C1:BD:6C 

          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0

          inet6 addr: fe80::c4d2:9eff:fec1:bd6c/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b)  TX bytes:20290 (19.8 KiB)

 

pan0      Link encap:Ethernet  HWaddr EA:C2:13:0B:B0:8A 

          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:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@localhost /]# yum groupremove "Virtualization"

updates/metalink                                         | 4.1 kB     00:00    

updates                                                      | 4.5 kB     00:00    

updates/primary_db                                     | 5.2 MB     01:14    

updates/group_gz                                        | 374 kB     00:02    

確定是這樣嗎? [y/N]: y

  正在刪除       : virt-viewer-0.0.3-4.fc11.i586                            1/4

  正在刪除       : virt-manager-0.7.0-4.fc11.i586                          2/4

  正在刪除       : python-virtinst-0.400.3-8.fc11.noarch                3/4

  正在刪除       : 2:qemu-kvm-0.10-16.fc11.i586                          4/4

[root@localhost /]# yum remove libvirt

確定是這樣嗎? [y/N]: y

  正在刪除       : libvirt-python-0.6.2-8.fc11.i586                         1/2

  正在刪除       : libvirt-0.6.2-8.fc11.i58e                                     2/2

Copyright © Windows教程網 All Rights Reserved