Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-24-2006, 09:28 AM   #1
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 15
Power cut and internet

I live in Bangladesh where power cuts are common. When I boot after a power cut (while the system was running) I do not get internet connection. However, If I reboot after booting things become normal. Is there anyway I cant get my etch/sid to remember my internet settings after a power failure?
Old 08-24-2006, 01:34 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I don't know about remember, but you might be able to fix the problem without rebooting. Did you try running ifdown eth0 followed by ifup eth0, or /etc/init.d/networking restart? The first two just bring down and up the network interface. The last one actually restarts all networked services.

Something that might help with the power cuts would be to purchase an Uninterruptable Power Supply (UPS). They're a bit pricey (~$40 US for a decent one), but I've paid for mine in the time it took to recover my system after one particularly bad power failure.
Old 08-25-2006, 10:54 AM   #3
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for the help. I did what you said and did not only solved my problems, it also somehow saved the settings. Now I get ineternet straight after a power cut.

As for the UPS they are expensive here if you want a decent one. If I want an hours backup that would probably cost me over $200 here (almost what I earn in a month). So, as for the time being I'll have to do without an UPS.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS or ROUTER has cut me off from the internet wilby Linux - Networking 2 02-11-2006 10:44 PM
USB Flash Drive - can't cut power malone1234 Linux - Hardware 4 08-19-2005 07:32 AM
Internet Connection 20 minute cut-off linmith Slackware 37 02-07-2005 02:54 AM
effect of power cut on hard disk and motherboard kushalshah Linux - Hardware 6 06-30-2004 04:50 PM
USB ports missing after power cut? slack---line Slackware 2 06-16-2004 06:22 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration