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


Groups > linux.debian.user > #198307 > unrolled thread

Network configuration

Started byIlyass Kaouam <ilyassikai@gmail.com>
First post2018-08-06 02:00 +0200
Last post2018-08-06 10:10 +0200
Articles 11 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Network configuration Ilyass Kaouam <ilyassikai@gmail.com> - 2018-08-06 02:00 +0200
    Re: Network configuration john doe <johndoe65534@mail.com> - 2018-08-06 08:10 +0200
      Re: Network configuration Joe <joe@jretrading.com> - 2018-08-06 10:10 +0200
        Re: Network configuration Curt <curty@free.fr> - 2018-08-06 10:40 +0200
          Re: Network configuration Ilyass Kaouam <ilyassikai@gmail.com> - 2018-08-06 11:20 +0200
            Re: Network configuration john doe <johndoe65534@mail.com> - 2018-08-06 11:40 +0200
              Re: Network configuration john doe <johndoe65534@mail.com> - 2018-08-06 14:10 +0200
                Re: Network configuration Ilyass Kaouam <ilyassikai@gmail.com> - 2018-08-06 21:20 +0200
                  Re: Network configuration john doe <johndoe65534@mail.com> - 2018-08-06 21:50 +0200
                    Re: Network configuration Ilyass Kaouam <ilyassikai@gmail.com> - 2018-08-06 21:50 +0200
      Re: Network configuration Jude DaShiell <jdashiel@panix.com> - 2018-08-06 10:10 +0200

#198307 — Network configuration

FromIlyass Kaouam <ilyassikai@gmail.com>
Date2018-08-06 02:00 +0200
SubjectNetwork configuration
Message-ID<wjB6h-4hO-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

If I choose to configure the network during installation, where can I
configure the network after?
on which file, because in /etc/network/interfaces I don't see the ip
address, subnetwork ...

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*

[toc] | [next] | [standalone]


#198309

Fromjohn doe <johndoe65534@mail.com>
Date2018-08-06 08:10 +0200
Message-ID<wjGSm-89V-7@gated-at.bofh.it>
In reply to#198307
On 8/6/2018 1:53 AM, Ilyass Kaouam wrote:
> If I choose to configure the network during installation, where can I
> configure the network after?
> on which file, because in /etc/network/interfaces I don't see the ip
> address, subnetwork ...
> 

It depends which pkg you choose to install during installation.
If you selected a desktop manager (gnome, mate ...) it is most likely 
that NetworkManager (NM), WICD or or similar apps is installed.

For some hints of what is configuring your interfaces you might look at 
the top of:

/etc/resolv.conf

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#198311

FromJoe <joe@jretrading.com>
Date2018-08-06 10:10 +0200
Message-ID<wjIKt-Oz-1@gated-at.bofh.it>
In reply to#198309
On Mon, 6 Aug 2018 04:01:44 -0400
Jude DaShiell <jdashiel@panix.com> wrote:

> If you do a command line install with no graphics, you end up with no
> network configuration once installation completes.

Not in my experience.

At one time, if you did a non-expert install with no network DHCP
server, then you got no networking, even after a netinstall. It bit me
around the time of etch or lenny. I've no idea if it's still true today.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#198313

FromCurt <curty@free.fr>
Date2018-08-06 10:40 +0200
Message-ID<wjJdw-Yr-1@gated-at.bofh.it>
In reply to#198311
On 2018-08-06, Joe <joe@jretrading.com> wrote:
> On Mon, 6 Aug 2018 04:01:44 -0400
> Jude DaShiell <jdashiel@panix.com> wrote:
>
>> If you do a command line install with no graphics, you end up with no
>> network configuration once installation completes.
>
> Not in my experience.
>
> At one time, if you did a non-expert install with no network DHCP
> server, then you got no networking, even after a netinstall. It bit me
> around the time of etch or lenny. I've no idea if it's still true today.
>

I think there's only one Brian over there in the UK somewhere, and here's what
he said a year back that pertains (if the bug still kicks) to whatever it
is we're talking about here (in the interests of precision and clarity):

 netcfg sets up the network during installation and writes a temporary
 /e/n/i stanza. If a user installs a DE and n-m is installed the stanza
 is not copied to /target, the assumption being, I suppose, that the user
 would want n-m to handle the network. This happens when either a wired
 or wireless connection is used to install.

 If the user uses a cabled connection but does not select a DE the stanza
 is copied to /target.

 If a user has a wireless connection but does not select a DE the stanza
 is not copied to /target but rewritten to contain loopback only and then
 copied over. On first boot there is no external connectivity. Your guess
 is as good as mine why a wireless installation is treated differently
 from a cabled one. I have never seen any adequate justification for
 denying external connectivity in this circumstance.

So it is the experience of wireless people, I guess.

-- 
Some years ago, when the images which this world affords first opened upon me,
when I felt the cheering warmth of summer and heard the rustling of the leaves
and the warbling of the birds, and these were all to me, I should have wept to
die; now it is my only consolation. --Mary Shelley, Frankenstein; or, The Modern Prometheus

[toc] | [prev] | [next] | [standalone]


#198314

FromIlyass Kaouam <ilyassikai@gmail.com>
Date2018-08-06 11:20 +0200
Message-ID<wjJQe-1qb-5@gated-at.bofh.it>
In reply to#198313

[Multipart message — attachments visible in raw view] — view raw

Thank you for all your reply,

I configured the network via the GUI during installation, the network works
perfectly.
I just want to know if I want to change the address or ..., without going
through the GUI, where I can make my changes, knowing that the

/etc/network/interfaces file does not contain my configuration :

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).


source /etc/network/interfaces.d/*


# The loopback network interface

auto lo

iface lo inet loopback

Le lun. 6 août 2018 à 10:30, Curt <curty@free.fr> a écrit :

> On 2018-08-06, Joe <joe@jretrading.com> wrote:
> > On Mon, 6 Aug 2018 04:01:44 -0400
> > Jude DaShiell <jdashiel@panix.com> wrote:
> >
> >> If you do a command line install with no graphics, you end up with no
> >> network configuration once installation completes.
> >
> > Not in my experience.
> >
> > At one time, if you did a non-expert install with no network DHCP
> > server, then you got no networking, even after a netinstall. It bit me
> > around the time of etch or lenny. I've no idea if it's still true today.
> >
>
> I think there's only one Brian over there in the UK somewhere, and here's
> what
> he said a year back that pertains (if the bug still kicks) to whatever it
> is we're talking about here (in the interests of precision and clarity):
>
>  netcfg sets up the network during installation and writes a temporary
>  /e/n/i stanza. If a user installs a DE and n-m is installed the stanza
>  is not copied to /target, the assumption being, I suppose, that the user
>  would want n-m to handle the network. This happens when either a wired
>  or wireless connection is used to install.
>
>  If the user uses a cabled connection but does not select a DE the stanza
>  is copied to /target.
>
>  If a user has a wireless connection but does not select a DE the stanza
>  is not copied to /target but rewritten to contain loopback only and then
>  copied over. On first boot there is no external connectivity. Your guess
>  is as good as mine why a wireless installation is treated differently
>  from a cabled one. I have never seen any adequate justification for
>  denying external connectivity in this circumstance.
>
> So it is the experience of wireless people, I guess.
>
> --
> Some years ago, when the images which this world affords first opened upon
> me,
> when I felt the cheering warmth of summer and heard the rustling of the
> leaves
> and the warbling of the birds, and these were all to me, I should have
> wept to
> die; now it is my only consolation. --Mary Shelley, Frankenstein; or, The
> Modern Prometheus
>
>

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*

[toc] | [prev] | [next] | [standalone]


#198315

Fromjohn doe <johndoe65534@mail.com>
Date2018-08-06 11:40 +0200
Message-ID<wjK9z-1wz-7@gated-at.bofh.it>
In reply to#198314
On 8/6/2018 11:16 AM, Ilyass Kaouam wrote:
> Thank you for all your reply,
> 
> I configured the network via the GUI during installation, the network works
> perfectly.
> I just want to know if I want to change the address or ..., without going
> through the GUI, where I can make my changes, knowing that the
> 

To answer that question we/you need to know what app is configuring your 
interfaces.
Then you can reed how to configure that app through CLI/config file.

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#198325

Fromjohn doe <johndoe65534@mail.com>
Date2018-08-06 14:10 +0200
Message-ID<wjMuJ-34Z-9@gated-at.bofh.it>
In reply to#198315
On 8/6/2018 12:12 PM, Ilyass Kaouam wrote:
> I configured my network here (see attached picture please)
> 
> [image: Capture d’écran 2018-08-06 à 12.12.06.png]
> 

I don't have access to images.
What is the output of:

$ cat /etc/resolv.conf

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#198332

FromIlyass Kaouam <ilyassikai@gmail.com>
Date2018-08-06 21:20 +0200
Message-ID<wjTcS-7of-5@gated-at.bofh.it>
In reply to#198325

[Multipart message — attachments visible in raw view] — view raw

# Generated by NetworkManager

nameserver 8.8.8.8

Le lun. 6 août 2018 à 14:01, john doe <johndoe65534@mail.com> a écrit :

> On 8/6/2018 12:12 PM, Ilyass Kaouam wrote:
> > I configured my network here (see attached picture please)
> >
> > [image: Capture d’écran 2018-08-06 à 12.12.06.png]
> >
>
> I don't have access to images.
> What is the output of:
>
> $ cat /etc/resolv.conf
>
> --
> John Doe
>
>

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*

[toc] | [prev] | [next] | [standalone]


#198334

Fromjohn doe <johndoe65534@mail.com>
Date2018-08-06 21:50 +0200
Message-ID<wjTFT-7yS-7@gated-at.bofh.it>
In reply to#198332
On 8/6/2018 9:15 PM, Ilyass Kaouam wrote:
> # Generated by NetworkManager
> 

Ok -- The app "NetworkManager" is managing your interfaces.

To deal with NetworkManager through the CLI and config files you will 
need to do some reading:

https://developer.gnome.org/NetworkManager/stable/nm-settings-keyfile.html
https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
https://arstechnica.com/civis/viewtopic.php?t=1163023

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#198335

FromIlyass Kaouam <ilyassikai@gmail.com>
Date2018-08-06 21:50 +0200
Message-ID<wjTFT-7yS-9@gated-at.bofh.it>
In reply to#198334

[Multipart message — attachments visible in raw view] — view raw

Thank's John :) :)

Le lun. 6 août 2018 à 21:40, john doe <johndoe65534@mail.com> a écrit :

> On 8/6/2018 9:15 PM, Ilyass Kaouam wrote:
> > # Generated by NetworkManager
> >
>
> Ok -- The app "NetworkManager" is managing your interfaces.
>
> To deal with NetworkManager through the CLI and config files you will
> need to do some reading:
>
> https://developer.gnome.org/NetworkManager/stable/nm-settings-keyfile.html
> https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
> https://arstechnica.com/civis/viewtopic.php?t=1163023
>
> --
> John Doe
>
>

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*

[toc] | [prev] | [next] | [standalone]


#198312

FromJude DaShiell <jdashiel@panix.com>
Date2018-08-06 10:10 +0200
Message-ID<wjIKt-Oz-3@gated-at.bofh.it>
In reply to#198309
If you do a command line install with no graphics, you end up with no
network configuration once installation completes.I left some writing on
wiki.debian.org for how to configure wifi to work for command line
installs on post-install boot and that uses ifup and ifdown.  I don't
know what happened to the text on that site since I put it up in pure
ascii without any markup editing.  If need be, I think I can find it
among my files here.
On Mon, 6 Aug 2018, john doe wrote:

> Date: Mon, 6 Aug 2018 02:02:52
> From: john doe <johndoe65534@mail.com>
> To: debian-user@lists.debian.org
> Subject: Re: Network configuration
> Resent-Date: Mon,  6 Aug 2018 06:03:15 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> On 8/6/2018 1:53 AM, Ilyass Kaouam wrote:
> > If I choose to configure the network during installation, where can I
> > configure the network after?
> > on which file, because in /etc/network/interfaces I don't see the ip
> > address, subnetwork ...
> >
>
> It depends which pkg you choose to install during installation.
> If you selected a desktop manager (gnome, mate ...) it is most likely that
> NetworkManager (NM), WICD or or similar apps is installed.
>
> For some hints of what is configuring your interfaces you might look at the
> top of:
>
> /etc/resolv.conf
>
>

-- 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web