Software > WeeWX

Problema conexión wiffi

<< < (2/5) > >>

jantoni:
O mejor, borra la que no interese

Por experiencia.

jmviper:

--- Cita de: jantoni en 17 de Mayo de 2021, 20:11:56 ---O mejor, borra la que no interese

Por experiencia.

--- Fin de la cita ---

Sí claro.... muerto el perro se acabó la rabia  *+* *+*

Samal:
Si no fuera por vosotros........, bueno, la verdad, ni tendria raspi, ni weewx, ni pagina web...... Así de claro.

Tan fácil como borrar los datos de la conexión del móvil del archivo wpa_supplicant.conf.

Ahora he reiniciado la raspi y se ha conectado al wiffi en el acto. También parece que weewx actualiza correctamente. Por lo menos en local. Desde que actualice la versión del belchertown la web siempre me actualiza 5 minutos mas tarde. No se que será, pero pase del tema. Como es una versión beta, me hice a la idea de que cuando actualice a la versión oficial quizás este error desaparezca. A parte, desde hace días dispongo de muy poco tiempo libre para poderme dedicar a estos temas.

Muchas gracias a los tres. Da gusto poder consultar en este foro.

Un saludo a todos!.

Samal:
Ummmmm, pues ahora si se conecta correctamente la raspi al wiffi pero ha vuelto a tontear, mejor dicho, en estos momentos no actualiza
Esto es correcto?:

--- Código: ---pi@raspberrypi:~ $ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:d7:32:8c  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 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

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.43  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::f928:8ed2:d68c:4b74  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:d7:32:8d  txqueuelen 1000  (Ethernet)
        RX packets 4150  bytes 2087359 (1.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5821  bytes 1221903 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

--- Fin del código ---

En el archivo wpa_supplicant.conf tengo esto:

--- Código: ---ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=ES

network={
ssid="MOVISTAR_7488"
psk="XXXXXXXXXXXXXXXXXXX"
key_mgmt=WPA-PSK
}
--- Fin del código ---

Y en el archivo dhcpcd.conf:

--- Código: ---# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Most distributions have NTP support.
#option ntp_servers

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

# Example static IP configuration:
#interface eth0
#static ip_address=192.168.0.10/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
#static routers=192.168.0.1
#static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1

# It is possible to fall back to a static IP if DHCP fails:
# define static profile
#profile static_eth0
#static ip_address=192.168.1.23/24
#static routers=192.168.1.1
#static domain_name_servers=192.168.1.1

# fallback to static profile on eth0
#interface eth0
#fallback static_eth0

interface eth0
inform 192.168.1.43
static routers=192.168.1.1
static domain_name_servers=80.58.61.250 80.58.61.254

interface wlan0
static domain_name_servers=80.58.61.250 80.58.61.254
static routers=192.168.1.1
SSID MOVISTAR_7488
inform 192.168.1.43
static routers=192.168.1.1

--- Fin del código ---

Alguna cosa tiene que estar mal  :;

Saludos de nuevo.

jantoni:
Yo veo que está actualizando.

Pero, para que observes.....

Si se conecta al wifi y no actualiza pueden ser varias cosas, pero siempre son problemas de conectividad entre el router e internet

No soy especialista en redes, ni mucho menos....no obstante, me llama la atención la dirección IP V6

En fin, que divago.....

Cuando pase esto, desde la raspi haz un Ping a cualquier sitio...por ejemplo a Google.....si funciona el Ping es que a hay conexión con el mundo externo y con el servidor dns. Si no funciona, ya tenemos por donde empezar.

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa