HOW TO SET UP A BROADBAND CONNECTION IN UBUNTU 20.04 | ETHERNET CABLE, ETHERNET ADAPTOR

  Рет қаралды 38,844

Suvodeep's Creation

Suvodeep's Creation

Күн бұрын

Here am going to show u how to set up a ethernet cable in ubuntu 20.04
Its too easy just watch this video.
In this Tutorial we will connect to Internet if there is an Ethernet Cable connected to your System with the help of wired settings.
Learn how to share your internet connection over Ethernet using LAN cable without using router.
STEPS
---------
1) Click Network icon
2) Click Edit Connections
3) Click add
4) Select Ethernet and click create
5) Enter a connection name
6) Click on IPv4 Settings
7) For method select "Share to other computers"
8) Click save.
9) Connect both the computers using LAN cable.
You can start using the internet as soon as the 2nd computer connects to the network.
If you want to use WiFi in your Ubuntu System, you do that by going to WiFi Settings and selecting the WiFi you ant to connect to. But for connecting to Ethernet Connection, you need to set the Connection first and then use the Internet from that Connection.
So, in this Tutorial we will be Configuring and Setting Up the Internet Connection using the Command Line In Ubuntu Operating System.
Tags :
HOW TO SET UP A BROADBAND CONNECTION IN UBUNTU 20.04
How to Set up a Network with ethernet cable in Ubuntu 20.04
Hope You Like The Video. Do Comment if You Face Any Problem.
Thanks for watching ! Have a nice day!
PLEASE SUBSCRIBE ! to support.
#Broadband #Connection #SuvoTechBrain

Пікірлер: 46
@saptaparnipal4188
@saptaparnipal4188 3 жыл бұрын
Helpful video❤️ Thanks😉😃
@souvik0411
@souvik0411 3 жыл бұрын
Thanks, It helped me a lot..!!Life Saver🔥
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Always bro! Happy to help
@griffinoloo
@griffinoloo Жыл бұрын
Thanks this is the only video that works for me
@SuvodeepSCreation
@SuvodeepSCreation Жыл бұрын
Thanks for your support 🙏
@ankurdeo8416
@ankurdeo8416 2 жыл бұрын
This works! Thanks!
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Thanks a lot ❤️ keep supporting
@souvikkumarmukherjee7161
@souvikkumarmukherjee7161 3 жыл бұрын
It worked For Me......Thanks🔥
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Always!
@sidhu-thefanofpspk
@sidhu-thefanofpspk 9 ай бұрын
Thank you sir. It helped me a lot❤
@SuvodeepSCreation
@SuvodeepSCreation 9 ай бұрын
Thanks for the support 😊
@binij5894
@binij5894 3 жыл бұрын
Achha
@LiveWithSpritualty
@LiveWithSpritualty Жыл бұрын
My isp provided me with 2 DNS number one preferred dns and another Alternate dns So brother which should i apply.
@SuvodeepSCreation
@SuvodeepSCreation Жыл бұрын
You can apply both.. one is for dns masking ..
@thoelalger2244
@thoelalger2244 Жыл бұрын
I really depise you
@SuvodeepSCreation
@SuvodeepSCreation Жыл бұрын
Hate creates anger, anger is not good for your mental health. Stay happy 😊
@thoelalger2244
@thoelalger2244 Жыл бұрын
@@SuvodeepSCreation no you aint good for anybodys mental health but your own
@thoelalger2244
@thoelalger2244 Жыл бұрын
@@SuvodeepSCreation might get a label upon you that way
@ianmcleod6428
@ianmcleod6428 3 жыл бұрын
The wired option won't show on mine. Works on windows, cable also works on other things. All hardware testing has been done. if Anyone could offer help, I would be so grateful.
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Have you figured out how to do this?
@ianmcleod6428
@ianmcleod6428 3 жыл бұрын
@@SuvodeepSCreation , hope you are doing well. After trying everything I could think of I ended up just ordering a Linux friendly PCI E network card from Amazon. Was plug and play. :) Thank you for asking.
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Okay.. that's great..
@DavidHust
@DavidHust 2 жыл бұрын
Dang. What do you do if there is nothing there like it says in step 2 ?!?
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Normally it's there..
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
But if it's not there you can find it in Settings
@kavinkaruppusamy4884
@kavinkaruppusamy4884 3 жыл бұрын
Where to find the ip and all
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Your service provider will give you ip address, dns and all.
@brek8374
@brek8374 2 жыл бұрын
i dont have the wired option
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Which version are you using now?
@jayeell1253
@jayeell1253 Жыл бұрын
Did it work for anyone?
@SuvodeepSCreation
@SuvodeepSCreation Жыл бұрын
Yes, you can check the comments!!
@SuperFoxlog
@SuperFoxlog 2 жыл бұрын
SO WHERE CAN I FIND MY ADRESS MY MASK AND EVERYTHING MORE? TANKS 4 NOTHING
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Your service provider will share these information. Have you spoken with your cable operators?
@forengamesreal
@forengamesreal 3 жыл бұрын
Didn’t work for me Edit: it says connected, but I can’t connect to website
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
Have you followed all the steps properly?
@forengamesreal
@forengamesreal 3 жыл бұрын
@@SuvodeepSCreation yes
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
@@forengamesreal It should work. Please contact with your Broadband operator. Maybe they have to do something from their end.
@andrewprzelucki4232
@andrewprzelucki4232 3 жыл бұрын
There is a simple guide at oracle-base.com/articles/linux/use-iptables-to-implement-packet-filtering-and-configure-nat. But I found out, that in Windows, the DNS address that the Linux PC is using, must also be given in Windows. I have a 3G USB modem connected to my Linux PC, and from that I have two Windows PC's that get internet. It's called (kernel) packet forwarding, and it's quite simple and quick to do - when you understand it finally. You will need to find out your network interfaces names by running the command "ifconfig" on Linux (in the terminal), and "ipconfig" on Windows (in the command prompt). The interface names, on Linux, are at the leftmost side, like: enp2s0, enp3s0, enp0s18f2u6, lo. Now you set up packed forwarding: 1) First you need to enable packet forwarding on your Linux PC (see that guide I linked from oracle-base.com). 2) Next, you can run these commands, as that oracle-base.com guide says (but wait, and read on): sudo iptables -I FORWARD -i my_lan_interface -o my_modem_interface -j ACCEPT sudo iptables -I FORWARD -i my_modem_interface -o my_lan_interface -j ACCEPT sudo iptables -t nat -I POSTROUTING -o my_modem_interface -j MASQUERADE But there is a more robust way, that I found on the net: sudo iptables -t nat -A POSTROUTING -o my_modem_interface -j MASQUERADE --random sudo iptables -A FORWARD -i my_lan_interface -o my_modem_interface -j ACCEPT sudo iptables -A FORWARD -i my_modem_interface -o my_lan_interface -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -j DROP Here's an explanation for the commands just above (the "more robust" example), in the same order: - First command: enable masquerading on my_modem_interface so the source address is rewritten on outgoing packets. The --random flag is to have symmetric NAT. Now we are going to configure forwarding rules. iptables, by default, will unconditionally forward all traffic. Here we prefer to restrict inbound traffic from the internet and allow all outgoing: - Second command: Allow traffic from my_lan_interface to my_modem_interface. - Third command: Allow returning traffic from my_modem_interface to my_lan_interface. - Fourth command: Drop all other traffic that shouldn't be forwarded. When you reboot your Linux PC, you will have to reenter these commands - I have a script that runs them at each boot. You can make these changes permanent with the appropriate "service" call (again, see the oracle-base.com guide given above), but I recommend running them at each boot (in a script), as you might want to experiment and change things, and undoing what you saved is another challenge. If something goes wrong, or you want to change things, or you just don't want this feature for your current session (or at all), then just reboot your PC and they're gone - but you must disable packet forwarding yourself (before rebooting write "net.ipv4.ip_forward = 0" in /etc/sysctl.conf) to fully disable this technology. 3) Now you have to create a network connection (Ethernet connection) between your Linux PC and your other computers. For example: - On the Linux PC connected to the internet (I use Fedora), with the network connections manager, I create an Ethernet connection, select the appropriate interface (network card name, enp3s0 in my case) that will connect this Linux PC to my LAN. In the IPv4 settings tab, set that IPv4 must be used for the connection (IPv6 can be ignored), and select manual address setup. Now add the address 192.168.2.100 - this will be the address this Linux PC on your LAN. The net mask will be set automatically (255.255.255.0, because this is a "C class" (private) address). Apply your settings and connect. - On the second PC (with Linux or Windows, connected by Ethernet cable to the first one above), also create a network connection (if it's Windows, look below for better details), select the appropriate network interface (the device/card which is connecting to the first PC), use manual IPv4 setup as above for the first PC, but here set the address 192.168.2.101 - this will be the address of this second PC on your LAN (these are "private" addresses, meaning that they will not be visible outside your LAN). - If you want to connect Windows (operating system), go to "Network and Sharing Center"->"change adapter settings", and look for your network interface that corresponds to your LAN network card on this Windows PC, which is also connected by Ethernet cable to the first PC. Now, select that interface, right click for Properties. You will see a list. Here unselect "Internet Protocol Version 6" and double click on "Internet Protocol Version 4". Now you enter the address 192.168.2.101 - this will be the address of this Windows PC on that interface (on that [LAN/Ethernet] connection)). Tab down so netmask is filled out automatically (255.255.255.0). - Now, you must enter the DNS address that your first Linux PC is using. For example, my modem uses DNS address 192.168.1.1 (which I can find with the command "nmcli device show | grep IP4.DNS", where interfacename is the name of your Linux interface connected to the internet). (If you connect to the internet with Windows, run "ipconfig" in the terminal/command prompt, look for a DNS address). And that's it. The DNS information is critical to getting an internet connection. So putting it short: My modem address: 192.168.1.100, DNS 192.168.1.1. Linux PC address on LAN: 192.168.2.100, packet forwarding enabled with iptables redirecting traffic, as explained above. Windows PC 1 address: 192.168.2.101 with DNS set to 192.168.1.1. Windows PC 2 address: 192.168.2.102 with DNS set to 192.168.1.1. (All computers connected together by a simple Ethernet switch with plain Ethernet cables (also called "patch cables" or "patch cords"), not crossed, because "modern" network cards do the crossing by themselves, so you can use crossed cables or not crossed cables, even mix them together in a connection.) There is also a guide at: medium.com/@TarunChinmai/sharing-internet-connection-from-a-linux-machine-over-ethernet-a5cbbd775a4f, which uses Google's DNS addresses instead. Check it out.
@iamthat7351
@iamthat7351 2 жыл бұрын
didn't work for me either but easy to follow video
@botany500kojak
@botany500kojak 2 жыл бұрын
Ridiculous that you need to do this. I just found this out and will delete Ubuntu and try something else.
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Great🤣
@jwall4355
@jwall4355 3 жыл бұрын
How do I get all of the things in step 6
@SuvodeepSCreation
@SuvodeepSCreation 3 жыл бұрын
From your operator or internet connection provider you will get these
@themorsgamer583
@themorsgamer583 2 жыл бұрын
Dns adress??
@SuvodeepSCreation
@SuvodeepSCreation 2 жыл бұрын
Your network provider will give you..
How to get Faster Internet speed when you change a simple setting
8:22
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 3,8 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 56 МЛН
How to Add a Network Jack to a Wall
9:29
Budget Nerd
Рет қаралды 1,6 МЛН
What is Ethernet?
9:11
RealPars
Рет қаралды 2,1 МЛН
Home Networking 101 - How to Hook It All Up!
8:30
Budget Nerd
Рет қаралды 4,7 МЛН
[Solved] Speed up slow WiFi on Ubuntu 20.04
11:04
Yaser Az
Рет қаралды 37 М.
No more WiFi: How to wire your house for Internet
22:01
ScottiesTech.Info
Рет қаралды 1,7 МЛН
No WIFI Adapter found in HP laptop fixed in Ubuntu.
6:27
Valorant_Gekko
Рет қаралды 88 М.
How To connect up a SMART TV to the INTERNET (Best Options)
8:12
My Mate VINCE
Рет қаралды 1,4 МЛН
UBUNTU FIX: ethernet interface not showing
2:27
Haggai Odanga
Рет қаралды 8 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 5 МЛН