Go to advanced search

by thagrol
Thu Aug 05, 2021 12:11 pm
Forum: Troubleshooting
Topic: MPD/MPC not running.
Replies: 1
Views: 80

Re: MPD/MPC not running.

Paysan wrote:
Thu Aug 05, 2021 4:06 am
Can anyone help me please?
Not without more information. Start by posting the mpd log file and the mpd configuration file (use code tags).

Also:
  • What OS?
  • Full or lite?
  • How are you starting mpd?
by thagrol
Wed Aug 04, 2021 6:44 pm
Forum: Troubleshooting
Topic: Raspberry Pi OS killing Python process after around 5 minutes
Replies: 2
Views: 74

Re: Raspberry Pi OS killing Python process after around 5 minutes

Hello, I have a Raspberry Pi 4B (4GB) running Raspberry Pi OS (64-bit), and I've been using it as a headless Discord bot. For some reason, even while the process is still active and computing, the python3 process (even when ran as sudo with a nice value of -20) will end up getting killed by the sys...
by thagrol
Wed Aug 04, 2021 11:07 am
Forum: General discussion
Topic: Easily make any program run on system start-up
Replies: 18
Views: 653

Re: Easily make any program run on system start-up

I'm having trouble finding what exactly runs the files in /home/pi/.config/autostart/. Nothing in lightdm, lxsession, openbox or lxpanel man pages references this mechanism so it remains a mystery to me. It seems it could be useful but only if understand when and how it is triggered. AIUI it's proc...
by thagrol
Wed Aug 04, 2021 11:03 am
Forum: Troubleshooting
Topic: Mapping and mounting a network drive
Replies: 1
Views: 77

Re: Mapping and mounting a network drive

Undo whatever you have done then see here: viewtopic.php?f=91&t=302752&p=1815316#p1815316
by thagrol
Tue Aug 03, 2021 7:48 pm
Forum: General discussion
Topic: Samba without password not working anymore
Replies: 8
Views: 144

Re: Samba without password not working anymore

raspitin wrote:
Tue Aug 03, 2021 12:51 pm
Works now. I formatted the stick with NTFS and that did it. I dont know why.
Different default mount options. See man mount
by thagrol
Tue Aug 03, 2021 7:46 pm
Forum: General discussion
Topic: Samba without password not working anymore
Replies: 8
Views: 144

Re: Samba without password not working anymore

Sorry, I can not write any more to it. Reading works. I am not sure what you mean with how many clients. I am on a ssh shell. Neither the SAMBA nor directly on the shell I can write to the mount. It seems if I execute the mount on the command line it works. If I mount at startup in rc.local it is r...
by thagrol
Tue Aug 03, 2021 7:42 pm
Forum: General
Topic: Pico Sudoku Puzzle Generator
Replies: 8
Views: 259

Re: Pico Sudoku Puzzle Generator

Yes, you need a solver in the generator because not all Sudokus are solvable. You are living very dangerously if you give a Soduko fan an unsolvable Soduko :shock: Flashbacks to my time working for a mobile phone game developer. The US office wouldn't accept that their code gneerated puzzles that w...
by thagrol
Tue Aug 03, 2021 11:08 am
Forum: General discussion
Topic: Samba without password not working anymore
Replies: 8
Views: 144

Re: Samba without password not working anymore

In what way is it "not working"? From how many clients? What OS are the clients running? What changed on the clients? Regarding mounting, this may be of interest: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=302752&p=1815316#p1815316 The best source for docs on samba is ...
by thagrol
Mon Aug 02, 2021 10:21 pm
Forum: Troubleshooting
Topic: Hacking prevention?: Preparing for a possible security breech. Need advice? Please!
Replies: 22
Views: 831

Re: Hacking prevention?: Preparing for a possible security breech. Need advice? Please!

Best ask them, see what they say. I would but the OP hasn't provided contact details for their PC builder. So I actually have just talked to the pc builder and he walked through a from scratch coding of the rpi zero. I was just being paranoid about it, but also still learning this whole pi thing. T...
by thagrol
Mon Aug 02, 2021 6:38 pm
Forum: Beginners
Topic: Minimal install for pi but with internet browser
Replies: 6
Views: 216

Re: Minimal install for pi but with internet browser

How basic a browser? For a really minimal system use RPiOS lite and lynx. That'll get you a console boot and browser but most of the modern web won't be viewable. Assuming that's too basic, @kerry_s suggestion is one way but is not suitable for all use cases (particularly where you have multiple use...
by thagrol
Mon Aug 02, 2021 6:26 pm
Forum: Networking and servers
Topic: Samba shared to window 10
Replies: 22
Views: 765

Re: Samba shared to window 10

I've no experience of configuring samba in an AD environment so all I can do is suggest, again, that you delete the samba user and try guest access. That and refer you to thye doccs at https://www.samba.org/ A) I have lots of experience of Samba in AD I know you do. B) where do you think the data i...
by thagrol
Mon Aug 02, 2021 10:42 am
Forum: Networking and servers
Topic: Samba shared to window 10
Replies: 22
Views: 765

Re: Samba shared to window 10

I did not do the test writen about about (other the removing the extra public line and changing unix sync to no). That wasn't suggested as a test but rather as a permanent change. I had the idea to test from a different Windows 10 client. I can connect both by IP and Pi server name with out issues ...
by thagrol
Sun Aug 01, 2021 6:51 pm
Forum: General discussion
Topic: Cron sechduling to play music using mpg123 issue
Replies: 8
Views: 204

Re: Cron sechduling to play music using mpg123 issue

Which OS? Booting to desktop or command line? When it works interactively, was that via a local login or over ssh/vnc? To the desktop or command line? If you're running RPiOS with desktop it might be pulse audio related. AIUI, pulse only starts on login and is a per user/session process. Could be a...
by thagrol
Sun Aug 01, 2021 6:40 pm
Forum: Troubleshooting
Topic: SSD system disk errors - system crash
Replies: 3
Views: 148

Re: SSD system disk errors - system crash

EDIT: I just looked through the boot messages you posted and yes, you definitely have a JMicron adapter. If you connect it to a USB2 port it'll be slower but the errors should disappear. Or see here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931 Won't be as fast as UAS but will...
by thagrol
Sun Aug 01, 2021 11:36 am
Forum: Advanced users
Topic: Home server security
Replies: 6
Views: 282

Re: Home server security

The question is what can I do to make things more secure?else? The very first thing is to take it out of your router's DMZ and only forward the ports you need on your router. The next thing I'd do is reflash the SD card as it may already be compromised. Change the default password or disable passwo...
by thagrol
Sat Jul 31, 2021 8:09 pm
Forum: Other projects
Topic: PI-CI: prepare a Raspberry Pi image using a VM
Replies: 3
Views: 319

Re: PI-CI: prepare a Raspberry Pi image using a VM

Couple of questions: What hardware and OS do I need to run this? I couldn't quite work it out from the README. [*"64 bit (ARMv8) Raspbian OS included": Is that Raspbian or Raspberry Pi OS (they're no longer the same thing)? Lite, desktop, or desktop with recommended software? Is it wise to...
by thagrol
Sat Jul 31, 2021 8:00 pm
Forum: General discussion
Topic: Easily make any program run on system start-up
Replies: 18
Views: 653

Re: Easily make any program run on system start-up

Sadly, adding yet another autostart method, however user friendly and well designed just adds to the confusion. It doesn't appear to be adding a new method. It's a poorly described tool to create and manage minimal .desktop files for the existing autostart directory. And, in a forum that is used by...
by thagrol
Sat Jul 31, 2021 6:21 pm
Forum: General discussion
Topic: Easily make any program run on system start-up
Replies: 18
Views: 653

Re: Easily make any program run on system start-up

jbudd wrote:
Sat Jul 31, 2021 5:41 pm
Sadly, adding yet another autostart method, however user friendly and well designed just adds to the confusion.
It doesn't appear to be adding a new method. It's a poorly described tool to create and manage minimal .desktop files for the existing autostart directory.
by thagrol
Sat Jul 31, 2021 3:45 pm
Forum: General discussion
Topic: Easily make any program run on system start-up
Replies: 18
Views: 653

Re: Easily make any program run on system start-up

That's not on system start up. That's on desktop login. And if you login to the desktop twice (e.g. locally and a new session over X or VNC) everything will get started twice. It'll probably help with one autostart method but by no means with "any program". You know where to look for more...
by thagrol
Sat Jul 31, 2021 2:22 pm
Forum: General discussion
Topic: BBC on Raspberry Pi security
Replies: 8
Views: 448

Re: BBC on Raspberry Pi security

From the article: However, Ken Munro says the Wallbox charger uses hardware - a Raspberry Pi module - that isn't secure enough. "There's really nothing you can do to make it completely secure, so unless Wallbox have found a way of fixing that - which would be beyond me - I'd suggest perhaps sup...
by thagrol
Sat Jul 31, 2021 2:19 pm
Forum: General discussion
Topic: Easily make any program run on system start-up
Replies: 18
Views: 653

Re: Easily make any program run on system start-up

That's not on system start up. That's on desktop login. And if you login to the desktop twice (e.g. locally and a new session over X or VNC) everything will get started twice. It'll probably help with one autostart method but by no means with "any program". You know where to look for more ...
by thagrol
Sat Jul 31, 2021 11:08 am
Forum: Networking and servers
Topic: Samba shared to window 10
Replies: 22
Views: 765

Re: Samba shared to window 10

Did you reboot your windows box between trying by name and by IP? If not windows will have remembered the credentials used last time and not prompted for them. When you first ran smbpasswd -a did you do so as root or as your normal user? Check every directory in the path to camshare has at least r-x...
by thagrol
Fri Jul 30, 2021 1:23 pm
Forum: Networking and servers
Topic: What Is "Partition Table Type" in GParted?
Replies: 4
Views: 213

Re: What Is "Partition Table Type" in GParted?

As for the partition name and label options are they similar in function as when I format a blank drive in Windows 10? So for this operation which option is closest to "Volume Label" in Windows 10? Do I need to fill out the "Label" field? Label is optional and yes. Please read t...
by thagrol
Fri Jul 30, 2021 12:37 pm
Forum: Troubleshooting
Topic: Hacking prevention?: Preparing for a possible security breech. Need advice? Please!
Replies: 22
Views: 831

Re: Hacking prevention?: Preparing for a possible security breech. Need advice? Please!

Hacking prevention: 1. no network connection, and 2. encase PC in 5meter x 5meter x 5meter solid bakelite 3. then additional 2meter x 2meter x 2meter solid cement coating), and 4. then additional 2meter x 2meter x 2meter solid lead coating... 5. you may want to add several sheets of 100mm thick tun...

Go to advanced search