In in the mid-2010s I started playing about with Linux, specifically 32-bit Linux Mint 17.1 Mate Edition.
I've taken to this like a duck to water but have had to fix a few problems. These seem quite common but Google results turn-up a myriad of often contradictory answers, a lot of which seem to be for other and/or older versions of Linux.
The following work for me on my set-ups. They are offered here strictly 'As Is' with no warranty that they will work on anybody else's — they may even utterly screw-up your computer. Download and use at your own risk.
Mint 17 is now (2023) long obsolete but this information may still provide clues to people. The problem with the Atheros AR2413 wi-fi card certainly applies to Debian 9, 10 and 12 the same fix works. I've also found that the second keyboard re-mapping fix is still needed sometimes so I always set it up like that in the first place. The No Network On Resume bug seems to have been properly fixed.
Making files executable is covered at the end of this page.
I've taken to this like a duck to water but have had to fix a few problems. These seem quite common but Google results turn-up a myriad of often contradictory answers, a lot of which seem to be for other and/or older versions of Linux.
The following work for me on my set-ups. They are offered here strictly 'As Is' with no warranty that they will work on anybody else's — they may even utterly screw-up your computer. Download and use at your own risk.
Mint 17 is now (2023) long obsolete but this information may still provide clues to people. The problem with the Atheros AR2413 wi-fi card certainly applies to Debian 9, 10 and 12 the same fix works. I've also found that the second keyboard re-mapping fix is still needed sometimes so I always set it up like that in the first place. The No Network On Resume bug seems to have been properly fixed.
Making files executable is covered at the end of this page.
Atheros AR2413 Wif-Fi Card
I had trouble connecting to the internet on a Toshiba Satellite L30-101 lap-top. Very occasionally it would work but usually it either wouldn't work at all or would be about as slow as dial-up. This turned out to be a problem with the Atheros AR2413 wi-fi card with which it is fitted — it had given me a bit of grief under Windows as well.
The best answer would be to change it or use a USB adaptor. If you either don't want to do that or get it going until you get the alternative parts it can be fixed. The trouble is to do with hardware encryption and it can be set-up do that in software. The snag is that this is more work for the CPU so will, in theory, slow things down. I've never noticed it though.
Firstly open a terminal and type:--
I had trouble connecting to the internet on a Toshiba Satellite L30-101 lap-top. Very occasionally it would work but usually it either wouldn't work at all or would be about as slow as dial-up. This turned out to be a problem with the Atheros AR2413 wi-fi card with which it is fitted — it had given me a bit of grief under Windows as well.
The best answer would be to change it or use a USB adaptor. If you either don't want to do that or get it going until you get the alternative parts it can be fixed. The trouble is to do with hardware encryption and it can be set-up do that in software. The snag is that this is more work for the CPU so will, in theory, slow things down. I've never noticed it though.
Firstly open a terminal and type:--
sudo nano /etc/modprobe.d/ath5k.conf
now enter:--
options ath5k nohwcrypt-1
and then save the file and exit nano or whatever you were using to write it.
Next run:--
sudo modprobe -rfv ath5k
sudo modprobe -v ath5k
then type:--
sudo nano /etc/modules
and add:--
ath5k
on it's own line at the end.
Keyboard Remapping
I also did some keyboard remapping and found that these changes were lost when the computer was re-booted or resumed from suspend. This sorted that out. Make it executable and put it in /usr/local/bin You then need to add it as a Startup Application. It depends on your new definitions being stored in a file in your Home directory called .Xmodmap — note the full-stop and capital X.
Oddly one of my computers has no trouble remembering after Suspend but did struggle with loading it in the first place and this had continued through the three versions of Debian I've used since switching from Mint. I suspect that it loads OK but something further down the list of Startup Applications was cocks it up — unlike a DOS AUTOEXEC file you can't set the order in which things are automatically run when Linux starts. My fix for this was a simple script like this:—
I also did some keyboard remapping and found that these changes were lost when the computer was re-booted or resumed from suspend. This sorted that out. Make it executable and put it in /usr/local/bin You then need to add it as a Startup Application. It depends on your new definitions being stored in a file in your Home directory called .Xmodmap — note the full-stop and capital X.
Oddly one of my computers has no trouble remembering after Suspend but did struggle with loading it in the first place and this had continued through the three versions of Debian I've used since switching from Mint. I suspect that it loads OK but something further down the list of Startup Applications was cocks it up — unlike a DOS AUTOEXEC file you can't set the order in which things are automatically run when Linux starts. My fix for this was a simple script like this:—
#!/bin/bash
sleep 10
xmodmap /home/joe/.Xmodmap
I then made it executable and added it to Startup Applications with an & after it so the whole system doesn't wait for ten seconds. Obviously the path to your .Xmodmap file will be different to mine.
No Network on Resume
Another problem I had was when my computer woke-up from Sleep or Hibernation there was no network, Local or Internet, available. This file fixed that. Make it executable and put it in /etc/pm/sleep.d
No Network on Resume
Another problem I had was when my computer woke-up from Sleep or Hibernation there was no network, Local or Internet, available. This file fixed that. Make it executable and put it in /etc/pm/sleep.d