![]() Mount it under / and ensure correct permissions. Unmount devices if they are listed: sudo umount -verbose /use_your_mount_point List devices and mount points : sudo df -human-readable -print-type It should automatically mount it under /media/pi. Wait for couple of mins and ssh into it again.Ĭonnect your HDD to USB port. “country= US”.Ĭhange default password by running: sudo passwd If you want remove ethernet cable and connect pi using wifi, To setup wifi connection, run : wpa_passphrase Īdd output to sudo nano /etc/wpa_supplicant/wpa_nfĪdd country code as a first line. Run these commands to update your OS : sudo apt-get -y update sudo apt-get -y dist-upgrade Generally this portal is available at 192.168.1.1 or 192.168.0.1 ssh password is “raspberry” Look for IP assigned to pi by logging in your router and see connected devices. Now insert SD card inside your pi and plug-in power. Default username is “pi” and password is “raspberry”. Network=Ĭreate a file “ssh” under “boot” without any extension. This step may vary based on Host OS.Ĭreate a file wpa_nf Type your wifi name(SSID) and password : country= ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 If you don’t have ethernet cable, follow step 2.1 else, skip to step 2.2 and connect ethernet cable to your pi. Step 2: Setup internet connection and ssh I used raspberry OS on PI but any other OS will do. Step 1 : Setup a local SFTP server with Raspberry PI and HDD. domain name (optional) - Ethernet cable (optional) - pi case (optional) ![]() Run cron files=Y // set to N to not run the separate cron filesĭo custom log=y // set to Y to create an appended logfile from a template (customlog.What you need ? - Internet connection - Access to your router - HDD with a USB - Raspberry pi ( worked on 3b) with formatted micro SD card. Wind in=kts // options are: mph,kts,kph,m/s (changes the custom tags) txt logfile (set to N to save on disk space)Ĭreate custom file=N //converts the custom tags in a file called wxlocal.html to wx.htmlįTP the custom file=N //will FTP the wx.html or filename you set to FTP server specified (clientraw FTP needs to be enabled too) Mysql time=300 (time interval between mysql update in seconds from 60 to 10000 sec)ĬWOP ham call sign=-1 // -1 is default (you do not have a Ham call sign)ĭo clientraw FTP=y //(set to Y for yes, N for no)įTP remote dir=/domains/weather/public_html/test/įTP use passive=y //(set to Y for yes, N for no)įTP use remote file rename= //Write here the remote name: NOTE that not all FTP servers allow remote file rename"įTP time interval=60 //the interval between upload of the clientraw.txt and customclientraw files Mysql metric=Y (set N for oF, inches of rain, inches for baro) Revb Davis VP=Y (Y for Yes (new model (default) ) N for No)ĭavis rain gauge=3 (1 for 0.1 inch, 2 for 0.01 inch, 3 for 0.2mm)ĭo mysql=N //for mysql updates (see the readme for the table structure), every 5 minutes ![]() Timezone= (to change the local PC hour used)Ĭomport number (e.g 1)=U //For non USB stations (e.g Davis, OS WMR968), use U for ttyUSB0 (i.e usb to serial)ĭavis com method=2 // 1 for regular 2 for special davis serial read with USB data logger WU realtime= //set to Y to send to WU real time Wunderground timezone=-5 // e.g 12 for 12 hours ahead of GMT, -12 for - 12 hours Longitude= /// e.g -175.456 for east of UTC/Londonĭo custom clientraw=N //For updating customclientraw for steel gauges (set to Y for yes, N for no) (every 5 minutes)ĭo wunderground=N //For updating (set to Y for yes, N for no) (every 5 minutes) ![]() Latitude= /// latitude, e.g -38.375 for southern hemisphere Release VP IP= // set to Y to release IP data logger every minute to allow davis web site to be updated ![]()
0 Comments
Leave a Reply. |