FJF2 Linux log

This is the Linux log for FJF2 for installing and maintaining Arch Linux with OpenRC.

May 31, 2016

Booted from USB stick with archlinux-openrc-2016.06.01-dual.iso using sys and nohave64. I followed the Beginners' guide with the use of FJFgalaxy, my Galaxy Tab 3 tablet. I executed the following commands:
# ls /sys/firmware/efi/efivars
Not available.
# iw dev wlan0 link
None.
# lsblk
Displayed three partitions. One 13 Gbyte, one 100 Mbyte, and one about 280 Gbyte. Because I was a little surprised by this, I rebooted the notebook to Windows 10. Used the disktool to discover that the first partition is a Windows restore partition. I reduced the third parition to 187.33 GByte, leaving 97.66 unused space.
# lsblk
# fdisk -l /dev/sda
# sfdisk -l /dev/sda
# gdisk /dev/sda
Quit with q after message for converting partition table.
# fdisk /dev/sda
Executed the command F returning the values 420339712, 6251142447, and 204802736 for the last free space. Executed the command n and created the (suggested) extended partition. Someone suggested I had to create a parition inside the extended partition. I searched the internet for some more information, and discovered that I would have to do this. I issued the command n with the parameters 420314760 and 625142447, resulting in a type 83, Linux, partition. Executed the command W.
# lsblk
Displays sda5 as the Linux partition.
# mkfs.ext4 /dev/sda5
# mount /dev/sda5 /mnt
# pacstrap -i /mnt base base-devel
The last command did not work, because there was no (wireless) network available.
# wifi-menu wlp2s0b1
Found the TkkrLab wifi network and connected to it.
# pacstrap -i /mnt base base-devel
Returned the following information as the finalization (from my notes):
(1/4) mandb: can't set the locale; make sure $LC_ and $LANG are correct
(2/4) Display openrc service help ...
      => Add a service to runlevel
      rc-update add <service> <runlevel>
(3/4) Updating the info directory file ...
(4/4) Rebuilding certificate stores ...
I continued with:
# genfstab -U /mnt >> /mnt/etc/fstab
# more /mnt/etc/fstab
# cd /etc/netctl
# cp wlp2s0b1-www.tkkrlab.nl /mnt
# arch-chroot /mnt /bin/bash
# vi /etc/locale.gen
I uncommented the line with en_US.UTF-8 UTF-8
# locale-gen
# vi /etc/vconsole.conf
Added the line LANG=en_US.UTF-8
# vi /etc/locale.conf
Added the lines KEYMAP=nl-latin1 and FONT=lat9w-16
# tzselect
Which returned Europe/Amsterdam
# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
# hwclock --systohc --utc
# mkinitcpio -p linux
This issued warning about missing firmware modules for wd719x and aic94xx. No idea what those are.
# pacman -S grub os-prober
# grub-install --target=i386-pc /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# vi /etc/hostname
Set the hostname to FFAA5E
# pacman -S iw wpa_supplicant dialog
# passwd
# umount -R /mnt
Gave a message that it was not mounted.
# reboot
Did not work, neither did shutdown with some message containing reference to systemd. Used power switch to switch of the machine. When I rebooted the machine, it started up Arch Linux and allowed me to login. After which I stopped. I will continue next week with installing more packages.

June 7, 2016

I tried to continue with installing Xorg, but noticed that I no wifi connection. Also menu-wifi did not work because it relied on systemctl. I then tried to follow some Gentoo Linux description on how to install it through OpenRC, but I soon realized that I would probably spend some evenings reading manuals and figuring things out by myself. As this was not exactly what I had planned, because I just wanted to install Linux in order to install Arduino and Android development tools, I decided to start to switch to the default systemd based Arch Linux installation. In the page about Acer Aspire One there was some mention of a kernet-netbook, but because that seemed no longer supported, I decided to download the default kernel on the USB stick. I then performed the following commands:
# lsblk
Displays sda5 as the Linux partition.
# mkfs.ext4 /dev/sda5
# lsblk
# mount /dev/sda5 /mnt
# pacstrap -i /mnt base base-devel
Returned similar information as last week. I continued with:
# genfstab -U /mnt >> /mnt/etc/fstab
# more /mnt/etc/fstab
# cd /etc/netctl
# wifi-menu wlp2s0b1
# cp wlp2s0b1-www.tkkrlab.nl /mnt
# arch-chroot /mnt /bin/bash
# vi /etc/locale.gen
I uncommented the line with en_US.UTF-8 UTF-8
# locale-gen
# vi /etc/vconsole.conf
Added the line LANG=en_US.UTF-8
# date
# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
# hwclock --systohc --utc
# mkinitcpio -p linux
# pacman -S grub os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# vi /etc/hostname
Set the hostname to FJF2
# pacman -S iw wpa_supplicant dialog
# passwd
# umount -R /mnt
Gave a message that it was not mounted.
# reboot
Failed. Someone explained to me that I had to exit the current shell.
# exit
# reboot
The Grub complained that something was missing. I realized that I should have executed grub-install. Booted on the USB stick, and performed:
# mount /dev/sda5 /mnt
# arch-chroot /mnt /bin/bash
# grub-install --target=i386-pc /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# reboot
And now it did work. Someone remarked that I was logging in with root. I realized that I should continue with General recommendations next time, before installing Xorg with the Xfce (or similar) window manager.

June 14, 2016

I logged in at root and started with:
# vi /etc/locale.conf
Added the lines KEYMAP=nl-latin1 and FONT=lat9w-16.
# vi /etc/login.dest
To verify that it contains line with: USERGROUPS_ENAB yes
# useradd -m frans
# passwd frans
# vi /etc/sudoers
File was read only, so:
# chmod + /etc/sudoers
# vi /etc/sudoers
Uncommented line: %sudo ALL=(ALL) ALL
# groupadd sudo
# usermod -aG sudo frans
# ^D
logged in as frans.
# lspci
Lists: VGA compatible controller: Intel corporation Atom Processor D2xxx/N2xxx Intergrated Controller
# sudo pacman -S xorg
Failed because no Wifi connection.
# wifi-menu
# sudo wifi-menu
Failed with message: not possible due to RF-kill
# iw dev
# iw wlp2s0b1
# sudo iw wlp2s0b1
# sudo ip a
# sudo ip link set dev wlp2s0b1 up
Failed with message: not possible due to RF-kill
# lspci -k | more
# ^D
Logged in as root.
# rfkill
Reply: command not found
# rm /dev/rfkill
# ^D
logged in as frans.
# sudo systemctl enable rfkill-unblock@all.service
Resulted in error.
# sudo reboot
Logged in as root
# ip a
# ip link set dev wlp2s0b1 up
No RF-kill error message. Logged in as frans.
# sudo ip link set wlp2s0b1 up
# dmesg | grep firmware
# dmesg | grep wlp2
# dmesg | grep brcmsmac
# reboog
Some one suggested to plug in network cable. Logged in as root.
# ip a
# systemctl start dhcpcd@enp1s0
# pacman -Sy rfkill
# rfkill list
# wifi-menu
# ip a
Wifi connection now working
# pacman -S xorg-server
# pacman -S xfce4 gdm
# systemctl start gdm
A screen dark screen with a mouse pointer appeared. There seemsed to be some problem, because I did see cursor appear. An attempt to open another terminal failed. Power-off, power-on. Logged in as root
# pacman -R gdm
# pacman -S lightdm
Failed due missing network connection
# wifi-menu
# ip a
# pacman -S lightdm
# systemctl start lightdm
Had no effect
# pacman xf86-video-intel
# systemctl start lightdm
Had no effect
# systemctl enable lightdm.service
# reboot
Still did not work.

June 19, 2016

Logged in as root.
# wifi-menu
# ip
# iw
# ip a
I started reading arch linux LightDM page
# dm-tool --help
# ls -l /usr/share/xgreeters/
Returns that directory does not exist.
# pacman -S lightdm-gtk-greeter
# ls -l /usr/share/xgreeters/
Now returns: lightdm-gtk-greater.desktop
# lightdm --test-mode --debug
Seemed to work. Restarted from lightdm menu. Logged in as frans. Seems I a good idea to get familiar with XFCE a little bit before I enable it on start up.
# vi /etc/lightdm/lightdm.conf
Made no changes. Shutdown.

June 21, 2016

I logged in as frans.
# sudo systemctl enable lightdm.service
Reboot.
# pacman -S palemoon-atom-bin
Did not work. No wifi.
# wifi-menu
# ip a
# sudo pacman -S palemoon-atom-bin
Message: target not found.
# sudo pacman -S palemoon-bin
Message: target not found.

Trying to get Pale Moon browser through Arch User Repository.

# sudo pacman -S --needed base-devel
# curl
(Yes, we do have cURL, meaning that I do not need a web browser.)
# mkdir builds
# git
Git not available.
# sudo pacman -Sy git
Someone suggest, I should just try Firefox.
# sudo pacman -Sy firefox
# firefox
Error message: Cannot open shared object file XPCOM
# sudo pacman -Syu firefox
# firefox
Used it to download ttnctl from Quick Start Guide for ttnctl.
# cd
# ls
# mkdir ttn
# cd Downloads
# mv ttnctl-linux-386.zip ../ttn
# cd ../ttn
# gunzip ttnctl-linux-386.zip
Did not work.
# sudo pacman -Sy p7zip
# ls
# 7za e ttnctl-linux-386.zip
# cd ttnctl-linux-386.zip
Did not work, because it is executable.
# mv ttnctl-linux-386.zip ttnctl
# ./ttnctl user
Had some problem remembering my password. Went to account.thethingsnetwork.org to reset my password. Next went to staging.thethingsnetwork.org. Got the impression that the interface has changed. Listed my trial application. Changed some settings with some help from someone present and went outside to test my TTN node. Received three messages:
     21  21:34:43    7 -114  868.3
     21  21:34:54    9 -119  868.1
     21  21:34:59   11 -107  868.5
Affirming that it still works. Went on to download/install Arduino IDE. Got some advice with respect to yaourt. Downloaded snapshot for package-query and yaourt from AUR.
# cd Downloads
# mv package-query.tar.gz ../builds
# cd ../builds
# gunzip package-query.tar.gz
# taf -xf package-query.tar
# cd package-query
# sudo pacman -Sy makepkg
Not needed.
# makepkg -sir
# cd ../Downloads
# mv yaourt.tar.gz ../builds
# cd ../builds
# tar -xzf yaourt.tar.gz
# cd yaourt
# makepkg -sir
# yaourt arduino
After sometime this resulted in a lock-up. The reason is that yaourt is using /tmp which is a ramdisk and because I did not have a swap file installed, the machine ran out of memory. Opened another terminal and reboot. Logged in as frans.
# sudo fallocate -l 2G /swapfile
# sudo chmod 600 /swapfile
# sudo mkswap /swapfile
# sudo swapon /swapfile
# sudo vi /etc/fstab
Added line: /swapfile none swap defaults 0 0
# yaourt arduino
Same problem.
# sudo pacman -Scc
# yaourt arduino
Same problem. Read that /tmp is limited to half the physical available RAM. Installing a swap did not solve the problem. Someone suggested I google "yaourt change tmp".
# vi yaourtrc
Added line: TmpDirectory ~/builds/tmp
# yaourt arduino
Complains about not knowing switch TmpDirectory. Found some other page. The first one seems to be outdated.
# cp /etc/yaourtrc .yaourtrc
# vi .yaourt
Added line: TMPDIR = "/home/frans/builds/tmp" (after having created said tmp directory).
# yaourt arduino
Failed again at the end due to problems with /tmp.
# sudo rm -rf /tmp/*
# yaourt arduino
# arduino
Succes!

June 28, 2016

Logged in as frans.
# sudo wifi-menu
# ip a
# sudo pacman -Sy xchat
# xchat
Also installed F-droid and Atomic on my FJFgalaxy, a Galaxy Tab 3. Continue with Arduino on Archlinux.
# sudo gpasswd -a frans uucp
# sudo gpasswd -a frans lock
Getting IJHack / ijduino:
# mkdir ijduino
# cd ijduino
# git clone https://github.com/IJHack/ijduino.git
# cd
# mv ijduino/ijduino ijduino2
# rm -r ijduino
# mv ijduino2 ijduino
Started Arduino. Attempted to compile. Failed with error message.
# lsusb
Found 16c0:05dc for USBaps programmer.
# sudo vi /etc/udev/rules.d
Quit the command
# ls /etc/udec
# cd /etc/udev/rules.d
# vi 99-usbaps.rules
# sudo vi 99-usbaps.rules
# sudo udevadm
Reported error: missing or unknown command
# sudo udevadm trigger
Started Arduino IDE, which still showed same problem. Remembered that I should use shift-run. Error message: USB device: Permission denied
# more /etc/passwd
# more /etc/group
# sudo gpasswd -a frans users
Arduino IDE still gave same error message.
# lsusb
# avrdude -c usbasp -p m8
Gives same error message.
# sudo avrdude -c usbasp -p m8
Seems to work. Reboot of system also did not solve the problem. I did continue editing the rule, applying changes and trying, but did not find a solution. It looks like either the rule is not processed or does not match with the device.

June 29, 2016

Logged in as frans.
# lsusb
# udevadm info /dev/bus/usb/003/002
# udevadm trigger --verbode --subsystem-match==usb
# udevadm monitor
# udevadm info -export
# udevadm info -a /dev/bus/usb/003/002
# sudo vi /etc/udev/rules.d/99-usbaps.rules
Changed rule into: SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", MODE="0666" by changing ATTRS into ATTR twice.
# sudo udevadm trigger
# sudo udevadm monitor
Plugged the device out and in again.
# lsusb
# ls -al /dev/bus/usb/003/004
Now returns crw-rw-rw- as file access mode. Which looks good.
# avrdude -c usbasp -p m8
Gives the expected response. It looks like it does work. Started Arduino IDE. Compiled and ran Conway example program. It worked okay.

July 4, 2016

Logged-in as frans. Downloaded snapshot from aur.archlinux.org/packages/texworks into ~/builds only to discover that it was not needed.
# yaourt texworks
Took some time to complete. Continued with trying to connect my USB stick.
# sudo pacman -Sy autofs
# sudo vi /etc/autofs/auto.master
# sudo vi /etc/autofs/auto.conf
# cd /etc/autofs
# vi auto.misc
Added line for usbstick. Commented line for cd.
# sudo systemctrl start autofs.service
Did not seem to work.
# cd /mnt
# sudo mkdir stick
# sudo mount /dev/bus/usb/001/007 /mnt/stick
Did not work.
# sudo mount /dev/sdb1 /mnt/stick
Did work. Wanted to run MySample.exe.
# sudo pacman -Sy wine
I was not able to run MySample.exe for some unknown reason. Wanted to remove all file bindings:
# sudo find ~/.local/share | grep wine | xargs rm
# sudo update-desktop-database ~/.local/share/applications/
# sudo update-mime-database ~/.local/share/mime/
I discovered that /mnt/stick was not writable.
# sudo chmod 0666 /mnt/stick
# sudo unmount /mnt/stick
# cd
# mkdir stick
# sudo mount /dev/sdb1 stick
# sudo unmount stick
# sudo mount /dev/sdb1 -o umask=0022,gid=100,uid=1000 /mnt/stick
# sudo umount /mnt/stick
# sudo mount /dev/sdb1 -o umask=0022,gid=100,uid=1000 stick
Played with TexWork and discovered that I could not run LaTeX.
# sudo pacman -Sy texlive-most
Now it did work. Now trying to program TTN node:
# cd ~/ttn
# git clone https://github.com/jpmeijers/ttnmapperarduino.git
Started Arduino IDE. After some errors, I realized I had to change the preferences to set the library directory correctly. Then I could reprogram it.

July 13, 2016

I worked on programming the IJduino using information from DHT-sensor-library. Someone suggested me to install CuteCom:
# yaourt cutecom
I had some problems with mounting my USB stick. Someone suggested to install GVfs:
# yaourt gvfs
Which immediately worked. When I (re)inserted the USB stick, it showed up in the file manager with the correct access rights.

July 16, 2016

I finished the program and wanted to push it to GitHub:
# rm -rf ijduino
# git clone https://github.com/FransFaase/ijduino.git
# cd ijduino
# git fetch upstream
Error message that upstream is not a git repository. Continue with Configuring a remote for a fork:
# git remote -v
# git remote add upstream https://github.com/IJHack/ijduino.git
# git remote -v
# git fetch upstream
# git checkout master
# git merge upstream/master
Added thermgraph directory with thermgraph.ino program.
# git add .
# git commit --dry-run
# git commit
Error message: Please tell me who you are.
# git config --global user.email "..."
# git config --global user.name "FransFaase"
# git commit
New program can now be found at thermgraph directory at my ijduino repository at GitHub.
# git push
Added a pull request for IjHack/ijduino repository at GitHub.

July 19, 2016

In an attempt to enable Bluetooth, I issued the following commands (from Bluetooth - ArchWiki):
# sudo -Sy bluez
# sudo -Sy bluez-utils
# sudo modprobe btusb
# sudo systemctl start bluetooth.service
# sudo bluetootctl
When I issued the power on command, it replied: No default controller available. Then I stopped my attempt.

July 22, 2016

Installed some software for using a DVB-T USB stick as a SDR device:
# sudo pacman -Sy rtl-sdr
# sudo pacman -Sy gqrx
# sudo pacman -Sy alsa-utils
Also ordered such a device from AliExpress for € 6.42.

July 26, 2016

Some command to get Bluetooth working (not in the exact order as I actually entered them):
# sudo systemctl start bluetooth.service
# sudo bluetoothctl
[bluetooth]# power on
[bluetooth]# agent KeyboardDisplay
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# scan off
[bluetooth]# pair 00:15:83:35:63:D7
[bluetooth]# connect 00:15:83:35:63:D7
Which did return some error. After some googling, I discovered that you cannot connect to a serial device in this manner, but have to use rfcomm as explained here by GitHub user 0. So I did:
# rfcomm bind 0 00:15:83:35:63:D7
and verified I had a /dev/rfcomm0 device.

August 4, 2016

# yaourt dump1090
Selected aur/dump1090-git 0.r386.bff92c4-2

August 9, 2016

Commands to commit newsticker Arduino program:
# git fetch upstream
# git merge upstream/master
# git add .
# git commit --dry-run
# git diff --cached
# git status
# git commit
# git push

Tried to get MySample run. When I tried to run it from the root directory of an USB stick, it complained about missing MFC42.DLL file. I executed:

# sudo pacman -Sy winetricks
# sudo sh winetricks
This gave some error message when I tried to install mfc42. When I did:
# sudo sh winetricks mfc42
it reported that it was already installed, but I still got the same error message when executing the program from the root directory. I switched to the my home directory and when I called it from there with wine, it worked. And I used it to update this page.

August 14, 2016

To upgrade to Linux 4.7.1, I issued:
# pacman -Syu

August 30, 2016

Commited and pushed snake.ino.

Installing Android developement tools:

# yaourt android-sdk
Selected jdk8-openjdk as java-environment. Got error (while verifying ncurses-6.0.tar.gz): "One or more PGP signatures could not be verified!" Issued following commands in separate terminal:
# sudo pacman -Sy gnupg
# grep validpgpkeys tmp/yaourt-tmp-frans/aur-ncurses5-compat-libs/PKGBUILD
# gpg --keyserver pgp.mit.edu --recv-keys <key from above grep>
Retried ncurses build. After some time it reported the error: "android-sdk-platform-tools is not available for the 'i686' architecture." Tried:
# yaourt android-tools
# yaourt android-studio
Running Android Studio Setup Wizard. Gave error: "No space left on device". Probably because it is using /tmp.

September 6, 2016

I continued trying to install Android Studio. I first uninstalled some thing because, I thought that that was the way to let it run in combination with the Oracle JRE.
# sudo mount -o remount.size=1G,noatime /tmp
# sudo pacman -R jdk8-openjdk
# sudo pacman -R android-sdk
# sudo pacman -R android-studio
# yaourt jdk
# yaourt android-studio
# yaourt jre
# sudo archlinux-java set java-8-jdk
# yaourt android-sdk
Continued having problems with running Android Studio. I continued working on getting my NodeMCU working:
# sudo pacman -Sy wget
# wget https://github.com/nodemcu/nodemcu-firmware/releases/download/0.9.6-dev_20150704/nodemcu_float_0.9.6-dev_20150704.bin
# git clone https://github.com/themadinventor/esptool.git
# cd esptool
# sudo python ./esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ../nodemcu_integer_0.9.6-dev_20150704.bin
# sudo python2 ./esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ../nodemcu_integer_0.9.6-dev_20150704.bin
# sudo pacman -S python2-pyserial
# sudo python2 ./esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ../nodemcu_integer_0.9.6-dev_20150704.bin
# cd ..
# wget https://github.com/nodemcu/nodemcu-firmware/releases/download/0.9.6-dev_20150704/nodemcu_integer_0.9.6-dev_20150704.bin
# sudo python2 esptool/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 nodemcu_integer_0.9.6-dev_20150704.bin
# cutecom &
Got connection to NodeMCU. Someone was having a hackrf compliant device and I thought about running dump1090 on it. But the version I had, did not recognize it. So I worked on building a version that did support it:
# cd
# git clone https://github.com/itemir/dump1090_sdrplus.git
# cd dump1090_sdrplus
# make
# sudo pacman -S hackrf
# sudo pacman -S libsoxr
# sudo pacman -S airspy
Downloaded http://www.sdrplay.com/linuxdl.php to builds directory.
# cd ~/builds
# sudo chmod 755 SDRplay_RSP_MiricsAPI-Linux-1.95.3.run
# sudo ./SDRplay_RSP_MiricsAPI-Linux-1.95.3.run
This command return the following output: I continued with:
# cd ~/dump1090_sdrplus
# make
Complained that ld cannot find -lmirsdrapi-rsp. I somewhere read that libmirsdrapi-rsp requires some other libraries as well. I left at this.

September 13, 2016

# yaourt esplorer
# yaourt --m-arg "--skipchecksums --skippgpcheck" esplorer
(Appearently the checksum had changed again for the latest zip, but I could not find the checksum.) I had to modify PKGBUILD file by adding ESPlorer/ to the source paths of ESPlorer.jar and lib.

September 20, 2016

Continued playing with NodeMCU. I got a little sick of ESplorer as this IDE is very confusing and some of the function do not do what they say they do. I also ran in some trouble with using init.lua. Decided to look at some other tools:
# cd nodemcu
# git clone https://github.com/kmpm/nodemcu-uploader
# cd nodemcu-uploader
# python ./nodemcu-uploader.py
Reports error: ImportError: No module named 'serial'
# yaourt pyserial
# python ./nodemcu-uploader.py
Reports error: SyntaxError: Missing parentheses in call to 'print'
# yaourt luatool
Also got some problems using this. I am getting the error: raise TransportError(e.strerror) . It seems it is best to edit the Lua files outside of Esplorer and only use Esplorer for uploading and resetting ESP8266.

September 30, 2016

# sudo pacman -Sy eclipse-java

October 1, 2016

# yaourt xnviewmp
# yaourt --m-arg "--skipchecksums --skippgpcheck" xnviewmp
# cd builds/tmp/yaourt-tmp-frans/aur-xnviewmp/
# updpkgsums
# yaourt xnviewmp
And before answering affirmative on Restart building xnviewmp question, run updpkgsums in other terminal. I also had to:
# sudo chmod a+x /opt/xnviewmp/xnview.sh
When I executed the program it returned a segmenation error. (Later I read that others experienced similar problems.)

October 4, 2016

# pacman -Q xnviewmp
# sudo pacman -R xnviewmp

October 11, 2016

# sudo pacman -Sy dos2unix
# sudo pacman -S ntp
# ntpd -u ntp:ntp

October 18, 2016: JY-LKM1638

Trying to do something with a JY-LKM1638 LED display. Arduino and TM1638 LED Display Modules
# mkdir jy
# cd jy
# git clone https://github.com/rjbatista/tm1638-library.git
# mv tm1638-library ..
# cd ..
# rmdir jy
I could not get the JY-LKM1638 to work. Also tried it with Arduino. It is possible that the unit is simply broken.

November 8, 2016

# sudo pacman -Sy inkscape
Returned with conflict.
# sudo pacman -Syu
Decided to removed conflicting qtchooser, otherwise could not continue. Returned with some errors.
# sudo pacman -R ttf-dejavu
Conflicts with android-studio, firefox and gnome-themes-standard.
# sudo pacman -S ttf-dejavu
Returned with same errors.
# sudo pacman -S --force ttf-dejavu
# sudo pacman -Syu
Resulted in a black screen where I could type, but that was everything. Resetted system. After reset, wireless network no longer working. Normal network also not working.
# ip link
Both networks are down.
# sudo ip a
# sudo ip link set dev wlp2s0b1 up
# iw dev
# sudo iw wlp2s0b1

November 15, 2016

Another member helped me to restore the network. Here is a relevant selection of the commands he issued:
# sudo wifi-menu
# ip a
# rfkill
# rfkill list
# iwconfig
# dmesg
# sudo ip link set dev enp1s0 up
# sudo dhclient enp1s0
# cd /etc/systemd/network/
# ls
# sudo ip addr add 10.42.20.21/16 dev enp1s0
# sudo ip route add default via 10.42.1.1
# ip a
# ip r
# ping 8.8.8.8
# sudo nano /etc/resolv.conf
# ping google.com
# sudo pacman -Sy dhclient
# pacman -Qs brcm
# sudo pacman -Sy linux-firmware
# cd /var/cache/pacman/pkg
# ls *.part
# ls linux-firmware-2016q*
# find . -name 'linux-firmware*'
# sudo pacman -Syy linux-firmware
# tar tvf linux-firmware-20161005.9c71af9-1-any.pkg.tar.xz
# sudo pacman -Sy linux-firmware
# sudo pacman -Sy linux-firmware --force
# cd /var/lib/pacman/local/
# cd linux-firmware-20161005.9c71af9-1/
# ls
# cd ..
# sudo mv linux-firmware-20161005.9c71af9-1.bak /tmp/
# sudo pacman -S --force linux-firmware
# sudo reboot
# sudo wifi-menu

November 29, 2016

# sudo pacman -Sy inkscape
Downloaded VisiCut for Ubuntu/Debian/Mint Linux 1.7.9-63
# yaourt debtap
# sudo debtap -u
# cd Downloads/
# debtap visicut_1.7.9-63-gfe3bd84-1_all.deb
# cd
# pacman -U file://~/Downloads/visicut-1.7.9-1-any.pkg.tar.xz
# sudo pacman -U file:///home/frans/Downloads/visicut-1.7.9-1-any.pkg.tar.xz
reported: package missing required signature
# sudo pacman -U Downloads/visicut-1.7.9-1-any.pkg.tar.xz
reported: :: visicut: requires, probably caused, because I made the dependencies line empty during debtap. Probably have to remove it all together.
# cd Downloads/
# debtap visicut_1.7.9-63-gfe3bd84-1_all.deb
# cd
# sudo pacman -U Downloads/visicut-1.7.9-1-any.pkg.tar.xz

November 30, 2016

# yaourt flashplayer
Installed version 11.2.202.644-1.

December 12, 2016

# pacman -Syu

December 13, 2016

Continued installing Archi development environment: I encounter the problem that I cannot find the Target Editor. I read somewhere that someone with the same problem concluded that he installed the wrong Eclipse verion, and should have installed the EE version.
# sudo pacman -R eclipse-java
# sudo pacman -Sy eclipse-jee
Succeeded in getting the development environment running and ran Archi in debug mode.

December 23, 2016

# sudo pacman -Sy gv
# sudo pacman -R gv
# sudo pacman -Sy evince

December 27, 2016

# sudo pacman -Sy ristretto
# yaourt xnview
# cd /opt/xnviewmp
# sudo chmod a+x xnview.sh
# sudo pacman -R xnviewmp
Could not get XnView to work. Others also reported problems with the latest version of this package.

January 3, 2017

# sudo pacman -Sy poppler
Returns message: installing poppler (0.50.0-1) breaks dependency 'poppler=0.49.0'
# sudo pacman -Syu
# sudo pacman -Sy poppler
# yaourt -Syu --aur
# sudo pacman -R texworks
# yaourt texworks

February 21, 2017

Created ESP8266WebServer git repository on GitHub for my Webserver on NodeMCU project.
# git clone https://github.com/FransFaase/ESP8266WebServer.git
# git commit --dry-run
# git commit
# git push
# cd ..
# git clone https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
# cd mmc-utils/
# make
# sudo ./mmc extcsd read /dev/mmcblk0
The command returned:
ioctl: Connection timed out
Could not read EXT_CSD from /dev/mmcblk0


Computers | Home