Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is my first time posting on this forum. Forgive me if I sound like an uber-nubie!!
Here's my question - Lets say I booted my Linux box w/out having the network cable connected. What is the shell command you can use to get Linux to detect a network connection once you've re-connected the cable? I thought I remembered it being something like "eth0 -up", but obviously, that didn't work.
Most likely, the command you want is 'ifconfig eth0 up' That will bring the interface up, but it will still lack an IP address. To give it an IP addy over DHCP, just type 'dhcpcd' and if a server is available it will grab an IP and bring up the interface. if you need to assign an address to the device 'ifconfig eth0 up 192.168.1.1' should do the trick. Oh, and make sure that you are root through all of this or you won't get very far
I cant think of not having network and lan connected in my laptop and
that s what happened to me
my RELinux is not supporing ethernet card
God only can save
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.