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.
It's been so long since I've done anything (or had to do anything) in Linux for server setup that I might as well be a n00b. My situation is that I have a file server set up - Debian OS running Samba on a Windows/Linux hybrid network. We had a power outage, the server went down badly and now when it boots up all I get is IPv6 address - no xxx.xxx.xxx.xxx address.
And my concern is how do I get my IPv4 addy back? I'm pretty sure there's a file that I need to touch/edit/configure in order to get this working again, but I'm totally fouled as to which file, or its location. Can someone just point me in the right direction?
It's easy enough to give it an IP but the question is if it's the correct IP. Did the server have a static IP or was it assigned via DHCP or perhaps another method? If you want to do it give a static IP to eth0 then this will do it:
Previous IP address was DHCP - so I don't know how to set DHCP through ifconfig.
It's fairly late here and I haven't slept in two days so I think this will become a Thursday problem. Thanks for the suggestions, I'll see what I can do with them when I wake up. I'll check back here for anything else that may get posted in the mean time.
Hey everyone! I found the issue. Seems the LEDs on my NIC weren't lighting up.
I reseated the ethernet cable and all is "fairly" well. Of course, I did the brute-force thing an installed the latest version of the OS, so now I have to reconfigure Samba and SWAT for the file server. <sigh>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.