Accidentally deleted my wifi device wlan0
I was trying to fix my wifi on Kali Linux the other day and was following some tutorial. That didn't work, so I read somewhere that if I run this command
iw dev wlan0 del
After that command I can't seem to find my wlan device. When I type iwconfig
it shows this:
lo no wireless extensions.
eth0 no wireless extensions.
Anyone know what should I do now?
linux wifi kali-linux wlan
add a comment |
I was trying to fix my wifi on Kali Linux the other day and was following some tutorial. That didn't work, so I read somewhere that if I run this command
iw dev wlan0 del
After that command I can't seem to find my wlan device. When I type iwconfig
it shows this:
lo no wireless extensions.
eth0 no wireless extensions.
Anyone know what should I do now?
linux wifi kali-linux wlan
add a comment |
I was trying to fix my wifi on Kali Linux the other day and was following some tutorial. That didn't work, so I read somewhere that if I run this command
iw dev wlan0 del
After that command I can't seem to find my wlan device. When I type iwconfig
it shows this:
lo no wireless extensions.
eth0 no wireless extensions.
Anyone know what should I do now?
linux wifi kali-linux wlan
I was trying to fix my wifi on Kali Linux the other day and was following some tutorial. That didn't work, so I read somewhere that if I run this command
iw dev wlan0 del
After that command I can't seem to find my wlan device. When I type iwconfig
it shows this:
lo no wireless extensions.
eth0 no wireless extensions.
Anyone know what should I do now?
linux wifi kali-linux wlan
linux wifi kali-linux wlan
edited Jan 14 '17 at 13:53
Jeff Schaller
39.3k1054125
39.3k1054125
asked Aug 22 '15 at 7:56
Ive ZenzerovicIve Zenzerovic
2315
2315
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Easiest way is to just reboot. The type of configuration change you've made does not persist across reboots.
1
dosudo service network-manager restart
. It will reinitalise all the network interfaces...
– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
add a comment |
To undo deletion of wlan0, you can recreate it like so:
iw phy phy0 interface add wlan0 type managed
This is much faster than rebooting and more reliable than restarting network-manager.
add a comment |
Once you delete your wlanX interface, and recreate it as suggested. It works, its recreated, however.. Try to join a network..
I get
nl80211: deinit ifname=wlanX disabled_11b_rates=0
failed to initialize.
It is UP, it works fine for airodump (promisc) but, I have to reboot (like orig suggested) to get back on a SSID.
Anyone have any suggestions as to how to do this w/o reboot?
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f224767%2faccidentally-deleted-my-wifi-device-wlan0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Easiest way is to just reboot. The type of configuration change you've made does not persist across reboots.
1
dosudo service network-manager restart
. It will reinitalise all the network interfaces...
– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
add a comment |
Easiest way is to just reboot. The type of configuration change you've made does not persist across reboots.
1
dosudo service network-manager restart
. It will reinitalise all the network interfaces...
– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
add a comment |
Easiest way is to just reboot. The type of configuration change you've made does not persist across reboots.
Easiest way is to just reboot. The type of configuration change you've made does not persist across reboots.
answered Aug 22 '15 at 7:58
Wouter VerhelstWouter Verhelst
7,386833
7,386833
1
dosudo service network-manager restart
. It will reinitalise all the network interfaces...
– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
add a comment |
1
dosudo service network-manager restart
. It will reinitalise all the network interfaces...
– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
1
1
do
sudo service network-manager restart
. It will reinitalise all the network interfaces...– Madhavan
Aug 22 '15 at 12:37
do
sudo service network-manager restart
. It will reinitalise all the network interfaces...– Madhavan
Aug 22 '15 at 12:37
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
that might work, if you have network-manager installed, and if network-manager knows how to recreate the necessary device. That's not a given.
– Wouter Verhelst
Aug 23 '15 at 21:42
add a comment |
To undo deletion of wlan0, you can recreate it like so:
iw phy phy0 interface add wlan0 type managed
This is much faster than rebooting and more reliable than restarting network-manager.
add a comment |
To undo deletion of wlan0, you can recreate it like so:
iw phy phy0 interface add wlan0 type managed
This is much faster than rebooting and more reliable than restarting network-manager.
add a comment |
To undo deletion of wlan0, you can recreate it like so:
iw phy phy0 interface add wlan0 type managed
This is much faster than rebooting and more reliable than restarting network-manager.
To undo deletion of wlan0, you can recreate it like so:
iw phy phy0 interface add wlan0 type managed
This is much faster than rebooting and more reliable than restarting network-manager.
answered Dec 8 '15 at 17:14
hackerb9hackerb9
49039
49039
add a comment |
add a comment |
Once you delete your wlanX interface, and recreate it as suggested. It works, its recreated, however.. Try to join a network..
I get
nl80211: deinit ifname=wlanX disabled_11b_rates=0
failed to initialize.
It is UP, it works fine for airodump (promisc) but, I have to reboot (like orig suggested) to get back on a SSID.
Anyone have any suggestions as to how to do this w/o reboot?
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
add a comment |
Once you delete your wlanX interface, and recreate it as suggested. It works, its recreated, however.. Try to join a network..
I get
nl80211: deinit ifname=wlanX disabled_11b_rates=0
failed to initialize.
It is UP, it works fine for airodump (promisc) but, I have to reboot (like orig suggested) to get back on a SSID.
Anyone have any suggestions as to how to do this w/o reboot?
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
add a comment |
Once you delete your wlanX interface, and recreate it as suggested. It works, its recreated, however.. Try to join a network..
I get
nl80211: deinit ifname=wlanX disabled_11b_rates=0
failed to initialize.
It is UP, it works fine for airodump (promisc) but, I have to reboot (like orig suggested) to get back on a SSID.
Anyone have any suggestions as to how to do this w/o reboot?
Once you delete your wlanX interface, and recreate it as suggested. It works, its recreated, however.. Try to join a network..
I get
nl80211: deinit ifname=wlanX disabled_11b_rates=0
failed to initialize.
It is UP, it works fine for airodump (promisc) but, I have to reboot (like orig suggested) to get back on a SSID.
Anyone have any suggestions as to how to do this w/o reboot?
edited Jan 10 at 1:00
cryptarch
72310
72310
answered Jan 9 at 23:32
Jerry CattellJerry Cattell
11
11
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
add a comment |
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
An Answer is not a good place to ask a Question. You could leave a comment on another Answer or the original Question; or if you feel like you have a new question, then create a Question to ask it.
– cryptarch
Jan 10 at 0:01
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@cryptarch They can't leave a comment due to insufficient rep, blame the semi-arbitrary stackexchange restrictions...
– undercat
Jan 10 at 1:45
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
@undercat Noted; although, getting up enough rep to leave comments will happen more quickly if they leave answers that are likely to get upvoted rather than downvoted ;)
– cryptarch
Jan 10 at 1:46
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f224767%2faccidentally-deleted-my-wifi-device-wlan0%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