Install a Network Printer in Arch Linux in 2021: GNOME Desktop

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
well i was just over here reading some comments on my old video about installing a printer in arch linux and it seems the procedure has changed a bit that means my video was putting out erroneous information let's fix that [Music] [Music] well howdy folks and welcome to another episode of vern's miss adventures in this one we're going to redo a video that i posted in 2019 involving installing a network printer in arch linux the procedure has changed some as pointed out by a couple of viewers so without further ado what we have here on your screen is a freshly installed virtual machine i installed this in this fresh arch just a few days ago so should be pretty current at least as of october 2021 so this is arch linux with the latest version of the gnome desktop i believe so here we go so all i've done to this so far is install firefox and neofetch so other than that it's a fresh clean installation all right well let's get started shall we so first thing you're going to want to do before you get started now i didn't mention this in the previous video so this is great we get to add this on uh first thing we're going to want to do is synchronize our package database so you do that by sudo pacman dash sy and rattle off your password with that out of the way we can go ahead and install our software so the software will need will be you're going to need cups guten print now if you look at the arch wiki involving cups you can see that there's other drivers available and because i have a canon pixma mx340 guten print is the right printer printer driver for me uh however if you want to read the wiki which i'll leave a link to it in here it may point out a better or a different driver for your specific machine but since i don't have access to your machine i'll do it for mine and you can basically get an idea of the procedure alright so we're also going to install cups pdf gtk3 print back ends oops and in map now in map is a tool we're going to use to find our device on the network to identify the ip address so that should be everything we need although we could add also knit tools so let's see if we get any errors from this because uh it's been a while since i came up with these procedures and let's see if it how much of it's still accurate um what did i oh i forgot to put the dash yes here we go pac-man s there we go now it should work solving dependencies okay yes all righty looks like that's done let's go ahead and we'll enable the cup service and to do that we simply write due to system control enable cups dot service and then we can start the same service so we'll just use the up arrow and we'll come over here and we'll change enable to start and that should do it now now we got a reboot so at this point we will just do sudo reboot so let's get our terminal out again and we'll make it full screen increase the font size so we can all see so next thing we can do is to find our own ip address so we can use because we installed net tools we can use ifconfig so that gives us that now the old way the other way if you didn't install net tools is to use ip address show so you just say i p space a s or you can type out address show but you don't have to so this being a virtual machine i've got kind of a weird ip address here actually i think before we continue any further i'm going to make a change to the virtual machine here let's go ahead and power off the machine all right now we'll go into settings and let's see under network you see how i've got nat selected now i'm going to go with a bridged adapter and that will give it its own unique ip address and that might work out better for us so let's see what happens when we run this again i think i'll go ahead and leave this in the video just because it might help you if you're actually doing this with a virtual installation all right well let's see what we come up with this time control plus plus plus so let's run ifconfig oh yeah now we're on the network now that's more like what i would have expected so okay looking at this here this would be my the enp00s3 would be my ethernet adapter and then your init so this is your ipv4 address and this is your ipv6 address we're going to go with the four for now at least now look at here i want to show you something this is i see how it shows an address here 192 168 0.13 for this computer and with a net mask of 255 255 255 0. so these are decimal numbers and what these are each of these is one byte uh eight bits and since you have eight times four you have 32 bits so how you're going to represent that in short form right is in binary form you see how you have a 0 here so before this 0 you would have 24 because each of these 255's is all ones across all eight bits so you have 8 16 24. so you have 24 consecutive ones before there's a zero right and that's gonna the reason i mention that is because when we get ready to do in map that's gonna come in for a short-handed representation of our subnet mask that's the best i can explain it because that's the best i understand it okay so let's go ahead and run nmap to find our printer on our network we're going to go sudo nmap okay and then it's dash small s large p capital p and then 192 0.168 point zero and then instead of putting my actual ip address which in my case here is 13 i'm going to put a 0 slash 2 4 and that is just for the the the net mask there okay and we're looking at 24 consecutive ones in binary so we press enter oh so you probably caught that but i was talking and didn't so i mistyped that let's let's put a nine there this time yeah no wonder it was taking so long here we go so let's look at this we'll go over how this is laid out okay so let's see here so you have in map scan for this side i p address and this the shows your host is up and then the mac address right and so this is the i p address for the roku right which is on the tv in the living room and so you got your ip address and then the device down there by the mac address which of course you know which would make sense because each network device has its own unique identifier called the mac address the media access control address and that's going to be unique to every device so if you look down here we see we got the cannon and since that's the last thing in the group we see that the cannon is at 10 all right so 192 168.0.10 so we take that information and we'll take the terminal down here a little bit we go to settings here we are all right and in our settings we go to printers i'm going to unlock this by clicking the unlock button now this procedure is going to be for gnome alrighty so we're going to add a printer to do so we're going to enter our network address and that was 192. 168. point zero point ten and enter oh there it is okay so so there's our lpd printer so we'll add that then you select the manufacturer on the left side canon then you come over here and in my case i have a pixma mx340 you don't want to forget the pixma part because it won't work and if you leave out the pixma part so we'll go down to the pixmas l m and they're in alphabetical order so here we go pixma now i gotta go down to where it says pixma mx i hope i didn't just select that's okay pixma all right mg we're getting closer here we are pixma mx340 we'll select and there it is so let's see here we're good we'll set that as our default printer and let's see here printer details once upon a time they had an option to print a test page that disappeared in one in in the last video i did uh printing options oh here we go test page so it says it's printing so i'll have to run into the other room where the printer is and see if that's actually true as you see there's our test our printer test page very cool a little picture of tux and everything and that my friends is how you install the network printer in arch linux i'd like to thank you for watching i'll have a list of these instructions in the description and i'll probably leave this video up until such time as i become aware and have time to do anything about the fact that perhaps the procedure may change again but as of october 2021 this is the procedure so with that i'd like to invite you to subscribe to my channel if you haven't hey we'll see you all in the next one y'all take care [Music] [Applause] [Music] you
Info
Channel: Verne's Misadventures
Views: 119
Rating: undefined out of 5
Keywords: Linux, Printer, Canon, Pixma MX340, Arch, Network, Computer, Setup Printer, Gnome, 2021
Id: C_4Rr3nms9E
Channel Id: undefined
Length: 15min 57sec (957 seconds)
Published: Thu Nov 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.