Go to advanced search

by thagrol
Sun Jun 07, 2020 12:42 pm
Forum: Troubleshooting
Topic: Mounting NAS working on pi 3, but not pi 4
Replies: 4
Views: 200

Re: Mounting NAS working on pi 3, but not pi 4

@LTolledo
Nope. According to the nfs documentation the ":" is required.

@md1989
What error(s) are you getting when atetmtping the mount?

Is the static IP you set on the 4B or the NAS? Either way check the network config on the relevant device.
by thagrol
Sun Jun 07, 2020 12:28 pm
Forum: General discussion
Topic: USB drive does not stay mounted..
Replies: 15
Views: 613

Re: USB drive does not keep mounted..

I'm a little confused. Is the HDD connected to the zeroW or to the Windows PC? How are you mounting it? What's in /etc/fstab on the zeroW? If the HDD is connected to the WIndows PC, it's likely network related. Or, and this should be obvious, the Windos PC may be going into sleep/hibernate/power off.
by thagrol
Sun Jun 07, 2020 12:22 pm
Forum: Troubleshooting
Topic: RPi4 won't connect to wifi
Replies: 5
Views: 270

Re: RPi4 won't connect to wifi

Try rebooting the router.

I've encountered routers that work fine with existing clients, show in the list of SSIDs, and appear to go through the connection process but always fail to authenticate new clients. A reboot fixed that.
by thagrol
Sat Jun 06, 2020 7:55 pm
Forum: Beginners
Topic: Can add network drive via smb but cannot mount it
Replies: 3
Views: 156

Re: Can add network drive via smb but cannot mount it

Do you know why using the name appears to work for some or what would cause it not to work in some cases? I'll leave it as IP since my IP is static on my router, but I'm just curious. Problem with your DHCP or DNS setup at a guess. Or the mount occuring too soon (Pi has IP address but not yet confi...
by thagrol
Sat Jun 06, 2020 4:46 pm
Forum: Beginners
Topic: Can add network drive via smb but cannot mount it
Replies: 3
Views: 156

Re: Can add network drive via smb but cannot mount it

Start by reading the documentation for mount.cifs and fstab: man mount.cifs man fstab On those suggested mount options: "users" allows any user, including non-root users, to mount and unmount the device even if a different user mounted it. You probably don't want this. "auto" means try to mount duri...
by thagrol
Sat Jun 06, 2020 4:23 pm
Forum: Beginners
Topic: When someone says they are running the PI 4 "Headless".......
Replies: 7
Views: 392

Re: When someone says they are running the PI 4 "Headless".......

PeterO wrote:
Sat Jun 06, 2020 12:52 pm
Headless means with no monitors plugged into the Pi board itself, and all access is via ethernet or wireless networks.
Or serial butt that's likely a minority case.
by thagrol
Sat Jun 06, 2020 2:13 pm
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 861

Re: why isn't USB-C networking enabled by default?

It's clear from the kernel mailing lists, that the legacy gadget mode is going away in the long term. So relying on things like g_ether is a bad idea and I wouldn't encourage anyone to use it anymore. Otherwise, all those lovely tutorials available about how to set this up will soon be broken by th...
by thagrol
Sat Jun 06, 2020 12:25 pm
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 861

Re: why isn't USB-C networking enabled by default?

Again, that doesn't describe setting up networking through the USB-C port, just how to enable the dwc2 driver. I believe g_ether is also no longer the 'right way' to enable an ethernet device on this port it should be done through configfs, which is more complex, I was wondering whether the OP was ...
by thagrol
Fri Jun 05, 2020 9:40 pm
Forum: Beginners
Topic: 1.5A power for Pi 1 B+ NAS setup
Replies: 11
Views: 361

Re: 1.5A power for Pi 1 B+ NAS setup

How are you off for physical space? I you have an old desktop/tower/min-itx PC case with PSU you could mount them all in that and run them from the PC PSU. Starting an ATX PSU is trivial: connect the green wire on the 20/24 pin ATX connector to ground (black). Plenty of amps on the 5v lines plus 12v...
by thagrol
Fri Jun 05, 2020 3:02 pm
Forum: Beginners
Topic: 1.5A power for Pi 1 B+ NAS setup
Replies: 11
Views: 361

Re: 1.5A power for Pi 1 B+ NAS setup

The 1B+ USB output is switchable to 1.2A, at least according to this: https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md I'm well aware of that, however you weren't asking about a 1B+. You were asking about a 1B. They are significantly different things. Edit. Sorry may b...
by thagrol
Fri Jun 05, 2020 1:09 pm
Forum: General discussion
Topic: RTC when gpio pins 1-10 occupied?
Replies: 2
Views: 138

Re: RTC when gpio pins 1-10 occupied?

The 4B has multiple I2C buses. See /boot/overlays/README for how to enable them. There are also numerous products available to provide multiple parallel sets of GPIO headers on one Pi. Lastly, judging by the website for the RaZberry there is an unpopulated set of pins next to the GPIO connector. If ...
by thagrol
Fri Jun 05, 2020 1:03 pm
Forum: Beginners
Topic: 1.5A power for Pi 1 B+ NAS setup
Replies: 11
Views: 361

Re: 1.5A power for Pi 1 B+ NAS setup

If you refer back to your other thread, you'll realise that an early 1B won't be able to power that dirve when idle, let alone when writing or spinning up. A later 1B can provide 600mA. Enough for it to idle but not enough for anything else. A powered USB hub or some otherway to inject power to the ...
by thagrol
Fri Jun 05, 2020 12:48 pm
Forum: Advanced users
Topic: What file is responsible for the 'pi@raspberrypi'?
Replies: 6
Views: 468

Re: What file is responsible for the 'pi@raspberrypi'?

Assuming what you actualy want to know is what file sets the prompt to user@hostname the answer is: probably /etc/profile Oh, I should have considered that. :roll: Vdesktop mounts a customized version of /etc/profile to start the X session. Looks like time for a redesign. :roll: Another question: c...
by thagrol
Fri Jun 05, 2020 12:45 pm
Forum: General discussion
Topic: Pi Zero GPIO Reverser
Replies: 14
Views: 769

Re: Pi Zero GPIO Reverser

davidcoton wrote:
Thu Jun 04, 2020 10:53 pm
thagrol wrote:
Thu Jun 04, 2020 10:32 pm
Then roll your own osftware.
Is that software with the ubgs left in? :lol:
Yep.
by thagrol
Fri Jun 05, 2020 12:44 pm
Forum: Advanced users
Topic: Driving a pin low when the Pi is halted
Replies: 6
Views: 408

Re: Driving a pin low when the Pi is halted

By the time the kernel panics the OS has been effectively shutdown so no damage and/or corruption will occur. The bigger downside of gpio-poweroff is that you can no longer wake the Pi via GPIO 3 you have to use the run pin instead (or, maybe, global-en on a 4B). Have you tried any of the software P...
by thagrol
Thu Jun 04, 2020 10:51 pm
Forum: Advanced users
Topic: Driving a pin low when the Pi is halted
Replies: 6
Views: 408

Re: Driving a pin low when the Pi is halted

The gpio-poweroff overlay? See /boot/overlays/README
by thagrol
Thu Jun 04, 2020 10:50 pm
Forum: Advanced users
Topic: What file is responsible for the 'pi@raspberrypi'?
Replies: 6
Views: 468

Re: What file is responsible for the 'pi@raspberrypi'?

Assuming what you actualy want to know is what file sets the prompt to user@hostname the answer is: probably /etc/profile However that may not be the question and answer you need. At log in a number of scripts are run all of which call other commands. Any of which could be the problem. Have a look a...
by thagrol
Thu Jun 04, 2020 10:32 pm
Forum: General discussion
Topic: Pi Zero GPIO Reverser
Replies: 14
Views: 769

Re: Pi Zero GPIO Reverser

Judging by the docs (http://rc2014.co.uk/1377/module-template/) it should be trival to add a zero into the mix. Build the base system inculding the serial module. Hook a zero to the +5v, Ground, TX and RX pins with suitable level convertion as it's a 5v bus. Then roll your own osftware. Or just buy ...
by thagrol
Thu Jun 04, 2020 2:57 pm
Forum: Troubleshooting
Topic: pi4 some time bootes up and some time doesn't
Replies: 2
Views: 164

Re: pi4 some time bootes up and some time doesn't

I purchased new pi4 4gb and installed raspbian . I have tried all trouble shooting steps like changing power supply and sd cards installing os by different mediums. It works one time and when i normally shut it down and again turn it on it will again not boot up, so after connecting and disconnecti...
by thagrol
Thu Jun 04, 2020 2:47 pm
Forum: Automation, sensing and robotics
Topic: Servo motors glitching
Replies: 6
Views: 313

Re: Servo motors glitching

Did you remember to connect all three grounds together? The Pi's, the servo's, and the battery pack's.
by thagrol
Thu Jun 04, 2020 2:39 pm
Forum: Networking and servers
Topic: Native SATA vs. SATA via USB
Replies: 3
Views: 305

Re: Native SATA vs. SATA via USB

2.b) Does it matter? It might. It depends on how you decide to mount your partitions. With USB, device nodes (/dev/sda etc) are not guaranteed to remaan the same across boots. Which device gets which ID depends on a number of factors including which physical port the OS probes first and how quickly...
by thagrol
Thu Jun 04, 2020 12:21 pm
Forum: Advanced users
Topic: Off grid file transfer
Replies: 7
Views: 449

Re: Off grid file transfer

I didn't read the OP's post as the USB storage being set in stone That, I guess, is where we differ. If I were designing an off grid (presumably in a remote location) system with an unreliable power supply I'd want my OS and data storage on different physical devices. With the OS operating with boo...
by thagrol
Thu Jun 04, 2020 12:06 pm
Forum: Raspberry Pi OS
Topic: Is /tmp strictly in RAM or does it physically write to the disk (SD card)?
Replies: 7
Views: 499

Re: Is /tmp strictly in RAM or does it physically write to the disk (SD card)?

andrum99 wrote:
Thu Jun 04, 2020 11:48 am
By default on Linux, /tmp is on swap.
I suspect that varies by distribution.

On the stock raspbian buster installs I have here /tmp is nothing more than a directory on the root partition.
by thagrol
Thu Jun 04, 2020 11:52 am
Forum: Networking and servers
Topic: RPi as switch
Replies: 5
Views: 378

Re: RPi as switch

You can't bridge WiFi and ethernet like that on a Pi unless the Pi is acting as a WiFi access point which it can't if it's using its WiFi to connect to your router. google disagree https://willhaley.com/blog/raspberry-pi-wifi-ethernet-bridge/ (or did i missunderstand something?) Probably. Or the au...
by thagrol
Wed Jun 03, 2020 10:26 pm
Forum: Networking and servers
Topic: RPi as switch
Replies: 5
Views: 378

Re: RPi as switch

You can't bridge WiFi and ethernet like that on a Pi unless the Pi is acting as a WiFi access point which it can't if it's using its WiFi to connect to your router. You can use a routed setup but that's more complex. In brief (these aren't instructions) your Pi has to act in the same manner to whate...

Go to advanced search