You are not logged in.

#1 2013-05-01 05:13:23

LyCC
Member
Registered: 2012-09-05
Posts: 174

[SOLVED] No network after wakeup from hibernate

Hi guys,

I'm using KDE4, since now i had the network manager installed, but since network manager recently required the modemmanager package, pulseaudio tried to query i dunno what from the modem manager and reporting a bunch of errors, even failing to start, so i uninstalled the whole thing, but now i don't the ethernet is down after my PC wakes up from hibernate (unless i log in as superuser and restart the network manually, which is anoying as i just hit sleep about 10 times a day). Any way to overcome this? thx.

Last edited by LyCC (2013-05-01 12:26:49)

Offline

#2 2013-05-01 05:26:30

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] No network after wakeup from hibernate

You can use ABS to try removing the dependency to modemmanager.  You will also have to remove the configure line that enables it.

Offline

#3 2013-05-01 05:29:31

LyCC
Member
Registered: 2012-09-05
Posts: 174

Re: [SOLVED] No network after wakeup from hibernate

WonderWoofy wrote:

You can use ABS to try removing the dependency to modemmanager.  You will also have to remove the configure line that enables it.

enlighten me please ...

Offline

#4 2013-05-01 05:37:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] No network after wakeup from hibernate

ABS is the arch build system.  It allows you to make packages from source.  It provides PKGBUILDS and necessary packages.  You need to modify the PKGBUILD to do what you want it to, and you need to learn how to use makepkg.

Offline

#5 2013-05-01 05:45:23

LyCC
Member
Registered: 2012-09-05
Posts: 174

Re: [SOLVED] No network after wakeup from hibernate

WonderWoofy wrote:

ABS is the arch build system.  It allows you to make packages from source.  It provides PKGBUILDS and necessary packages.  You need to modify the PKGBUILD to do what you want it to, and you need to learn how to use makepkg.

thank you, my question would be any way to avoid future updates overwriting the custom package? beside skipping the update of networkmanager and remaking the package every time ... i guess there is no easy solution, is there?

edit: i rebuild the package, installed it, it seems ok, untill next update ...

Last edited by LyCC (2013-05-01 12:36:46)

Offline

#6 2013-05-01 12:45:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] No network after wakeup from hibernate

This is the thing about ABS.  You could name the package something else, so that it doesn't get updates, or you could just use the IgnorePkg line in pacman.conf.  I think I would just use the IgnorePkg.

Maybe you should file a bug/feature request so at the very least, you could find out why it was added as a hard dep.

Offline

#7 2013-05-01 13:28:25

LyCC
Member
Registered: 2012-09-05
Posts: 174

Re: [SOLVED] No network after wakeup from hibernate

WonderWoofy wrote:

This is the thing about ABS.  You could name the package something else, so that it doesn't get updates, or you could just use the IgnorePkg line in pacman.conf.  I think I would just use the IgnorePkg.

Maybe you should file a bug/feature request so at the very least, you could find out why it was added as a hard dep.

thanks for the idea, i put it to the ignore list, hopefully won't break in the near future.
Thank you again for your help.

Last edited by LyCC (2013-05-01 13:32:53)

Offline

#8 2013-05-01 14:43:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] No network after wakeup from hibernate

There is also srcpac and I know there is something called customizepkg in the AUR that is supposed to provide this functionality across updates. But I have never tried them before.  I don't find things like that incredibly necessary unless I have a whole crapload of packages that are customized this way, and I don't.

Offline

#9 2013-05-01 15:05:28

LyCC
Member
Registered: 2012-09-05
Posts: 174

Re: [SOLVED] No network after wakeup from hibernate

WonderWoofy wrote:

There is also srcpac and I know there is something called customizepkg in the AUR that is supposed to provide this functionality across updates. But I have never tried them before.  I don't find things like that incredibly necessary unless I have a whole crapload of packages that are customized this way, and I don't.

No thanks, that is just not for me, I just don't have the energy dig deep into new stuff (maybe i'm just lazy smile ), i like arch the way it is, once configured, to run for a long time without any major issues. So thank you again, network manager is working fine now, the pulseaudio/modem manager errors are gone, so i'm happy smile and later on when not updating network manager will cause problems, i will remake the package, no big deal unless i have to do it on a monthly basis smile

Last edited by LyCC (2013-05-01 15:43:43)

Offline

Board footer

Powered by FluxBB