Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240945

Re: network problem

From ghe2001 <ghe2001@protonmail.com>
Newsgroups linux.debian.user
Subject Re: network problem
Date 2021-10-05 23:10 +0200
Message-ID <D4ZRf-7M5-3@gated-at.bofh.it> (permalink)
References <D4YVb-7d2-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, October 5, 2021 2:00 PM, Pierre Frenkiel <pierre.frenkiel@gmail.com> wrote:

> hi,
> I have the following problem on my laptop.
> my /etc/network/interfaces file contains:
> auto enp0s1
> iface enp0s1 inet static
> address 192.168.1.10
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> but after boot, ifconfig gives
>
> address 192.168.0.163
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> Then, networking works i.e. I can reach Internet, but of course
> not my desktop and other devices 192.168.1.xx
>
> I looked on the entire disk to find where this address 192.168.0.163
> is hidden, but I was unable to find it !
>
> rather strange, isn't it?

Most peculiar indeed.

Does the interface always get the same address?

Have you tried setting the IP with ifconfig -- after the box is up with the bad IP address?

Is there anything in /etc/init.d that might be doing it?

Have you looked at dmesg?  (That 163's gotta be somewhere.)

Have you looked at what's in /etc/network/interfaces.d?  (There's nothing in mine, but ifup works as expected here.)

Have you tried Webmin?  (I know, I know, but it works.)

Have you tried pinging the two addresses?  (Not likely, but something's bent somewhere.)

A workaround: change the netmask everywhere on your LAN to 255.255.0.0 and let the address be whatever systemd wants to assign to it :-)

--
Glenn English
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAGBQJhXL2SACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDLdhwgAwp4apR3uGebYU5bOx+qQbh8iGDFa+sPxMzqdzYa0bVBcoaUE
hzxPw1+pAe3vEfD/VYYrm5GGC4aUHILqH7SffpMMbWEZtSaL5ghKC8EGZhlk
wcP0d7p3paPNvKpCHMOUkxDQOd04Cqu+gudkeiQasqAPBqnTzLpk0sEBIsj9
EMeA/RCivsIGt+VvNQPaR2+surTnubOx95pwT/SmFT1at6awcbiYYNjUU08T
rnOdSAA1A7/X5UED1Mo5R+6k/DT3DqKzkK1jmwY1IKt24iBLH4wn/2md6j8w
WpbLDjn/U9Gb+rpNqdEhLkVwMgLrxFRkyKkH+gJangN7JyExoT6RbQ==
=Ze8U
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

network problem Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2021-10-05 22:10 +0200
  Re: network problem Dan Ritter <dsr@randomstring.org> - 2021-10-05 22:40 +0200
  Re: network problem Greg Wooledge <greg@wooledge.org> - 2021-10-05 22:40 +0200
  Re: network problem ghe2001 <ghe2001@protonmail.com> - 2021-10-05 23:10 +0200
  Re: network problem Reco <recoverym4n@enotuniq.net> - 2021-10-06 07:40 +0200

csiph-web