View previous topic :: View next topic |
Author |
Message |
krax n00b
Joined: 29 May 2011 Posts: 67 Location: Troy, MI
|
Posted: Fri Oct 11, 2013 8:21 pm Post subject: [Solved]Problems in switching from wicd to wpa_supplicant |
|
|
Hello;
First I start with this (a part of rc.log)which was with me from the first day* Bringing up interface wlp5s0
Code: | * Starting wpa_supplicant on wlp5s0 ...
* /etc/wpa_supplicant/wpa_supplicant.conf not found
[ !! ]
* ERROR: net.wlp5s0 failed to start
* Starting D-BUS system messagebus ...
[ ok ]
* Starting wicd daemon ...
[ ok ]
* ERROR: cannot start netmount as net.wlp5s0 would not start
* Enabling numlock on ttys ...
[ ok ]
* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
[ ok ]
* Starting syslog-ng ...
[ ok ]
* Starting vixie-cron ...
[ ok ]
* Starting local
[ ok ] |
Well considering i was on wicd and all that; I had not had quality in my connection with wicd; so i started to emigrate from wicd <--> to WPA_SUPPLICANT.
i changed my /etc/conf.d/net to this:
Code: | # This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /usr/share/doc/openrc*/net.example* and save your configuration
# in /etc/conf.d/net (this file :]!).
config_wlp5s0="dhcp"
#Prefer wpa_supplicant over wireless-tools
modules_wlp5s0="wpa_supplicant"
#It is important that we tell wpa_supplicant which driver we use.
#he is not good at guesing.
wpa_supplicant_wlp5s0="-Dnl80211" |
and also /etc/wpa_supplicant/wpa_supplicant.conf
Code: | update_config=1
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="@:-D"
psk="m20sh@gmaildotcom"
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
priority=5
|
Problem:
wpa_supplicant -Dnl80211 -iwlp5s0 -c /etc/wpa_supplicant/wpa_supplicant.conf says
Code: | wpa_supplicant -Dnl80211 -iwlp5s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlp5s0: SME: Trying to authenticate with 98:42:46:01:f0:0c (SSID='@:-D' freq=2462 MHz)
wlp5s0: Trying to associate with 98:42:46:01:f0:0c (SSID='@:-D' freq=2462 MHz)
wlp5s0: Associated with 98:42:46:01:f0:0c
wlp5s0: WPA: Key negotiation completed with 98:42:46:01:f0:0c [PTK=TKIP GTK=TKIP]
wlp5s0: CTRL-EVENT-CONNECTED - Connection to 98:42:46:01:f0:0c completed [id=0 id_str=]
wlp5s0: CTRL-EVENT-DISCONNECTED bssid=98:42:46:01:f0:0c reason=3 locally_generated=1 |
but I have no Internet access at all. (not even ping)
here are some more infos:
Code: |
rc-update show
alsasound | boot
bootmisc | boot
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
local | default
localmount | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.lo | boot
net.wlp5s0 | default
netmount | default
numlock | default
procfs | boot
root | boot
savecache | shutdown
swap | boot
swapfiles | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
tmpfiles.setup | boot
udev | sysinit
udev-mount | sysinit
urandom | boot
vixie-cron | default
wpa_supplicant | default |
Code: | root# ls -l /etc/init.d/
total 312
-rwxr-xr-x 1 root root 2099 Sep 30 08:53 alsasound
-rwxr-xr-x 1 root root 462 Sep 30 12:02 avahi-daemon
-rwxr-xr-x 1 root root 456 Sep 30 12:02 avahi-dnsconfd
-rwxr-xr-x 1 root root 532 Sep 30 11:57 bluetooth
-rwxr-xr-x 1 root root 4323 Jul 11 10:33 bootmisc
-rwxr-xr-x 1 root root 359 Sep 30 07:46 busybox-klogd
-rwxr-xr-x 1 root root 372 Sep 30 07:46 busybox-ntpd
-rwxr-xr-x 1 root root 383 Sep 30 07:46 busybox-syslogd
-rwxr-xr-x 1 root root 334 Sep 30 07:46 busybox-watchdog
-rwxr-xr-x 1 root root 1527 Jul 11 10:33 consolefont
-rwxr-xr-x 1 root root 627 Sep 30 12:17 consolekit
-rwxr-xr-x 1 root root 1729 Jul 18 16:51 crypto-loop
-rwxr-xr-x 1 root root 386 Sep 30 12:01 cups-browsed
-rwxr-xr-x 1 root root 387 Jul 18 14:36 cupsd
-rwxr-xr-x 1 root root 1185 Jul 18 14:06 dbus
-rwxr-xr-x 1 root root 794 Jul 11 10:33 devfs
-rwxr-xr-x 1 root root 2765 Jul 21 05:30 device-mapper
-rwxr-xr-x 1 root root 327 Jul 18 13:45 dhcpcd
-rwxr-xr-x 1 root root 309 Jul 11 10:33 dmesg
-rwxr-xr-x 1 root root 685 Jul 21 05:30 dmeventd
-rwxr-xr-x 1 root root 2674 Jul 11 10:33 fsck
lrwxrwxrwx 1 root root 25 Jul 11 10:34 functions.sh -> /lib64/rc/sh/functions.sh
-rwxr-xr-x 1 root root 756 Jul 18 07:25 fuse
-rwxr-xr-x 1 root root 738 Sep 30 13:30 git-daemon
-rwxr-xr-x 1 root root 655 Sep 30 08:53 gpm
-rwxr-xr-x 1 root root 360 Jul 11 10:33 hostname
-rwxr-xr-x 1 root root 2703 Jul 11 10:33 hwclock
-rwxr-xr-x 1 root root 1724 Jul 11 10:33 keymaps
-rwxr-xr-x 1 root root 404 Jul 11 10:33 killprocs
-rwxr-xr-x 1 root root 955 Jul 11 10:33 local
-rwxr-xr-x 1 root root 2102 Jul 11 10:33 localmount
-rwxr-xr-x 1 root root 3001 Jul 21 05:30 lvm
-rwxr-xr-x 1 root root 1183 Jul 21 05:30 lvm-monitoring
-rwxr-xr-x 1 root root 1509 Jul 11 10:33 modules
-rwxr-xr-x 1 root root 1071 Jul 11 10:33 mount-ro
-rwxr-xr-x 1 root root 821 Jul 11 10:33 mtab
-rwxr-xr-x 1 root root 3289 Jul 19 13:23 mysql
lrwxrwxrwx 1 root root 6 Jul 18 23:50 net.eth0 -> net.lo
-rwxr-xr-x 1 root root 16919 Jul 11 10:33 net.lo
-rwxr-xr-x 1 root root 1578 Jul 11 10:33 netmount
lrwxrwxrwx 1 root root 6 Jul 18 13:25 net.wlan0 -> net.lo
lrwxrwxrwx 1 root root 6 Jul 19 10:54 net.wlp5s0 -> net.lo
-rwxr-xr-x 1 root root 1593 Jul 11 09:23 nscd
-rwxr-xr-x 1 root root 1219 Sep 30 12:16 nullmailer
-rwxr-xr-x 1 root root 698 Jul 11 10:33 numlock
-rwxr-xr-x 1 root root 1871 Jul 19 01:38 pciparm
-rwxr-xr-x 1 root root 2019 Jul 11 10:33 procfs
-rwxr-xr-x 1 root root 518 Jul 24 01:44 pwcheck
-rwxr-xr-x 1 root root 736 Sep 29 19:34 pydoc-2.7
-rwxr-xr-x 1 root root 736 Sep 30 11:06 pydoc-3.2
-rwxr-xr-x 1 root root 304 Jul 11 09:11 reboot.sh
-rwxr-xr-x 1 root root 668 Sep 30 11:57 rfcomm
-rwxr-xr-x 1 root root 969 Jul 11 10:33 root
-rwxr-xr-x 1 root root 357 Sep 30 07:50 rsyncd
-rwxr-xr-x 1 root root 1250 Oct 6 12:33 samba
-rwxr-xr-x 1 root root 524 Jul 24 01:44 saslauthd
-rwxr-xr-x 1 root root 1121 Jul 11 10:33 savecache
-rwxr-xr-x 1 root root 385 Jul 11 09:11 shutdown.sh
-rwxr-xr-x 1 root root 2041 Jul 18 16:54 sshd
-rwxr-xr-x 1 root root 805 Jul 11 10:33 swap
-rwxr-xr-x 1 root root 1068 Jul 11 10:33 swapfiles
-rwxr-xr-x 1 root root 526 Jul 11 10:33 swclock
-rwxr-xr-x 1 root root 703 Jul 11 10:33 sysctl
-rwxr-xr-x 1 root root 2617 Jul 11 10:33 sysfs
-rwxr-xr-x 1 root root 2042 Jul 18 13:40 syslog-ng
-rwxr-xr-x 1 root root 1032 Jul 11 10:33 termencoding
-rwxr-xr-x 1 root root 306 Jul 11 10:33 tmpfiles.setup
-rwxr-xr-x 1 root root 4322 Jul 11 10:37 udev
-rwxr-xr-x 1 root root 2046 Jul 11 10:37 udev-mount
-rwxr-xr-x 1 root root 932 Jul 11 10:33 urandom
-rwxr-xr-x 1 root root 355 Jul 18 13:42 vixie-cron
-rwxr-xr-x 1 root root 754 Jul 19 06:31 wicd
-rwxr-xr-x 1 root root 1249 Sep 30 11:53 wpa_supplicant
-rwxr-xr-x 1 root root 5700 Oct 6 12:29 xdm
-rwxr-xr-x 1 root root 346 Oct 6 12:29 xdm-setup
|
AND this is my rc.log http://bpaste.net/show/139709/
Last edited by krax on Sun Oct 13, 2013 4:34 am; edited 4 times in total |
|
Back to top |
|
|
krax n00b
Joined: 29 May 2011 Posts: 67 Location: Troy, MI
|
Posted: Fri Oct 11, 2013 8:29 pm Post subject: |
|
|
Code: | [b]# iw dev
phy#0
Interface wlp5s0
ifindex 3
wdev 0x1
addr f8:d1:11:3d:a6:1f
ssid @:-D
type managed
channel 11 (2462 MHz), width: 20 MHz (no HT), center1: 2462 MHz
[/b] |
|
|
Back to top |
|
|
krax n00b
Joined: 29 May 2011 Posts: 67 Location: Troy, MI
|
Posted: Sun Oct 13, 2013 4:32 am Post subject: |
|
|
After completing the tasks at wiki.gentoo.org just do
|
|
Back to top |
|
|
|