Network issues - Wifi - Network unreachable - Raspberry Pi Forums


hi all, i've had around online seem have strange issue haven't found on other posts.

i've connected pi via wifi i'm unable ping 8.8.8.8 , access site gives me "cannot resolve hostname(urlhere)". navigated /etc/resolv.conf file find empty. proceeded add in following:

code: select all

nameserver 8.8.8.8 nameserver 8.8.4.4
once rebooted pi, file had been wiped again (i tried again had same issue). i've tried route -n , recieved following information:

code: select all

destination 192.168.1.0  gateway 0.0.0.0 genmask 255.255.255.0 flags u metric 303 ref 0 use 0 user iface wlan0
i attempted set default gateway created new ip route other information missing.

has seen sort of issue before? find file wiping strange i've not noticed on other post

update:

i've fixed issue (only temp fix). seems gateway isn't being set , i'm having manually set dns. editing resolv.conf file 8.8.8.8 and setting gateway 192.168.1.1 gets pi online.

i'm looking possibly giving pi static ip address allow me setup required info , solve these problems. have idea why happening? have edit file , set gateway each time system restarted/shutdown


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support