netctl-auto not working on samsung chromebook

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

netctl-auto not working on samsung chromebook

Postby pjaneck » Tue Jul 07, 2015 8:43 pm

Hey,
for a few weeks I try to get netctl-auto to work on my samsung chromebook. The normal connection with netctl works as suspected. My profile looks like this:
$this->bbcode_second_pass_code('', 'Description='Automatically generated profile by wifi-menu'
Interface=mlan0
Connection=wireless
Security=wpa
ESSID=**some_essid**
IP=dhcp
Key=**some_key**
#DHCPClient=dhclient')
To enable netctl-auto I use:
$this->bbcode_second_pass_code('', 'systemctl enable netctl-auto@mlan0')
It crates the desired simlinks in "/etc/systemd/system/multi-user.target.wants/". If I start the service with:
$this->bbcode_second_pass_code('', 'systemctl start netctl-auto@mlan0') right after enabling, it works. However, if I restart my computer the service does not start and $this->bbcode_second_pass_code('', 'systemctl | grep netctl') only gives:
$this->bbcode_second_pass_code('', 'netctl-auto@mlan0.service loaded inactive dead start Automatic wireless network connection using netctl profiles')
Restarting the service doesn't work either. At least starting the netctl profile by hand works:$this->bbcode_second_pass_code('', 'netctl start mlan0-**some_essid**')

I allready tried dozens of different solutions I found in other forum posts but none of them worked. My guess would be, that it is somehow related to the armv7h package.
Does anyone has similar problems or does someone has a clue how to solve this and get netctl-auto working on my chromebook?

Thanks in advance for any help.
Cheers,
Peter
pjaneck
 
Posts: 12
Joined: Fri Nov 14, 2014 6:55 am

Re: netctl-auto not working on samsung chromebook

Postby WarheadsSE » Tue Jul 07, 2015 9:05 pm

It might be related to the interface status.

Check dmesg for what time the interface came up as usable.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: netctl-auto not working on samsung chromebook

Postby pjaneck » Wed Jul 08, 2015 3:29 pm

Thanks for the answer.
$this->bbcode_second_pass_code('', 'dmesg | grep mlan0') gives $this->bbcode_second_pass_code('', '[ 21.122356] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 25.238139] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
')
I don't know when systemd tries to start the netctl-auto service. Journalctl gives no errors... How can I see when the service was tried to be started relative to the last boot?
pjaneck
 
Posts: 12
Joined: Fri Nov 14, 2014 6:55 am

Re: netctl-auto not working on samsung chromebook

Postby WarheadsSE » Wed Jul 08, 2015 3:42 pm

journalctl should be able to give you that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: netctl-auto not working on samsung chromebook

Postby pjaneck » Thu Jul 09, 2015 7:13 pm

If I try to start the service after a reboot it gives:
$this->bbcode_second_pass_code('', 'A dependency job for netctl-auto@mlan0.service failed. See 'journalctl -xe' for details.')
but journalctl -xe shows no errors or any clues.
I found this thread
https://bbs.archlinux.org/viewtopic.php?id=168706
which not really helped me but the question describes my problem.
pjaneck
 
Posts: 12
Joined: Fri Nov 14, 2014 6:55 am

Re: netctl-auto not working on samsung chromebook

Postby pjaneck » Mon Jul 13, 2015 1:16 pm

Ok, if no one can help me with this... I will start a thread in the "standard" arch linux forum. If I find a solution I will come back and post it here.

Peter
pjaneck
 
Posts: 12
Joined: Fri Nov 14, 2014 6:55 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 13 guests