SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have slackware64-current on two laptops, with identical etc/resolv.conf, /etc/wpa_supplicant.conf, /etc/rc.d/rc.inet1.conf. But one laptop connects correctly to wifi after booting, and the other not. But it is still possible to connect using wicd. How can this happen ?
Network Manager can be temperamental with dhcp clients. I would try changing the client used from dhcpcd to dhclient and see if that fixes your problem. Network Manager seems to have issues with both clients, but usually one will work if the other won't. Pat has found the least amount of issues with dhcpcd, but it doesn't work for everyone.
If that doesn't solve your problem, please also post more information on your wireless devices, using lspci -k | grep -iA3 net.
@bassmadrigal : thank you for your answer, but I don't use networkmanager. I have tried to make /etc/rc.d/rc.networkmanager executable, but this does not change anything. lspci -k | grep -iA3 net gives
Quote:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
Subsystem: Hewlett-Packard Company Ethernet Connection I217-LM
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
--
3d:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Subsystem: Intel Corporation Dual Band Wireless-N 7260
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=1
ssid="XXXXXXXXXXXXX"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="XXXXXXXXXXXXXXXXXXXXXXXX"
}
resolv.conf
Quote:
# Generated by dhcpcd from wlan0.dhcp
# /etc/resolv.conf.head can replace this line
domain home
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line
I didn't realize you were using wpa_supplicant directly (it isn't very common anymore as most prefer to use GUIs like Network Manager or wicd).
Have you tried running the wpa_supplicant command directly to see if it connects? This can help us determine if it is an rc.inet1.conf misconfiguration or an issue with wpa_supplicant itself. If it doesn't connect, please paste the output here.
I would then remove your first network entry (most of those lines aren't needed) on your existing /etc/wpa_supplicant.conf just to make sure it is connecting to the right network with the correct information.
wlan0: 0: 48:83:c7:2e:e6:75 ssid='Livebox-1C45' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-43 freq=5500 wps
wlan0: skip - no WPA/RSN proto match
wlan0: 1: 48:83:c7:2e:e6:70 ssid='Livebox-1C45' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-46 freq=2412 wps
wlan0: skip - no WPA/RSN proto match
wlan0: No suitable network found
Is Livebox-1C45 your network or a network provided by someone else? Based on the output, I think it is provided by someone else, since it says no WPA/RSN match. Do you have any special things going on with your wireless network (hiding SSID, MAC address filtering, etc)? Did you try the new wpa_passphrase output?
@Didier Spaier : I have started from the beginning with netconfig and it works. The two laptops are on distinct locations with not the same Liveboxes. From bassmadrigal remarks I suspect that they don't use the same protocol.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.