You are not logged in.

#1 2015-03-04 21:09:52

Kaeles
Member
From: France
Registered: 2015-03-04
Posts: 5

Free WiFi issue

Hi everybody,

The last week, I decided to leave Mint, Ubuntu, Debian distros & co. and begin a new start on Linux with Archlinux ! Great... but I've problem with my WiFi connexion which doesn't work with my freebox. Here it's, my wpa_supplicant.conf be inspired by wiki :

# echo 'ctrl_interface=DIR=/run/wpa_supplicant' > /etc/wpa_supplicant.conf
# wpa_passphrase "My ssid" "My psk" >> /etc/wpa_supplicant/wpa_supplicant.conf
# ip link set wlp2s0 up
# wpa_supplicant -B -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlp2s0
# dhcpcd -A wlp2s0

System answers to me :

dhcpcd[800]: version 6.6.7 starting
dhcpcd[800]: wlp2s0: waiting for carrier
dhcpcd[800]: timed out
dhcpcd[800]: exited

I tried with my smartphone hotspot via the wifi-menu, it's works !
I tried to set IPv4 address... doesn't work.
I have looked for many things on many forums but I can't fix issue.

Someone can help me ?

Thanks.
Regards,

Offline

#2 2015-03-04 21:35:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Free WiFi issue

Have you tried using `dhcpcd` without the "-A" flag?

# dhcpcd wlp2s0

How did you try to "set IPv4 address"?

What is the content of your wpa_supplicant.conf?

The "-D nl80211,wext" flag shouldn't be needed on the `wpa_supplicant` command.

Offline

#3 2015-03-04 22:17:13

Kaeles
Member
From: France
Registered: 2015-03-04
Posts: 5

Re: Free WiFi issue

Hi, you !

Thanks for your reply and your assistance !

I tried using dhcpcd without "-A" flag, no success.

For IPv4 :

# ip -4 link set wlp2s0 up
# dhcpcd -4 wlp2s0

My wpa_supplicant.conf located in /etc/wpa_supplicant/

ctrl_interface=DIR=/run/wpa_supplicant
network={
    ssid="MySsid"
    #psk="MyPsk"
    psk="MyPsk encrypted"
}

Regards,

Last edited by Kaeles (2015-03-04 22:18:00)

Offline

#4 2015-03-04 22:25:51

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Free WiFi issue

Does the encrypted "psk" line have quotation marks on it?

My version of that file does not have quotation marks around the encrypted psk.

Have you tried using static IPs?

# ip addr add <address>/<netmask> broadcast <broadcast> dev wlp2s0
# ip route add default via <gateway>

https://wiki.archlinux.org/index.php/Ne … IP_address

Offline

#5 2015-03-04 22:57:51

Kaeles
Member
From: France
Registered: 2015-03-04
Posts: 5

Re: Free WiFi issue

No, I don't have quotation marks for psk.

How to connect WiFi to the router without dhcpcd ?

Last edited by Kaeles (2015-03-04 22:59:40)

Offline

#6 2015-03-04 22:58:55

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Free WiFi issue

Kaeles wrote:

How enable WiFi connect without dhcpcd ?

# ip addr add <address>/<netmask> broadcast <broadcast> dev wlp2s0
# ip route add default via <gateway>

https://wiki.archlinux.org/index.php/Ne … IP_address

Offline

#7 2015-03-04 23:19:24

Kaeles
Member
From: France
Registered: 2015-03-04
Posts: 5

Re: Free WiFi issue

I'll check tomorrow, I've invalid arguments somewhere.

Thank you for your patience.

Bye !

Offline

Board footer

Powered by FluxBB