Suspend network restart

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
NiksaVel
Level 5
Level 5
Posts: 771
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia
Contact:

Suspend network restart

Post by NiksaVel »

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

Husse
Level 23
Level 23
Posts: 18701
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Suspend network restart

Post by Husse »

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

NiksaVel
Level 5
Level 5
Posts: 771
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia
Contact:

Re: Suspend network restart

Post by NiksaVel »

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

Post Reply

Return to “Hardware Support”