• Posts

  • Joined

  • Last visited

sash99's Achievements

  1. hi there, i was wondering if there a away to compile mosquitto 1.4. successfully the current version is 1.3.3 ( or something like that) when I try to compile it it seams to compile correctly and it seams to install correctly. the broker portion works fine but the client side does not. when you try to publish or subscribe it complains a file is missing. I needed it for websockets to compile id did this wget tar xvzf v1.3-chrome37-firefox30.tar.gz cd v1.3-chrome37-firefox30 mkdir build cd build cmake .. make sudo make install sudo ln -s /usr/local/lib/ /usr/lib/ wget tar xvzf mosquitto-1.4.tar.gz cd mosquitto-1.4 nano --- change it to read, "WITH_WEBSOCKETS:= yes". make sudo make install the broker seams to work but not the clients it complains about /usr/lib/ version `MOSQ_1.4' not found does anyone have an idea where I might be going wrong
  2. Hi there i was trying to set up orange pi pc + as a wifi acces point server. i got most every thing to work fine i can talk to all the intenal ip remotely just can not talk to internet from wifi side, from the board (eth0) itself no problem.. my configutation is installed -- hostapd and dsnmasq /etc/network/interface # Local loopback auto lo eth0 wlan0 iface lo inet loopback # Wired adapter #1 allow-hotplug eth0 #no-auto-down eth0 iface eth0 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # Wired adapter #2 #allow-hotplug eth1 #iface eth1 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # Wireless adapter #1 iface wlan0 inet static hostapd /etc/hostapd.conf address netmask broadcast network # wpa-ssid SSID # wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword my /etc/hostapd.conf interface=wlan0 ssid=IOT channel=1 my /etc/networkmanager/networkmanager.conf [main] dns=dnsmasq plugins=ifupdown,keyfile [ifupdown] managed=true [keyfile] unmanaged-devices=interface-name:p2p0 unmanaged-devices=interface-name:wlan0 my /etc/dnsmasq.conf ( added these lines) interface=lo,wlan0 no-dhcp-interface=lo dhcp-range=,,,12h my /etc/sysctl.conf (added this lines ) net.ipv4.ip_forward=1 my /etc/rc.local ( added this line) iptables -t nat -A POSTROUTING -s ! -d -j MASQUERADE I can ping and or bring up webpages from my wan (eth0) from wifi (wlan0) and vise versa I can ping ( google dns ) from the wan ( eth0) but not from wifi (wlan0). dhcp assigns nicely at boot all that seams fine there . I even tried using google dns ( as the primary dns severer on the wifi connection ) still no luck geting to the outside world.. wondering if anyone see the problem or what I might be missing .. it is probably something simple, that I am just missing it ... as it most likely has to do with NAT and iptables i just do not know what as it is serving webages to eth0 and wlan0 it just not routing wlan0 to the internet thank you for your time
  3. I was having the same problem but with orange pi pc plus- would not connect via encrypted or even an open wifi. would fail with bad password or could not find ip under unencrypted.. i previously install webmin so i checked the setting there was no setting for in network devices wlan0 at boot so i set it up with a static address applied setting . tried the wicd again and it connected to the internet right away -- rebooted computer rebooted right into wifi no problem