You are not logged in.
Hi guys, sorry for this post, but I couldn't figure out an answer for this issue I am having. i enabled my wifi from automatically connecting each time by typing:
sudo systemctl enable netctl-auto@wlp3s0.serviceand on the next bootup it would connect me to my known profiles and connect me to the internet. But, after another reboot it doesn't connect. I am unsure why, because it says that the service is enabled each time, yet it doesn't start my wifi up (wlp3s0 is always down). Whenever I type this following command, the wifi profiles works again:
sudo systemctl start netctl-auto@wlp3s0.serviceCan anyone give any help on this issue? If you need any more information, please let me know.Thanks for your time!!
Last edited by James_dean (2016-03-28 01:57:22)
Offline
The wiki does say something about trouble with netctl-auto, in case you havent seen it yet:
https://wiki.archlinux.org/index.php/ne … _on_resume
If you are willing to take 5 minutes to write the config-file yourself, here is a thread in which I explained it (7th post):
https://bbs.archlinux.org/viewtopic.php?id=206695
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline
The wiki does say something about trouble with netctl-auto, in case you havent seen it yet:
https://wiki.archlinux.org/index.php/ne … _on_resumeIf you are willing to take 5 minutes to write the config-file yourself, here is a thread in which I explained it (7th post):
https://bbs.archlinux.org/viewtopic.php?id=206695
Thanks for your fast response. Unfortunately I was at work for most of the time.
I looked at the first link, and that only seems to be related to when my computer is in suspend mode. My computer is never suspended. It's always shutdown and started back up.
I unfortunately didn't understand your second link. (I feel like an idiot working on Arch).
Do you think my systemctl services would be an issue? I can show a log of it if its helpful. Thanks for your help!!
Offline
here is the information on the status of one of the profiles
* netctl@wlp3s0\x2dCSUF\x2dTitans.service - Automatically generated profile by wifi-menu
Loaded: loaded (/etc/systemd/system/netctl@wlp3s0\x2dCSUF\x2dTitans.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2016-03-26 19:09:19 PDT; 29min ago
Docs: man:netctl.profile(5)
Process: 326 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 326 (code=exited, status=1/FAILURE)
Mar 26 19:09:19 archpc systemd[1]: Starting Automatically generated profile by wifi-menu...
Mar 26 19:09:19 archpc network[326]: Starting network profile 'wlp3s0-CSUF-Titans'...
Mar 26 19:09:19 archpc network[326]: Could not create a wpa config file for interface 'wlp3s0'
Mar 26 19:09:19 archpc network[326]: Failed to bring the network up for profile 'wlp3s0-CSUF-Titans'
Mar 26 19:09:19 archpc systemd[1]: netctl@wlp3s0\x2dCSUF\x2dTitans.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 19:09:19 archpc systemd[1]: Failed to start Automatically generated profile by wifi-menu.
Mar 26 19:09:19 archpc systemd[1]: netctl@wlp3s0\x2dCSUF\x2dTitans.service: Unit entered failed state.
Mar 26 19:09:19 archpc systemd[1]: netctl@wlp3s0\x2dCSUF\x2dTitans.service: Failed with result 'exit-code'.
~
~
~
~
~hopefully this is helpful
Last edited by James_dean (2016-03-27 02:40:04)
Offline
Please paste the output of the following:
ls -l /etc/systemd/system/multi-user.target.wants && journalctl _PID=326Offline
Please paste the output of the following:
ls -l /etc/systemd/system/multi-user.target.wants && journalctl _PID=326
here is the output
[roy@archpc ~]$ ls -l /etc/systemd/system/multi-user.target.wants && journalctl_PID=326
total 0
lrwxrwxrwx 1 root root 38 Mar 26 17:08 dhcpcd.service -> /usr/lib/systemd/system/dhcpcd.service
lrwxrwxrwx 1 root root 44 Mar 26 17:07 netctl-auto@wlp3s0.service -> /usr/lib/systemd/system/netctl-auto@.service
lrwxrwxrwx 1 root root 38 Mar 26 18:10 netctl.service -> /usr/lib/systemd/system/netctl.service
lrwxrwxrwx 1 root root 59 Mar 25 17:59 'netctl@wlp3s0\x2dCSUF\x2dTitans.service' -> '/etc/systemd/system/netctl@wlp3s0\x2dCSUF\x2dTitans.service'
lrwxrwxrwx 1 root root 51 Mar 25 23:05 'netctl@wlp3s0\x2dREDMAN.service' -> '/etc/systemd/system/netctl@wlp3s0\x2dREDMAN.service'
lrwxrwxrwx 1 root root 40 Mar 25 13:40 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 46 Mar 26 17:07 wpa_supplicant.service -> /usr/lib/systemd/system/wpa_supplicant.service
[roy@archpc ~]$ Last edited by James_dean (2016-03-27 04:08:03)
Offline
I count three network-managers (dhcpcd, wpa_supplicant, netctl) you are using simultaneously, which is not good. They are usually interfering with each other. Kill all except netctl with
systemctl disable dhcpcd.service
systemctl disable wpa_supplicant.serviceand restart the system.
Last edited by Starfish (2016-03-27 09:50:09)
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline
I count three network-managers (dhcpcd, wpa_supplicant, netctl) you are using simultaneously, which is not good. They are usually interfering with each other. Kill all except netctl with
systemctl disable dhcpcd.service systemctl disable wpa_supplicant.serviceand restart the system.
so, I disabled the services, and it still seems like something is conflicting with the wifi service. After the first reboot, I couldn't activate the wifi at all, even after starting:
systemctl netctl-auto@wlp3s0 after a reboot, the wifi wouldn't automatically turn on, but it would after I started the service. Thanks for your help guys!!
hopefully this might be useful. This is all of the services on my computer.
systemctl list-unit-files --type=service UNIT FILE STATE
alsa-restore.service static
alsa-state.service static
autovt@.service enabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
blk-availability.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
container-getty@.service static
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.import1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.machine1.service static
dbus-org.freedesktop.network1.service disabled
dbus-org.freedesktop.resolve1.service disabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
dhcpcd@.service disabled
dm-event.service disabled
dropbox@.service disabled
emergency.service static
fancontrol.service disabled
fluidsynth.service disabled
fstrim.service static
ftpd.service disabled
geoclue.service static
getty@.service enabled
git-daemon@.service static
gpm.service disabled
healthd.service disabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iptables.service disabled
kmod-static-nodes.service static
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
krb5-kpropd@.service static
ldconfig.service static
lm_sensors.service disabled
logrotate.service static
lvm2-lvmetad.service disabled
lvm2-monitor.service disabled
lvm2-pvscan@.service static
man-db.service static
mdadm-grow-continue@.service static
mdadm-last-resort@.service static
mdmon@.service static
mdmonitor.service static
mkinitcpio-generate-shutdown-ramfs.service static
netctl-auto@.service enabled
netctl-ifplugd@.service disabled
netctl-sleep.service disabled
netctl.service enabled
netctl@.service static
netctl@wlp3s0\x2dCSUF\x2dTitans.service enabled
netctl@wlp3s0\x2dREDMAN.service enabled
nscd.service disabled
pkgfile-update.service static
polkit.service static
quotaon.service static
rescue.service static
rfkill-block@.service disabled
rfkill-unblock@.service disabled
rlogin@.service static
rsh@.service static
rtkit-daemon.service disabled
sensord.service disabled
serial-getty@.service disabled
shadow.service static
speech-dispatcherd.service disabled
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-backlight@.service static
systemd-binfmt.service static
systemd-bootchart.service disabled
systemd-bus-proxyd.service static
systemd-coredump@.service static
systemd-exit.service static
systemd-firstboot.service static
systemd-fsck-root.service static
systemd-fsck@.service static
systemd-halt.service static
systemd-hibernate-resume@.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hwdb-update.service static
systemd-hybrid-sleep.service static
systemd-importd.service static
systemd-initctl.service static
systemd-journal-catalog-update.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service indirect
systemd-journal-remote.service indirect
systemd-journal-upload.service disabled
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-machine-id-commit.service static
systemd-machined.service static
systemd-modules-load.service static
systemd-networkd-wait-online.service disabled
systemd-networkd.service disabled
systemd-nspawn@.service disabled
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed.service static
systemd-reboot.service static
systemd-remount-fs.service static
systemd-resolved.service disabled
systemd-rfkill.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-sysusers.service static
systemd-timedated.service static
systemd-timesyncd.service disabled
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-done.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
talk.service indirect
teamviewerd.service enabled
telnet@.service static
tlp-sleep.service disabled
tlp.service disabled
udisks2.service enabled
upower.service disabled
user@.service static
uuidd.service indirect
wpa_supplicant-nl80211@.service disabled
wpa_supplicant-wired@.service disabled
wpa_supplicant.service disabled
wpa_supplicant@.service disabled
148 unit files listed.Last edited by James_dean (2016-03-27 17:48:40)
Offline
My guess is that the multiple netctl-services are bothering each other as well. So my last shot would be to disable all netctl-services too and follow the instructions of the link I posted before.
If this doesnt help either or you dont want to do it, I'm out of suggestions. Maybe Jason has more to say...
Last edited by Starfish (2016-03-27 18:01:23)
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline
My guess is that the multiple netctl-services are bothering each other as well. So my last shot would be to disable all netctl-services too and follow the instructions of the link I posted before.
If this doesnt help either or you dont want to do it, I'm out of suggestions. Maybe Jason has more to say...
So, I believe it is fixed now. I noticed something weird though during this. I first disabled all of my netctl services and rebooted. Then I removed all of my netctl profiles then rebooted. Then I enabled the netctl service and the netctl-auto@wlp3s0 service. I created the profile through wifi-menu and then rebooted. It works like it should now. I noticed that
netctl@wlp3s0\x2dCSUF\x2dTitans.service
netctl@wlp3s0\x2dREDMAN.service were not in the services anymore after and now it seems to work. I guess the profiles were conflicting with those two services? nevertheless, thanks so much for all your time and help!! you guys are awesome!!
If anyone knows how to automatically setup the ethernet through netctl, that would be awesome (since my ethernet was originally set up through dhcpcd)
Offline
Take a look at
ls /etc/netctl/examples/There you find all generic config-files, including one for ethernet-dhcp. Copy it one folder higher, adapt it and start it through
netctl enable <name of config-file>PS.: We are not supposed to start another topic within the same thread. You should start a new one labeled something like "ethernet with netctl".
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline