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.
It all started on a night when we had a lightning storm. The power went out once for a second, the computers turned off. Turned back on, everything was fine. Than this happened again a couple minutes later. Turned everything back on... what's this? The outside world can't see the computer when the external ip is trying to be accessed. I didn't change anything, and now I'm trying to figure out what happened and how to fix it. Any suggestions?
Is your problem that you can access the internet outgoing but incoming attempts to initiate a connection fail? If so, then it sounds like your external (WAN) IP address has changed. This is a possibility if your ISP uses DHCP to assign your IP address.
If you are connected directly to the internet you can use ifconfig to find your IP address. Probably you're behind a router or cable modem (which probably includes a router) and you will need to find the router's WAN IP address. If you don't know how to do this (it will depend on your specific router) then you can just send yourself an email. Use "View Message Source" (or some similarly named option) to look at the email headers. The "Received:" line that is furthest down in the email should reveal your (possibly changed) WAN IP address.
To protect your PC from being damaged you should have a UPS and not use it or even have it on during a lighting storm. Power brown outs can damage electronics just as easily as power spikes.
You really haven't explained the problem nor how you connect to the internet. When you reapply power make sure you turn on in order the modem, router and then the PC.
Check the firewall and any services to see if everything is running. You also might want to check the logs too for anything out of the ordinary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.