Go to advanced search

by XueHai8
Sat Jul 13, 2019 9:14 am
Forum: Troubleshooting
Topic: Buster: No python miniupnpc library
Replies: 1
Views: 36

Re: Buster: No python miniupnpc library

Never mind. Found the answer: Use PIP instead:

Code: Select all

apt-get install python-pip
pip install miniupnpc
:D
by XueHai8
Sat Jul 13, 2019 8:41 am
Forum: Troubleshooting
Topic: Buster: No python miniupnpc library
Replies: 1
Views: 36

Buster: No python miniupnpc library

Can't seem to find this package, python-miniupnpc, anymore. Did: apt-cache search miniupnpc libminiupnpc-dev - UPnP IGD client lightweight library development files libminiupnpc17 - UPnP IGD client lightweight library minissdpd - keep memory of all UPnP devices that announced themselves miniupnpc - ...
by XueHai8
Fri Jun 28, 2019 7:17 am
Forum: Advanced users
Topic: Dual USB stack on A3+ ?
Replies: 5
Views: 366

Re: Dual USB stack on A3+ ?

Ok. Thank you for clarifying your answer. I did not understand the first time.
Bummer. Guess I'll dig around for the the smallest USB hub I can find.
Thanks again.
by XueHai8
Fri Jun 28, 2019 2:14 am
Forum: Advanced users
Topic: Dual USB stack on A3+ ?
Replies: 5
Views: 366

Re: Dual USB stack on A3+ ?

Well, like I said already, I don't want to add a USB hub because of cost and space (bulk), so I asked if just replacing the single USB connector with a dual one would work.
So hopefully someone else can answer my question.
by XueHai8
Fri Jun 28, 2019 1:05 am
Forum: Advanced users
Topic: Dual USB stack on A3+ ?
Replies: 5
Views: 366

Dual USB stack on A3+ ?

I've seen posts on this regarding the original Model A, but can't find anything about the 3A+. Would it be possible to upgrade the 3A+ to have 2 USB Ports, instead of just the one? And would it be as simple as just de-soldering the USB Port and soldering in a dual stack one? Clearly, I have not elec...
by XueHai8
Wed Jun 26, 2019 9:38 am
Forum: Troubleshooting
Topic: Buster on 3A+ Bluetooth audio problem
Replies: 0
Views: 91

Buster on 3A+ Bluetooth audio problem

Got my bluetooth speakers connected to the Pi 3A+ with Buster and was watching a test video on YouTube. Kinda choppy, but it worked and I could hear sound....then... Sound died. Speaker icon says "No volume control on this device" Then YouTube froze Rebooted, and it happened again. Any ideas? Thanks!
by XueHai8
Wed Jun 26, 2019 9:24 am
Forum: Troubleshooting
Topic: Buster on 3A+ Errors
Replies: 3
Views: 346

Re: Buster on 3A+ Errors

Thanks all!

I did the update and full-upgrade and it reported nothing to do.

I'll ignore the cma_alloc errors.

Can't wait for my 4B :D
by XueHai8
Wed Jun 26, 2019 8:46 am
Forum: Troubleshooting
Topic: Buster on 3A+ Errors
Replies: 3
Views: 346

Buster on 3A+ Errors

This is a full/fresh install of Buster Desktop with Recommended Software on a Pi 3A+ First, I get a cma_alloc failed error -12 every time I boot. Doesn't seem to blow anything up. Should I be concerned? Second, the automatic updated failed with something to the tune of 'kernel is not yet available'....
by XueHai8
Fri Dec 14, 2018 2:18 pm
Forum: Troubleshooting
Topic: Bluetoothctl and PulseAudio via Crontab problems
Replies: 0
Views: 87

Bluetoothctl and PulseAudio via Crontab problems

I'm trying to get my Pi connected to my Bluetooth speakers to play music at certain times of the day via cron jobs. The following scripts work if I run them manually in SSH, but when I put them in as cron jobs, it fails. BTConnect.sh #!/bin/bash #/usr/bin/pulseaudio -D --system /usr/bin/sudo service...
by XueHai8
Mon Dec 10, 2018 3:06 am
Forum: Networking and servers
Topic: Multiple Gateways with Failover problem
Replies: 0
Views: 241

Multiple Gateways with Failover problem

I've set up 3 OpenVPN gateway clients on my Pi set as tun0, tun1 and tun2 and they work perfectly interdependently as I am able to ping out those interfaces successfully: ping -I tun0 8.8.8.8 ping -I tun1 8.8.8.8 ping -I tun2 8.8.8.8 I am wanting to use this in a failover environment such that tun0 ...
by XueHai8
Thu Oct 18, 2018 1:28 am
Forum: Networking and servers
Topic: OpenVPN client always uses tun1, never tun0?
Replies: 0
Views: 466

OpenVPN client always uses tun1, never tun0?

Ok, back with another OpenVPN client question using multiple simultaneous hosts. I have two client config files in /etc/openvpn One goes to HostA, the other goes to HostB and I see both tun0 and tun1 in ifconfig with inet addr as expected: 10.9.0.6 (tun0) and 10.8.0.6 (tun1) Independently tested, bo...
by XueHai8
Wed Oct 17, 2018 10:07 am
Forum: Networking and servers
Topic: OpenVPN Client on tun1 fails, tun0 works
Replies: 1
Views: 351

Re: OpenVPN Client on tun1 fails, tun0 works

I think I found my answer. I needed a new entry for tun1 in /etc/iptables.up.rules
Now it seems to be working ok.
by XueHai8
Wed Oct 17, 2018 7:33 am
Forum: Other projects
Topic: Power Loss Controlled Shutdown with Automatic Restart
Replies: 3
Views: 1086

Re: Power Loss Controlled Shutdown with Automatic Restart

Thank you! I will look into that.
by XueHai8
Wed Oct 17, 2018 7:32 am
Forum: Networking and servers
Topic: OpenVPN Client on tun1 fails, tun0 works
Replies: 1
Views: 351

OpenVPN Client on tun1 fails, tun0 works

I have openvpn client on my Pi and my Pi is set as a gateway on my network. When I have 'dev tun' or 'dev tun0' in the client.conf, everything works fine. Accessing it as a gateway works fine and I can get to every remote site as expected. However, if i put 'dev tun1' in the client.conf, it still co...
by XueHai8
Sat Oct 13, 2018 4:01 am
Forum: Other projects
Topic: Power Loss Controlled Shutdown with Automatic Restart
Replies: 3
Views: 1086

Re: Power Loss Controlled Shutdown with Automatic Restart

I found the 'PiJuice' Hat. It looks to do exactly what I'm wanting, but the price (x2 that of the Pi3), is a little hard to swallow.
Any cheaper alternatives?
Thanks!
by XueHai8
Sat Oct 13, 2018 1:50 am
Forum: Other projects
Topic: Power Loss Controlled Shutdown with Automatic Restart
Replies: 3
Views: 1086

Power Loss Controlled Shutdown with Automatic Restart

Looking for a DIY (or OTS) project for a Pi3+ that allows the Pi to detect when main power has been lost, do a controlled shutdown, and then automatically power up the Pi again once main power has been restored. I'm assuming this would require a small battery to supply power to the Pi in the event o...
by XueHai8
Mon May 07, 2018 3:03 am
Forum: Troubleshooting
Topic: Can''t access Pi from other Subnet
Replies: 7
Views: 727

Re: Can''t access Pi from other Subnet

I have a pfSense router with 4 physical Lan Interfaces. So apparently I just gotta learn how to set up routing on it. :)
Thanks all!
by XueHai8
Sun May 06, 2018 12:29 pm
Forum: Troubleshooting
Topic: Can''t access Pi from other Subnet
Replies: 7
Views: 727

Re: Can''t access Pi from other Subnet

Ok. I think I understand now. Thought it might be something with the Pi that was keeping me out from another subnet.
I'll dig around my router's rules and learn up on it.
Thanks!!
by XueHai8
Sun May 06, 2018 9:22 am
Forum: Troubleshooting
Topic: Can''t access Pi from other Subnet
Replies: 7
Views: 727

Can''t access Pi from other Subnet

I have multiple subnets on my home network and 3 of my Pi's are on 192.168.3.x
If my PC is on 192.168.2.x, then I can't connect via SSH to any of the Pi's on 192.168.3.x
Is this a setting in the Raspberry Pi or would be something in my Router?
Thanks!
by XueHai8
Mon Apr 16, 2018 4:35 am
Forum: Advanced users
Topic: Pi as DNS Forwarder using DoH (DNS over HTTPS)
Replies: 2
Views: 1537

Pi as DNS Forwarder using DoH (DNS over HTTPS)

Who's up for a real challenge???! There are similar questions on CloudFlare and OpenVPN forms, but no solutions. Hopefully some expert here can point me in the right direction. Briefly: I have OpenVPN CLIENT installed on my Pi and is acting as a Gateway for my wireless router, so that all devices co...
by XueHai8
Sun Jan 07, 2018 9:58 am
Forum: Other projects
Topic: PSU w/multiple 12v & 5v outlets for Pi and Peripherals.
Replies: 6
Views: 1678

Re: PSU w/multiple 12v & 5v outlets for Pi and Peripherals.

Thank you, whyde and hippy for all your valuable information!
I didn't want to go DIY, but it looks like that the only alternative.
Thanks again!
by XueHai8
Mon Dec 18, 2017 4:18 am
Forum: Other projects
Topic: PSU w/multiple 12v & 5v outlets for Pi and Peripherals.
Replies: 6
Views: 1678

Re: PSU w/multiple 12v & 5v outlets for Pi and Peripherals.

Thanks! I'll check it out.
by XueHai8
Fri Dec 15, 2017 3:58 am
Forum: Other projects
Topic: PSU w/multiple 12v & 5v outlets for Pi and Peripherals.
Replies: 6
Views: 1678

PSU w/multiple 12v & 5v outlets for Pi and Peripherals.

I'm looking for a PSU that has multiple outlets for 12v and 5v devices. I have an electronics cabinet that has a modem, router, wifi APs, RPis, and other gear that each require its own Power Supply. It's a wiring Nightmare. Despite the risk of a single point of failure, I'd still like a single PSU t...
by XueHai8
Tue Oct 03, 2017 12:46 am
Forum: Troubleshooting
Topic: When are Predictable Network Interface Names Assigned? - Stretch
Replies: 19
Views: 10885

Re: When are Predictable Network Interface Names Assigned? - Stretch

Awesome! Thank you!! P.S. Maybe I did something else wrong, but I've noticed that even with Predictable Network Interface Names disabled, the original names (eth0, eth1, etc.) are not assigned when scripts run via rc.local or @boot crontab under Stretch. So its like the system still goes through the...
by XueHai8
Mon Oct 02, 2017 12:32 am
Forum: Troubleshooting
Topic: When are Predictable Network Interface Names Assigned? - Stretch
Replies: 19
Views: 10885

When are Predictable Network Interface Names Assigned? - Stretch

During boot, when are Predictable Network Interface Names assigned? In my bash script, I have this command to discover the network interface name of the active connection: Adapter=`ip -o link show | awk '{print $2,$9}' | grep 'UP'| awk -F: '{print $1}'` But putting it in rc.local or @boot crontab fa...

Go to advanced search