3 ms·
I started writing a post about the latest addition to my ~/.bash_profile file: ``` # Restart Network Driver alias n="sudo modprobe -r ath10k_pci && sudo modpro
by levlaz 10y ago
I started writing a post about the latest addition to my ~/.bash_profile file:
```
# Restart Network Driver
alias n="sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci"
```
And ended up stealing the Apple ad instead. Much more fun. :)
- andreicon 10y agodoes stuff in ~/.bash_profile also get executed when you return from suspend/hibernation or rather just at first boot?
- levlaz 10y agoOh no, this is just an alias called `n` that I execute when the drivers are borked. Every other time that my laptop resumes from hibernate my wifi doesn't work. There is probably a much better solution here, but this one works for me.
- andreicon 10y agoi went through the same pains with my hp stream 11 this helped: http://askubuntu.com/questions/632719/my-wifi-drops-the-connection-after-a-few-minutes-realtek8723be http://askubuntu.com/questions/632719/my-wifi-drops-the-conn... the fwlps=0 option disables the sleep feature altogether which might reduce battery life, but installing tlp gave me ~2 hrs extra per charge
- levlaz 10y agoNice! Thanks for sharing that. I think that AskUbuntu thread is a living testimonial to what I am trying to express through my trolly blog post. I am honestly proud to be in a community of users who would read that thread and not reinstall Windows. It takes a special breed.
- skykooler 10y agoI had a similar alias in my eeePC (broadcom wifi drivers, which needed to be restarted after every boot). And I remember days of printing out xorg.conf documentation and random help threads at the library, in the hopes that I could finally convince nvidia drivers to give me graphics again. That said, I'm glad that nowadays my Linux problems tend to be more along the lines of "notifications aren't making noise when a video is playing" and not system-breaking bugs.