3

Basically I'm an information security student and I was trying to set up snort, I needed to turn off “Large Receive Offload” (lro) and “Generic Receive Offload” (gro) to get snort working which I have successfully done and edited /etc/network/interfaces and everything was working fine.

Minutes later my wifi went down and I have tried every single command to get it back up without any use, I undid all the changes I have made yet its not working.

when I type iwconfig this is what I get

lo no wireless extensions.

wlo1 IEEE 802.11bgn ESSID:o ff/any 
Mode:Managed Access Point: Not-Associated       Tx-Power=0 dBm 
Retry short limit:7 RTS thr:o ff Fragment thr: off
Encryption key:o ff
Power Management:o ff

eno1 no wireless extensions.

I tried to get the network up as well but I get error: input/output.

I've been going through this for about 6 hours now without success, my wired connection works but wireless doesn't.

Wild Man
  • 8,327
Mohamed
  • 29

2 Answers2

2

Have you tried to check whether the device is for some reason blocked by RF-KILL? Is there a physical switch for WiFi on your computer (mine is FnF7 for "airplane mode" which is triggered by default on new Ubuntu installations, every time). Try:

rfkill list all

Also, Make sure you are using

sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid (network) key (passwd)
sudo dhclient wlan0

This is the only way I've been able to (consistently) get WiFi back up and running. If you run the command lshw and see a wireless interface, you know it's at least detected... so you are safe.

*Substitute wlan0 for whatever the name of your wireless device is

muru
  • 207,228
P Smith
  • 569
-1

okay so, after two days and countless hours spent trying to get the wireless back up its finally working. Not sure if this is an actual answer to the question but here you go this is how i got it working again incase someone is ever in the same frustrating spot as me. i made sure i deleted every single package i have installed for snort, including

flex
bison
tcpdumb
libpac
pulledpork
pcap
pcre
libdnet

and then ran this command to make sure i delete all traces of snort and its dependencies

sudo apt-get remove --auto-remove snort

and did the same command for every single package up there

then i rebooted the pc, still nothing worked. Then giving up i decided to format ubnutu, so i log into my windwos since i dual boot for the first time since this whole fiasco happened and that was the solution. Somehow, logging into my windows participation then back into my ubuntu fixed the issue.

i wanna thanks p Smith for his help, he's the one who suggested to revert back to settings before snort and remove all packages which could have helped solve the problem.

if anyone faces similar problem, please up this post or pm me and ill try to guide you through this.

muru
  • 207,228
Mohamed
  • 29