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


Groups > linux.debian.user > #240994

Re: network problem (fwd)

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: network problem (fwd)
Date 2021-10-07 03:40 +0200
Message-ID <D5qy5-702-1@gated-at.bofh.it> (permalink)
References <D5dUe-7WA-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 06 Oct 2021 at 14:09:23 (+0200), Pierre Frenkiel wrote:
> please note that the main problem is
>   "why the /etc/network/interfaces" is not used?"

> 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?

One possibility might be that you've somehow got yourself connected to
the WAN side of your router, rather that the LAN side.
I think you should login to your router and see what the address of
the Internet Port is.
I seem to remember that happening to someone here with one of those
"captive" or ISP-managed modem/routers.
It's one reason why we run three routers at home: one that Cox rent,
the real one (mine), and one with a broken WAN port that we use as
a switch and wireless repeater.

Cheers,
David.

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


Thread

network problem (fwd) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2021-10-06 14:10 +0200
  Re: network problem (fwd) Greg Wooledge <greg@wooledge.org> - 2021-10-06 14:20 +0200
  Re: network problem (fwd) Brian <ad44@cityscape.co.uk> - 2021-10-06 17:20 +0200
    Re: network problem (fwd) Thomas Pircher <thp.debian@p5r.uk> - 2021-10-06 18:00 +0200
      Re: network problem (fwd) Brian <ad44@cityscape.co.uk> - 2021-10-06 18:30 +0200
    Re: network problem (fwd) rhkramer@gmail.com - 2021-10-07 02:00 +0200
      Re: network problem (fwd) David <bouncingcats@gmail.com> - 2021-10-07 02:10 +0200
        Re: network problem (fwd) Lee <ler762@gmail.com> - 2021-10-07 04:00 +0200
          Re: network problem (fwd) David <bouncingcats@gmail.com> - 2021-10-07 04:10 +0200
  Re: network problem (fwd) David <bouncingcats@gmail.com> - 2021-10-07 01:40 +0200
  Re: network problem (fwd) David Wright <deblis@lionunicorn.co.uk> - 2021-10-07 03:40 +0200

csiph-web