Ukuxhumeka kwenethiwekhi ohlelweni lokusebenza lwe-Ubuntu kulawulwa ngethuluzi elibizwa ngokuthi i-NetworkManager. Nge-console, ikuvumela ukuthi ungaboni kuphela uhlu lwamanethiwekhi, kodwa futhi ukwenza kusebenze ukuxhumeka ngamanethiwekhi athile, kanye nokuzibeka kuzo zonke izindlela ngosizo lwe-utility eyengeziwe. Ngokuzenzakalelayo, i-NetworkManager isivele ikhona ku-Ubuntu, noma kunjalo, uma isuswa noma ingasebenzi, kungadingeka ukuthi ufake kabusha. Namuhla sizobonisa indlela yokwenza lokhu ngezindlela ezimbili ezahlukene.
Faka i-NetworkManager ku-Ubuntu
Ukufakwa kwe-NetworkManager, njengamanye amanye amasevisi, kwenziwa nge-eyakhelwe ngaphakathi "Isikhumbuzo" besebenzisa imiyalo efanele. Sifuna ukukhombisa izindlela ezimbili zokufaka esiteshini esisemthethweni, kodwa amaqembu ahlukene, futhi kuzodingeka uzijwayeze ngamunye wabo futhi ukhethe okufanelekile kakhulu.
Indlela 1: umyalo wokuthola amandla
Inguqulo esheshayo yakamuva "Umphathi weNethiwekhi" ilayishwe ngokusebenzisa umyalo ojwayelekileuthole kahle
okuyinto esetshenziselwa ukwengeza amaphakheji kusuka ekugcineni okusemthethweni. Kudingeka ukuthi wenze okufanayo:
- Vula i-console usebenzisa noma iyiphi indlela elula, isibonelo, ngokusebenzisa imenyu ngokukhetha isithonjana esifanele.
- Bhala ucingo emkhakheni wokufaka
sudo apt-get ukufaka inethiwekhi-imenenja
bese ucindezela ukhiye Ngena. - Faka iphasiwedi ye-akhawunti yakho engaphezu kwamandla amakhulu ukuqinisekisa ukufakwa. Abalingiswa abangena ensimini ababoniswa ngezinjongo zokuphepha.
- Amaphakheji amasha azofakwa ohlelweni uma kunesidingo. Ngaphambi kwesigaba esifunayo, uzokwaziswa.
- Izosebenza kuphela "Umphathi weNethiwekhi" usebenzisa umyalo
Isevisi ye-sudo NetworkManager iqale
. - Ukuhlola ukusebenza kwethebula, sebenzisa Umbuso we-Nmcli. Buka isimo
isimo se-nmcli jikelele
. - Emgqeni omusha uzobona ulwazi mayelana nokuxhumeka nenethiwekhi engenantambo esebenzayo.
- Ungathola igama lomphathi wakho ngokubhala
nmcli igama lomphathi jikelele
. - Ukuxhumana kwenethiwekhi kuyatholakala
umbukiso wokuxhumana we-nmcli
.
Ngokuqondene neziphakamiso ezengeziwe zomyalonmcli
kukhona eziningana zazo. Ngamunye wabo wenza izenzo ezithile:
idivayisi
- ukuxhumana nama-interfaces wenethiwekhi;uxhumano
- ukuphathwa kokuxhumana;jikelele
- ukubonisa ulwazi kolwazi lwezinethiwekhi;umsakazo
- ukuphathwa kwe-Wi-Fi, Ethernet;ukuxhumana
- ukusetha kwenethiwekhi.
Manje uyazi ukuthi i-NetworkManager ibuyisela kanjani futhi iphethwe ngokusebenzisa i-utility eyengeziwe. Noma kunjalo, abanye abasebenzisi bangadinga indlela yokufaka ehlukile, esichaza ngokulandelayo.
Indlela 2: Isitolo Ubuntu
Izinhlelo eziningi, amasevisi nezinsiza zitholakala ukulanda kusuka esitolo se-Ubuntu esisemthethweni. Kukhona futhi "Umphathi weNethiwekhi". Kunomyalo ohlukile wokufakwa kwawo.
- Qalisa "Isikhumbuzo" bese unamathisela ebhokisini
snap ukufaka inethiwekhi-imenenja
bese uchofoza Ngena. - Iwindi elisha lizovela licela ukuqinisekiswa komsebenzisi. Faka iphasiwedi bese uchofoza "Qinisekisa".
- Linda ukulanda kwazo zonke izingxenye ukuqedela.
- Hlola ukusebenza kwe-instrument ngokusebenzisa
snap-interfaces yenethiwekhi-imenenja
. - Uma inethiwekhi isasebenza, kuzodingeka iphakanyiswe ngokungena
sudo ifconfig eth0 up
kuphi eth0 - inethiwekhi edingekayo. - Ukuxhumeka kuzovuswa ngokushesha ngemuva kokufaka iphasiwedi yokungena.
Izindlela ezingenhla zizokuvumela ukuba ungeze amaphakheji wesicelo se-NetworkManager kusistimu yakho yokusebenza ngaphandle kokuthola ubunzima. Sinikeza izinketho ezimbili, ngoba omunye wabo angase asebenze ngokuhluleka okuthile ku-OS.