How do I create a system file /etc/modprobe.d/ath9k.conf?












1















My wireless adapter (atheros) will not work - I've tried extensive troubleshooting with @danatela (bless his/her heart) here:



Wireless not working - ASUS X450J - Qualcomm Atheros



but it failed. Other answered questions refer to this post on crunchbang



But I have no idea how to create a file in this directory - I don't have permissions?










share|improve this question




















  • 4





    Possible duplicate of How do I get permissions to edit system configuration files?

    – Pilot6
    Mar 11 '17 at 10:12
















1















My wireless adapter (atheros) will not work - I've tried extensive troubleshooting with @danatela (bless his/her heart) here:



Wireless not working - ASUS X450J - Qualcomm Atheros



but it failed. Other answered questions refer to this post on crunchbang



But I have no idea how to create a file in this directory - I don't have permissions?










share|improve this question




















  • 4





    Possible duplicate of How do I get permissions to edit system configuration files?

    – Pilot6
    Mar 11 '17 at 10:12














1












1








1








My wireless adapter (atheros) will not work - I've tried extensive troubleshooting with @danatela (bless his/her heart) here:



Wireless not working - ASUS X450J - Qualcomm Atheros



but it failed. Other answered questions refer to this post on crunchbang



But I have no idea how to create a file in this directory - I don't have permissions?










share|improve this question
















My wireless adapter (atheros) will not work - I've tried extensive troubleshooting with @danatela (bless his/her heart) here:



Wireless not working - ASUS X450J - Qualcomm Atheros



but it failed. Other answered questions refer to this post on crunchbang



But I have no idea how to create a file in this directory - I don't have permissions?







networking drivers configuration atheros






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 11 at 2:21









Sergiy Kolodyazhnyy

74.2k9155324




74.2k9155324










asked Mar 28 '14 at 10:14









ConnorJConnorJ

332410




332410








  • 4





    Possible duplicate of How do I get permissions to edit system configuration files?

    – Pilot6
    Mar 11 '17 at 10:12














  • 4





    Possible duplicate of How do I get permissions to edit system configuration files?

    – Pilot6
    Mar 11 '17 at 10:12








4




4





Possible duplicate of How do I get permissions to edit system configuration files?

– Pilot6
Mar 11 '17 at 10:12





Possible duplicate of How do I get permissions to edit system configuration files?

– Pilot6
Mar 11 '17 at 10:12










2 Answers
2






active

oldest

votes


















2














Please open a terminal and do:



gksudo gedit /etc/modprobe.d/ath9k.conf


The text editor gedit will open a new empty file. Add a single line:



options ath9k nohwcrypt=1


Proofread, save and close gedit. Now load the module immediately:



sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1


The conf file you wrote will cause the parameter nohwcrypt=1 to now be automatically be loaded on boot.






share|improve this answer
























  • What does "load the module" mean?

    – ConnorJ
    Mar 28 '14 at 10:47











  • It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

    – chili555
    Mar 28 '14 at 11:34











  • Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

    – Sergiy Kolodyazhnyy
    Mar 11 at 1:27











  • @SergiyKolodyazhnyy Not strictly, but it can't hurt.

    – chili555
    Mar 11 at 21:22



















0














What you have to do is open your file browser with root (administrator) privaledges. To do this, open terminal (ctrl+alt+t), and type:



gksudo nautilus


This will open a file manager, you can do all the file managing you need to do (do not close terminal until you have closed the file manager).



WARNING Running programs with sudo can be dangerious. It basically gives them access to all of your computer. Do not open just any program with sudo!



EDIT:
The old answer said to run 'sudo nautilus' This is not a good idea according to here! Whenever running graphical applications with sudo, use gksudo or kdesudo instead of sudo(see the link for more details).






share|improve this answer


























  • How does this anwer the question?

    – jobin
    Apr 4 '14 at 5:03











  • With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

    – Moose
    Apr 4 '14 at 5:05











  • I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

    – jobin
    Apr 4 '14 at 5:07











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f440256%2fhow-do-i-create-a-system-file-etc-modprobe-d-ath9k-conf%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Please open a terminal and do:



gksudo gedit /etc/modprobe.d/ath9k.conf


The text editor gedit will open a new empty file. Add a single line:



options ath9k nohwcrypt=1


Proofread, save and close gedit. Now load the module immediately:



sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1


The conf file you wrote will cause the parameter nohwcrypt=1 to now be automatically be loaded on boot.






share|improve this answer
























  • What does "load the module" mean?

    – ConnorJ
    Mar 28 '14 at 10:47











  • It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

    – chili555
    Mar 28 '14 at 11:34











  • Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

    – Sergiy Kolodyazhnyy
    Mar 11 at 1:27











  • @SergiyKolodyazhnyy Not strictly, but it can't hurt.

    – chili555
    Mar 11 at 21:22
















2














Please open a terminal and do:



gksudo gedit /etc/modprobe.d/ath9k.conf


The text editor gedit will open a new empty file. Add a single line:



options ath9k nohwcrypt=1


Proofread, save and close gedit. Now load the module immediately:



sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1


The conf file you wrote will cause the parameter nohwcrypt=1 to now be automatically be loaded on boot.






share|improve this answer
























  • What does "load the module" mean?

    – ConnorJ
    Mar 28 '14 at 10:47











  • It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

    – chili555
    Mar 28 '14 at 11:34











  • Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

    – Sergiy Kolodyazhnyy
    Mar 11 at 1:27











  • @SergiyKolodyazhnyy Not strictly, but it can't hurt.

    – chili555
    Mar 11 at 21:22














2












2








2







Please open a terminal and do:



gksudo gedit /etc/modprobe.d/ath9k.conf


The text editor gedit will open a new empty file. Add a single line:



options ath9k nohwcrypt=1


Proofread, save and close gedit. Now load the module immediately:



sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1


The conf file you wrote will cause the parameter nohwcrypt=1 to now be automatically be loaded on boot.






share|improve this answer













Please open a terminal and do:



gksudo gedit /etc/modprobe.d/ath9k.conf


The text editor gedit will open a new empty file. Add a single line:



options ath9k nohwcrypt=1


Proofread, save and close gedit. Now load the module immediately:



sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1


The conf file you wrote will cause the parameter nohwcrypt=1 to now be automatically be loaded on boot.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 28 '14 at 10:44









chili555chili555

39k55280




39k55280













  • What does "load the module" mean?

    – ConnorJ
    Mar 28 '14 at 10:47











  • It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

    – chili555
    Mar 28 '14 at 11:34











  • Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

    – Sergiy Kolodyazhnyy
    Mar 11 at 1:27











  • @SergiyKolodyazhnyy Not strictly, but it can't hurt.

    – chili555
    Mar 11 at 21:22



















  • What does "load the module" mean?

    – ConnorJ
    Mar 28 '14 at 10:47











  • It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

    – chili555
    Mar 28 '14 at 11:34











  • Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

    – Sergiy Kolodyazhnyy
    Mar 11 at 1:27











  • @SergiyKolodyazhnyy Not strictly, but it can't hurt.

    – chili555
    Mar 11 at 21:22

















What does "load the module" mean?

– ConnorJ
Mar 28 '14 at 10:47





What does "load the module" mean?

– ConnorJ
Mar 28 '14 at 10:47













It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

– chili555
Mar 28 '14 at 11:34





It means that you want the driver ath9k to be loaded into the system but with a driver parameter nohwcrypt=1. Ordinarily, after you have written the conf file, it will only be applied on boot. By unloading ath9k and reloading it with nohwcrypt=1 immediately, there is no need to reboot to apply and test it.

– chili555
Mar 28 '14 at 11:34













Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

– Sergiy Kolodyazhnyy
Mar 11 at 1:27





Is nohwcrypt=1 really necessary in sudo modprobe ath9k nohwcrypt=1 ? Shouldn't the config file be read with sudo modprobe ath9k where that option already exists ?

– Sergiy Kolodyazhnyy
Mar 11 at 1:27













@SergiyKolodyazhnyy Not strictly, but it can't hurt.

– chili555
Mar 11 at 21:22





@SergiyKolodyazhnyy Not strictly, but it can't hurt.

– chili555
Mar 11 at 21:22













0














What you have to do is open your file browser with root (administrator) privaledges. To do this, open terminal (ctrl+alt+t), and type:



gksudo nautilus


This will open a file manager, you can do all the file managing you need to do (do not close terminal until you have closed the file manager).



WARNING Running programs with sudo can be dangerious. It basically gives them access to all of your computer. Do not open just any program with sudo!



EDIT:
The old answer said to run 'sudo nautilus' This is not a good idea according to here! Whenever running graphical applications with sudo, use gksudo or kdesudo instead of sudo(see the link for more details).






share|improve this answer


























  • How does this anwer the question?

    – jobin
    Apr 4 '14 at 5:03











  • With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

    – Moose
    Apr 4 '14 at 5:05











  • I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

    – jobin
    Apr 4 '14 at 5:07
















0














What you have to do is open your file browser with root (administrator) privaledges. To do this, open terminal (ctrl+alt+t), and type:



gksudo nautilus


This will open a file manager, you can do all the file managing you need to do (do not close terminal until you have closed the file manager).



WARNING Running programs with sudo can be dangerious. It basically gives them access to all of your computer. Do not open just any program with sudo!



EDIT:
The old answer said to run 'sudo nautilus' This is not a good idea according to here! Whenever running graphical applications with sudo, use gksudo or kdesudo instead of sudo(see the link for more details).






share|improve this answer


























  • How does this anwer the question?

    – jobin
    Apr 4 '14 at 5:03











  • With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

    – Moose
    Apr 4 '14 at 5:05











  • I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

    – jobin
    Apr 4 '14 at 5:07














0












0








0







What you have to do is open your file browser with root (administrator) privaledges. To do this, open terminal (ctrl+alt+t), and type:



gksudo nautilus


This will open a file manager, you can do all the file managing you need to do (do not close terminal until you have closed the file manager).



WARNING Running programs with sudo can be dangerious. It basically gives them access to all of your computer. Do not open just any program with sudo!



EDIT:
The old answer said to run 'sudo nautilus' This is not a good idea according to here! Whenever running graphical applications with sudo, use gksudo or kdesudo instead of sudo(see the link for more details).






share|improve this answer















What you have to do is open your file browser with root (administrator) privaledges. To do this, open terminal (ctrl+alt+t), and type:



gksudo nautilus


This will open a file manager, you can do all the file managing you need to do (do not close terminal until you have closed the file manager).



WARNING Running programs with sudo can be dangerious. It basically gives them access to all of your computer. Do not open just any program with sudo!



EDIT:
The old answer said to run 'sudo nautilus' This is not a good idea according to here! Whenever running graphical applications with sudo, use gksudo or kdesudo instead of sudo(see the link for more details).







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 4 '14 at 5:01

























answered Mar 28 '14 at 10:18









MooseMoose

197314




197314













  • How does this anwer the question?

    – jobin
    Apr 4 '14 at 5:03











  • With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

    – Moose
    Apr 4 '14 at 5:05











  • I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

    – jobin
    Apr 4 '14 at 5:07



















  • How does this anwer the question?

    – jobin
    Apr 4 '14 at 5:03











  • With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

    – Moose
    Apr 4 '14 at 5:05











  • I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

    – jobin
    Apr 4 '14 at 5:07

















How does this anwer the question?

– jobin
Apr 4 '14 at 5:03





How does this anwer the question?

– jobin
Apr 4 '14 at 5:03













With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

– Moose
Apr 4 '14 at 5:05





With nautilus run a sudo, he can navigate to the directory he wants, and create the file he wants.

– Moose
Apr 4 '14 at 5:05













I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

– jobin
Apr 4 '14 at 5:07





I was bragged away by the other posted answer, will clean up the comment mess soon. Sorry for the distraction.

– jobin
Apr 4 '14 at 5:07


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f440256%2fhow-do-i-create-a-system-file-etc-modprobe-d-ath9k-conf%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]