C100P Update!

This is for any ARMv7 device that we do not officially support.

C100P Update!

Postby kaophysics » Mon Jun 06, 2022 5:51 am

For those who were having trouble with Asus C100P hanging, I have made progress!

1. Follow instructions here: https://archlinuxarm.org/platforms/armv7/rockchip/asus-chromebook-flip-c100p
(note wherever it says mmcblk1 I used mmcblk0)

2. Follow instructions here: https://github.com/nikolas-n/GNU-Linux-on-Asus-C201-Chromebook but instead of deleting the *.service files I just renamed them to *.service.old

3. Download the latest systemd-resolveconf on the mirror:https://mirror.archlinuxarm.org/armv7h/core/
Screenshot 2022-06-05 224027.png
Screenshot 2022-06-05 224027.png (29.82 KiB) Viewed 7172 times
by running $this->bbcode_second_pass_code('', 'mount /dev/mmcblk0p2 root
cd root
curl -LO http://mirror.archlinuxarm.org/armv7h/core/RESOLVEDFILENAMEHERE')

4. Untar the file into the root directory by running $this->bbcode_second_pass_code('', 'tar -xf systemd-resolvconf-251.2-1-armv7h.pkg.tar.xz -C root')

5. Not sure if these steps are necessary but I'm including them here:
When you boot to SD card, make sure to restore the /usr/lib/systemd/system/systemd-networkd.service to it's original file name then run $this->bbcode_second_pass_code('', 'dhcpcd')
kaophysics
 
Posts: 2
Joined: Mon Jun 06, 2022 5:37 am

Re: C100P Update!

Postby kaophysics » Tue Jun 07, 2022 4:08 pm

UPDATE: I ran pacman -Syu and it bricked and got it working again with a modified procedure:

Steps 1 and 2 are the same

3. Download the latest systemd here: https://mirror.archlinuxarm.org/armv7h/core/
Screenshot 2022-06-07 090427.png
Screenshot 2022-06-07 090427.png (25.67 KiB) Viewed 7145 times

by running
$this->bbcode_second_pass_code('', 'mount /dev/mmcblk0p2 root
cd root
curl -LO http://mirror.archlinuxarm.org/armv7h/core/SYSTEMDTARFILENAME')

4. Untar the file into the root directory by running
$this->bbcode_second_pass_code('', 'tar -xf systemd-251.2-1-armv7h.pkg.tar.xz -C root')

5. Don't bother with systemd-networkd.service anymore, it always hangs on boot. Instead, after logging in, running
$this->bbcode_second_pass_code('', 'dhcpcd')
will get you network on a USB network adapter (the built in wifi chip doesn't seem to be supported anymore)

I now have img files with the patched versions, and the patched versions with all packages updated as of 6-7-22 if anybody needs it!
kaophysics
 
Posts: 2
Joined: Mon Jun 06, 2022 5:37 am

Re: C100P Update!

Postby TheTKS » Sun Aug 14, 2022 1:35 pm

Here is what I did on an Asus C201PA.

Installing NetoworkManager, I don't have to do steps 3-5 from the June 7, 2022 post above, but either way, you have to do something to boot without problems after systemd updates. See my systemd note later in this post.

- Installed the Mar 2022 version in June and July, and did followup steps, per the same two links as above
https://archlinuxarm.org/platforms/armv7/rockchip/asus-chromebook-flip-c100p
"(note wherever it says mmcblk1 I used mmcblk0)" - same here
https://github.com/nikolas-n/GNU-Linux-on-Asus-C201-Chromebook

- Tried to connect using $this->bbcode_second_pass_code('', 'wifi-menu') command and also found I couldn't with the onboard wifi

- Tried a USB wifi dongle, plugged in before starting up, and still couldn't connect using $this->bbcode_second_pass_code('', 'wifi-menu') command, but if I plugged the dongle in after signed in, I could connect. Dongle was picked up as wlan1, so in that case the command is $this->bbcode_second_pass_code('', 'wifi-menu wlan1')

- I could $this->bbcode_second_pass_code('', 'ping 8.8.8.8') but $this->bbcode_second_pass_code('', 'ping archlinux.org') would hang. To fix that, I stopped and disabled systemd-resolved.service
$this->bbcode_second_pass_code('', '# systemctl stop systemd-resolved.service')
$this->bbcode_second_pass_code('', '# systemctl disable systemd-resolved.service')
Note: this might not be needed if you install NetworkManager after updating.

- After an update $this->bbcode_second_pass_code('', '# pacman -Syu') in July, again I couldn't connect to wifi as I had previously

- I never sorted out why wifi stopped connecting after the update (I suspect something to do with netctl or wifi-menu), but after messing around a bunch with that installation, it was time to do a fresh installation as above and an update, but before shutting down, I installed NetworkManager $this->bbcode_second_pass_code('', '# pacman -S networkmanager')

- I manually set the correct time.

- Delete, move to backup or disable the two systemd service files. Disabling works for me.
$this->bbcode_second_pass_code('', '# systemctl disable systemd-networkd.service')
$this->bbcode_second_pass_code('', '# systemctl disable systemd-timesyncd.service')


Note about systemd updates: everytime you do an update as $this->bbcode_second_pass_code('', '# pacman -Syu ') check for systemd updates.
These can reinstall and reenable systemd-networkd.service and systemd-timesyncd.service, so each time that happens, you have to delete, move to backup or disable these, better before you shut down and restart.


- Ran
$this->bbcode_second_pass_code('', '# systemctl enable NetworkManager.service')
$this->bbcode_second_pass_code('', '# systemctl enable wpa_supplicant.service')

With NetworkManager, I didn't look into whether having systemd-resolved.service enabled or disabled mattered to connect to websites.

- I left the wifi dongle in. On rebooting, ran $this->bbcode_second_pass_code('', '# nmtui') NetworkManager picks up the wifi dongle, connects automatically - no need to remove the wifi dongle each shutdown and wait until signed in to plug it in again.

- Installed xorg, lightdm, Xfce
$this->bbcode_second_pass_code('', '# pacman -S xorg-server xorg-apps')
$this->bbcode_second_pass_code('', '# pacman -S lightdm lightdm-gtk-greeter')
$this->bbcode_second_pass_code('', '# systemctl enable lightdm.service')
$this->bbcode_second_pass_code('', '# pacman -S xfce4 xfce4-goodies')

- Installed and enabled firewall
$this->bbcode_second_pass_code('', '# pacman -S ufw')
$this->bbcode_second_pass_code('', '# systemctl enable ufw.service')

Added user.

Boots to the sign in screen.

Several applications installed and running well.

TKS
TheTKS
 
Posts: 2
Joined: Mon Aug 01, 2022 12:40 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest