Suspend network restart

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Suspend network restart

Postby NiksaVel on Wed Sep 03, 2008 4:24 am

Hi all,

I've noticed that whenever I use suspend on my computers and return from suspend my networking stops working...

I wrote myself a small script consisting of

Code: Select all
gksudo /etc/init.d/networking restart


and start it manually whenever I return from suspend... and than networking starts working again...


how do I automate this?
Windows is extremely fast after a fresh install. If you want to make it stay that way: - don't use it.
-Clem
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Linux Mint is funded by ads and donations.
 

Re: Suspend network restart

Postby Husse on Thu Sep 04, 2008 11:33 am

Hi NiksaVel
Should be just sudo - gksudo is for a GUI app
If it was while booting I could give you a solution, but now....
If you google for return from suspend autostart you will find that it talks about engines and sound devices (?) and if you add linux - well.....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Suspend network restart

Postby NiksaVel on Thu Sep 04, 2008 12:08 pm

I'm running it from an icon so it needs a gui interface to ask me for root pass... at least I think my reasoning is correct :mrgreen:
Windows is extremely fast after a fresh install. If you want to make it stay that way: - don't use it.
-Clem
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia


Return to Hardware Support

Who is online

Users browsing this forum: CedLin and 8 guests