KVM: sida loogu xiro modem USB GSM aaladda mashiinka casriga ah

Markii aan wax isdhaafsaneyno, midkoodna VirtualBox o KVM, Mid ka mid ah dhibaatooyinka aan helno ayaa ah in mararka qaar aaladaha aan ku xirno Martigeliyaha (Physical PC) aan laga eegi karin Macaamilka (Virtual PC).

VirtualBox wuxuu leeyahay a plugin si loo arko xusuusta USB-ga, iyo kiiska KVM dhib malahan in la arko aaladda noocaan ah maxaa yeelay Kernel-ka aan rakibnay si toos ah ayaa loo isticmaalaa. Laakiin qalabka marwalba lama muujiyo, sida tusaalaha aan hoos ku arki doonno, halka isticmaale loo baahan yahay in lagu xiro Modemarkaaga GSM iyadoo loo marayo USB.

Waxaan ka helay maqaalka mid aad u xiiso badan, markaa aniga ayaa kuu keenaya si aad u aragto wuxuu sameeyay.

Ku xir USB modem GSM adoo isticmaalaya KVM

1- Ku xir modem-ka kombuyuutarka oo fuliya amar si aad u hesho macluumaad qaar ka mid ah:

$ lsusb Bus 001 Qalabka 001: ID 1d6b: 0002 Linux Foundation 2.0 xidid xarun Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 xidid xarun Bus 004 Device 002: ID 0557: 2221 ATEN International Co., Ltd Winbond Hermon Bus 002 Qalabka 003: ID 12d1: 1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230 / E270 / E870 HSDPA / HSUPA Modem

Xaaladdan oo kale waxa qoraagu u baahnaa ayaa ahaa khadka ugu dambeeya, gaar ahaan nambarka aqoonsiga iibiyaha (12d1) iyo Aqoonsiga sheyga (1003).

Markaad isla amarka ku maamusho macmiilka, sida aad arki karto, ma heli doontid isla natiijada:

$ lsusb Bus 001 Qalabka 001: ID 1d6b: 0001 Linux Foundation 1.1 xidid xarun Bus 001 Qalabka 002: ID 0627: 0001 Adomax Technology Co., Ltd Bus 001 Qalabka 003: ID 0409: 55aa NEC Corp. Hub

Hadda qalabka waa in lagu qeexaa macmiilka XML (VM). Waxaan tan ku samayn karnaa adoo si toos ah u saxey faylka XML adoo adeegsanaya amarka:

$ sudo virsh edit example-server.

Qalabka USB waa in lagu daraa qaybta qalabka:

[...] 
Ogow in lagu daray 0x aqoonsiga hortiisa

Waxaan keydineynaa feylka, dib u bilaabi VM, oo aan aragnaa haddii aan hadda arki karno qalabka ku xiran:

$ lsusb Bus 001 Qalabka 001: ID 1d6b: 0001 Linux Foundation 1.1 xidid xarun Bus 001 Qalabka 002: ID 0627: 0001 Adomax Technology Co., Ltd Bus 001 Qalabka 003: ID 0409: 55aa NEC Corp. Hub Bus 001 Qalabka 004: ID 12d1: 1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230 / E270 / E870 HSDPA / HSUPA Modem

Waana intaas oo dhan.

source: http://liquidat.wordpress.com


Nuxurka maqaalka wuxuu u hogaansamayaa mabaadi'deena anshaxa tifaftirka. Si aad u soo sheegto khalad guji Halkan.

6 faallooyin, ka tag taada

Ka tag faalladaada

cinwaanka email aan la daabacin doonaa.

*

*

  1. Masuul ka ah xogta: Miguel Ángel Gatón
  2. Ujeedada xogta: Xakamaynta SPAM, maaraynta faallooyinka.
  3. Sharci: Oggolaanshahaaga
  4. Isgaarsiinta xogta: Xogta looma gudbin doono dhinacyada saddexaad marka laga reebo waajibaadka sharciga ah.
  5. Kaydinta xogta: Macluumaadka ay martigelisay Shabakadaha Occentus (EU)
  6. Xuquuqda: Waqti kasta oo aad xadidi karto, soo ceshan karto oo tirtiri karto macluumaadkaaga.

  1.   qalooca dijo

    Waa maxay gui ee kvm? ma waxay ku jirtaa meelaha loo yaqaan 'debian repos'?

    PS: gelitaan aad u fiican!

    1.    ka fogaansho dijo

      maareeyaha-maareeyaha si aad u wanaagsan ayuu u shaqeeyaa, waa repo.

  2.   Waqti dheer 3000 dijo

    Talo aad u fiican. Iyo tan kore, waa inay inbadan ii adeegtaa markaan isticmaalayo modemkayga Malestar.

  3.   toñolokotedelano_e dijo

    Amaanta VMWare !!!!
    Dhamaan hal guji away

  4.   magacan dijo

    Kuweena aan rabin inay ku badbaadiyaan nidaamkeena kalkaaliyayaasha garaafka, sidoo kale waxaa lagu sameyn karaa gacan, iyadoo laga bilaabayo qemu-kvm xariiqda taliska iyadoo la adeegsanayo doodda «-device pci-assign», ama haddii ay tahay aalad kulul , laga bilaabo kormeeraha QEMU iyadoo la adeegsanayo amarrada "device_add" ama "device_del".

    Faahfaahin dheeraad ah:
    http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

  5.   taagan dijo

    Excelente

    Waxay iga caawisay inaan ku xiro WifiSlax anteeno wifi dibadeed ah oo aan awood u yeesho inaan hubiyo shabakad Wifi ah, waxaan u baahanahay mid ka sarreeya (20 Dbi) laakiin waxaan u maleynayaa inaysan ahayn meeshii saxda ahayd ee lagu weydiin lahaa

    Salaan