I'm a windows sys admin forced to bring up an ubuntu server. This helped A TON! Thank you!
@rkstreet6310 ай бұрын
You are really good at explaining things with just the right about of detail.
@KeepItTechie10 ай бұрын
Thank you so much for the kind words! I'm glad you find the explanations helpful. If you have any more questions or need further assistance, feel free to ask. Always here to help!
@personstandingup8 ай бұрын
Amazing man thank you saved me so much time!
@MadMansThoughts2 ай бұрын
Thanks so much for the help! I'm so glad you explained the Gateway situation since I started with another tutorial that didn't mention it so I wasn't able to connect to the internet. I did, however, find documentation saying that Gateway4 was deprecated and to use "default routes" instead. Regardless, you were a LOT of help. Subscribed!
@jasonthomas56472 жыл бұрын
Smooth! I love your videos and the background music as well. I’m setting up a new homelab with Ubuntu 22.04 and using all your videos for guidance. Your content is great because you show the simplest way to do things and you are very concise and thorough in a small amount of time. This is huge because Time is so precious and you literally increase the value of the time I spend learning all this great Linux stuff!! Thank you so much for what you do! I hope you keep putting out the great content. God bless! ✌️
@AllAbout.Digital Жыл бұрын
I agree with this :)
@ColinAverill Жыл бұрын
DUDE!!!! This worked and I didn't break anything!!! Baby steps.... Thank you! I'm trying to set up a home server/NAS and I find a video that teaches me one thing, but then I have to find another to learn another part, then find another video to learn another part. It's very frustrating and time-consuming. Linux kinda sucks. But I kind of love it. Thank you again for making this simple. I do just want to point out that at one point in the video, when you're creating the .yaml backup file (5:58), that not all of it shows up on screen. That was a little concerning at first, but I figured it out after I saw you did "ls" and it showed "[xxxxx]-config.yaml.bck", and not just "[xxxxx]-config.bck". Also I had to type in the entire .yaml address initially (4:40). pressing Tab twice did not work for me.
@zorroskullgar46988 ай бұрын
Sweet, many thanks dude!
@matthewwilson9946 Жыл бұрын
Just want to drop a comment to say thanks. This was doing my head in a little bit, not too used to HyperV and Ubuntu server did not want to install with a NIC. Had to remove prior to installation so was a bit wobbly. Thanks!
@icleave2 жыл бұрын
Since gateway4 deprecated, can you please update with routes: - to: default via: ?
@jasonstapley68222 жыл бұрын
Comment is spot on but still a useful video
@Chucs_Padida2 ай бұрын
I have my Windows domain lab set up, and now I'm going to build a linux domain. Thanks! :D
@Ekklesia_Corner8 ай бұрын
The only thing I'll add to this, if you are using a server that preconfigures your server for you, when my server came up I followed this set of instructions. (I will say thank you very much to this gentleman because he's got the only tutorial out of about 30 that I've watched and read that actually tells you how to find the existing config file for ip. Being the curious nerd that I am I did the cat /etc/netplan/ then hit tab twice and hit enter and lo and behold there was my ip 4 and ip config file already in static mode. I'd hate for anyone to have to spend the time doing a new netplan config for nothing if you don't have to as yaml sucks in mho. Makes me love my vps company even more since it was set up in static already.
@toddmartin7030 Жыл бұрын
Excellent video, thank you! Its been awhile since I've set up a linux server, most of the servers I stand up are BSD, so this video was a real life saver today!
@KeepItTechie Жыл бұрын
Glad it helped!
@KattheLeopardess-Catwoman69y2k2 күн бұрын
thank you for making this video. I was wondering if the process to do this kind of thing had changed and/or improved. Subscribing...
@mattb78954 ай бұрын
God bless you man, thank you for your service!
@TheJohn48231 Жыл бұрын
Thank you for helping out a Linux noob, great video.
@KeepItTechie Жыл бұрын
No problem bro!
@miguelg4432 жыл бұрын
Life Saver! Im new to all of this, and your explanations are very helpful thanks!
@kuroraiju Жыл бұрын
Excellent tutorial, you made this look like a cakewalk!
@KeepItTechie Жыл бұрын
Thank you! Cheers!
@joeb4790 Жыл бұрын
Thanks man this is a great easy to follow guide. Never had to do this without net tools until now.
@KeepItTechie Жыл бұрын
Great to hear!
@slazy92192 жыл бұрын
Love your videos on this topic bro, greetings from Germany
@cedrickrause546910 ай бұрын
Hey, urgently need your help. I followed the tutorial as said until I reached the point, where I would have needed to copy your code. Now I cant connect to theNetwork with my Server how do I make my Server use the file for the none staic Ip again. So how do I get it to use the file, which I put in bck again.
@KeepItTechie10 ай бұрын
Here is what it should be for dhcp: network: version: 2 renderer: networkd ethernets: your_interface_name: dhcp4: true
@Cj_prints5 ай бұрын
Brilliant! Thanks for the video.
@johannschwengler529 Жыл бұрын
Bro thanks for help, respect from Kazakhstan)
@KeepItTechie Жыл бұрын
No problem 👍
@arickthompson9833 Жыл бұрын
' cat /etc/netplan/00-installer-config.yaml ' My system says "No such file or directory". I have a fresh install of the latest Ubuntu, also checked for updates
@vusumuzingozo1071 Жыл бұрын
Did you manage to solve the issue?
@teambattleground9076 Жыл бұрын
cd into the netplan directory then create the file using nano "sudo nano static.yaml" from inside the directory and it will work.
@cruzinsweetsntreats7 ай бұрын
You may have a different file. To see what file you use, run: *ls /etc/netplan* My default: *50-cloud-init.yaml* I am running Ubuntu 24.04 on ProxMox 8.2
@cruzinsweetsntreats7 ай бұрын
@@teambattleground9076 and if you get permission warnings, you'll need to change the config file's permissions: *sudo chmod 600 /etc/netplan/static.yaml* or whatever you chose to name the file, to match that of your original. *netplan* under Ubuntu 24.04 was giving me just that. To compare the permissions with the backup file: *ls -lo /etc/netplan*
@WilliamMurderbass3 ай бұрын
You probably installed Ubuntu barebones like a true cavalier so you can fully customize everything. You're so barebones right now you don't nano or netplan installed on your os.
@MetalElmmer Жыл бұрын
That helped me out so much! Thank you, bro, for this!
@Radenska512 Жыл бұрын
Thanks for your help ^^ I kinda avoided the Netplan configuration type, cause last time I screwed up my connection to a VM badly. But you explained it very well
@KeepItTechie Жыл бұрын
Yeah those ymal files are very sensitive. Glad I could help!
@muzi7335 Жыл бұрын
Thanks bro, it worked as I expected.
@KeepItTechie Жыл бұрын
You're welcome! Glad it worked for you!
@Mchacz8008 Жыл бұрын
Thank you so much for the video, I was looking just for that!
@KeepItTechie Жыл бұрын
No problem!
@nodryland1564 Жыл бұрын
Great content was very helpful keep up the good work Bro
@Luismaia00Ай бұрын
Thank's a lot very simple and help full.
@KeepItTechie27 күн бұрын
No worries!
@victor2410 Жыл бұрын
nice tutorial, your videos have been coming in very handy!
@KeepItTechie Жыл бұрын
Glad to hear that! Thanks!
@PatJones82 Жыл бұрын
Very helpful. Appreciate it, my friend! :)
@mi4aprotv320 Жыл бұрын
Does it give a static IP outside my network to access my system or inside my home network?
@todaysbibleteaching Жыл бұрын
I do not have that file in the folder that you told me to go into. My file is 1-network-manager-all.yaml and what is in there is let network manager manage all devices on this system network: version 2 renderer: networkmanager
@Linuxme25 күн бұрын
Thank you for sharing.
@veterangaming95112 жыл бұрын
Got lost the moment you went into the config file instructions. What is DHCP, how do I find that file, do I need DHCP, etc.?
@cabacajosepedro28792 жыл бұрын
Thanks! it works.
@KeepItTechie2 жыл бұрын
No problem
@leebuckley4873 Жыл бұрын
Hi I have a static IP of 212 then a df gateway of 159 I'm trying to set a static IP for my home server so I can assess it outside of my home network but having some issues can you recommend anything that could help many thanks
@muhammadusama-1 Жыл бұрын
Thanks, One quick question what is 127.0.0.53 in DNS server ? I mean how its different from google cloudfare DNS
@markouk10 ай бұрын
Are you able to do a quick video on how to configure a static ipV6 address on Ubuntu 20.04.1 LTS please? I've tried a number of times to follow online guides and each time I end up bricking my server because it becomes unreachable. It's a hosted VPS.
@gianluigicl2 жыл бұрын
Tks for the help Man! 😁
@KeepItTechie2 жыл бұрын
No problem 👍
@royvincentniepes3734 Жыл бұрын
will this work in ubuntu under wsl?
@Dominik-bd7fx Жыл бұрын
Thx for video, can i use my internet provider's dns servers?
@tankareno Жыл бұрын
good stuff, just what I need
@3170ccp Жыл бұрын
how do you enable ssh?
@tolgabp2 жыл бұрын
thanks for useful information, well explained!
@KeepItTechie2 жыл бұрын
No problem!
@itztrimix2 жыл бұрын
@@KeepItTechie hey, i keep getting error cannot remove 'filename.yaml' : Permission denied Do you have any solution for that, how to grant permission?
@stuffthere2381 Жыл бұрын
Top man 👌 very good tutorial
@KeepItTechie Жыл бұрын
Thank you 🙌
@FreddiePinto-v1q11 ай бұрын
Does anyone know how to install Xen hypervisor for Ubuntu 22.04 Lts? I’m having trouble with configuring the network interfaces and when I try to ssh into it there’s a connection error.
@hv432911 ай бұрын
great tutorial !
@KeepItTechie11 ай бұрын
Thank you! Cheers!
@julianballaci7968 Жыл бұрын
One big thank you
@KeepItTechie Жыл бұрын
No problem fam!
@asithamahagamage7969 Жыл бұрын
තැන්ක්ස් අයියා😊😊
@andyng-lt4dq2 жыл бұрын
hi, it doesn't work when I ping to dns servers, I used routes via as well
@b_a_k2817 Жыл бұрын
the dynamic IP assigned was ending with .132 but in the static.yaml file you set IP to .212 -what was the reason you choose 212?
@KeepItTechie Жыл бұрын
In the video, I chose the static IP address 192.168.10.212 randomly, ensuring it was outside the dynamic range of my router, typically 192.168.10.100 to 200. This is to prevent IP conflicts, as addresses within this range are dynamically assigned by the DHCP server to devices on the network. Selecting an IP outside this range ensures network stability and avoids potential connectivity issues.
@b_a_k2817 Жыл бұрын
thanks!@@KeepItTechie
@duckheadgaming Жыл бұрын
Thanks a lot, worked great and your explainations are perfect for beginners!
@KeepItTechie Жыл бұрын
Great to hear!
@devlinxji Жыл бұрын
Thankyou.. it's easy explain..
@TiredZero Жыл бұрын
it works with wifi too? or just Lan? I'm using an old laptop as a project server xD
@programmer88914 ай бұрын
when i connect to different wifi still my ip changes , but it remains same on same networ.
@cabacajosepedro28792 жыл бұрын
Thank you for useful information, very good!!
@ricardsandruzskis1574 Жыл бұрын
hello sir if my browser writes This site can’t be reached192.168.0.212 took too long to respond. What can be the problem. Pls help :(((((
@andrewgraham6994 Жыл бұрын
My guy, You have skillz teaching. broski keeps the BS to a minimum💯✌
@KeepItTechie Жыл бұрын
Appreciate that
@amraaamraa2153 Жыл бұрын
Thank you so much sir. It's good for beginner me :>.
@KeepItTechie Жыл бұрын
Most welcome!
@sambad84292 жыл бұрын
Thank you for these useful tips.
@xforney6 ай бұрын
I could not remove the .yaml, it is read only
@monwabisisithaba7803 Жыл бұрын
Thank you. Helped
@KeepItTechie Жыл бұрын
You're welcome!
@ThePoot_tf2 Жыл бұрын
thank you for this video
@KeepItTechie Жыл бұрын
My pleasure
@mikhailplekhov38942 жыл бұрын
Thank you very much! Very useful video!
@KeepItTechie2 жыл бұрын
Glad it was helpful!
@gourav37272 жыл бұрын
Really helpful video, thanks a lot brother
@KeepItTechie2 жыл бұрын
Always welcome
@vinodji5275 Жыл бұрын
thanks a lot of you great job broo and please make another ipv6 with ipv4
@kimanicoates8052 жыл бұрын
Thanks, this was really helpful
@KeepItTechie2 жыл бұрын
No problem!
@saujanyamhatre7798 Жыл бұрын
thanks brother it helped me out
@KeepItTechie Жыл бұрын
No problem!
@seeking9145 Жыл бұрын
So it is only within the local network static, right? :-/
@KeepItTechie Жыл бұрын
Yes that's correct.
@KenPryor2 жыл бұрын
Very helpful. Thank you!
@KeepItTechie2 жыл бұрын
Glad it was helpful!
@saidevpappu Жыл бұрын
Thanks mate..cheers 💘
@KeepItTechie Жыл бұрын
No problem 👍
@wardog2482 жыл бұрын
Thank you!!
@4arliEdinorog2 жыл бұрын
Мужик, ты лучший!
@marswong8482 жыл бұрын
When i do sudo nano /etc/netplan/static.yaml,It somehow says "sudo:nano: command not found",I am not sure which part i have done wrong since i have followed the exact route in the video
@y.vinitsky64522 жыл бұрын
check that you have nano installed
@parvanstoianov2141 Жыл бұрын
Can you give an example how to configure more than one NIC with a static address
@TheRVSN Жыл бұрын
Maybe try to add a device branch after "ethernets:"? Update. Recommend running: $ man netplan
@jasonthomas56472 жыл бұрын
Hi, I setup my static IP like this and when I login to my router it doesn’t list my device as connected but it is! Strange. So I set the reserve IP(in the router)the same as the server and now it is listed but says “reserve inactive” but it is still working properly. Are there any settings that I should change in router after setting static IP on computer? Thanks you for the great content!
@KeepItTechie2 жыл бұрын
Make sure you set the static IP outside of your routers DHCP range. That will make sure the router doesn't try to assign it to another device. Also It won't show on the router unless you set it there like you did.
@jasonthomas56472 жыл бұрын
🙏🏻 keep It techie!!
@charliesangha6 ай бұрын
Thanks dude
@hemanthchowdaryd2 жыл бұрын
i can still see my old ip4 in the secondary IP section and the new static . how can I remove the secondary Ip using netplan?
@KeepItTechie2 жыл бұрын
Make sure you removed the dhcp configuration file.
@hemanthchowdaryd2 жыл бұрын
@@KeepItTechie okay done and thanks will give it a try
@harryfender5636 Жыл бұрын
Thanks Josh.
@KeepItTechie Жыл бұрын
No worries!
@panjabbolda_47 Жыл бұрын
U r great boss
@KeepItTechie Жыл бұрын
Thanks fam!
@RKGraves6 ай бұрын
Thank You - Very Helpful and I appreciate your time. Any chance you have a sample .yaml file showing both IPv4 and IPv6 settings? Again, Thanks!
@KeepItTechie6 ай бұрын
You're welcome! For IPv4 and IPv6 settings in .yaml: set addresses, gateways, and nameservers for both IPv4 and IPv6 in your network config file.
@adityahpatel Жыл бұрын
but how to do do this for WLAN0? wireless
@KeepItTechie Жыл бұрын
Same process just change the interface name.
@adityahpatel Жыл бұрын
@@KeepItTechie Can u pls advise what i am doing wrong. I am on Ubuntu Server 22.04 LTS on Raspberry Pi4B. I did that my interface name is "wlan0", so i created a new file called 01-aditya.yaml so as to avoid the 50-cloud-init.yaml in the same folder. network: version: 2 wifis: renderer: networkd wlan0: access-points: Lewistown-5Gz: passsword: __mypasswrd______ dhcp4: true optional: true Above is what i have. It doesn't work though. What am I doing wrong? Where can i assign say static ip of 192.168.0.111 to my raspberry pi and assume my gateway is 192.168.0.1?
@jasonthomas56472 жыл бұрын
Oh No! What does it mean when I type “whatsmyip” for an IP check and “canyouseeme” for an open port check and the IP they list for my server is not my static IP I set on my machine( and I’m not using a VPN)! Is my machine compromised? I also did a sudo fail2ban-client sshd and it showed 0 banned IP’s and 0 failed attempts! What going on Josh?
@KeepItTechie2 жыл бұрын
Okay, so when you run "whatsmyip" this will return your outside IP address provided by your ISP. The static address you set on the server is on your internal IP address on your local area network (LAN).
@KeepItTechie2 жыл бұрын
Your machine is not compromised. The bots most likely haven't found your server yet.
@jasonthomas56472 жыл бұрын
Phew! Thank you! You’re AWSOME man. I’m rewatching your video on ufw so I might be Hittin’ you up again!🤣
@syedhasnainabbaszaidi50522 жыл бұрын
Thanks buddy 😘
@robertchoate3598 ай бұрын
holding Control + C will terminate any commands you have running including after making the changes to the netplan
@mustafa-q5t1y2 жыл бұрын
thank you so much !!!
@KeepItTechie2 жыл бұрын
You're welcome!
@domenico.freedom Жыл бұрын
Bravissimo grazie
@Gfx_Omar9 ай бұрын
you kinda look like big smoke dawg
@lightshadow31012 жыл бұрын
9:38 and essentially thats correct, except for everything.
@coding3617 Жыл бұрын
how to set public ip addess as static ip address? PLEASE HELP
@KeepItTechie Жыл бұрын
You have to bypass your isp's device. From what I remember you can clone the IP within there device router. Not sure why you would do this though, especially now a days? You can forward the connections to your server via port forwarding on your router.
@jatmo6991 Жыл бұрын
Black people doing tech. Love it. Always.
@Linuxme25 күн бұрын
The current syntax to replace gateway4 is routes with to and via. routes: - to: default via: 192.168.x.x
@k.chriscaldwell41414 ай бұрын
Thanks.
@serenditymuse Жыл бұрын
Fixed DHCP address in NOT a static IP address. I have a true assigned by ISP extra static IP address.
@KeepItTechie Жыл бұрын
Its depend on what network you're speaking of. The static IP address you get from your ISP is a WAN address. My video is specifically covering how to setup the static IP address on the LAN or local area network.
@linkdorf3769 ай бұрын
Static address is non changing, this video describes it inside your local network. THIS HAS NOTHING to do with ISPs address.
@Leseul3d11 ай бұрын
merci!
@Jacq4y Жыл бұрын
Hi. I don't understand why you do a "cp" and then a "rm" instead of just doing a "mv"... it works but it is not efficient (be lazy !) - BTW thanks for the video
@KeepItTechie Жыл бұрын
Yeah I normally use rm. Thank! I appreciate you stopping by.
@BigBrother4Life2 жыл бұрын
Cannot copy contents from windows to virtual machine damnit