Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A long time ago, I removed my wifi capabilities from my laptop, I know I shouldn't have gotten rid of wifi but it was during that time that wpa2 vulnerability was found and I didn't want to risk it. , I thought it would be a stationary laptop with an ethernet cable so no need for wifi, now my network card is causing me kernel panic and I would like to get my wifi back. I used rfkill to block my wifi using my /etc/rc.local rfkill block wifi and I must of blacklisted the module. I don't remember the module name, however there is nothing in /etc/modprobe.d/blacklist.conf. In lsmod it's listed as
Code:
asus_wireless 16384 0
I think it was called iwlwifi but I could be mistaken. This is a laptop in question, An ASUS Zenbook UX310 I7 6500U and I really don't want to end up reinstalling my Ubuntu, I would rather find a solution that doesn't require such a drastic action. Here is a list of my modules.
I got rid of the rc.local edit rfkill block wifi, but as soon as I did that, and I rebooted, my network would fail within a few minutes, I tried it a few times and the same result. I just wish I knew what I did, so I could undo it.
Some additional info :
lspci -> Network controller: Intel Corporation Wireless 7265 (rev 59)
Last edited by tuxthegreat; 05-07-2018 at 04:16 PM.
I see r8152 and cdc_ether in your modules. You can unload them with rmmod. cdc_ether uses usbnet, which I don't recognize off-hand - I would think it means that cdc_ether deals with a USB connection?. mii is used by usbnet and r8152.
I see r8152 and cdc_ether in your modules. You can unload them with rmmod. cdc_ether uses usbnet, which I don't recognize off-hand - I would think it means that cdc_ether deals with a USB connection?. mii is used by usbnet and r8152.
Is wireless built in? What does
Code:
cat /proc/net/dev
report?
Yes the wireless is built in, it's a laptop. It reports the following
My laptop has a wireless button on it that en/disables it. You may have to press that. Some computers en/disable it in the BIOS, which you check on start. You may merely need to start loading the necessary drivers. asus_wireless is the 'asus wireless radio control driver' - I think that's not wifi.
Code:
lspci
should report the built-in wifi hardware, which will tip you to the necessary drivers.
Last edited by RandomTroll; 05-07-2018 at 11:38 PM.
What I did to fix this issue was first I looked in my Live Ubuntu session to see which modules I needed exactly, I copied them down on a piece of paper and then I went into the Ubuntu installed on disk and I did
Code:
modprobe iwlwifi
modprobe mac80211
I then checked if they were loaded, they were and I went into the GUI network config and I saw Enable Wifi and I was able to connect via wifi and I disconnected the Ethernet connection. Now should I just leave it as is, disconnected or should I unload the ethernet modules also to prevent future kernel panics, and if so which modules ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.