tagocha
Posts: 2
Joined: Tue May 19, 2020 3:53 am

internet access issue

Tue May 19, 2020 7:02 pm

hello
I have rasp i 4 with Raspbian Buster with desktop
I have an internet issue in wlan0 and eth0
the internet comes back after using the below codes after every reboot

Code: Select all

sudo dhclient  -r wlan0
sudo dhclient   wlan0
for wlan or

Code: Select all

sudo dhclient  -r wlan0
sudo dhclient   wlan0
I need solve this issue and use the device for in ssh
the attachment image show some informations
Attachments
issue 2.jpg
issue 2.jpg (203.38 KiB) Viewed 73 times

epoch1970
Posts: 5131
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: internet access issue

Wed May 20, 2020 8:21 pm

If you look at the picture you posted, you can see the interface wlan0 has 2 addresses on the network:
- the one it got from dhcpcd automatically
- the one you requested via dhclient, which is another, slightly outmoded, DHCP client.

On the second address, option "noprefixroute" means that adding the address does not prompt the system to configure routing at the same time.
If adding the second address "fixes" the issue, my understanding is that the computer gets an address and configures its network properly in the first place.

The ethernet link is down. Make sure the cable is connected, then the eth0 interface will acquire an address, too.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Troubleshooting”