Wetek Play

This forum is for supported devices using an ARMv7 Amlogic SoC.

Wetek Play

Postby sg75 » Sat Nov 07, 2015 10:59 am

Hi there,
are there any plans to support archlinux on the Wetek Play?
https://wetek.com/product/wetek-play
sg75
 
Posts: 4
Joined: Tue Sep 08, 2015 1:40 pm

Re: Wetek Play

Postby WarheadsSE » Sat Nov 07, 2015 11:20 pm

It looks like it has OpenELEC support, so that is promising. However, none of the development team has one, so at this point, no.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6727
Joined: Mon Oct 18, 2010 2:12 pm

Re: Wetek Play

Postby sg75 » Mon Nov 23, 2015 6:04 pm

There is a special Black Friday discount from Nov. 26th-29th:
http://openelec.tv/openelec-box --> 53.99€ instead of 99€.

Just in case someone of the development team is interested :)
sg75
 
Posts: 4
Joined: Tue Sep 08, 2015 1:40 pm

Re: Wetek Play

Postby sg75 » Sun Feb 21, 2016 10:14 am

I found some time to make ArchLinux work on the Wetek play.

It was quite easy, I had just to combine the boot partition from the Ubuntu port
http://www.cnx-software.com/2014/08/24/linux-enlightenment-and-lubuntu-in-wetek-play-amlogic-tv-box/

with the root partition of the Arch ORDOID-C1 port
http://archlinuxarm.org/platforms/armv7/amlogic/odroid-c1

with only some minor problems:
- there is a systemd timeout waiting for /dev/ttyS0
- DNS and ping are only working for root but not for unprivileged users.

May be someone has some hints for the last issue?
This is really annoying ... yaourt will not work and so on.

Error message is:
Code: Select all
[sg75@alarm ~]$ dig http://archlinuxarm.org/
net.c:151: socket() failed: Permission denied
net.c:151: socket() failed: Permission denied
dig: can't find either v4 or v6 networking

and using strace:
Code: Select all
[....]
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = -1 EACCES (Permission denied)
futex(0xb6d94ef0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "net.c:151: ", 11net.c:151: )             = 11
write(2, "socket() failed: Permission deni"..., 34socket() failed: Permission denied) = 34
write(2, "\n", 1
)                       = 1
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EACCES (Permission denied)
write(2, "net.c:151: ", 11net.c:151: )             = 11
write(2, "socket() failed: Permission deni"..., 34socket() failed: Permission denied) = 34
write(2, "\n", 1
)                       = 1
socket(PF_LOCAL, SOCK_STREAM, 0)        = 3
close(3)                                = 0
futex(0xb6d94e9c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "dig: ", 5dig: )                    = 5
write(2, "can't find either v4 or v6 netwo"..., 37can't find either v4 or v6 networking) = 37
write(2, "\n", 1
)                       = 1
exit_group(10)                          = ?
+++ exited with 10 +++
sg75
 
Posts: 4
Joined: Tue Sep 08, 2015 1:40 pm

Re: Wetek Play

Postby sg75 » Sun Feb 21, 2016 2:00 pm

Crazy Android kernels seem to check if the user is member of group inet (gid=3003) to grant internet access.
Therefore,
Code: Select all
[sg75@alarm ~]$ sudo groupadd -g 3003 inet
[sg75@alarm ~]$ sudo gpasswd -a sg75 inet

solved my DNS and ping problems :D
sg75
 
Posts: 4
Joined: Tue Sep 08, 2015 1:40 pm


Return to Amlogic

Who is online

Users browsing this forum: No registered users and 2 guests