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

Notices

Reply
 
Search this Thread
Old 08-24-2006, 08:28 AM   #1
robingazi
Member
 
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, 12:34 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 09:54 AM   #3
robingazi
Member
 
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.
 
  


Reply


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 09:44 PM
USB Flash Drive - can't cut power malone1234 Linux - Hardware 4 08-19-2005 06:32 AM
Internet Connection 20 minute cut-off linmith Slackware 37 02-07-2005 01:54 AM
effect of power cut on hard disk and motherboard kushalshah Linux - Hardware 6 06-30-2004 03:50 PM
USB ports missing after power cut? slack---line Slackware 2 06-16-2004 05:22 AM


All times are GMT -5. The time now is 12:15 PM.

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