LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Unable to access internet through wifi. (https://www.linuxquestions.org/questions/slackware-14/unable-to-access-internet-through-wifi-4175465712/)

Alien Bob 06-18-2013 01:49 AM

Quote:

Originally Posted by info.latawaz (Post 4973916)
Eric, I am not using wpa_supplicant at the moment. I am using nm-applet to start the network manager

NetworkManager will use wpa_supplicant eventually to make the encrypted connection. It should accept the 63-character passphrase without surrounding quotes.

You could try some WPA troubleshooting by running "wpa_cli" as root after you enter the passphrase into nm-applet. Then try entering interactive commands like "status" or "reassociate" or "level N" with N an increasing number, to see if you can get any meaningful information out of the association process.

Eric

info.latawaz 06-18-2013 12:41 PM

I think I have figured out the problem. It is probably with the MAC address. The wifi connection I am trying to connect with has MAC filter enabled with 3 MAC's in that list which it allows to connect to it.

In Linux, after ifconfig wlan0, I found that my MAC address for the wireless card is different.

The first wifi connection didn't have MAC filtering, so it connected with ease. The second wifi however has this filter.

I created a new profile and changed the cloned MAC address field to original address which is allowed but it is not connecting.

Is there a way to change the MAC address to the original?

What do you suggest.

szboardstretcher 06-18-2013 12:49 PM

ifconfig wlan0 down
ifconfig wlan0 hw ether 11:22:33:44:55:66
ifconfig wlan0 up

info.latawaz 06-18-2013 01:57 PM

Quote:

Originally Posted by szboardstretcher (Post 4974283)
ifconfig wlan0 down
ifconfig wlan0 hw ether 11:22:33:44:55:66
ifconfig wlan0 up

This really does the trick and it introduced other problems. Although I was able to change it for a few seconds to the original MAC by typing, while connecting, it could not. Not even with my first wifi.

Starting nm-applet showed severe error, unable to start and all. I stopped the connection tries, stopped the networkmanager, exited the shell, opened a new shell. Then I clicked on the icon of wifi and tried to connect with my first wifi, it connected, but the MAC again was the previous one.

One fellow linux user too is facing this issue, http://forums.devshed.com/networking...ess-85720.html

I think I'll have to add this MAC to the filter and then check.

info.latawaz 06-19-2013 12:37 AM

It worked after removing MAC filter. Thanks everyone for their help and support.

But this confuses me. How can the same network adapter have different MAC address when it is used as dual-boot? As in different MAC reported in Linux and different MAC reported in windows.

torimus 06-19-2013 03:27 AM

Quote:

Originally Posted by info.latawaz (Post 4974558)
It worked after removing MAC filter. Thanks everyone for their help and support.

But this confuses me. How can the same network adapter have different MAC address when it is used as dual-boot? As in different MAC reported in Linux and different MAC reported in windows.

either in windows or in linux the link(mac) address has to be set

info.latawaz 06-19-2013 07:30 AM

Quote:

Originally Posted by torimus (Post 4974634)
either in windows or in linux the link(mac) address has to be set

I see. But when I started using windows, I didn't set the MAC at all. I used to think that MAC address for an adapter is unique. Are we free to choose whichever address we want then?


All times are GMT -5. The time now is 02:42 AM.