Mount SMB ya kori daga Console

Ba na musun kowa dabi'ata ta yin wasa, wani abu da na gada daga al'amuran da nake yi kan tsarin Windows wanda ban taɓa amfani da shi ba sama da shekaru 6 sai dai idan batun gyaran wani ɗan abu ne a kwamfutar Mahaifina wanda duk da cewa yana da zafi, dole ne in yarda wanda shine "Atheist ga duk abin da yake kama da penguin."

Wani abokina ya tambaye ni game da kwaikwayon Jirgin Sama (hakika yana sha'awar yadda nayi wasa da DOTA) en GNU / Linux kuma na ba shi duk yawon shakatawa (ta amfani da Giya iri ɗaya da Rama) inda ya amsa da saber na gaske: Mene ne idan Ina da Warcraft a kan Windows PC kuma ina so in yi amfani da shi a kan nawa tare da Linux? A yau bayan karamin bincike amma mai fa'ida a cikin San Google zan kawo muku amsa kan yadda zaku amsa tambayar abokina:

Don kwaikwayon wasan Windows a cikin tsarin GNU / Linux sanannun aikace-aikace kamar su Wine, CrossOver, Cedega da sauransu ... Ba zan sake ba wancan bangare amma abubuwa suna da rikitarwa idan waɗannan aikace-aikacen basu kasance a jikin HDD ɗinmu ba da ƙari idan suna kan Windows PC wanda dole ne mu shiga ta hanyar sadarwar gida. Don samun damar waɗannan albarkatun ana amfani da yarjejeniyar SMB amma wannan baya ba mu damar yin amfani da aikace-aikacen nesa don bincika da bincike Na sami yadda ake yin sa ta cikin sassan SMB masu nisa (menene a cikin Windows yana faɗin raba albarkatu) saka a kan PC.

Don hawa naúrar SMB a kan pc ɗinmu muna buƙatar ƙirar smbfs da ƙwararren abokin ciniki, don haka muka girka shi daga ma'ajiyar

#apt-get install smbfs smbclient

Da zarar an shigar da waɗannan matakan, zamu iya lissafa abubuwan da aka raba akan kowane PC akan hanyar sadarwar ta hanyar godiya ga mai kaifin baki da haɗin ginin:

#smbclient -L Nombre_PC -U NombreUsuario

Ba lallai ba ne a faɗi, ana iya maye gurbin Sunan PC ɗin ta IP kuma sunan mai amfani dole ne ya zama mai amfani SAMBA ko (idan sun kasance daidai da abokina yana da abubuwa akan Windows PC) sunan mai amfani tare da samun damar wannan rarar. Ga misalin abin da yake kama lokacin da muka lissafa abubuwan da aka raba na Windows PC:

Da zarar mun san abin da PC ya raba sannan zamu ci gaba zuwa ɗora shi akan PC ɗin mu. Don hawa kayan aikin da aka raba akan PC ɗinmu zamu iya amfani da hanyoyi 2: ko amfani da ƙirar smbfs ko amfani Farashin CIFS (Tsarin Fayil na Intanet na Kowa) wanda wasu ke kira magajin SMB kuma hakan ma yana bamu damar amfani da ɗan ƙaramin yanci, a cikin wannan labarin zan sanya yadda zai kasance daga hanyoyi 2 kuma yana da daraja a bayyana cewa duka suna da tasiri.

1- Amfani da smbfs:

Don hawa rabo daga nesa ta amfani da smbfs module ana amfani da rubutun ne:

mount -t smbfs -o username=nombreUsuario //nombre_PC_o_IP/Nombre_Recurso /Punto_de_Montaje -o Opciones

Bayyana zaɓuɓɓuka:

Zaɓuɓɓukan Smbfs suna da yawa, ɗayansu shine mai amfani = ƙima wanda kuma zai iya kasancewa sunan mai amfani = darajar dukansu suna aiki kuma suna wakiltar mai amfani da SAMBA ko mai amfani da windows tare da samun damar wannan hanyar

2- Yin amfani da CIFS:

Farashin CIFS kayan aiki ne na dakin cifs-amfani wanda ake kira a kaikaice ta umarnin dutsen kuma ana iya amfani da shi ta hanyoyi da yawa ko za mu iya yin shi tare da zaɓi "-t cifs" ko kuma kai tsaye za mu iya amfani da shi tare da bayanin "Mount.cifs" a cikin hanyoyi 2 da yake aiki iri ɗaya, a gaba ɗaya tsarin rubutun zai zama wani abu kamar

mount -t cifs //recurso /punto de montaje -o Opciones

Na zabi zabin Mount.cifs kuma na baiwa mai amfani damar samun damar a matsayin wani bangare na zabin:

A matsayin ƙarin bayani zan gaya muku cewa zamu iya sa tsarin mu yayi hakan ta fara PC ɗin ta ƙirƙirar fayil ɗin takardun shaidarku sannan kuma rubuta layi mai zuwa a cikin fstab file:

# 
//Recurso /Punto_de_Montaje cifs uid=Usuario,credentials=Ruta_credenciales 0 0

A wannan yanayin, fayil ɗin takardun shaidarka fayil ɗin rubutu ne kawai wanda ya ƙunshi zaɓuɓɓukan takardun shaidarka:

sunan mai amfani = Daraja

password = Daraja

A ƙarshen waɗannan ayyukan, duk abin da muka zaɓa lokacin da muka sami damar babban fayil ɗin da muka sanya a matsayin wurin hawa, za mu iya amfani da waɗannan aikace-aikacen kamar dai da gaske ne a kan PC ɗinmu:

Kamar yadda ake iya gani a cikin wannan adadi na ƙarshe a cikin fayil ɗin / ma'ana / LK E $ share an saka (yayi dace da bangare E $ na Windows) kuma ta wannan hanyar zamu iya gudanar da Warcraft kamar yadda abokina ya so. Ina fatan wannan ya amfane ku sosai kuma kafin wasu maganganu su fara tattaunawarsu, a nan na bar ku inda na samo bayanin.

Documentarin takaddun:


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

13 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   jorgemanjarrezlerma m

    Yaya kake.

    Kyakkyawan tuto da tukwici, godiya ga bayanin kuma zan adana shi don tunani na gaba ko Ina buƙatar haɗi zuwa cibiyar sadarwar ta wannan hanyar. Kuna lafiya da fatan alheri.

  2.   Hyuuga_Neji m

    Godiya ga wannan tallafi, hakika ban san yadda za su karɓa ba

  3.   dace m

    Gudummawar tana da kyau!

  4.   kike m

    Ban san wannan hanyar hawa daga tashar ba, koyaushe ina yin ta daga Thunar da Nautilus ta latsa Ctrl + L da buga smb: // IP-Address. Gaskiyar ita ce koyawa mai kyau kuma an bayyana su sosai. Gaisuwa tare da tsawon rai SAMBA!

    1.    Hyuuga_Neji m

      Idan zaku iya samun damar hakan daga Mai sarrafa Fayil amma kamar yadda na fada ... aƙalla ba ya aiki a gare ni in gudanar da abubuwa tare da Wine ko Crossover waɗanda suke cikin adiresoshin SMB: // IP, shi ya sa na nemi yin wani abu kamar «haɗi zuwa Hanyar sadarwar Winbugs »kuma ta wannan hanyar ana nufin ainihin fayil ɗin .exe na ɗayan PC ɗin an ƙirƙira shi yana ba da izinin amfani da Wine da Crossover a cikin hanyar gargajiya. Hakanan yana taimaka muku tare da 'yan wasan bidiyo waɗanda ba lallai bane suyi lodawa saboda suna kunna bidiyo kamar suna kan PC ɗaya.

      1.    kike m

        Aboki, ni ma ina da matsala iri ɗaya da Mai sarrafa Fayil, wani abu ne da na manta na sanya shi a cikin sharhin, shi ya sa post ɗin ya zama mai girma a gare ni, tunda koyaushe ina da matsala wajen aiwatar da fayiloli kuma sun zama ba sa samun damar sanya hanya daga m, ban taɓa neman mafita ba, amma da wannan sakon kun haskaka mani, hehe, kuma yanzu ma zan iya gudanar da rubutun a kan wani bangare na Windows mai nisa. Murna!

  5.   Victoria m

    Yana aiki a gare ni da:
    hawa -t cifs // hanya / hawa maki -o Zabuka

    inda hanyar albarkatu ke da sarari kuma na sanya «kalma \ sigword» don sararin ya san ni. Kuma yana aiki, amma dole ne inyi shi duk lokacin da na sake yi.

    Lokacin da na sanya shi a cikin fstab, YANA BA NI KUSKURE, kuma saboda sarari ne, na yi ƙoƙarin barin wuraren na al'ada, kuma canza su zuwa "\" amma babu wata hanya. shawarwari?

    1.    Victoria m

      gyarawa, maye gurbin sarari da «40»

      1.    Ɗaya m

        Kun yi kokarin faɗi hanyar irin kundin adireshi:

        "/ Wannan kundin adireshi ne"

        ?

  6.   Javier m

    A koyawa, don karantawa, bi matakan, da hawa -a ba tare da matsala ba
    Muchas gracias
    Kyakkyawan aiki

  7.   ben m

    mai kyau tuto, ya kasance iya fara X don kwafe fayiloli daga sabina

  8.   Rod2012 m

    Haka ne, ba shakka, yana da sauki sosai amma tare da katangar da ke sama ba ni da wata alaƙa, a cikin windows ina da ƙararrawar Yankin kuma ya kawo mini matsaloli.
    Godiya ga bayanin

  9.   Ezequiel m

    Genius ya cinye kayanka da yawa, akan Facebook tare da Naruto Shippuden, kuma ban san kai gwani bane a Linux, Na gode sosai! Zan yi amfani da shi don shirya ionic da tattarawa daga ubuntu! na gode