# ls /sys/firmware/efi/efivarsNot available.
# iw dev wlan0 linkNone.
# lsblkDisplayed 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/sdaQuit with q after message for converting partition table.
# fdisk /dev/sdaExecuted 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.
# lsblkDisplays sda5 as the Linux partition.
# mkfs.ext4 /dev/sda5 # mount /dev/sda5 /mnt # pacstrap -i /mnt base base-develThe last command did not work, because there was no (wireless) network available.
# wifi-menu wlp2s0b1Found the TkkrLab wifi network and connected to it.
# pacstrap -i /mnt base base-develReturned 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.genI uncommented the line with en_US.UTF-8 UTF-8
# locale-gen # vi /etc/vconsole.confAdded the line LANG=en_US.UTF-8
# vi /etc/locale.confAdded the lines KEYMAP=nl-latin1 and FONT=lat9w-16
# tzselectWhich returned Europe/Amsterdam
# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime # hwclock --systohc --utc # mkinitcpio -p linuxThis 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/hostnameSet the hostname to FFAA5E
# pacman -S iw wpa_supplicant dialog # passwd # umount -R /mntGave a message that it was not mounted.
# rebootDid 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.
# lsblkDisplays sda5 as the Linux partition.
# mkfs.ext4 /dev/sda5 # lsblk # mount /dev/sda5 /mnt # pacstrap -i /mnt base base-develReturned 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.genI uncommented the line with en_US.UTF-8 UTF-8
# locale-gen # vi /etc/vconsole.confAdded 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/hostnameSet the hostname to FJF2
# pacman -S iw wpa_supplicant dialog # passwd # umount -R /mntGave a message that it was not mounted.
# rebootFailed. Someone explained to me that I had to exit the current shell.
# exit # rebootThe 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 # rebootAnd 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.
# vi /etc/locale.confAdded the lines KEYMAP=nl-latin1 and FONT=lat9w-16.
# vi /etc/login.destTo verify that it contains line with: USERGROUPS_ENAB yes
# useradd -m frans # passwd frans # vi /etc/sudoersFile was read only, so:
# chmod +w /etc/sudoers # vi /etc/sudoersUncommented line: %sudo ALL=(ALL) ALL
# groupadd sudo # usermod -aG sudo frans # ^Dlogged in as frans.
# lspciLists: VGA compatible controller: Intel corporation Atom Processor D2xxx/N2xxx Intergrated Controller
# sudo pacman -S xorgFailed because no Wifi connection.
# wifi-menu # sudo wifi-menuFailed with message: not possible due to RF-kill
# iw dev # iw wlp2s0b1 # sudo iw wlp2s0b1 # sudo ip a # sudo ip link set dev wlp2s0b1 upFailed with message: not possible due to RF-kill
# lspci -k | more # ^DLogged in as root.
# rfkillReply: command not found
# rm /dev/rfkill # ^Dlogged in as frans.
# sudo systemctl enable rfkill-unblock@all.serviceResulted in error.
# sudo rebootLogged in as root
# ip a # ip link set dev wlp2s0b1 upNo RF-kill error message. Logged in as frans.
# sudo ip link set wlp2s0b1 up # dmesg | grep firmware # dmesg | grep wlp2 # dmesg | grep brcmsmac # rebootSome 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 aWifi connection now working
# pacman -S xorg-server # pacman -S xfce4 gdm # systemctl start gdmA 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 lightdmFailed due missing network connection
# wifi-menu # ip a # pacman -S lightdm # systemctl start lightdmHad no effect
# pacman xf86-video-intel # systemctl start lightdmHad no effect
# systemctl enable lightdm.service # rebootStill did not work.
# wifi-menu # ip # iw # ip aI 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 --debugSeemed 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.confMade no changes. Shutdown.
# sudo systemctl enable lightdm.serviceReboot.
# pacman -S palemoon-atom-binDid not work. No wifi.
# wifi-menu # ip a # sudo pacman -S palemoon-atom-binMessage: target not found.
# sudo pacman -S palemoon-binMessage: 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 # gitGit not available.
# sudo pacman -Sy gitSomeone suggest, I should just try Firefox.
# sudo pacman -Sy firefox # firefoxError message: Cannot open shared object file XPCOM
# sudo pacman -Syu firefox # firefoxUsed 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.zipDid not work.
# sudo pacman -Sy p7zip # ls # 7za e ttnctl-linux-386.zip # cd ttnctl-linux-386.zipDid not work, because it is executable.
# mv ttnctl-linux-386.zip ttnctl # ./ttnctl userHad 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.5Affirming 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 makepkgNot needed.
# makepkg -sir # cd ../Downloads # mv yaourt.tar.gz ../builds # cd ../builds # tar -xzf yaourt.tar.gz # cd yaourt # makepkg -sir # yaourt arduinoAfter 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/fstabAdded line: /swapfile none swap defaults 0 0
# yaourt arduinoSame problem.
# sudo pacman -Scc # yaourt arduinoSame 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 yaourtrcAdded line: TmpDirectory ~/builds/tmp
# yaourt arduinoComplains about not knowing switch TmpDirectory. Found some other page. The first one seems to be outdated.
# cp /etc/yaourtrc .yaourtrc # vi .yaourtrcAdded line: TMPDIR = "/home/frans/builds/tmp" (after having created said tmp directory).
# yaourt arduinoFailed again at the end due to problems with /tmp.
# sudo rm -rf /tmp/* # yaourt arduino # arduinoSucces!
# sudo wifi-menu # ip a # sudo pacman -Sy xchat # xchatAlso 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 lockGetting IJHack / ijduino:
# mkdir ijduino # cd ijduino # git clone https://github.com/IJHack/ijduino.git # cd # mv ijduino/ijduino ijduino2 # rm -r ijduino # mv ijduino2 ijduinoStarted Arduino. Attempted to compile. Failed with error message.
# lsusbFound 16c0:05dc for USBaps programmer.
# sudo vi /etc/udev/rules.dQuit the command
# ls /etc/udec # cd /etc/udev/rules.d # vi 99-usbaps.rules # sudo vi 99-usbaps.rules # sudo udevadmReported error: missing or unknown command
# sudo udevadm triggerStarted 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 usersArduino IDE still gave same error message.
# lsusb # avrdude -c usbasp -p m8Gives same error message.
# sudo avrdude -c usbasp -p m8Seems 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.
# 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.rulesChanged rule into: SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", MODE="0666" by changing ATTRS into ATTR twice.
# sudo udevadm trigger # sudo udevadm monitorPlugged the device out and in again.
# lsusb # ls -al /dev/bus/usb/003/004Now returns crw-rw-rw- as file access mode. Which looks good.
# avrdude -c usbasp -p m8Gives the expected response. It looks like it does work. Started Arduino IDE. Compiled and ran Conway example program. It worked okay.
# yaourt texworksTook 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.miscAdded line for usbstick. Commented line for cd.
# sudo systemctrl start autofs.serviceDid not seem to work.
# cd /mnt # sudo mkdir stick # sudo mount /dev/bus/usb/001/007 /mnt/stickDid not work.
# sudo mount /dev/sdb1 /mnt/stickDid work. Wanted to run MySample.exe.
# sudo pacman -Sy wineI 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 stickPlayed with TexWork and discovered that I could not run LaTeX.
# sudo pacman -Sy texlive-mostNow it did work. Now trying to program TTN node:
# cd ~/ttn # git clone https://github.com/jpmeijers/ttnmapperarduino.gitStarted Arduino IDE. After some errors, I realized I had to change the preferences to set the library directory correctly. Then I could reprogram it.
# yaourt cutecomI had some problems with mounting my USB stick. Someone suggested to install GVfs:
# yaourt gvfsWhich immediately worked. When I (re)inserted the USB stick, it showed up in the file manager with the correct access rights.
# rm -rf ijduino # git clone https://github.com/FransFaase/ijduino.git # cd ijduino # git fetch upstreamError 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/masterAdded thermgraph directory with thermgraph.ino program.
# git add . # git commit --dry-run # git commitError message: Please tell me who you are.
# git config --global user.email "..." # git config --global user.name "FransFaase" # git commitNew program can now be found at thermgraph directory at my ijduino repository at GitHub.
# git pushAdded a pull request for IjHack/ijduino repository at GitHub.
# sudo -Sy bluez # sudo -Sy bluez-utils # sudo modprobe btusb # sudo systemctl start bluetooth.service # sudo bluetootctlWhen I issued the power on command, it replied: No default controller available. Then I stopped my attempt.
# sudo pacman -Sy rtl-sdr # sudo pacman -Sy gqrx # sudo pacman -Sy alsa-utilsAlso ordered such a device from AliExpress for € 6.42.
# 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:D7Which 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:D7and verified I had a /dev/rfcomm0 device.
# yaourt dump1090Selected aur/dump1090-git 0.r386.bff92c4-2
# 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 winetricksThis gave some error message when I tried to install mfc42. When I did:
# sudo sh winetricks mfc42it 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.
# pacman -Syu
Installing Android developement tools:
# yaourt android-sdkSelected 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-studioRunning Android Studio Setup Wizard. Gave error: "No space left on device". Probably because it is using /tmp.
# 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-sdkContinued 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 airspyDownloaded 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.runThis command return the following output:
Verifying archive integrity... All good. Uncompressing SDRplay Mirics API Install Package V1.95.3 100% Installing SDRplay RSP Mirics API library... ./install_lib.sh: line 5: arch: command not found Architecture: API Version: 1.95 Remove old libraries... Install /usr/local/lib/libmirsdrapi-rsp.so.1.95 cp: cannot stat '/libmirsdrapi-rsp.so.1.95': No such file or directory chmod: cannot access '/usr/local/lib/libmirsdrapi-rsp.so.1.95': No such file or directory Remove old header files... Install /usr/local/include/mirsdrapi-rsp.h Udev rules directory found, adding rules... Libusb found, continuing... Finished.I continued with:
# cd ~/dump1090_sdrplus # makeComplained that ld cannot find -lmirsdrapi-rsp. I somewhere read that libmirsdrapi-rsp requires some other libraries as well. I left at this.
# 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.
# cd nodemcu # git clone https://github.com/kmpm/nodemcu-uploader # cd nodemcu-uploader # python ./nodemcu-uploader.pyReports error: ImportError: No module named 'serial'
# yaourt pyserial # python ./nodemcu-uploader.pyReports error: SyntaxError: Missing parentheses in call to 'print'
# yaourt luatoolAlso 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.
# sudo pacman -Sy eclipse-java
# yaourt xnviewmp # yaourt --m-arg "--skipchecksums --skippgpcheck" xnviewmp # cd builds/tmp/yaourt-tmp-frans/aur-xnviewmp/ # updpkgsums # yaourt xnviewmpAnd before answering affirmative on Restart building xnviewmp question, run updpkgsums in other terminal. I also had to:
# sudo chmod a+x /opt/xnviewmp/xnview.shWhen I executed the program it returned a segmenation error. (Later I read that others experienced similar problems.)
# pacman -Q xnviewmp # sudo pacman -R xnviewmp
# sudo pacman -Sy dos2unix # sudo pacman -S ntp # ntpd -u ntp:ntp
# mkdir jy # cd jy # git clone https://github.com/rjbatista/tm1638-library.git # mv tm1638-library .. # cd .. # rmdir jyI could not get the JY-LKM1638 to work. Also tried it with Arduino. It is possible that the unit is simply broken.
# sudo pacman -Sy inkscapeReturned with conflict.
# sudo pacman -SyuDecided to removed conflicting qtchooser, otherwise could not continue. Returned with some errors.
# sudo pacman -R ttf-dejavuConflicts with android-studio, firefox and gnome-themes-standard.
# sudo pacman -S ttf-dejavuReturned with same errors.
# sudo pacman -S --force ttf-dejavu # sudo pacman -SyuResulted 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 linkBoth networks are down.
# sudo ip a # sudo ip link set dev wlp2s0b1 up # iw dev # sudo iw wlp2s0b1
# 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
# sudo pacman -Sy inkscapeDownloaded 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.xzreported: package missing required signature
# sudo pacman -U Downloads/visicut-1.7.9-1-any.pkg.tar.xzreported: :: 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
# yaourt flashplayerInstalled version 11.2.202.644-1.
# sudo pacman -Syu
# sudo pacman -R eclipse-java # sudo pacman -Sy eclipse-jeeSucceeded in getting the development environment running and ran Archi in debug mode.
# sudo pacman -Sy gv # sudo pacman -R gv # sudo pacman -Sy evince
# sudo pacman -Sy ristretto # yaourt xnview # cd /opt/xnviewmp # sudo chmod a+x xnview.sh # sudo pacman -R xnviewmpCould not get XnView to work. Others also reported problems with the latest version of this package.
# sudo pacman -Sy popplerReturns 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
# 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/mmcblk0The command returned:
ioctl: Connection timed out Could not read EXT_CSD from /dev/mmcblk0
# sudo pacman -SyuEnds with message:
error: failed to commit transaction (conflicting files) ca-certificates-utils: /etc/ssl/certs/ca-certificates.crt exists in filesystem Errors occured, no packages were upgraded.This is a known issue.
# sudo pacman -Syuw # sudo rm /etc/ssl/certs/ca-certificates.crt # sudo pacman -Su
# sudo pacman -Sy make unrar autoconf automake libtool gperf flex bison texinfo gawk # sudo pacman -Sy ncurses-dev libexpat-dev python-dev python python-serial sed help2man wget bzip2Replied with the following error messages:
error: target not found: ncurses-dev error: target not found: libexpat-dev error: target not found: python-dev error: target not found: python-serialAfter some searching, I concluded that python-dev and ncurses-dev are not needed. Continued with:
# sudo pacman -Sy python-pyserial # sudo pacman -Sy expath # cd /opt # sudo mkdir Espressif # sudo chown frans /opt/Espressif # sudo rmdir Espressif # cd # mkdir open-esp # cd open-esp # git clone --recursive https://github.com/pfalcon/esp-open-sdk.git # makeThis returned the message:
make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directoryAccording to Missing library after 2017-03-29 update, my installation is behind.
# sudo pacman -Syu # mv esp-open-sdk .. # cd .. # rmdir esp-open # cd esp-open-sdk # makeIt returns with the message: error: missing required tool: help2man.
# sudo pacman -Sy help2man # makeAfter 90:56.22, it returned with the following error messages:
[ERROR] /home/frans/esp-open-sdk/crosstool-NG/.build/src/gdb-7.10/gdb/guile/scm-ports.c:231:47: error: dereferencing pointer to incomplete type 'scm_t_port {aka struct scm_t_port}' [ERROR] /home/frans/esp-open-sdk/crosstool-NG/.build/src/gdb-7.10/gdb/guile/scm-ports.c:681:19: error: 'SCM_PORT_NEITHER' undeclared (first use in this function) [ERROR] /home/frans/esp-open-sdk/crosstool-NG/.build/src/gdb-7.10/gdb/guile/scm-ports.c:711:19: error: 'SCM_PORT_NEITHER' undeclared (first use in this function) [ERROR] /home/frans/esp-open-sdk/crosstool-NG/.build/src/gdb-7.10/gdb/guile/scm-ports.c:790:24: error: 'SCM_PORT_WRITE' undeclared (first use in this function) [ERROR] /home/frans/esp-open-sdk/crosstool-NG/.build/src/gdb-7.10/gdb/guile/scm-ports.c:816:29: error: 'SCM_PORT_READ' undeclared (first use in this function)I should inspect the build.log file and have a look at 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6f/B - Known issues.txt'.
export PATH=/home/frans/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
Continued, from home directory:
# git clone https://github.com/espressif/ESP8266_RTOS_SDK.git
# sudo pacman -Sy npm # sudo pacman -Sy nodejs # sudo pacman -Sy icuAfter this, I got the following error when running pacman:
pacman: error while loading shared libraries: libicuuc.so.58: cannot open shared object file: No such file or directoryThe solution to this seems to download icu4c-58_2-src.tgz to temp directory.
# tar -xf icu4c-58_2-src.tgz # cd icu/source # ./configureIs having problems with clang not working, thus resulting in message that no C compiler is available, which is nonsense. It seems Firefox is also not working anymore, because it needs libicui18n.so.58, which, of course, is also missing.
# lsblk # mount /dev/sda5 /mnt # cd /mnt # mkdir new64 # mv -t new64 * # cd new64/old # mv -t /mnt * # cd .. # rmdir old # mv swapfile .. # arch-chroot /mnt /bin/bashWhich gave a message saying wrong ELF class ELFCLASS64
# reboot # mount /dev/sda5 /mnt # arch-chroot /mnt /bin/bash # pacman -r /mnt -S readline --forceGave some message which suggested to me that the pacman 'repository' was already converted to a 64 bit. I think this is a bit of design flaw. A 64 bit version of pacman should not silently 'convert' a 32 bit 'repository' to a 64 bit 'repository' (even when --force is used) when the reverse is not possible (with --force).
# fdisk -l /dev/sdaChanged third partition in type 83 (linux)
# mkfs.ext4 /dev/sda3 # mount /dev/sda3 /mnt # wifi-menu wlp2s0b1 # pacman -Sy archlinux-keyring # pacstrap -i /mnt base base-devel # arch-chroot /mnt /bin/bash # vi /etc/locale.genI uncommented the line with en_US.UTF-8 UTF-8
# locale-gen # vi /etc/vconsole.confAdded the line LANG=en_US.UTF-8
# vi /etc/locale.confAdded the lines KEYMAP=nl-latin1 and FONT=lat9w-16
# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime # hwclock --systohc --utc # mkinitcpio -p linux # pacman -S grub os-prober # grub-install --target=i386-pc /dev/sda # grub-mkconfig -o /boot/grub/grub.cfg # vi /etc/hostnameSet the hostname to FJF2
# pacman -Syu dialog wpa_supplicant # exit # rebootStarted from harddisk, logged in as root.
# useradd -m frans # passwd root # passwd frans # chmod +w /etc/sudoers # vi /etc/sudoersUncommented line: %sudo ALL=(ALL) ALL
# groupadd sudo # usermod -aG sudo frans # pacman -S xorg # pacman -S xfce4 lightdm # pacman xf86-video-intel # systemctl start lightdm
# wifi-menu # pacman -Syu # pacman -Syu firefox # fallocate -l 2G /swapfile # chmod 600 /swapfile # mkswap /swapfile # swapon /swapfile # vi /etc/fstabAdded line: /swapfile none swap defaults 0 0
# pacman -Syu rtl-sdr gqrx alsa-utils # pacman -Syu git
Logged in as frans on second terminal.
# mkdir git # cd git # git clone https://aur.archlinux.org/package-query.git # cd package-query # makepkg -si # cd .. # git clone https://aur.archlinux.org/yaourt.git # cd yaourt # makepkg -si # cd # cp /etc/yaourtrc .yaourtrc # vi .yaourtrcAdded line: TMPDIR = "/home/frans/builds/tmp" (after having created said tmp directory).
# yaourt dump1090Selected aur/dump1090-git 0.r386.bff92c4-2
On first terminal (logged in as root).
# pacman -Syu wine # pacman -Syu autofs # cd /etc/autofs # vi auto.confAdded line: /media/misc /etc/autofs/auto.misc --timeout=5
# vi auto.miscAdded line: usbstick -ftype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1
# systemctl start lightdmLogged in as frans. I tried to adept the setting of the File Manager to let it mount USB drives.
# sudo pacman -Syu python # sudo pacman -Syu mbedtls # cd git # git clone --recursive https://github.com/SHA2017-badge/Firmware.git # cd Firmware/micropythom/unix # make
# wifi-menu # pacman -Syu # pacman -Syu winetricks # systemctl start lightdmLogged in as frans:
# sudo sh winetricks # sudo pacman -Syu zenity # sudo pacman -Syu p7zip # sudo sh winetricksAfter some fiddling, I got MySample to work again.
# mkfs.ext4 /dev/sda5 # mount /dev/sda5 /mnt # dhcpcd # pacstrap -i /mnt base base-devel # genfstab -U /mnt >> /mnt/etc/fstab # more /mnt/etc/fstab # vi /etc/locale.genI uncommented the line with en_US.UTF-8 UTF-8
# locale-gen # vi /etc/vconsole.confAdded the line LANG=en_US.UTF-8
# vi /etc/locale.confAdded the lines KEYMAP=nl-latin1 and FONT=lat9w-16
# rm /etc/localtime # ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime # hwclock --systohc --utc # mkinitcpio -p linux # pacman -Syu grub os-prober # grub-install --target=i386-pc /dev/sda # mkdir /mnt3 # mount /dev/sda3 /mnt3 # grub-mkconfig -o /boot/grub/grub.cfg # umount /mnt3 # rmdir /mnt3 # vi /etc/hostnameSet the hostname to FJF2
# passwd # exit # reboot # pacman -Syu iw wpa_supplicant dialog # exit # reboot # vi /etc/login.destTo verify that it contains line with: USERGROUPS_ENAB yes
# useradd -m frans # passwd frans # visudoUncommented line: %sudo ALL=(ALL) ALL
# groupadd sudo # usermod -aG sudo frans # exit
# pacman -S qemu-headless # mkdir minix # cd minix # mkdir /mnt/sda3 # mount /dev/sda3 /mnt/sda3 # cd /mnt/sda3/home/frans/minix # cp minix*.iso ~/minix # cd ~/minix # qemu-img create minix3.img 2G # qemu-system-x86_64 -boot d -hda "minix3.img" -cdrom minix*.iso -m 64 -localtimeAlthough CPU usage was high, not much happened.
# mkfs.ext /dev/sda5 # mount /dev/sda5 /mnt # pacstrap /mnt base base-devel # genfstab -U /mnt << /mnt/etc/fstab # arch-chroot /mnt # ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime ln # hwclock --systohc # locale-gen # vi /etc/locale.conf LANG=en_US.UTF-8 # vi /etc/vconsole.conf KEYMAP=ln-latin1 # vi /etc/hostname FJF2 # vi /etc/hosts 127.0.0.1 localhost ::1 localhost 127.0.1.1 FJF2.localdomain FJF2 # passwd # pacman -S grub as-prober intel-ucode iw wpa_supplicant dialog # grub-install target=i386-pc /dev/sda # mkdir /mntsda3 # mount /dev/sda5 /mntsda3 # grub-mkconfig -o /boot/grub/grub.cfg # exit # umount -R /mnt # reboot # fallocate -l 2G /swapfile # chmod 600 /swapfile # mkswap /swapfile # swapon /swapfile # vi /etc/fstab /swapfile none swap defaults 0 0 # vi /etc/login.dest # useradd -m frans # passwd frans # chmod +w /etc/sudoers # vi /etc/sudoers uncomment %sudo ALL=(ALL) ALL # chmod -w /etc/sudoers # groupadd sudo # usermod -aG sudo frans # pacman -S xorg-server xfce4 lightdm xf86-video-intel lightdm-gtk-greeterI still encountered the same problems, that after starting lightdm, displays a blank screen with a cursor, and the only thing I can do is a hard reset.