Setha izixhumi ezibonakalayo ku-ArchLinux

Wonke umsebenzisi we Debian uyazi ukuthi ukudala "isikhombimsebenzisi" esibonakalayo (ukuze ukwazi ukufinyelela kolunye uhla lwe-IP ngokwesibonelo) kulula. Sivula ukuphela bese sibeka:

$ sudo ifconfig eth0:1 192.168.X.X

Lapho ngishintshela ku I-ArchLinux Into yokuqala engishaye kancane kwakuyindlela yokusungula ukuxhumana noma ukuphakamisa amakhadi enethiwekhi. Imvamisa kanjena:

$ sudo ip link set enp5s0 up

Futhi-ke, uma sine-IP ehleliwe:

$ sudo ip addr add 192.168.X.X/255.255.255.0 dev enp5s0

Ngeqiniso ngikuthole kunzima ukwenza izinto ngale ndlela, futhi ngikukhumbule okwami ifconfig, kepha namhlanje ubuza ku-Twitter, i-compa @GregorioEspadas Uveze ukuthi ngingaba nakho ifconfig en I-ArchLinux ukufaka iphakheji:

$ sudo pacman -S net-tools

Ngabona amazulu evuleka. Sengivele nginezindawo zokuxhumana zenethiwekhi ngokusebenza nje:

sudo ifconfig enp5s0:1 192.168.X.X

Futhi yilokho kuphela abangane abathandekayo 😀


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-21, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   eliotime3000 kusho

    I-Arch ngomunye umhlaba. Lokho nje, omunye umhlaba, omunye umkhathi ofanayo.

    1.    izinga kusho

      Umhlaba lapho ngibhajwe khona futhi angikwazi ukuphuma .. kunalokho, angifuni ukuphuma 😀

      1.    eliotime3000 kusho

        Ngiyafisa, kepha iqiniso ukuthi ukuphela kwento engidinga ukuba seArch ukuhlela isikhathi sami ukuze ngikunikeze ukunakekelwa okudingayo ngempela.

        1.    izinga kusho

          Angiyinakekeli neyami .. ngaphezu kwalokho, angibonanga nokuthi ngisebenzise i-Arch kuze kube manje i-xDDD

          1.    F3niX kusho

            Haha kuliqiniso lokho, ngemuva kokuyifaka okokuqala, konke okunye kulula.

          2.    eliotime3000 kusho

            Ngiqonde ukuvuselelwa okuhlala nakho (abashayeli, okokuhlangana, imitapo yolwazi, ama-codecs ...).

          3.    izinga kusho

            Ndoda, awuzwa. Ngigijima nsuku zonke a

            pacman -Syu

            Futhi akwenzeki lutho. Konke kusasebenza. Eqinisweni, ukuzinza okungaka kuyisicefe .. 😀

          4.    eVeR kusho

            U-Elav, ake sivume ukuthi ngezikhathi ezithile uma kufanele ubeke isandla esincane (ngokwesibonelo, lapho kwakudingeka ukuthi uthuthe usuke eSysV uye ku-systemd, lapho ama-binaries asuswa ku / bin kanye nemitapo yolwazi kusuka / lib, lapho ukwesekwa kuyekwa I-Grub 1, njll), kepha kuyiqiniso ukuthi iwebhusayithi esemthethweni iyasiza, futhi okuningi, kwesinye isikhathi idala umhlahlandlela we-APB ngokuphelele.

          5.    eliotime3000 kusho

            Yebo, yilokho engikushoyo ngokuthi "izibuyekezo", ngoba kubuhlungu kwama-tarball lapho usebenza futhi / noma ufunda kusuka ngoMsombuluko kuya kuLwesihlanu futhi awunaso isikhathi sokuphequlula ibhulogi kanye / noma amanye amawebhusayithi.

  2.   msx kusho

    IFCONFIG IPHELELE.

    Ama-prehistoric distros ayigcina njengengqimba yokuhambisana kepha umyalo we-IP ungena ngokuphelele esikhundleni se-IFCONFIG, futhi uletha nokusebenza okusha.

    I-Arch Linux, ngoba nje ukusatshalaliswa komphetho wokopha, isebenzisa ubuchwepheshe obusha ngaphambi kokunye, yingakho ukwabiwa okufana neDebian noma iSlackware kujwayelekile kuThe Flintstones emehlweni kwanoma iyiphi i-archero.

    1.    eliotime3000 kusho

      Ngiqaphelile. Ngaphezu kwalokho, kuyasebenza nge-ip config kune-ifconfig (engikwaziyo nje).

      1.    eliotime3000 kusho

        Futhi-ke, kufanele uhloniphe amasiko ngamunye.

    2.    izinga kusho

      Kulungile ayisasebenzi, ngakho-ke ngitshele ukuthi ngikwenza kanjani engikukhombise kokuthunyelwe ngomyalo we-IP? 😉

      1.    eliotime3000 kusho

        Ukucwaninga nge-Arch Wiki, nansi ikhambi ngama-VLAN asebenzisa i-IP kuphela: https://wiki.archlinux.org/index.php/VLAN

      2.    msx kusho

        http://www.tty1.net/blog/2010/ifconfig-ip-comparison_en.html
        http://andys.org.uk/bits/2010/02/24/iproute2-life-after-ifconfig/
        http://whodat.be/iproute2-cheatsheet-and-reference-guide/
        http://blog.timheckman.net/2011/12/22/why-you-should-replace-ifconfig/

        Njengoba kunabantu abasasebenzisa i-WinXP namuhla, kukhona ama-sysadmines - ikakhulukazi avela kudondolo lweDebian / Slack / CentOS- abaqhubeka nokusebenzisa ifconfig.

        ifconfig yehlisiwe futhi kufanele ife ngendlela efanayo neFlash.

        1.    izinga kusho

          Kulungile. Lokhu yilokhu ebengikudinga:

          ifconfig eth0: 1 10.0.0.1/8 ip addr engeza i-10.0.0.1/8 dev eth0 ilebula eth0: 1

          Kepha njengoba i-ifconfig iphelelwe yisikhathi, uzovuma nami ukuthi kuningi kakhulu ongabhala ngakho ..

          1.    eliotime3000 kusho

            Isitatimende esifanele kungaba: ip addr engeza i-10.0.0.1 dev enp0s3 ilebula enp0s3: 1, ngoba i-eth0 ayisasetshenziswa ku-Arch.

          2.    izinga kusho

            Yebo, ngiyazi. Ngisanda kukopisha okushiwo yikhasi. Futhi njengoba ukwazi ukubona, yinde futhi iyanzima .. Ngakho -1 ye-IP

          3.    msx kusho

            Kuyiqiniso, akuyona 'engasebenzi' ncamashi ngoba isasebenzela lokho eyayikukhulelwe, okubi kwami ​​😛

            Ngokunjalo, ngeke kulimaze ukufunda iproute2 kancane kancane ukuze uncike kakhulu ku-ifconfig ngoba umqondo ukuyeka ithuluzi-empeleni alithuthukiswanga ngokuqhubekayo - ngokuya ngenye indlela entsha.

            Ngiyabonga ngokulungiswa!

            I-Btw: uzizwa kanjani manje njengoba usungomunye we-archero okufanele uchaze kaninginingi ukuthi i-Arch ayizinzile nakancane kude kune-Debian noma i-Slack noma i-CentOS kubasebenzisi balokho kusatshalaliswa lapho bephindaphinda kaninginingi lokho kudiliza tune? Izikhathi eziningi akukhona konke ukubekezela emhlabeni okwanele!
            Iqiniso liwukuthi, akukwenzi uzizwe kancane kanjena:
            http://ih3.redbubble.net/image.11640658.0674/pp,375×360.jpg

            1.    izinga kusho

              Hehehe .. Akukho ukuphawula.