LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why my linux not access the wireless network how to enabled it (https://www.linuxquestions.org/questions/linux-newbie-8/why-my-linux-not-access-the-wireless-network-how-to-enabled-it-4175625696/)

sachinmourya 03-16-2018 11:13 AM

why my linux not access the wireless network how to enabled it
 
why my linux not access the wireless network how to enabled it

beachboy2 03-16-2018 11:33 AM

sachinmourya,

Welcome to LQ.

We need a lot more information in order to help you.

What make/model of computer are you using?

Which Linux distribution are you using?

Under Accessories, find Terminal and open it.

Then type each of these commands separately. Press the Enter key after each command.

Code:

lspci
lsusb
ifconfig -a   
iwconfig                                 
rfkill list all

Code:

sudo lshw -C network
Then copy and paste the output in your reply. Do this by clicking on “Go Advanced” and put the output in code tags (see # at top of message).

If you can connect to the internet via ethernet cable, please open Terminal (Ctrl-Alt-T) and then copy & paste the following code into it:

Code:

wget -N -t 5 -T 10 https://dl.dropbox.com/s/qjc87hzk1z5x6z0/wireless_script && chmod +x wireless_script && ./wireless_script
Type your password and press Enter.

A file named wireless-info.txt or wireless-info.tar.gz will be downloaded in your Home folder with wireless information so we can see the condition of your wireless at the time.

NB The MAC address, WPA key and WEP key are removed for your security.

Shadow_7 03-16-2018 11:41 AM

Install a network manager and configure it? Buy wireless hardware. Lots of ways.

$ sudo apt-get install network-manager nmtui
$ sudo nmtui

Where nmtui is a command line interface to network-manager. In the ab-sense of a network manager there's more manual ways.

$ sudo apt-get install wireless-tools iw firmware-all isc-dhcp-client
$ sudo ip link set wlo1 up
$ sudo iwlist wlo1 scanning
$ sudo iw dev wlo1 scan
$ wpa_password ESSID PASSWORD > wpa.conf
$ sudo wpa_supplicant -D nl80211,wext -i wlo1 -c wpa.conf &
$ sudo dhclient -4 -v wlo1

There's also wicd instead of network manager. Bearing in mind that installing both can lead to resource contention. And the "manual" way implies that either or both "managers" are not installed, inactive, or otherwise disabled. Which also implies that your wireless device has a working driver with any extras, like firmware, to achieve operational status.

ondoho 03-17-2018 03:41 AM

@beachboy2: isn't that a little overwhelming for someone who couldn't even provide a proper problem description? i would've stopped at code tags... (though i know you put together a very nice script there)

beachboy2 03-17-2018 06:00 AM

ondoho,

I thought it best to get it all done with in one go.

I am sure he/she will post again if he/she has problems.


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