How do I create a system file /etc/modprobe.d/ath9k.conf?
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
add a comment |
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
4
Possible duplicate of How do I get permissions to edit system configuration files?
– Pilot6
Mar 11 '17 at 10:12
add a comment |
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
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
networking drivers configuration atheros
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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.
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
Isnohwcrypt=1really necessary insudo modprobe ath9k nohwcrypt=1? Shouldn't the config file be read withsudo modprobe ath9kwhere 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
add a comment |
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).
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
Isnohwcrypt=1really necessary insudo modprobe ath9k nohwcrypt=1? Shouldn't the config file be read withsudo modprobe ath9kwhere 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
add a comment |
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.
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
Isnohwcrypt=1really necessary insudo modprobe ath9k nohwcrypt=1? Shouldn't the config file be read withsudo modprobe ath9kwhere 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
add a comment |
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.
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.
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
Isnohwcrypt=1really necessary insudo modprobe ath9k nohwcrypt=1? Shouldn't the config file be read withsudo modprobe ath9kwhere 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
add a comment |
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
Isnohwcrypt=1really necessary insudo modprobe ath9k nohwcrypt=1? Shouldn't the config file be read withsudo modprobe ath9kwhere 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
add a comment |
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).
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
add a comment |
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).
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
add a comment |
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).
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).
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
4
Possible duplicate of How do I get permissions to edit system configuration files?
– Pilot6
Mar 11 '17 at 10:12