Go to advanced search

by damonh
Fri Jun 01, 2018 3:52 pm
Forum: General discussion
Topic: RPI 3B+ and Adafruit SD Card Reader breakout board.
Replies: 0
Views: 208

RPI 3B+ and Adafruit SD Card Reader breakout board.

Hi all. I've been scouring the web and RPI forums for info on adding the Adafruit SD Breakout board to the RPI 3B+. I am very noob at a lot of this and could use some input. https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial Any direction to wiring and coding for this would be...
by damonh
Thu May 03, 2018 5:53 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

RESOLVED. So after much consternation and frustrating head banging it all comes down to a driver issue. I stripped down to a simple hostapd setup that I knew worked. Loaded docker and problems started. THEN! I thought while looking at a generic usb wifi dongal why not try it with that? After all tha...
by damonh
Wed May 02, 2018 4:16 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

Yup. I've confirmed for certain Docker screws up Wifi AP loading.
I took an image that works consistently with setting up AP/Client and then added Docker. After Docker was installed AP doesn't always setup.
by damonh
Wed May 02, 2018 3:35 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

Yup. No joy. :(
This is very frustrating.
by damonh
Wed May 02, 2018 2:58 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

Thanks for the info. Tried that but no-joy. I Have two sd cards. Both with the same configuration for AP/Client. The difference? On one I have docker installed. The one without docker boots every time in the expected configuration. The one with docker randomly starts in the expected configuration. M...
by damonh
Wed May 02, 2018 1:58 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

I may have spoken too soon. While the above configuration has work, it's random. Initial boot I get my AP on wlan1 as expected. I can reboot a few times and it no longer gets setup. Try rebooting several times and eventually it will setup. I've even switched from wlan1 to wlan0 as the AP. Same resul...
by damonh
Tue May 01, 2018 7:46 pm
Forum: Networking and servers
Topic: Raspberry pi 3 B+ as Access Point and Wifi client
Replies: 15
Views: 8896

Re: Raspberry pi 3 B+ as Access Point and Wifi client

So far my experience with trying to do this on Stretch and 3B has been less than stellar. Sometimes it would work, more often than not it wouldn't. I have resolved by adding a second wifi dongal by CanaKIT. Seems to be working steadily. I posted my setup files here: https://lb.raspberrypi.org/forums...
by damonh
Tue May 01, 2018 5:46 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121819

Re: Configuring dhcpcd in Raspbian Stretch

Hey all. I know this is old, BUT, my use case is to use RPI 3B as a standalone unit that has both and AP and a wifi Client. I've been really struggling with Stretch to get this working, BUT, I may have finally made it work. My /etc/dhcpcd.confg interface wlan1 static ip_address=192.168.4.1/24 denyin...
by damonh
Sun Mar 18, 2018 3:28 pm
Forum: Networking and servers
Topic: Pi 3 as wiireless client and wireless AP?
Replies: 193
Views: 119193

Re: Pi 3 as wiireless client and wireless AP?

Well that was short lived. On reboot, uap0 is no longer recognized. Thus, my AP is not working. when trying to restart the dnsmasq here is what it reports. [email protected]:~ $ sudo journalctl -xe -- Subject: Unit dnsmasq.service has begun start-up -- Defined-By: systemd -- Support: https://www.debian...
by damonh
Sat Mar 17, 2018 8:36 pm
Forum: Networking and servers
Topic: Pi 3 as wiireless client and wireless AP?
Replies: 193
Views: 119193

Re: Pi 3 as wiireless client and wireless AP?

I'd just like to note I was able to get client/wireless AP with bridge working today with the following white paper. https://github.com/peebles/rpi3-wifi-station-ap-stretch/blob/master/README.md It took a little doing because I had typos, but once the typos were ferreted out, I was able to get this ...
by damonh
Fri Feb 02, 2018 7:32 pm
Forum: Networking and servers
Topic: Issue with multiple WiFi
Replies: 2
Views: 480

Re: Issue with multiple WiFi

Thanks @SurferTim. We'll give it try as soon as we can and let you know how things work.
by damonh
Fri Feb 02, 2018 2:47 pm
Forum: Networking and servers
Topic: Issue with multiple WiFi
Replies: 2
Views: 480

Issue with multiple WiFi

Hello everyone. I have an issue I just haven't figured out how to resolve. I have added a second USB WiFi to the PI 3 with Stretch. Setup wlan0 as an AP which works wonderfully. The problem comes when I attach wlan1 (USB wifi) to a router. I can connect to the PI via the AP and run VNC. From there I...
by damonh
Tue Jan 23, 2018 4:51 pm
Forum: Advanced users
Topic: Total Power off script
Replies: 2
Views: 490

Total Power off script

Greetings.
I have a use case whereby I need to monitor for a power off event. When power off event is detected I need to run some cleanup scripts and then fully power off.

Any suggestions in this area are very welcome.

Cheers
by damonh
Wed Jan 17, 2018 3:59 pm
Forum: Networking and servers
Topic: Multiple WiFi Adaptors and Stretch
Replies: 0
Views: 449

Multiple WiFi Adaptors and Stretch

Well, I've been dealing with networking and wifi's. Complete noob and learning a lot. I've followed the write up by SurferTim (Thanks for the wonderful write up and all the help you've given on this topic!) What I have learned. 1. Yes you CAN have multiple WiFi adaptors. I currently use the internal...
by damonh
Tue Jan 16, 2018 5:26 pm
Forum: Troubleshooting
Topic: [SOLVED] Bridge wlan0 and eth0 - help needed
Replies: 55
Views: 24599

Re: [SOLVED] Bridge wlan0 and eth0 - help needed

@SurferTim I've been reading through this thread and am halfway through the process. I have TWO WiFi. wlan0 and wlan1. wlan1 is a dongle while wlan0 is the built in Pi WiFi. Currently wlan1 is broadcast as an AP and I can connect quite nicely to it. Before I keep moving here is my ucase. The Pi will...
by damonh
Mon Jan 15, 2018 6:54 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

OK. I think I've resolved this, but, would like someone else to verify for me that it works for them as well. Updated /etc/network/interfaces as follows. This goes against what they say you can do for Stretch but, it works for me. # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that...
by damonh
Mon Jan 15, 2018 5:41 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

Well, tried that. No Go. Next I tried adding the following in my /etc/dhcpcd.conf denyinterfaces wlan1 just before interface wlan1 static ip_address=192.168.4.1/24 Now, while that allowed the ssid for wlan1 to show up, I couldn't connect to it. removing denyinterfaces wlan1 stops the ssid from showi...
by damonh
Mon Jan 15, 2018 4:19 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

issuing a: sudo ifconfig wlan1 down then: sudo ifconfig wlan1 up does the trick manually. When I updated /etc/rc.local: # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi ifconfig wlan1 down ifconfig wlan1 up exit 0 and rebooted, this did n...
by damonh
Mon Jan 15, 2018 3:25 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

Now that's interesting. I did what you said. I manually turned OFF the wifi waited a second and then turned it back on. Voila! My AP comes up. This is not a good thing. I need that AP coming up when ever I boot up. This is going to be run as a headless system and I will need to eventually bridge wla...
by damonh
Sun Jan 14, 2018 7:23 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

The internal has always come up as wlan0 for me. When I go look at the WiFi manager in the Desktop, both wlan1 and wlan0 are available as clients. I really need to make wlan1 my AP. I don't understand why under Stretch lite this works, but under Stretch with Desktop it overrides hostapd and makes wl...
by damonh
Sun Jan 14, 2018 6:48 pm
Forum: Networking and servers
Topic: Pi3 as Wi-Fi ap and client
Replies: 13
Views: 2109

Re: Pi3 as Wi-Fi ap and client

Great question. I was able to achieve an AP under Stretch Lite, but, when I went over to the Stretch Desktop version and did the needed setups wlan1 is not recognised as an AP. I followed the instructions here: https://github.com/SurferTim/documentation/blob/6bc583965254fa292a470990c40b145f553f6b34/...
by damonh
Tue Oct 10, 2017 6:51 pm
Forum: Advanced users
Topic: Bluetooth and PyBluez help needed
Replies: 5
Views: 1391

Re: Bluetooth and PyBluez help needed

Thanks the pointer. I will take a look at the code and start playing with it.
If I convince the boss we need to wire a GPIO that can put the Pi into Discoverable mode when pressed that would be ideal.
by damonh
Tue Oct 10, 2017 6:31 pm
Forum: Advanced users
Topic: Bluetooth and PyBluez help needed
Replies: 5
Views: 1391

Re: Bluetooth and PyBluez help needed

To give this a little context. Pi is headless. Will be used in environments where client devices more than likely will be different devices over time. Employee a grabs device sets up in the field. Connects their device. Employee b comes along later that day and connects a new device. Employee A has ...
by damonh
Tue Oct 10, 2017 5:37 pm
Forum: Advanced users
Topic: Bluetooth and PyBluez help needed
Replies: 5
Views: 1391

Bluetooth and PyBluez help needed

I am hoping I don't get yelled at here, but, everyone has been great help. I have succeeded in manually betting Bluetooth RFCOMM working. Manually have to do sudo bluetoothctl power on discoverable on pairable on agent NoInputNoOutput default-agent Then I run the pybluez example rfcomm-server.py. Ev...
by damonh
Mon Oct 09, 2017 1:47 pm
Forum: Advanced users
Topic: Wifi Access point AND eth0 wired access
Replies: 4
Views: 1594

Re: Wifi Access point AND eth0 wired access

Perfect Answer! Thank you SO much!
I love this community. You are making me look like a hero. I now have full connectivity with the Pi OFF the home network. Ever onward. Who says an old dog can't learn new tricks?

Go to advanced search