Chitsogozo Cha intaneti

Pin
Send
Share
Send

Debian ndi makina ogwiritsira ntchito. Ogwiritsa ntchito ambiri, atayiyika, amakumana ndi mavuto amtundu uliwonse akamagwira ntchito nayo. Chowonadi ndi chakuti OS iyi imafunika kusanja zigawo zambiri. Nkhaniyi iyankhula za momwe akhazikitsira maukonde mu Debian.

Werengani komanso:
Dongosolo Lakuyika kwa Debian 9
Momwe mungasinthire Debian mukayika

Tikhazikitsa intaneti mu Debian

Pali njira zambiri zolumikizira kompyuta pa netiweki, zambiri zimatha kale ndipo sizigwiritsidwa ntchito ndi omwe amapereka, pomwe ena, m'malo mwake, amapezeka paliponse. Debian amatha kutengera chilichonse mwanjira iliyonse, koma nkhaniyo imangoyang'ana pa otchuka kwambiri.

Werengani komanso:
Kukhazikitsa kwa Network ku Ubuntu
Kukhazikitsa kwa Network ku Ubuntu Server

Kulumikiza kolumikizana

Debian ali ndi njira zitatu zosinthira kulumikiza: kuti asinthe mafayilo akusintha, kugwiritsa ntchito Network Manager, ndikugwiritsa ntchito kachitidwe.

Njira 1: Kusintha mafayilo akusintha

Zochita zonse zolongosoledwa pansipa zidzachitidwa kudzera "Pokwelera". Iyi ndi njira yodziwika bwino padziko lonse lapansi yomwe imagwiritsa ntchito mitundu yonse ya Debian. Chifukwa chake, kuti musunthike kulumikizana, muyenera kuchita izi:

  1. Thamanga "Pokwelera"posaka dongosololi ndikudina chithunzi chofananira.
  2. Pazenera lomwe limawonekera "Pokwelera" lowani ndikuyendetsa lotsatira kuti mutsegule fayilo yosinthika "polumikizana":

    sudo nano / etc / network / mawonekedwe

    Onaninso: Akonzi otchuka pa Linux

    Chidziwitso: mutayendetsa lamulo, mudzapatsidwa mwayi wachinsinsi chachikulu chomwe mudafotokozera mukamakhazikitsa Debian. Zowonjezera zake sizowonetsedwa.

  3. Mu mkonzi, ndikutsitsa mzere umodzi, lowetsani magawo otsatirawa:

    auto [dzina la maukonde]
    iface [network interface name] inet dhcp

    Chidziwitso: mutha kudziwa dzina la mawonekedwe ochezera pa intaneti poyendetsa "IP adilesi". Mu extradition akuwonetsedwa nambala 2.

  4. Ngati ma seva a DNS sanalembetse okha, ndiye kuti mutha kuwafotokozera mu fayilo yomweyi pakulowetsani izi:

    nameserver [adilesi ya DNS]

  5. Sungani zosintha podina Ctrl + O, ndikutuluka mkonzi podina Ctrl + X.

Zotsatira zake, fayilo yanu yosintha iyenera kuwoneka ngati iyi:

Ndi dzina lokhalo la maukonde lomwe lingasiyane.

Kulumikizana kwa waya ndi adilesi yamphamvu kwapangidwa kale. Ngati adilesi yanu ya IP ndi yokhazikika, ndiye muyenera kukhazikitsa maukonde osiyanasiyana:

  1. Tsegulani "Pokwelera" fayilo yosintha:

    sudo nano / etc / network / mawonekedwe

  2. Mutasiyira mzere umodzi kumapeto, ikani zolemba pansipa, kulowetsa nthawi yomweyo malo ofunikira:

    auto [dzina la maukonde]
    iface [network mawonekedwe a dzina] inet tuli
    adilesi [adilesi]
    netmask [adilesi]
    pachipata [adilesi]
    dns-nameservers [adilesi]

  3. Sungani zosintha ndikutuluka mkonzi nano.

Kumbukirani kuti dzina la mawonekedwe a ma network likhoza kupezeka ndikulowa "Pokwelera" gulu "ip adilesi". Ngati simukudziwa zina zonse, ndiye kuti zimatha kupezeka zolemba kuchokera kwa operekawo kapena kufunsa wothandiziridwayo kuchokera kwa aluso.

Kutsatira mukamaliza kuchita zonse, intaneti yolumikizana imakonzedwera inu. Nthawi zina, kuti masinthidwe onse achitike, muyenera kuyendetsa lamulo lapadera:

sudo systemctl kuyambitsanso maukonde

kapena kuyambitsanso kompyuta yanu.

Njira 2: Woyang'anira Network

Ngati simuli omasuka kugwiritsa ntchito njira yolumikizira "Pokwelera" kapena mwakumana ndi zovuta mukamatsatira malangizo omwe ali pamwambapa, mutha kugwiritsa ntchito pulogalamu yapadera ya Network Manager, yomwe ili ndi chithunzi chowoneka bwino.

  1. Tsegulani zenera la Network Manager ndi kukanikiza kuphatikiza kiyi Alt + F2 ndikulowetsa lamulo ili m'malo oyenera:

    kulumikizana-nm

  2. Press batani "Onjezani"kuwonjezera kulumikizana kwatsopano.
  3. Fotokozani mtundu wa kulumikizidwa kwatsopano Ethernetposankha dzina la dzina lomwelo pamndandanda ndikudina "Pangani ...".
  4. Pa zenera latsopano lomwe limatseguka, ikani dzina la kulumikizidwa.
  5. Tab "General" fufuzani mabokosiwo pa mfundo ziwiri zoyambirira kuti akayamba kompyuta onse azitha kulumikizana ndi ma netiweki.
  6. Pa tabu Ethernet masulira anu khadi yolumikizana (1) ndikusankha MAC adilesi yodula njira (2). Komanso olembedwa "Lumikizanani" sankhani mzere Pewani (3). Osasintha malo onse otsalira.
  7. Pitani ku tabu Makonda a IPv4 ndikusankha njira yoyikira ngati "Makinawa (DHCP)". Ngati simuulandila seva ya DNS mwachindunji kwa opereka, sankhani "Makinawa (DHCP, adilesi yokha)" ndikulowetsa ma seva a DNS m'munda wa dzina lomweli.
  8. Dinani Sungani.

Pambuyo pake, kulumikizana kudzakhazikitsidwa. Koma mwanjira iyi mutha kukhazikitsa IP yokhazikika, ngati adilesi ndi yokhazikika, chitani izi:

  1. Kuchokera pamndandanda "Kukhazikitsa Njira" sankhani mzere "Pamanja".
  2. M'deralo "Adilesi" kanikizani batani "Onjezani".
  3. Lowetsani adilesi, netmask, ndi chipata chimodzi nthawi imodzi.

    Chidziwitso: mutha kudziwa zofunikira zonse polumikizana ndi omwe amapereka.

  4. Fotokozerani ma seva a DNS pamunda wa dzina lomweli.
  5. Dinani Sungani.

Pamapeto, maukonde adzaikidwa. Ngati masamba omwe asatsegula asatseguke, ndikofunikira kuti muyambitsenso kompyuta yanu.

Njira 3: Kugwiritsa Ntchito System

Ena ogwiritsa ntchito amakumana ndi vuto poyambitsa Network Manager. Poterepa, tikulimbikitsidwa kugwiritsa ntchito kachitidwe komwe kumagwira ntchito nthawi zonse. Pali njira ziwiri zomwe mungatsegule:

  1. Mwa kuwonekera pachizindikiro chaukadaulo kudzanja lamanja la GNOME gulu ndikusankha "Zokonda pa Mtambo Zamtambo".
  2. Popeza ndalowa magawo a dongosolo kudzera menyu ndikudina chizindikiro "Network".

Chithandizo chikangotsegulidwa, chitani zotsatirazi kukhazikitsa kulumikizana kwamawaya:

  1. Khazikitsani Network switch kuti ikhale yogwira.
  2. Dinani pa batani la gear.
  3. Tsegulani gulu pawindo latsopano "Kuzindikiritsa", tchulani kulumikizana kwatsopano ndikusankha adilesi ya MAC pamndandanda. Komanso apa mutha kuloleza kulumikizana kwathunthu ku kompyuta yolumikizira mutayambitsa OS ndikupangitsa kulumikizidwa kupezeka kwa ogwiritsa ntchito onse poyang'ana mabokosi ogwirizana.
  4. Pitani ku gulu IPv4 ndikukhazikitsa masinthidwe onse ngati operekawo apereka adilesi yamphamvu ya IP. Ngati mukufuna kulowa seva ya DNS pamanja, musenze switch "DNS" ndi kulowa seva nokha.
  5. Press batani Lemberani.

Ndi static IP ndiyofunikira m'gululi IPv4 khazikitsani makonda ena:

  1. Kuchokera pa mndandanda wotsika "Adilesi" sankhani "Pamanja".
  2. Mwanjira yodzaza, lowetsani adilesi ya maukonde, chigoba ndi chipata.
  3. Sinthani kusinthana pang'ono. "DNS" ndi kulowa adilesi yake m'munda wolingana.

    Chidziwitso: ngati kuli kotheka, mutha dinani batani la "+" ndikutchula ma seva owonjezera a DNS.

  4. Press batani Lemberani.

Tsopano mukudziwa momwe mungakhazikitsire kulumikizana kwa waya ndi IP yokhazikika komanso yamphamvu mu Dongosolo lothandizira la Debian. Zimangosankha njira yoyenera.

PPPoE

Mosiyana ndi kulumikizana kwa waya, pali njira ziwiri zokha zosinthira ma PPPoE network ku Debian: kudzera pa zofunikira pppoeconf komanso mothandizidwa ndi pulogalamu yodziwika ya Network Manager.

Njira 1: pppoeconf

Chithandizo pppoeconf - Ichi ndi chida chosavuta chomwe mungakhazikitsire kulumikizana pogwiritsa ntchito protocol ya PPPoE mu kachitidwe kogwiritsa ntchito iliyonse malinga ndi Linux kernel. Koma mosiyana ndi magawidwe ambiri, chida ichi sichinayambitsidwe mu Debian, chifukwa chake muyenera kutsitsa ndikuyika.

Ngati muli ndi mwayi wokonza zolumikizira intaneti pa kompyuta yanu pogwiritsa ntchito malo otseguka, monga Wi-Fi, ndiye kuti muyika pppoeconf muyenera "Pokwelera" pereka lamulo ili:

sudo apt khazikitsa pppoeconf

Ngati simungathe kulumikizana ndi Wi-Fi, chofunikiracho chiyenera choyamba kutsitsidwa pa chipangizo china ndikuyika pa Flash drive.

Tsitsani pppoeconf pamakina a 64-bit
Tsitsani pppoeconf machitidwe a 32-bit

Pambuyo pake, ikani USB kungoyendetsa pa kompyuta yanu ndikuchita izi:

  1. Koperani chida ku chikwatu "Kutsitsa"kugwiritsa ntchito woyang'anira fayilo yofanana ndi izi Nautilus.
  2. Tsegulani "Pokwelera".
  3. Pitani mmalo amenewo kumalo achinsinsi komwe fayilo ili. Poterepa, pitani ku chikwatu "Kutsitsa". Kuti muchite izi, chitani:

    cd / home / UserName / Kutsitsa

    Chidziwitso: m'malo mwa "UserName", muyenera kutchula dzina lolowera lomwe linatchulidwa pakukhazikitsa kwa Debian.

  4. Ikani zothandizira pppoeconfpoyendetsa lamulo:

    sudo dpkg -i [PackageName] .deb

    Pomwe m'malo "[PackageName]" muyenera kutchula dzina lonse lathunthu.

Ntchitoyo ikangoyikidwa pa kachitidwe, mutha kupitiliza kukonzanso kwa PPPoE network. Kuti muchite izi:

  1. Yambitsani zofunikira zomwe mwagwiritsa ntchito "Pokwelera":

    sudo pppoeconf

  2. Yembekezerani kuti pulogalamuyi ipangidwe.
  3. Fotokozani mawonekedwe amtaneti kuchokera pamndandanda.

    Chidziwitso: ngati pali khadi imodzi yokha ya network, ndiye kuti mawonekedwe amtaneti azidziwika okha ndipo gawo ili lidzadumulidwa.

  4. Yankhani funso loyamba mu mgwirizano - zofunikira zimakupatsani kugwiritsa ntchito mawonekedwe omwe ali odziwika, omwe ndi oyenera kwa ogwiritsa ntchito ambiri.
  5. Lowani malowedwe omwe adaperekedwa ndi omwe amapereka anu ndikudina Chabwino.
  6. Lowetsani mawu achinsinsi omwe adakupatsani ndikudina Chabwino.
  7. Yankhani inde ngati ma seva a DNS azindikiridwa okha. Kupanda kutero, sankhani Ayi ndipo tchulani nokha.
  8. Lolani chithandizochi chichepetse MSS kufika pa maboti 1452. Izi zimachotsa zolakwika pakutsegula malo ena.
  9. Sankhani Indekotero kuti kulumikizana kwa PPPoE kumakhazikitsidwa nthawi iliyonse dongosolo ikayamba.
  10. Kukhazikitsa cholumikizira pompano, yankhani Inde.

Ngati mwasankha yankho Indendiye kuti intaneti iyenera kukhazikitsidwa. Kupanda kutero, kuti mulumikizane, muyenera kulowa lamulo:

sudo pon dsl-wothandizira

Kuti mulembe, chitani:

sudo poff dsl-wopereka

Ichi ndi chiwongolero chokhazikitsa netiweki ya PPPoE pogwiritsa ntchito zofunikira pppoeconf titha kumuona kuti wathunthu. Koma ngati mukukumana ndi zovuta zina pakukonzekera kwake, ndiye yesani kugwiritsa ntchito njira yachiwiri.

Njira 2: Woyang'anira Network

Kugwiritsa ntchito Network Manager, kukhazikitsa mgwirizano wa PPPoE kumatenga nthawi yayitali, koma ngati mulibe mwayi wotsitsa zofunikira pppoeconf ku kompyuta yanu, ndiye njira yokhayo yosinthira intaneti mu Debian.

  1. Tsegulani zenera la pulogalamu. Kuti muchite izi, akanikizire kuphatikiza kiyi Alt + F2 ndipo mubokosi lomwe liziwoneka, lowetsani izi:

    kulumikizana-nm

  2. Pazenera lomwe limatsegulira, dinani batani "Onjezani".
  3. Sankhani mzere kuchokera pamndandanda "Dsl" ndikanikizani batani Pangani.
  4. Zenera lidzatsegulidwa pomwe muyenera kulowetsa dzina la cholumikizira mzere wofanana.
  5. Pa tabu "General" Ndikulimbikitsidwa kuti mufufuze mfundo ziwiri zoyambirira kuti mukatsegula PC, ma netiweki amangodziyika okha ndipo ogwiritsa ntchito onse amatha kugwiritsa ntchito.
  6. Pa tabu ya DSL, lembani dzina lolowera achinsinsi pazoyenera. Ngati mulibe izi, ndiye kuti mutha kulumikizana ndi omwe akupatsirani.

    Chidziwitso: dzina la ntchito ndiosankha.

  7. Kupita ku tabu Ethernetsankhani kuchokera mndandandandawo "Chipangizo" dzina la mawonekedwe ochekera pamndandanda "Lumikizanani" - Nyalanyaza, ndi m'munda "Adilesi a Clone MAC" onetsa "Sungani".
  8. Pa tabu Makonda a IPv4 ndi IP yochita kusintha yomwe mukufuna kuchokera pamndandanda "Kukhazikitsa Njira" kusankha "Makinawa (PPPoE)".
  9. Ngati seva ya DNS singachitike mwachindunji kuchokera kwa omwe amapereka, sankhani "Makina (PPPoE, adilesi okha)" ndipo ulowe nawo nokha m'munda womwewo.

    Ngati muli ndi adilesi ya IP yokhazikika, muyenera kusankha njira yolemba ndikulemba magawo onse pazigawo zoyenerera.

  10. Dinani Sungani ndikatseka zenera la pulogalamuyo.

Kulumikiza kwa intaneti kuyenera kukhazikitsidwa mukamaliza masitepe onse. Ngati sizili choncho, kuyambiranso kompyuta kungathandize.

Imbani

Mwa mitundu yonse yolumikizidwa pa intaneti, DIAL-UP tsopano imadziwika kuti ndiyotchuka kwambiri, choncho palibe mapulogalamu omwe ali ndi chithunzi chowongolera, mu Debian. Koma pali zothandiza pppconfig ndi mawonekedwe a pseudo-graphic. Mutha kusinthanso pogwiritsa ntchito zofunikira wvdialkoma zikhala zinthu zoyambirira.

Njira 1: pppconfig

Chithandizo pppconfig munjira zambiri zofanana ndi pppoeconfig: mukakhazikitsa, mumangofunika kuyankha mafunso, pambuyo pake kulumikizidwa kudzakhazikitsidwa. Koma chida ichi sichidakonzedweratu pa dongosololi, chifukwa chake tsitsani "Pokwelera":

sudo apt kukhazikitsa pppconfig

Ngati mulibe mwayi wapaintaneti, muyenera kukhazikitsa kuchokera pa USB flash drive kuti muchite izi. Kuti muchite izi, koperani pulogalamu yoyamba pppconfig ndi kutaya pagalimoto.

Tsitsani pppconfig pamakina a 64-bit
Tsitsani pppconfig pamakina 32-bit

Kenako, kukhazikitsa, chitani izi:

  1. Ikani USB Flash drive mu kompyuta yanu.
  2. Chotsani zambiri kuchokera pachikwama kupita ku chikwatu "Kutsitsa"zomwe zili mndandanda wa nyumba yogwiritsira ntchito.
  3. Tsegulani "Pokwelera".
  4. Pitani ku foda komwe mudasunthira fayilo yothandizira, ndiye kuti "Kutsitsa":

    cd / home / UserName / Kutsitsa

    M'malo mwake "UserName" lembani dzina lolowera lomwe lidafotokozedwa mukakhazikitsa dongosolo.

  5. Ikani phukusi pppconfig kugwiritsa ntchito lamulo lapadera:

    sudo dpkg -i [PackageName] .deb

    Pomwe mungachite "[PackageName]" ku dzina la fayilo ya ngongole.

Phukusi lomwe likufunikira litayikidwa pa kachitidwe, mutha kupitiliza kukhazikitsa kulumikizana kwa DIAL-UP.

  1. Yambitsani zofunikira pppconfig:

    sudo pppconfig docomo

  2. Muwindo loyambirira la pseudographic, sankhani "Pangani cholumikizira chotchedwa docomo" ndikudina "Ok".
  3. Kenako onani momwe mungasinthire ma seva a DNS. Pa IP yokhazikika, sankhani "Gwiritsani ntchito DNS yoyima", mwamphamvu - "Gwiritsani ntchito DNS yamphamvu".

    Chofunikira: ngati mwasankha "Gwiritsani ntchito DNS", ndiye kuti muyenera kulowa pamanja adilesi ya IP yoyambira ndipo, ngati ilipo, seva yachiwiri.

  4. Fotokozani njira yotsimikizika posankha "Protocol Yotsimikizika kwa Anzanu", ndikudina "Ok".
  5. Lowani malowa omwe adakupatsani ndi omwe amapereka.
  6. Lowetsani mawu achinsinsi omwe nawonso mudalandira kuchokera kwa omwe amapereka.

    Chidziwitso: ngati mulibe tsatanetsataneyu, kulumikizana ndi chithandizo chaukadaulo ndikupeza kuchokera kwa wothandizira.

  7. Tsopano muyenera kufotokozera kuthamanga kwa intaneti komwe modem ikupatseni. Ngati sikofunikira kuti muchepetse malire, ndiye kuti lowetsani mtengo wokwanira m'munda ndikudina "Ok".
  8. Tanthauzirani njira yakuimbira ngati kamvekedwe, kusankha "Chimodzimodzi" ndikudina "Ok".
  9. Lowetsani nambala yanu ya foni. Chonde dziwani kuti muyenera kulowa mu data popanda kugwiritsa ntchito mzere.
  10. Fotokozerani doko la modemu yanu komwe lalumikizidwa.

    Chidziwitso: madoko a mtundu "ttyS0-ttyS3" angawonedwe pogwiritsa ntchito lamulo "sudo ls -l / dev / ttyS *"

  11. Pazenera lomaliza, mudzaperekedwa ndi lipoti pazinthu zonse zomwe mudalowetsedwa kale. Ngati onsewo ali olondola, sankhani mzere "Tamaliza Kulemba mafayilo ndikubwerera ku menyu yayikulu" ndikudina Lowani.

Tsopano polumikizana muyenera kupereka lamulo limodzi:

pon docomo

Kuti musankhepo, gwiritsani ntchito lamulo ili:

poff docomo

Njira 2: wvdial

Ngati mukulephera kukhazikitsa kulumikizana kwa DIAL-UP pogwiritsa ntchito njira yapita, ndiye kuti zidzatheka kuchita izi pogwiritsa ntchito zofunikira wvdial. Ithandizira kupanga fayilo yapadera m'dongosolo, pambuyo pake pakufunika kusintha zina. Tsopano afotokozedwa mwatsatanetsatane momwe angachitire izi.

  1. Choyamba muyenera kukhazikitsa dongosolo wvdialza izi mkati "Pokwelera" zokwanira kuchita:

    sudo apt khalani wvdial

    Apanso, ngati pakadali pano makina anu sanakonzekere, ndiye kuti mutha kutsitsa pulogalamuyo patsamba latsambalo pa chipangizo china, chisiyeni pa USB drive ndikuyiyika pa kompyuta.

    Tsitsani wvdial pamakina a 64-bit
    Tsitsani wvdial pamakina 32-bit

  2. Mukatha kuyika pa system yanu, muyenera kuyiyendetsa kuti ipange fayilo yomwe mukufuna kusintha, yomwe tidzasintha. Kuti muyambe, thamangitsani lamulo lotsatirali:

    sudo wvdialconf

  3. Fayilo idapangidwa mu chikwatu "/ etc /" ndipo ayitanidwa "wvdial.conf". Tsegulani mu cholembera mawu:

    sudo nano /etc/wvdial.conf

  4. Ikusunga magawo omwe amawerengedwa ndi makina anu kuchokera modem yanu. Ingoyenera lembani mizere itatu: Foni, Zogwiritsa ntchito ndi Achinsinsi.
  5. Sungani zosintha (Ctrl + O) ndikatseka mkonzi (Ctrl + X).

Kulumikizana kwa DIAL-UP kumapangidwira, koma muyenera kuyendetsa lamulo limodzi kuti muulole:

sudo wvdial

Kukhazikitsa njira yolumikizira intaneti poyambira makompyuta, ingolowetsani izi poyambitsa Debian.

Pomaliza

Pali mitundu ingapo yolumikizirana intaneti, ndipo Debian ali ndi zida zonse zofunika kuzikonzera. Monga tingaonere kuchokera pamwambapa, pali njira zingapo zosinthira zolumikizirana zamtundu uliwonse. Muyenera kusankha nokha momwe mungagwiritsire ntchito.

Pin
Send
Share
Send