On Tuesday 05 June 2018 at 11:54:59, 'Florian E' via Android-x86 wrote:
> Hei guys,
>
> i'm trying to set a different network adress to my eth0 interface using
>
> ifconfig eth0 192.168.5.1 netmask 255.255.255.0
> route add default gw 192.168.5.1 dev eth0
That makes no sense.
You're telling your machine that its own IP address is 192.168.5.1, and the
gateway router to find the rest of the Internet is also 192.168.5.1
Try changing the first address to 192.168.5.2 (assuming that 192.168.5.1 really
*is* your router to the Internet - if not, change that to the correct value
instead).
Antony.
> in older versions i also did:
>
> dhcpcd -k eth0
>
> but that isnt used anymore.
>
> sadly i'm not getting anything to work.
> ip addr shows me the correct ip but i cannot ping the device
> also trying to ping another pc in the same network gives me "connect:
> Network is unreachable" error.
>
> i also found the EthernetConfigStore which is trying to
> read /misc/ethernet/ipconfig.txt - does that work? how is the format
> looking?
> any ideas? do i need to disable dhcp?
>
> thanks
--
f u cn rd ths, u cn gt a gd jb n nx prgrmmng
Please reply to the list;
please *don't* CC me.