[SOLVED]After suspend mode wired connecttion does not work

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by gm10 »

kylerickards wrote:
Sat Sep 08, 2018 7:42 am
I tried again and I have the same problem still so I don't know what's causing it :(
Hey, are you on LM18 by any chance? I recently discovered that my script needs a small change to be compatible with LM18. Run this:

Code: Select all

sudo tee /lib/systemd/system-sleep/reset_network_driver <<'EOB'
#!/bin/sh
case "$1" in
    pre)
        modprobe -r r8169
        ;;
    post)
        modprobe r8169
        ;;
esac
EOB
And just in case again:

Code: Select all

sudo chmod +x /lib/systemd/system-sleep/reset_network_driver

kylerickards
Level 4
Level 4
Posts: 248
Joined: Sun Oct 18, 2009 9:39 am

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by kylerickards »

Hi

I am on LM 19 currently. Have tried again, same thing still

gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by gm10 »

Then my guess is your problem wasn't with that driver after all. I only just noticed you're not even the OP of the thread, I haven't even seen your inxi output. This is why thread hijacking is bad, folks. Make a new one, post your details, and we'll see.

or just have the script do systemctl restart network-manager.service in the post) stage since you said that worked for you.

kylerickards
Level 4
Level 4
Posts: 248
Joined: Sun Oct 18, 2009 9:39 am

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by kylerickards »

I didn't realise it was hijacking - that was not my intention. I saw that other people were having the same problems,

But lesson learned, I won't ask again.

Thanks.

User avatar
Moem
Level 20
Level 20
Posts: 11275
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by Moem »

kylerickards wrote:
Sat Sep 08, 2018 5:21 pm
But lesson learned, I won't ask again.
That's the wrong lesson. Do feel free to ask again, but please do so in a new thread even if existing threads seem to be about the same problem.
Your setup is almost certainly different and the solution may be different as well. That's why the forum has this rule.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

kylerickards
Level 4
Level 4
Posts: 248
Joined: Sun Oct 18, 2009 9:39 am

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by kylerickards »

No, it's fine I'll struggle - I understand the rules now so won't ask for help again.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6891
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: [SOLVED]After suspend mode wired connecttion does not work

Post by Spearmint2 »

People can't help if they don't know your equipment. Assuming you have the same chips as in this thread discussed, where chip needs r8168 mod driver and not the r8169 mod/driver, then this would help you.

Code: Select all

sudo apt-get install r8168-dkms
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

Post Reply

Return to “Newbie Questions”