Qee lub koos pis tawj tsim ntau lub vev xaib sib txuas. Txhawm rau tsis mob siab ua ib qho ntawm lawv hauv kev ua haujlwm ntawm Linux tsev neeg, tsuas yog nkag mus rau ob peb lo lus txib hauv "Terminal".
Tsim nyog
Lub davhlau ya nyob twg software
Cov Lus Qhia
Kauj ruam 1
Linux network sib txuas tau xa mus rau ethX. Ib qho lej twg tuaj yeem hloov rau "X", piv txwv li, eth0, eth1, thiab lwm yam. Ua ntej tshaj plaws, koj yuav tsum tshawb pom qhov tsim los ntawm lub network adapter uas koj xav ua kom tsis taus. Los ntawm lub neej ntawd, tus tswv yog eth0. Tab sis tsuas yog tso siab rau cov ntaub ntawv kawm tsis yog qhov tseeb tas mus li. Hauv qhov no, nws yog qhov tsim nyog los xyuas lub npe ntawm qhov xav tau txuas nws tus kheej.
Kauj ruam 2
Qhib lub qhov rai ntawm "Terminal" daim ntawv thov, txoj kev hla ntawm uas yog hauv "Cov Ntawv Kawm" (ntu "Accessories"). Nkag mus rau ifconfig cov lus txib, pom tus hloov kho qhov tseeb thiab sau tus lej. Raws li tag nrho cov kev cai, nws raug nquahu kom sai li sai tau txais cov lus txib uas yuav txiav tawm yam cuab yeej xav tau. Tab sis rau cov nyhuv tas mus li nws pom zoo kom kho cov ntawv pib.
Kauj ruam 3
Hauv Terminal, nkag mus rau hauv kab hauv qab no - sudo nano /etc/rc.local. Qhov kev txiav txim no yuav qhib lub rc.local ntawv los ntawm thiab lwm yam kev qhia ntawm lub hauv paus ceev ntawm lub system disk. Qhov sudo hais kom koj ua lub hauv paus (tus thawj coj). Xyuam xim rau cov ntawv editor: nano yog qhov kev xaiv console, koj tuaj yeem siv gedit lossis lwm yam hloov.
Kauj ruam 4
Hauv cov ntawv sau uas qhib, koj yuav tsum mus rau tom kawg ntawm daim ntawv teev cov tsis dhau, rau qhov no koj yuav tsum siv tus nas log lossis los ntawm nias Ctrl + End kawg ua ke. Lub penultimate kab yuav tsum yog cov lus txib uas tua nyob rau hauv "Chaw Haujlwm": sudo ifconfig ethX down. Kab tom kawg yuav tsum tau hais kom ua tawm 0, yog tias tsis yog, luam tawm thiab tom qab.
Kauj ruam 5
Tam sim no nws tseem mus khaws cov ntaub ntawv los ntawm nias lub pob kom raug nyob rau hauv lub qhov rai editor. Kaw cov kho ntawv los ntawm nias lub "Hla" nyob rau hauv lub npe qhov rai thiab mus rau "Terminal". Txhawm rau kom paub meej tias lub network adapter raug txiav tawm, koj yuav tsum rov qab pib kho koj lub khoos phis tawm. Koj tuaj yeem ua qhov no ntawm no los ntawm kev nkag mus rau sudo reboot kev hais kom ua thiab nias lub khawm Enter.