check ifconfig -all and see if you actually have an IP address
ifconfig -a....gives me:
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:ce:73:d8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2 bytes 100 (100.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 100 (100.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.169.194.6 netmask 255.252.0.0 broadcast 255.255.255.255
inet6 fe80::9da1:d2dd:450f:c678 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:9b:26:8d txqueuelen 1000 (Ethernet)
RX packets 2292 bytes 801120 (782.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1423 bytes 204514 (199.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
next do
ps -ef|grep weewx, gives me:
pi 2593 1840 0 12:46 pts/1 00:00:00 grep --color=auto weewx
if you are using
sudo vi /etc/weewx/weewx.conf and cannot open the file to write something more
fundamental with your pi is going on try doing
using the command above i can open the config file but not make any changes to
it
ls -la /etc/weewx and see what the perms are, but sudo should allow you to open
the file AND write it as you are root
the above command gives me:
total 88
drwxr-xr-x 9 root root 4096 Apr 28 12:40 .
drwxr-xr-x 113 root root 4096 Apr 27 16:37 ..
drwxr-xr-x 3 root root 4096 Apr 7 12:54 apache
drwxr-xr-x 2 root root 4096 Apr 9 11:53 import
drwxr-xr-x 2 root root 4096 Apr 9 11:53 logrotate.d
drwxr-xr-x 4 root root 4096 Apr 7 12:54 logwatch
drwxr-xr-x 2 root root 4096 Apr 9 11:53 rsyslog.d
drwxr-xr-x 5 root root 4096 Apr 7 12:54 skins
drwxr-xr-x 3 root root 4096 Apr 7 12:54 udev
-rw-r--r-- 1 root root 14795 Apr 9 11:53 weewx.conf
-rw-r--r-- 1 root root 13722 Nov 22 14:36 weewx.conf.dist
-rw-r--r-- 1 root root 20480 Apr 28 12:37 .weewx.conf.swp
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.