Go to advanced search

by thagrol
Mon Jun 04, 2018 4:07 pm
Forum: Beginners
Topic: Auto-mounting multiple drives
Replies: 7
Views: 1455

Re: Auto-mounting multiple drives

Ok, I've come back to this as I've switched back to stretch-lite. I can install support for HFS, and NTFS, install pmount then run; sudo pmount /dev/sda1 That will mount the partition, but I have a few issues that shouldn't be too difficult to solve. 1) Is mounting partitions automatically at boot ...
by thagrol
Mon Jun 04, 2018 12:02 pm
Forum: Gaming
Topic: Raspberry Pi Zero W as a Wireless Controller
Replies: 1
Views: 722

Re: Raspberry Pi Zero W as a Wireless Controller

This isn't a complete answer but should point you on your way.

Bluetooth has a HID profile (HID=Human Interface Device) for keyboard, mouse, game controller, etc. You probably need to investigate that.
by thagrol
Mon Jun 04, 2018 11:59 am
Forum: General discussion
Topic: Alexa keeps turning off my Pi. Need Wake On Lan
Replies: 18
Views: 1962

Re: Alexa keeps turning off my Pi. Need Wake On Lan

If I could find out which pin was powered up during system ON, and changes state after system shutdown I might be able to install something as simple as a micro relay so that, as soon as it changes state, the relay gets triggered, and shorts GPIO3 to ground, and, hopefully, it reboots, the pin chan...
by thagrol
Mon Jun 04, 2018 11:40 am
Forum: General discussion
Topic: Alexa keeps turning off my Pi. Need Wake On Lan
Replies: 18
Views: 1962

Re: Alexa keeps turning off my Pi. Need Wake On Lan

What's a Pi modle? ; A typo. But seriously we are saying the same thing, shorting the run header accomplishes the same thing as cycling the power. Which would solve his problem, My solution cost $12USD and since the Pi has to be plugged into something anyway, why not a switched outlet that he could...
by thagrol
Sun Jun 03, 2018 1:39 pm
Forum: General discussion
Topic: Alexa keeps turning off my Pi. Need Wake On Lan
Replies: 18
Views: 1962

Re: Alexa keeps turning off my Pi. Need Wake On Lan

default_user8 wrote:
Sun Jun 03, 2018 4:33 am
which is the only way to get the Pi back online once the OS is shutdown anyway.
Not true. Many Pi modles have a "run" header (which may not be populated) shorting that will reboot the pi. I read somewhere that pulling GPIO 3 to ground has the same effect.
by thagrol
Thu May 31, 2018 12:33 pm
Forum: Advanced users
Topic: Shutdown indicator?
Replies: 4
Views: 711

Re: Shutdown indicator?

Have a look at the gpio_poweroff devicetree overlay.
by thagrol
Tue May 29, 2018 6:19 pm
Forum: General programming discussion
Topic: .sh at startup (Solved)
Replies: 7
Views: 3166

Re: .sh at startup (partially closed)

Th more I search, the more complicated it seems. It is only a question of executing a script somewhere in the process of closing the RPI in order to interrupt the current in a pine of the GPIO because the leds remain lit after the closing of the RPI Any leads? If all you need to do is switch a pin ...
by thagrol
Tue May 29, 2018 6:00 pm
Forum: Beginners
Topic: Problems with network share when updating system
Replies: 2
Views: 259

Re: Problems with network share when updating system

I am trying to get NFS to work, but struggling to get the correct syntax. The following is the closest I can get, but I get an "access denied by server" error, suggesting it is not far off, but permissions are not quite right. sudo mount -t nfs 192.168.1.4:/RaspberryPi /media/backup Is the machine ...
by thagrol
Tue May 29, 2018 5:48 pm
Forum: Beginners
Topic: Auto-mounting multiple drives
Replies: 7
Views: 1455

Re: Auto-mounting multiple drives

usbmount has been recommended several time on thes forums.
by thagrol
Tue May 29, 2018 5:44 pm
Forum: Beginners
Topic: sharing files from windows 10 to Pi
Replies: 9
Views: 9198

Re: sharing files from windows 10 to Pi

stewmac570 wrote:
Tue May 29, 2018 11:56 am
now my next issue is that i use a company PC on a domain.
You should probably talk to whoever maintains your company network/domain before doing too much more. The last thing you want to do is break the company network.
by thagrol
Thu May 24, 2018 12:54 pm
Forum: General programming discussion
Topic: .sh at startup (Solved)
Replies: 7
Views: 3166

Re: .sh at startup

Is there another way to make the leds light up at startup?? /home/pi/.config/lxsession/LXDE-pi/autostart does run at start up. It runs when the pi user logs in to the GUI desktop. WIth no user logged in it won't run. With the pi user logged into to more than one desktop (console and vnc) it'll run ...
by thagrol
Thu May 24, 2018 12:24 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 2127

Re: Mounting SMB/Plex

Mozart321 wrote:
Wed May 23, 2018 10:18 pm
Sorry one more thing does anybody know how to run
sudo mount -a
autmatically when boooting as every time I restart I have to do it manualy.
Thanks
You shouldn't need to. That gets done automatically during boot.

If you want to run it anyway add it to /etc/rc.local (above "exit 0")
by thagrol
Tue May 22, 2018 9:18 pm
Forum: Troubleshooting
Topic: How to run command at boot(raspbian NOOBS)
Replies: 4
Views: 602

Re: How to run command at boot(raspbian NOOBS)

cron and local dont work i tried that aldready. I will try rest and get back to you They should. Post what you've tried adding to both and any errors you're seeing. If it's a script you've written post that too if possible (use code tags) You can capture any output and errors like this: some-comman...
by thagrol
Tue May 22, 2018 12:23 pm
Forum: General discussion
Topic: Would USB-C type monitor work with Raspberry Pi 3?
Replies: 7
Views: 6137

Re: Would USB-C type monitor work with Raspberry Pi 3?

Judging by the spec if you can convert from hdmi to displayport then from display port to USB C it may work. However there is no linux driver available so you'll likely have problems or reduced functionality. You can't use the windows or MacOS drivers as they're for both a different OS and a differe...
by thagrol
Tue May 22, 2018 11:54 am
Forum: Troubleshooting
Topic: Gpio pin 3 turning pi off pi3
Replies: 1
Views: 316

Re: Gpio pin 3 turning pi off pi3

Pin 3 or pin 5? And which numbering system are you using?

Pin number maps to different things depending on whether you're using the phsyical pn number, the BCM pin number, wiringpi, or something else.
by thagrol
Tue May 22, 2018 11:50 am
Forum: Troubleshooting
Topic: How to run command at boot(raspbian NOOBS)
Replies: 4
Views: 602

Re: How to run command at boot(raspbian NOOBS)

Three ways come to mind: cron, /etc/rc.local, and systemd

Plus .profile and .bashrc if you want your program started on every login rather than on boot.

Seach the forums or google for more info.

None of thew above will run with the noobs frontend but will run when raspbian is started.
by thagrol
Mon May 21, 2018 8:51 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 2127

Re: Mounting SMB/Plex

@Roken: Tabs or spaces shouldn't matter. Though things could get confused if there are spaces in any of the paths.
by thagrol
Mon May 21, 2018 8:48 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 2127

Re: Mounting SMB/Plex

Hi Thanks again for the really detailed reply. I don't need a password as you said as I've ticked anonymous access in the router set up. When I use //192.168.0.202/volume(sda1) /media/share1 cifs _netdev,username=pi,guest,uid=pi,gid=pi 0 0 and then sudo mount -a I get the following: mount error(112...
by thagrol
Mon May 21, 2018 7:40 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 2127

Re: Mounting SMB/Plex

//192.168.0.202/volume\(sda1\) /media/share1 cifs _netdev,guest,uid=pi,guid=pi 0 0 I really don't know why it doesn't work :((( Probably because you're not specifying a username/password and, I suspect, you misunderstand what the "guest" mount option does. From "man mount.cifs": guest don't prompt ...
by thagrol
Sun May 20, 2018 4:37 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 2127

Re: Mounting SMB/Plex

Add something like this to /etc/fstab and reboot: //192.168.0.202/volume(sda1) /mount_point cifs _netdev,username=user,password=password,uid=pi,guid=pi 0 0 Change "mount_point", "user", "password", and "pi" as needed for your configuration. You'll need root privilages to edit /etc/fstab, and back it...
by thagrol
Thu May 17, 2018 10:52 am
Forum: Media centres
Topic: Plex unable to see folders on USB drive
Replies: 1
Views: 2407

Re: Plex unable to see folders on USB drive

Could be a mount issue. From your mount point (/media/pi/MyPassport) it looks like you're relying on the desktop automount tool to mount the drive. That only happens when a user is logged in to the gui. With no user logged in the mount won't happen. With a different user logged in the drive will mou...
by thagrol
Wed May 16, 2018 4:44 pm
Forum: Troubleshooting
Topic: autorun starts 2nd time when Rasbian Terminal opened
Replies: 18
Views: 1492

Re: autorun starts 2nd time when Rasbian Terminal opened

I find your experiences and observations interesting. Strange... But interesting. I find yours mis-informed and/or trolling. None of the dozen plus linux boxes I have here automatically login in as any user on any device. All were installed with the default login settings. That box count includes s...
by thagrol
Tue May 15, 2018 12:41 pm
Forum: Troubleshooting
Topic: autorun starts 2nd time when Rasbian Terminal opened
Replies: 18
Views: 1492

Re: autorun starts 2nd time when Rasbian Terminal opened

most Raspbian distros automatically log in as user pi on tty1 as part of the boot/startup code No. At least not that I've seen. That only happens when explicty configured to do so not out of the box. The misunderstanding is far more likely to have been caused by people moving from windows (essentia...
by thagrol
Mon May 14, 2018 4:43 pm
Forum: Troubleshooting
Topic: autorun starts 2nd time when Rasbian Terminal opened
Replies: 18
Views: 1492

Re: autorun starts 2nd time when Rasbian Terminal opened

Newbie here. I've got a RasPi Zero W running Rasbian GNU/Linus 9 with LXPanel 0.9.3. I used the following to auto-start a commonly known file, sample.py. sudo nano /home/pi/.bashrc Go to the last line of the script and add: echo Running at boot sudo python /home/pi/sample.py When I power the Pi, it...

Go to advanced search