Go to advanced search

by pimansays
Tue Dec 11, 2018 11:46 am
Forum: Networking and servers
Topic: Using Pi Zero W as an Access Point
Replies: 2
Views: 357

Re: Using Pi Zero W as an Access Point

Thanks, sorry, maybe not the best explanation. Pi Server is my Pi Zer0 W that I have configured as an Access Point using the link in my original post. I have 3 computers on the network Pi10 (the Access Point), Pi20 (a client Pi Zero W) and my Laptop. Running "arp - a" from Pi10 shows Pi20 (192.168.4...
by pimansays
Mon Dec 10, 2018 11:37 am
Forum: Networking and servers
Topic: Using Pi Zero W as an Access Point
Replies: 2
Views: 357

Using Pi Zero W as an Access Point

For the last week or so I have been trying to set up a Pi Zero W as an AP by following instructions https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md I must have tried 10 times to get it to work without any luck. Fat Fingers was the main problem!. You need to follow th...
by pimansays
Fri Dec 07, 2018 1:03 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

Ok Thanks. I am slowly making progress I think. I checked through everything but could not see anything wrong. Since then I have reinstalled Raspian several times and tried various other ways to set up an AP. All with not positive result. On the last attempt I again started from a clear install and ...
by pimansays
Tue Dec 04, 2018 9:25 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

Thank to all for your help with this :D . PhatFil yes your right, a Pi is over kill but as I have 2 its ok to prove concept. The comms i need is very simple, just a server unit that sends a signal to the clients to start a function and the clients to send back a signal once complete. So esp8266/esp3...
by pimansays
Tue Dec 04, 2018 9:24 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

Thank to all for your help with this :D . PhatFil yes your right, a Pi is over kill but as I have 2 its ok to prove concept. The comms i need is very simple, just a server unit that sends a signal to the clients to start a function and the clients to send back a signal once complete. So esp8266/esp3...
by pimansays
Tue Dec 04, 2018 7:01 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

ipconfig on the laptop shows Wireless LAN adapter WiFi: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::2849:7799:9f33:cd4a%7 Autoconfiguration IPv4 Address. . : 169.254.215.74 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : The first ...
by pimansays
Tue Dec 04, 2018 5:46 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

Yes ssh is enabled. do i need to connect to "pinet" on my laptop (have tried connected and not connected - makes no difference) The network properties on the laptop show SSID: pinet Protocol: 802.11g Security type: WPA2-Personal Network band: 2.4 GHz Network channel: 7 IPv6 DNS servers: fec0:0:0:fff...
by pimansays
Tue Dec 04, 2018 3:32 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

What is your ssh command at the moment? Have you changed it to match the IP address of the Pi?
I am using 192.168.4.1/24 both with the laptop connected to the Pi wifi ("pinet" I called it) and without. I have tried other ports eg 20 and 22 also with no result
by pimansays
Tue Dec 04, 2018 2:11 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

Re: understanding MQTT

Thanks DirkS and scotty101. I have followed the link and one Pi is now reconfigured as an access point and I can connect to it on my pc but I am unable to ssh into it. The wifi icon on the Pi tells me "wlan0:Configured 192.168.4.1/24. Do i need to change my ssh command in some way? I am using PuTTy
by pimansays
Tue Dec 04, 2018 1:00 pm
Forum: Networking and servers
Topic: understanding MQTT
Replies: 15
Views: 1121

understanding MQTT

Hi I have been playing with MQTT using two Pi zero W. I have managed to transmit and receive MQTT messages using the command line and in python code using paho-mqtt. I have one Pi set up as the MQTT broker. However, what I want to do is have the two Pi be a standalone network with no other connectio...
by pimansays
Mon Dec 03, 2018 11:30 am
Forum: Troubleshooting
Topic: paho-mqtt install problems
Replies: 3
Views: 286

Re: paho-mqtt install problems

Problem solved I think. It was actually to do with my dhcpcd.conf settings. I had set a static IP address (think necessary for what I am trying to do) and commenting that out allows paho-mqtt to load. #interface wlan0 #static ip_address=192.168.1.234/24 #static routers=192.168.0.1 #static domain_nam...
by pimansays
Mon Dec 03, 2018 11:12 am
Forum: Troubleshooting
Topic: paho-mqtt install problems
Replies: 3
Views: 286

Re: paho-mqtt install problems

I am beginning to think my problem is with pip rather than paho-mqtt. I have tried updating pip using pip install --upgrade pip but get similar errors.
by pimansays
Sun Dec 02, 2018 9:41 pm
Forum: Troubleshooting
Topic: paho-mqtt install problems
Replies: 3
Views: 286

paho-mqtt install problems

Hi I am playing with MQTT and have installed Mosquitto as a broker on one pi zero and as a client on a seperate pi zero. I have managed to send and receive messages using the command line but now want to do so within a python program. From what I have read, paho-mqtt library will give me what i migh...

Go to advanced search