Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wake Up #1

Open
ghost opened this issue Apr 5, 2017 · 7 comments
Open

Wake Up #1

ghost opened this issue Apr 5, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 5, 2017

Hey on start up your guide works perfect but I was wondering if you have had any problems when you come back from sleep? Every time I close my lid and come back to it I have to restart my computer. Just wondering if you may know of a fix for this.

@Hygens
Copy link
Owner

Hygens commented Apr 5, 2017

You is the first person with that type of problem. But you not need restart your computer. If you have follow the full guide you have one script: netscript that you can execute on terminal:

sudo netscript, after that your network would have restart. This is one trick. I do not have idea because you have that problem because here is normnal with same driver and process. You can attemp execute:
dmesg | grep mt7650u_sta after you reopen the notebook lid and write the result on terminal here because as soon as possible I will be analysing if I can help one bit more you.

@Hygens
Copy link
Owner

Hygens commented Apr 5, 2017

Other detail that you can observe is review all steps executed for install because one step not executed can result in errors.

@ghost
Copy link
Author

ghost commented Apr 5, 2017

Thanks for the reply. I have tried running netscript and it doesn't even show the wifi connection after that. As soon as I reboot all is fine. I even made a script to run the same reboot script on resume and still nothing. When I get back on my laptop I will run the command you suggested and paste the results.

@Hygens
Copy link
Owner

Hygens commented Apr 5, 2017

More one detail I have observed with the last updates on Ubuntu 16.10 for some reason after Suspend and return the system deactivate the dongle and for some times you need disconnect and connect the dongle and after execute:

sudo netscript.

I have tested that now after upgrade my Ubuntu really the dongle is deactivated and you need execute that steps for reactivate the dongle and return your wifi connection. Sorry but any is perfect with one bit more time I will be analyse that problem. For while for me is functioning with is more important and I do not need restart my notebook.

@ghost
Copy link
Author

ghost commented Apr 6, 2017

That seemed to work. Thanks for the help. It's not ideal like you said but it's better than restarting my computer every time.

@Hygens
Copy link
Owner

Hygens commented Apr 6, 2017

Okay. Exists one more detail here. You can too not need disconnect you dongle.

  1. Create other script "sudo nano /usr/local/bin/netwakeup" and put this:
    #!/bin/sh
    modprobe -frq mt7650u_sta
    modprobe -fq mt7650u_sta
    netscript

  2. Set permissions for that:

sudo chmod u+x /usr/local/bin/netwakeup

  1. When you reopen lid only execute:

sudo netwakeup && sudo netwakeup

I have tested on Suspended mode here and is working without reboot and without disconect dongle.
For the moment is what we have in hand because I have the same dongle and need close lid too various times for a day.

I'm hard working now on projects and when you have time I will be analyse and correct that problem.

@ghost
Copy link
Author

ghost commented Apr 6, 2017

Thanks I made a startup script to look at that file on resume and it works like a charm so far.

@ilje ilje mentioned this issue Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant