Go to advanced search

by monapi
Wed Jan 23, 2019 9:57 am
Forum: Beginners
Topic: Download a certain data from SQL Database into RPi
Replies: 9
Views: 4359

Re: Download a certain data from SQL Database into RPi

first do this: sudo apt-get install freetds-bin freetds-dev python-pymssql python-pyodbc python-sqlalchemy tdsodbc unixodbc-bin unixodbc-dev then sudo nano /etc/odbc.ini add Driver = FreeTDS Description = My Test Server Trace = No ServerName = mssql #Port = port instance = MSSQLSERVER #(whatever is...
by monapi
Wed Jan 16, 2019 10:41 am
Forum: Beginners
Topic: get mariadb instead of mysql on raspbian stretch
Replies: 2
Views: 434

get mariadb instead of mysql on raspbian stretch

i install mysql server on my raspberry pi3 to use mysql database package but it automatically loads mariadb. i search and find a guide to have mysql instead of mariadb but it doesn't work for me. this is what i used: https://dbahire.com/how-to-install-mysql-server-on-debian-stretch/ . i didn't find ...
by monapi
Sun Jan 06, 2019 8:25 am
Forum: Beginners
Topic: raspberry pi audio problem
Replies: 0
Views: 139

raspberry pi audio problem

i use a raspberry pi 3 with raspbian stretch OS. its audio output has been worked until i check it yesterday and it didn't have sound. i use a headphone and want to listen music through 3.5mm jack but i don't hear anything. i also use a usb adapter but it was the same as jack output. i don't know wh...
by monapi
Mon Dec 24, 2018 8:17 am
Forum: Beginners
Topic: raspberry pi(access point) can not connect to the internet via Ethernet cable
Replies: 0
Views: 318

raspberry pi(access point) can not connect to the internet via Ethernet cable

the problem is my raspberry pi 3 can not connect to the internet with LAN cable. i use this https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md tutorial and make an access point because of that i couldn't connect to the internet via wifi and i use LAN cable. i use access...
by monapi
Thu Dec 13, 2018 10:05 am
Forum: Beginners
Topic: raspberry pi3 can't set date and time to the correct value with internet of LAN cable
Replies: 8
Views: 565

Re: raspberry pi3 can't set date and time to the correct value with internet of LAN cable

DirkS wrote:
Thu Dec 13, 2018 9:58 am
I would suggest you take the other actions I mentioned (remove ntp).
Otherwise I cannot help you any further
i remove ntp.
by monapi
Thu Dec 13, 2018 9:56 am
Forum: Beginners
Topic: raspberry pi3 can't set date and time to the correct value with internet of LAN cable
Replies: 8
Views: 565

Re: raspberry pi3 can't set date and time to the correct value with internet of LAN cable

it doesn't show the correct time so i search and thought i should install ntp. this is what systemctl shows: Local time: Wed 2018-12-12 02:58:59 +03 Universal time: Tue 2018-12-11 23:58:59 UTC RTC time: n/a Time zone: Asia/Istanbul (+03, +0300) Network time on: yes NTP synchronized: yes RTC in local...
by monapi
Thu Dec 13, 2018 9:41 am
Forum: Beginners
Topic: raspberry pi3 can't set date and time to the correct value with internet of LAN cable
Replies: 8
Views: 565

Re: raspberry pi3 can't set date and time to the correct value with internet of LAN cable

i use raspbian stretch .i installed ntp. this command timedatectl shows what i set in raspi-config location and this command systemctl status systemd-timesyncd.service shows this: ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service...
by monapi
Thu Dec 13, 2018 8:09 am
Forum: Beginners
Topic: raspberry pi3 can't set date and time to the correct value with internet of LAN cable
Replies: 8
Views: 565

raspberry pi3 can't set date and time to the correct value with internet of LAN cable

hi, the problem is my raspberry pi 3 doesn't show the correct date and time. i use https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md tutorial and make raspberry pi an access point and now raspberry pi can connect to the internet with Ethernet cable and its wifi doesn't...
by monapi
Thu Nov 15, 2018 7:23 am
Forum: Beginners
Topic: raspberry pi can not connect to an IP unless ping it first
Replies: 2
Views: 223

Re: raspberry pi can not connect to an IP unless ping it first

i check the packet that is sended from PC to the raspberry pi with "tcmpdump" and it doesn't show any packet. the client sends packet to connect with raspberry but it cant connect to it so "tcpdump" doesnt show any packet. i try to send packet between my mobile phone and PC and it works fine but to ...
by monapi
Wed Nov 14, 2018 10:59 am
Forum: Beginners
Topic: raspberry pi can not connect to an IP unless ping it first
Replies: 2
Views: 223

raspberry pi can not connect to an IP unless ping it first

i write a server script in python and run this script on raspberry pi. to test this script i run a TCP client on another computer. while server is listening and waiting for a client to connect to it, the client cant connect to the server and shows TCP connection timeout error. if i ping client IP in...
by monapi
Sat Nov 10, 2018 12:46 pm
Forum: Beginners
Topic: couldn't ping raspberry pi wlan0 IP
Replies: 2
Views: 714

couldn't ping raspberry pi wlan0 IP

i run a raspberry pi with raspbian stretch OS and i want to ping raspberry pi wlan0 IP from my PC. at first when the raspberry pi boot i can ping it but when a few minutes pass and i ping another time it gives "destination host unreachable". according to what i searched, the reason is the raspberry ...
by monapi
Wed Oct 17, 2018 8:35 am
Forum: Beginners
Topic: RTC module of raspberry pi 3
Replies: 1
Views: 197

RTC module of raspberry pi 3

hello my question is raspberry pi 3 doesnt have a RTC module by it self or it has an RTC module but because it's time is not accurate we add an external RTC module to it. i have a python server code and i want to synch it at a time with client and i run these codes on raspberry pi, so i want to know...
by monapi
Mon Sep 10, 2018 12:11 pm
Forum: Beginners
Topic: error while opening the command prompt
Replies: 1
Views: 241

error while opening the command prompt

hello, i'm not sure if i can ask this question here or not. i make my raspberry pi 3 with rasbian stretch OS a picroft. and i try to create a skill after i do that i start the picroft and start the cli as well, when i do that the raspi stops working. i reboot the pi and do that again. i start the cl...
by monapi
Wed Sep 05, 2018 1:41 pm
Forum: Beginners
Topic: writing script with using sudo nano inside it
Replies: 15
Views: 931

Re: writing script with using sudo nano inside it

hello, how can i write an script for thes lines? these are for making acess point from a raspberry pi and really hard to write. i don't know how to add lines to an specific part of a file or uncomment a line with script. Find the line with #DAEMON_CONF, and replace it with this: DAEMON_CONF="/etc/ho...
by monapi
Wed Sep 05, 2018 9:04 am
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1425

Re: raspberry pi 3 access point with internet

Both can have access to the internet if you connect an ethernet cable between the Pi and router with internet access. The difference is that the first configuration provides dhcp & nat while the second configuration can use dhcp somewhere else (like on the router) or with fixed IP-addresses (not re...
by monapi
Wed Sep 05, 2018 8:09 am
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1425

Re: raspberry pi 3 access point with internet

thank you both.
does an standalone cannot share internet but has internet by itself and bridge has internet by itself and can share it too?
is it correct?
by monapi
Wed Sep 05, 2018 6:51 am
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1425

Re: raspberry pi 3 access point with internet

hi, i ask someone for my problem but i cant understand the answer which was given to me this is the answer: "you should start with the AP bits on rasbian. once that stored out you can add mycroft." i don't know what the AP bits are and i cant find sth useful to understand that. and by the tutorial i...
by monapi
Mon Sep 03, 2018 12:24 pm
Forum: Beginners
Topic: picroft skill code
Replies: 0
Views: 79

picroft skill code

hi, this is a part of a code for picroft skill: def handle_command_intent(self, message): if message.data["command"].upper() == "BLINK": self.speak_dialog("ledblink") the "data" and "command" and "speak" didn't define in the code how does python found what data is? how about the other? another probl...
by monapi
Sun Sep 02, 2018 11:23 am
Forum: Troubleshooting
Topic: error in developing picroft image
Replies: 2
Views: 165

error in developing picroft image

hi i try to turn to develop my picroft image on rasbian stretch OS. and after i do it according to the tutorial i see this error every time i open the terminal.my python works fine but i see this error. the error is : Could not find platform independent libraries <prefix> Could not find platform dep...
by monapi
Tue Aug 28, 2018 6:50 pm
Forum: Beginners
Topic: switch between access point mode and none access point
Replies: 2
Views: 421

Re: switch between access point mode and none access point

i can't restore the original setting #stop hostapd and dnsmasq services. service hostapd stop service dnsmasq stop #remove the dnsmasq autostart /usr/sbin/update-rc.d -f dnsmasq remove #uninstall and purge the hostapd and dnsmasq packages sudo apt-get autoremove --purge hostapd -yqq sudo apt-get aut...
by monapi
Tue Aug 28, 2018 11:05 am
Forum: Beginners
Topic: writing script with using sudo nano inside it
Replies: 15
Views: 931

Re: writing script with using sudo nano inside it

Prefix the command with sudo. This system config file requires admin permission to alter it. Also although your echo command does work for a multiple line file in bash, the more common way is the "shar" method. sudo cat <<EOF >>/etc/dhcpcd.conf interface wlan0 static ip_address=192.168.5.5/24 nohoo...
by monapi
Tue Aug 28, 2018 9:46 am
Forum: Beginners
Topic: writing script with using sudo nano inside it
Replies: 15
Views: 931

Re: writing script with using sudo nano inside it

how can i write To configure the static IP address, edit the dhcpcd configuration file with: sudo nano /etc/dhcpcd.conf Go to the end of the file and edit it so that it looks like the following: interface wlan0 static ip_address=192.168.4.1/24 nohook wpa_supplicant Now restart the dhcpcd daemon and ...
by monapi
Tue Aug 28, 2018 8:05 am
Forum: Beginners
Topic: writing script with using sudo nano inside it
Replies: 15
Views: 931

writing script with using sudo nano inside it

hello, i'm trying to write a shell script for turning raspi to an access point. is there someone who know how can i use "sudo nano" command to make a new file or edit a file in side a shell script and write and put some data into it and save and close it and go no another command in the script? than...
by monapi
Tue Aug 28, 2018 5:57 am
Forum: Beginners
Topic: switch between access point mode and none access point
Replies: 2
Views: 421

Re: switch between access point mode and none access point

i used the answer in this link https://raspberrypi.stackexchange.com/questions/44184/switch-between-ap-and-client-mode and type the command like: sudo apt-get update sudo apt-get install wpasupplicant #systemctl disable hostapd.service #systemctl disable isc-dhcp-server.service #systemctl stop hosta...
by monapi
Mon Aug 27, 2018 7:10 pm
Forum: Beginners
Topic: switch between access point mode and none access point
Replies: 2
Views: 421

switch between access point mode and none access point

hello i use https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md tutorial to make my raspberry pi 3 an access point with it's built in WiFi. so when the access point mode start the pi internet disconnects. now i want to switch to the mode before turning to access point(st...

Go to advanced search