A
A
Alexey Poloz2016-02-10 18:32:12
linux
Alexey Poloz, 2016-02-10 18:32:12

Raspberry Pi 2: How to get an ip address when connected to a router with a cable?

When connected to one router, everything works fine, it gets ip, I successfully connect to it.
But when I connect the Raspberry Pi to another router (NETGEAR), the raspberry is not given an ip, looked through the system (ipconfig), checked all local ip, it is not there either.
How can I solve this or have problems with the router?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri Chudnovsky, 2016-02-10
@Frankenstine

Make sure the router has a DHCP server enabled.

R
r0n1k, 2016-02-11
@r0n1k

It used to be like that too. Trite, restarting the network interface on raspberries helped

ifconfig eth0 down
ifconfig eth0 up

Are there any problems with other devices that connect to this router?
It is possible that the router is using IPv6, which is disabled by default in Raspbian
How to enable it, see here

G
GeekFromUa, 2016-03-27
@petriychuk

If you need ssh, you can simply use the domain instead of IP
raspberrypi.mshome.net

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question