LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2021, 09:30 AM   #1
zomucb
LQ Newbie
 
Registered: Feb 2021
Posts: 1

Rep: Reputation: Disabled
Hard Blocked in Kali Linux


When I boot up kali linux from virtual box I get no problems. Then when I type: ```ifconfig``` in the terminal sometimes my wifi adapter shows up right away and sometimes it doesn't but if it doesn't then I do this, "ifconfig wlan0 down", "ifconfig wlan0 up" then shows wlan0 right away if it wasn't there already. But that's not my problem.

The problem I'm facing is it loves to hard block me whenever, like when I install new software's/scripts on kali linux, ```apt-get install``` " " or I try to do some attack on kali linux and then out of no where it will just hard block me for some reason.

Example would be: when I'm scanning for networks airodump-ng wlan0

```
read failed: Network is down
ioctl(SIOCSIFFLAGS) failed: Operation not possible due to RF-kill
Can't reopen wlan0
```

Then I checked if I was hard blocked

```rfkill list all```
```
0: phy0:Wireless LAN
Soft blocked: no
Hard blocked: yes
```

Another example of me getting hard blocked was when I did this:

``` ifconfig wlan0 down ```

``` ifconfig wlan0 up ```

```
SIOCSIFFLAGS: Input/output error
```
Then I checked to see if I was hard blocked

```rfkill list all```
```
1: phy1:Wireless LAN
Soft blocked: no
Hard blocked: yes
```


Like I said before these aren't the only examples I'm showing of me getting hard blocked.


The model of my labtop is ```MacBook Pro11,1```

```Hyper-Threading Enabled```

I also have the ```wifi connected on my mac os``` but not on ```kali linux``` because I choose ```NAT NETWORK``` in the ```Network section of Virtual Box```.

The wifi adapter I'm using is ```Linksys AE3000```

The type of kali linux I installed was from ```https://zsecurity.org/download-custom-kali```

And everything is up to date cause I did ```apt-get update``` and I got
```
Err:1 http://http.kali.org/kali kali-last-snapshot InRelease
Could not resolve 'http.kali.org'
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali...shot/InRelease Could not resolve 'http.kali.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
```

Could someone pls help.
 
Old 02-11-2021, 06:14 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,705

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by zomucb View Post
When I boot up kali linux from virtual box I get no problems. Then when I type: ```ifconfig``` in the terminal sometimes my wifi adapter shows up right away and sometimes it doesn't but if it doesn't then I do this, "ifconfig wlan0 down", "ifconfig wlan0 up" then shows wlan0 right away if it wasn't there already. But that's not my problem.

The problem I'm facing is it loves to hard block me whenever, like when I install new software's/scripts on kali linux, ```apt-get install``` " " or I try to do some attack on kali linux and then out of no where it will just hard block me for some reason. Example would be: when I'm scanning for networks airodump-ng wlan0
Code:
read failed: Network is down
ioctl(SIOCSIFFLAGS) failed: Operation not possible due to RF-kill
Can't reopen wlan0
Then I checked if I was hard blocked
Code:
```rfkill list all```
```
0: phy0:Wireless LAN
    Soft blocked: no
    Hard blocked: yes
Another example of me getting hard blocked was when I did this:

``` ifconfig wlan0 down ```
``` ifconfig wlan0 up ```

SIOCSIFFLAGS: Input/output error
```
Then I checked to see if I was hard blocked

```rfkill list all```
```
1: phy1:Wireless LAN
Soft blocked: no
Hard blocked: yes

Like I said before these aren't the only examples I'm showing of me getting hard blocked. The model of my labtop is ```MacBook Pro11,1``` ```Hyper-Threading Enabled```
I also have the ```wifi connected on my mac os``` but not on ```kali linux``` because I choose ```NAT NETWORK``` in the ```Network section of Virtual Box```.

The wifi adapter I'm using is ```Linksys AE3000``` The type of kali linux I installed was from ```https://zsecurity.org/download-custom-kali``` And everything is up to date cause I did ```apt-get update``` and I got
Code:
Err:1 http://http.kali.org/kali kali-last-snapshot InRelease 
  Could not resolve 'http.kali.org'
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali...shot/InRelease Could not resolve 'http.kali.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Could someone pls help.
Did you read the message?? You say it's up to date, but it clearly says it could NOT find the update server. Secondly, have you read Kali's website, or the Kali sticky posts here?? Kali is for experienced Linux users...and their docs tell you why wifi isn't working and how to re-enable it. For example:
https://forums.kali.org/showthread.p...ll-not-working

Why did you download from a third-party site, rather than the Kali website??
 
Old 02-14-2021, 12:26 AM   #3
JSB
Member
 
Registered: Dec 2020
Posts: 102

Rep: Reputation: 22
zomucb, please also look the document articles:
https://www.kali.org/docs/troublesho...driver-issues/
https://www.kali.org/docs/nethunter/wireless-cards/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kali Linux Blocked Updates poiuytrew Linux - Newbie 2 01-30-2017 03:01 AM
How to make Kali Linux look like Parrot OS (Configuring how Kali Linux looks) John1243 Linux - Distributions 1 03-21-2016 02:48 AM
LXer: Migrating from Kali Linux 2 to Kali Linux 2016.1 LXer Syndicated Linux News 0 02-01-2016 07:50 AM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
Mod recent blocked related question (netfilter). WHO IS BLOCKED CarLost Linux - Security 6 07-29-2008 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration