Jump to content

CryBaby

Members
  • Posts

    94
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

1918 profile views
  1. You are probably going to need a share name after the IP address smb://10.10.2.101/sharename Running smbclient from the command line will give you more feedback and allow you to search for shares.
  2. Normally your router will be responsible for translating the hostname to an IP address. So if it stops working you should look at your router's DHCP and DNS. Often both will be handled by dnsmasq. Rebooting your RockPro will renew its DHCP lease.
  3. I haven't seen modules like those before but I've used the typical 'terminal server' in a metal box. They work, the only caveat I would mention is that they can have old and non-standard web interfaces for configuration. Some of the cheaper ones I've used can only be accessed with Konqueror, not Firefox or other more common browsers. I don't know about VLANs.
  4. The last time I tried using my Cubieboard 2 I wanted to use SPI and had some trouble. This was 2 or 3 years ago. The main reason I gave up though was the 2mm pin spacing. Maybe you found a suitable cable. I would start by getting a current uboot on to it then watch it boot on the serial port. Inspect the default env, see what env file it is reading, check it is loading the overlays etc.
  5. I don't know how it works but in my experience it does. The Prolific page here says "Flexible signal level requirement on the RS-232 like serial port side also allows the PL-2303HX to connect directly to 5V, 3.3V, or 2.5V devices."
  6. I think the one you have will be fine. Just don't connect the red wire, even on boards which have 4 pins.
  7. If /boot is not already a separate partition I would think there is not much advantage in making it one. The main problem is machines that need a FAT formatted boot partition, as FAT is so fragile. I don't know if your Tinkerboard is one. If /boot is on an ext4 partition then fscking at boot is going to be adequate protection in most cases. If you really want to mess with your partitions I think you will have to understand the boot process of your Tinkerboard in some detail. Does boot have to be the first partition? What filesystems are acceptable? What files need to be in it and what should they contain?
  8. Yes, assuming /boot is a separate partition. I do this with my Raspberry Pis as I have very unreliable power. I also set them to check filesystems on boot by adding fsck.mode=force to the kernel command line. On OSMC that is in /boot/cmdline.txt, on armbian it might be in /boot/uBoot.env, on a grub machine in /etc/default/grub (then run update-grub).
  9. Edit /etc/fstab line for boot partition and add ro option: /dev/mmcblk0p1 /boot vfat defaults,noatime,noauto,x-systemd.automount,ro 0 0
  10. I wrote the script years ago but as far as I recall I made the regexp myself. I probably just made a list of all the video file extensions I had and then listed the letters in each position.
  11. #!/bin/bash TOP=/home/share/video/music if [ -n "$1" ]; then TOP=$1 fi OLDIFS=$IFS IFS=$'\n' find $TOP -name "*.[maowf][povgklm][gvim]" -print | shuf -n 100 > randomplaylist mpv -fs -vf=pp=de --playlist=randomplaylist rm randomplaylist IFS=$OLDIFS This will play 100 randomly selected files from /home/share/video/music and subdirectories or whatever directory you pass on the command line.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines