I use Ubuntu as my OS on a Lenovo L440, but am having intermittent issues with the wifi dropping out or failing to connect to a network.

After trying various fixes unsuccessfully I experimented with live booting some other distros to see if any of them would better support my laptop's hardware out of the box, and found that with Kali linux the wifi works perfectly every time.

Kali isn't an appropriate OS to use for my day to day work, so how should I work backwards to compare Kali and Ubuntu and find out which part of the former's networking setup makes my wifi card work?


  • Ubuntu kernel is 4.10.0-38-generic

  • Kali kernel is 4.6.0-kali1-amd64

The wireless card is Realtek 8192EE 802.11n, and both distros are using rtl8192ee driver, although I'm not sure how to check which version.

Edit II:

I have had some improvement by increasing the packet retry threshold on wifi in Ubuntu with iwconfig wlp2s0 retry 25 (default is 7). That makes me think Kali might be configured with some more aggressive settings in terms of how the wifi tries to connects to the AP.

  • 4
    What are the versions of the relevant driver on each system? Do they use the same driver? Kernel versions? Have you also checked live booting your Ubuntu? (oddly enough, you do get differences between the live system and the installation). – terdon Nov 20 '17 at 16:22
  • @terdon Ok thanks I will look into these. Is there anything else you'd add to the list of factors to check? – corintxt Nov 20 '17 at 16:27
  • Well, if you report back with these, that would be a good start. I'm no networking expert, those were just off the top of my head. – terdon Nov 20 '17 at 16:30
  • 1
    "Kali isn't an appropriate OS to use "... probably not, unless you are a unix guru and a forensics expert. May I ask why it seemed, to you, like it should be the alternative to Ubuntu? (which is almost on the complete opposite end of the spectrum, guru-ness wise, as it is user friendly and doesn't necessitate knowledge of inner workings of linux) ? – Olivier Dulac Nov 20 '17 at 18:17
  • @OlivierDulac Kali is the only OS I've found that resolves my wifi issues! Now I'd just like to understand why, so I can switch back to Ubuntu. – corintxt Nov 20 '17 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.