Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
Netctl (network management software) setup on Arch Linux
IT techni
Follow
3 months ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
what's up friends i wanted to set up netctl on my arch linux
00:05
computer it's basically a network management software that's
00:12
developed by arch linux team there is a similar video that's made by the youtuber that i'm gonna
00:20
put on the screen it's almost sufficient and efficient and i already watched it just to
00:29
be clear i want to share this with you there may be some differences so follow along you need to
00:38
have internet connection in order to install this piece of software otherwise if you were able to
00:44
find the packages and somehow put them on your computer you may install them using the command
00:53
sudo pacman dash uppercase u and then the path to the packages
01:07
since they are more than one i said packages since they are more than one however i have network
01:17
manager installed on my system which is gonna be replaced soon with the
01:24
package packages that i'm gonna install and the steps that i'm gonna follow so the first command
01:31
is running sudo pacman dash uppercase s netctl if plug d and dhcp cd this one can be replaced with dh client
01:54
and if plug d is needed for the wired connection i'm installing it purposely since i use the wired connection on this
02:06
system i'm not sure but wpa supplicant if it's not installed automatically once you install netctl
02:19
and your computer has wireless connection you may need to install it here
02:27
so i'm not gonna install wpa supplicant i'm gonna run this command like this
02:35
here i'm gonna go with open resolve which is two i'm not sure for systemd resolve conf
02:46
however uh however uh the wiki points
02:53
to systemd resolve d and this article talks about systemd resolve conf as you can see i'm gonna go with open resolve
03:05
that's why here it's gonna be two enter and then y and enter
03:10
okay so as you can see dh client is for dhcp support since i was trying to use this piece of software
03:26
off cam there is a package that i forgot to tell you to install which is
03:31
dialog you should definitely install it by running sudo pacman dash uppercase s dialog
03:42
like this y and enter i forgot to remove it when i was doing the off cam
03:50
trials i removed all the packages and everything let's clear out the screen
03:55
the commands from now on may become offline since we are gonna disable network manager
04:09
network manager has a set of commands like nm2 you can know that it's working and from this nm2 interface
04:17
you can enable or disable or configure your internet and network connections the way you like
04:26
so as long as we're gonna go offline prepare these pages of wiki the first is for netctl
04:34
let me make sure it's so it should be not with this hashtag at the end that's an article inside of it
04:50
and the second one is open resolve i have chosen open resolve since it has a clear wiki page so netctl the
05:00
link should be something like this you can simply google all of this or use your favorite
05:06
search engine and it's gonna show you these packages uh wiki pages second one is open resolve it's needed
05:17
since the dns configuration depends on it third one not mandatory all of these aren't mandatory but you
05:26
you may need them in order to do the correct configurations the third one is systemd resolve d and then
05:33
this article for automatically all right so we disable network manager by running sudo system ctl
05:43
disable network manager
05:48
and n and m the initials of network and manager are uppercase the rest are lowercase
05:58
all right second command is stop
06:05
all right clear
06:09
it's good to check the examples that are provided with the installation of netctl by going to slash etc
06:19
slash netctl slash examples from these ones you can know what are the types of the connections that
06:27
are available and what are the ones that you need to copy in order to go to the next step and in order to
06:37
have working profiles so in my case i'm gonna copy sudo cp
06:49
etc netctl
06:54
examples
06:56
and we're gonna take ethernet
07:00
dhcp
07:02
we simply copy to slash etc slash netctl root
07:07
directory the second one should be
07:10
wireless
07:18
wpa since the newest encryption technologies that are used for the wireless are wpa2 and probably there
07:26
is wpa3 if i'm not mistaken the other ones you need to be aware of them they help really well
07:32
uh to bring the closest configuration for you all you have to do is to like make it match with your use case
07:45
enter here let's take a look at the first one which is ethernet
07:55
ethernet dhcp you can change the name
07:59
the way you like so
08:04
if you have for example ipv6 and a dhcp server that's providing it you uncomment this
08:13
or if you want to have auto configurations you uncomment this the interface needs to be changed
08:25
to match with your current interface that you can find by running the command ipa for example my
08:32
ethernet interface is this one so i'm gonna take it and replace this one with it to make this
08:42
configuration match with mine
08:47
dhcp my ip address is dhcp the dhcp client it's the same as this one dhcp release on stop let's keep it
08:58
now for dhcp v6 i guess i don't have the dhcp v6 provided by my dhcp server so let's save and exit
09:09
the next one is we go to our to my w or yeah my w wireless the wpi wireless by going to this one
09:19
the interface here is the same as mine as you've seen when i run the command ipa here when you
09:37
i guess here this one is fine i don't know if we need to change it or not in the security otherwise
09:44
you can try i'm not gonna do it here you type your whenever you look for your wireless connection
09:54
there is a name that you connect to you type it here and then the key that you enter you type it
10:00
here i'm gonna tap mine and then i'm gonna come back to you after you type your network name and
10:07
the password you save and exit now let's clear out the screen and we go to the next step which should
10:16
definitely be uh sudo netctl start ethernet slash dh dash dash dhcp
10:33
okay sudo system ctl start netctl and we run this command again
10:52
here we enable
10:54
and the next command is for my wireless connection which should be wireless wpa
11:12
let's try to start it which is not guaranteed since when i was off cam and tried to start it it
11:17
didn't work unless i reboot it sounds like it is working let's check the status
11:24
it's working and do this with uh the ethernet which i believe that it's possibly not working because
11:43
i'm not connecting any ethernet cable to this computer yes let's try to start again
11:51
no no problem no no problem it's okay i will connect an ethernet cable
12:00
i connected the rj45 ethernet cable to the router and here i'm gonna connect it to my laptop
12:12
it's on the other side
12:13
now we should try again with the ethernet dhcp profile password
12:33
okay it doesn't want to work let's see what ip addresses we got
12:37
uh first one has got an ip address is the wireless let's try again with the ethernet
12:53
sounds like it doesn't want to work
12:57
we may need to reboot anyway to see if it is
13:00
it is working all right let's ping google
13:10
it works somehow
13:15
let's see resolve.conf
13:21
yes so the choice of resolve.conf wasn't
13:25
bad off cam i tried with systemd resolve.conf it failed to do the dns queries and stuff
13:34
or the dns protocol wasn't working let's try to yeah the web page is working
13:43
if you want to enable any other profile
13:46
you should see the examples like cp etc netctl examples i have ethernet dhc yes ethernet static i use
14:05
use it a lot with my wired connection so i'm gonna copy it to the netctl root folder and root
14:15
configuration folder which is slash etc netctl
14:23
i don't think we should enable it now we should take a peek on it by going to it
14:30
slash etc slash netctl slash ethernet static
14:37
and then we should this IP address we type our own first let me go
14:53
back again to see what I have and take a peek here
15:07
yes so the wired static one these ones should be replaced with the ones that match with your
15:26
preference let's say for example this one the routes we don't need to change anything the
15:32
gateway if it is this one it should probably be like this and the DNS we save an exit you save an
15:39
exit with the configuration that matches with your use case I don't need to save an exit and
15:45
then you run sudo netctl start ethernet static it's gonna fail here since we have no such configurations
15:59
for the dialogue it's possible to be used simply by running the command
16:14
Wi-Fi dash menu Wi-Fi dash menu sudo Wi-Fi dash menu what I'm seeing here is a list of Wi-Fi networks I'm
16:36
forced to cover them since unluckily my neighbors sometimes write their full names as their network
16:44
IDs I'm gonna cover it definitely so you choose whichever you want here I don't know let's cancel
16:55
I'm gonna try to restart the computer and see if my wired connection works or not computer started I got
17:04
an IP address for my wired connection if we ping Google let's hope the DNS configuration is still
17:12
correct it works I thought of removing the etc netctl wireless WPA why because I wanted to use
17:32
dialog again so let's type sudo Wi-Fi menu from here I'm gonna connect to my own Wi-Fi connection select mine
17:46
here okay it gave an example for the interface by giving the interface name dash the ESS ID or my router's
17:58
name okay here let's try again let's disable it first sudo netctl stop wireless WPA and we should try again with Wi-Fi menu
18:24
IPA clear and then we check the newly created profile
18:36
and it's working I guess I'm signing out for this video
18:53
please don't forget to subscribe like share and comment and see you
Be the first to comment
Add your comment
Recommended
56:23
|
Up next
Linux Networking Tutorial for Beginners
SERIES
2 months ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
6 days ago
6:31
Connecting to wifi on Alpine Linux using IWD
IT techni
6 days ago
8:15
chroot on alpine linux
IT techni
6 days ago
38:53
Ventoy's persistence plugin (live media with persistence)
IT techni
1 week ago
5:21
Commands to run whenever grub is updated on Arch Linux
IT techni
1 week ago
2:42
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
1 week ago
7:48
Multilib setup on Slackware
IT techni
2 weeks ago
3:12
sshfs setup void linux
IT techni
5 weeks ago
1:12
Certificate verification failed error resolution for xbps
IT techni
5 weeks ago
5:59
firefox-esr setup on arch linux
IT techni
6 weeks ago
7:56
Configuring ASMI network for IBM power servers
IT techni
6 weeks ago
3:54
ufw firewall setup on arch linux
IT techni
6 weeks ago
5:39
Failed to compile dosbox-x from the AUR, installed it from the chaotic AUR
IT techni
3 months ago
7:00
Playonlinux setup on Arch Linux
IT techni
3 months ago
11:00
Maxx interactive desktop setup on ubuntu
IT techni
3 months ago
11:09
Maxx interactive desktop setup on debian Linux
IT techni
3 months ago
7:50
Why it is not possible (so far) to install proprietary nvidia drivers on alpine Linux
IT techni
4 months ago
11:36
SSH server setup on nixOS and connecting into it
IT techni
4 months ago
22:24
Sharing files with windows XP
IT techni
4 months ago
15:16
Nixos (GUI) setup on virtualbox and installing xfce on it with telling some tricks
IT techni
4 months ago
6:59
Alpine Linux upgrade to a major release
IT techni
4 months ago
17:03
Ventoy setup on Arch Linux and making bootable USB flash drive
IT techni
4 months ago
6:35
winfetch on Windows XP & getting bitsadmin on Windows XP
IT techni
4 months ago
15:08
maxxDesktop setup on Arch Linux
IT techni
4 months ago
Be the first to comment