Go to advanced search

by TommyG007
Wed Sep 02, 2020 10:09 pm
Forum: Networking and servers
Topic: Enforcing Pihole usage
Replies: 4
Views: 347

Re: Enforcing Pihole usage

The way I've always set mine up (the easy way IMO) is to completely disable DNS and DHCP on the router, then enable DNS and DHCP on the Pi-Hole. (My router won't allow setting custom DNS servers, but it does allow disabling the DNS service entirely). That way, all network devices (after a reboot) au...
by TommyG007
Mon Aug 24, 2020 2:36 pm
Forum: Troubleshooting
Topic: In need of a long power source for Pi4
Replies: 6
Views: 292

Re: In need of a long power source for Pi4

The voltage drop over 25' at 5V 3A would be about 1V depending on cable quality and thickness. If it were me, I'd find the American equivalent of this sort of mains cable with a weatherproof socket box on the end of it: https://www.amazon.co.uk/Lengths-Weatherproof-Outdoor-Extension-Orange/dp/B07B5T...
by TommyG007
Sun Aug 23, 2020 12:38 pm
Forum: Beginners
Topic: WireGuard VPN: Connected but NO INTERNET
Replies: 5
Views: 3599

Re: WireGuard VPN: Connected but NO INTERNET

In all the configuration files I've seen, the Peer Allowed IPs are one up from the Interface address in the last octet. In your client config file, try the below. [Interface] PrivateKey = Hidden Address = 10.6.0.2/24 DNS = 8.8.8.8 [Peer] PublicKey = Hidden PresharedKey = Hidden Endpoint = url:51820 ...
by TommyG007
Fri Aug 21, 2020 10:55 pm
Forum: Beginners
Topic: Pi 3 - NAS or Cloud Server?
Replies: 2
Views: 203

Re: Pi 3 - NAS or Cloud Server?

If it were me, I'd install OpenMediaVault on the Pi. Which will turn it into a dedicated NAS and would be perfect for what you want to achieve.

https://github.com/OpenMediaVault-Plugi ... 20R-PI.pdf

https://www.youtube.com/watch?v=4aBbrdrurYw
by TommyG007
Fri Aug 21, 2020 5:38 pm
Forum: Java
Topic: Java 8 for the 64bit Raspberry OS
Replies: 12
Views: 1778

Re: Java 8 for the 64bit Raspberry OS

Have you had a look here? https://wiki.debian.org/Java And to uninstall... From here: https://stackoverflow.com/questions/23959615/how-to-remove-default-jre-java-installation-from-ubuntu/23959640 To completely remove jdk from your system, follow these below steps: Type sudo apt-get autoremove defaul...
by TommyG007
Fri Aug 21, 2020 4:08 pm
Forum: Networking and servers
Topic: Setting eth0 link speed etc
Replies: 2
Views: 235

Re: Setting eth0 link speed etc

1) Take a look at the ethtool here: https://www.thegeekstuff.com/2010/10/ethtool-command/ It allows you to manually set the link speed. 2) Have you checked how many individual wires are inside the ethernet cable itself? It should be 8 for full gigabit speeds. It's quite common to see cables with onl...
by TommyG007
Fri Aug 21, 2020 1:26 pm
Forum: General discussion
Topic: File transfer dramas on Pi4 / Buster
Replies: 8
Views: 579

Re: File transfer dramas on Pi4 / Buster

Just wondering what the USB hub's power supply rating is? as each of those portable drives will draw about 0.5 amps, even more when spinning up and randomly seeking. So if you've got 6 of them attached at once, they'll likely pull 3-4 amps in total.
by TommyG007
Mon Aug 17, 2020 9:21 pm
Forum: Networking and servers
Topic: Mounting a network drive on pi 4 for a Plex Media Server
Replies: 8
Views: 1503

Re: Mounting a network drive on pi 4 for a Plex Media Server

To do it "officially" you should use systemd. The advantage to using systemd is that you will have proper mount/dismount capability on startup and shutdown, and systemd will manage it for you. You won't notice any difference over the way you are doing it now, except when things go wrong a...
by TommyG007
Mon Aug 17, 2020 9:08 pm
Forum: Networking and servers
Topic: Pi-Hole
Replies: 10
Views: 658

Re: Pi-Hole

however, if you're thinking of blocking ads on your mobile phone's youtube, you might get disappointed. Depends on your router. If you can set your router to route all DNS requests through PiHole, then it works on all devices connected to that network. NB. ISP routers probably won't let you do this...
by TommyG007
Sat Aug 15, 2020 11:48 pm
Forum: Beginners
Topic: Networ-Question
Replies: 4
Views: 178

Re: Networ-Question

They're most likely ACKs (keepalive) packets, one way you can be absolutely sure is to fire up Wireshark in Kali and monitor the packets on the wlan0 interface.

https://osqa-ask.wireshark.org/question ... yn-packets
by TommyG007
Sat Aug 15, 2020 3:03 pm
Forum: Networking and servers
Topic: Pi-Hole
Replies: 10
Views: 658

Re: Pi-Hole

I've used Pi-Hole at home for over two years and I couldn't be without it now. I've only got a relatively modest 120k domains on my blocklist, but even with that much, the stats show it regularly blocks over 40% of traffic. (Which just goes to show how many trackers and ads there are out there). Als...
by TommyG007
Fri Aug 14, 2020 9:39 pm
Forum: General discussion
Topic: save RPi Micro SD to a image
Replies: 13
Views: 620

Re: save RPi Micro SD to a image

I just published a step-by-step on how to do this: https://www.tomshardware.com/how-to/back-up-raspberry-pi-as-disk-image Yours is a guide on using PiShrink (great guide btw). We're talking about using the modified version of PiClone which a user has created over on this thread: https://www.raspber...
by TommyG007
Fri Aug 14, 2020 9:18 pm
Forum: General discussion
Topic: save RPi Micro SD to a image
Replies: 13
Views: 620

Re: save RPi Micro SD to a image

yeah, I just figured that out. I need format USB to NTFS format. it take loooong time to generate image. and the generated image is bigger than I expected. for example pi@phoenix-pi-noc:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 29G 5.4G 23G 20% / /dev/mmcblk0p1 253M 55M 198M 22...
by TommyG007
Fri Aug 14, 2020 2:14 pm
Forum: General discussion
Topic: save RPi Micro SD to a image
Replies: 13
Views: 620

Re: save RPi Micro SD to a image

I tried imgclone. failed. see below. pi@raspberrypi:/media/pi/x $ sudo imgclone -d xxx.img ---- Raspberry Pi clone to image V1.2 --- ----------------------------------------------- ---- DO NOT CHANGE FILES ON YOUR SD CARD --- ---- WHILE THE BACKUP PROGRAM IS RUNNING --- ---- THE DESTINATION .IMG FI...
by TommyG007
Wed Aug 12, 2020 10:49 pm
Forum: Beginners
Topic: Connecting to Raspberry Pi OS Lite (without desktop) via SSH
Replies: 2
Views: 994

Re: Connecting to Raspberry Pi OS Lite (without desktop) via SSH

The below is an excerpt from here: https://linuxize.com/post/how-to-enable-ssh-on-raspberry-pi/ Enabling SSH on Raspberry Pi Without a Screen If you don’t have a spare HDMI display or keyboard available to hook up the Raspberry Pi you can easily enable SSH by placing an empty file named ssh ( withou...
by TommyG007
Wed Aug 12, 2020 7:21 pm
Forum: General discussion
Topic: save RPi Micro SD to a image
Replies: 13
Views: 620

Re: save RPi Micro SD to a image

The image files it creates are far smaller than the SD card, for me, it creates 8GB images. It doesn't matter what size SD card is in the Pi at the time.
by TommyG007
Wed Aug 12, 2020 6:11 pm
Forum: General discussion
Topic: save RPi Micro SD to a image
Replies: 13
Views: 620

Re: save RPi Micro SD to a image

Take a look at this thread, a user has modified the piclone program so it can create and save a .img file anywhere: viewtopic.php?f=63&t=281190&p=1710151#p1710151
by TommyG007
Wed Aug 12, 2020 5:47 pm
Forum: Troubleshooting
Topic: Raspberry Pi Failing Everytime Power is Lost and on Reboots
Replies: 17
Views: 590

Re: Raspberry Pi Failing Everytime Power is Lost and on Reboots

I bought this X728 UPS for my Pi4 from Geekworm a few weeks ago and it works perfectly: https://geekworm.com/products/raspberry-pi-x728-max-5-1v-8a-18650-ups-power-management-board?_pos=13&_sid=261f1c64c&_ss=r The instructions on how to install the X728 scripts are here: https://geekworm.com...
by TommyG007
Tue Aug 11, 2020 4:09 pm
Forum: Beginners
Topic: Updating a small fleet of Raspberry Pi Zero Ws
Replies: 5
Views: 303

Re: Updating a small fleet of Raspberry Pi Zero Ws

Just discovered that there's also a handy article on The MagPi site showing how to install remote.it on a Pi: https://magpi.raspberrypi.org/articles/ ... i-securely
by TommyG007
Mon Aug 10, 2020 7:52 pm
Forum: General discussion
Topic: Collections
Replies: 15
Views: 610

Re: Collections

Also keep in mind such things as data rot https://en.wikipedia.org/wiki/Data_degradation and disc rot https://en.wikipedia.org/wiki/Disc_rot In storage Data degradation results from the gradual decay of storage media over the course of years or longer. Causes vary by medium: Solid-state media , such...
by TommyG007
Mon Aug 10, 2020 7:13 pm
Forum: Troubleshooting
Topic: Raspberry Pi Failing Everytime Power is Lost and on Reboots
Replies: 17
Views: 590

Re: Raspberry Pi Failing Everytime Power is Lost and on Reboots

sudo shutdown -h (halt) is the equivalent of sudo shutdown -P (poweroff). If you open a terminal window and type shutdown --help or reboot --help it'll show you a list of options and what they do. The below is an excerpt from here: https://vitux.com/3-ways-to-shut-down-power-off-your-ubuntu-system/...
by TommyG007
Mon Aug 10, 2020 5:41 pm
Forum: Troubleshooting
Topic: Raspberry Pi Failing Everytime Power is Lost and on Reboots
Replies: 17
Views: 590

Re: Raspberry Pi Failing Everytime Power is Lost and on Reboots

Why is the Pi losing power? power cuts? is someone switching it off? Would it benefit from a UPS? Are the SD card(s) new or old? is there a chance they're damaged/corrupted/worn? Does the Pi have a suitable 3A power supply? Is the lightning bolt icon showing? You could try booting from a small USB s...

Go to advanced search