🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gmane.linux.debian.user
10 messages
10 total messages Started by JW Mon, 08 Jun 2009 13:51
Does anyone else consider this a bug?
#307482
Author: JW
Date: Mon, 08 Jun 2009 13:51
42 lines
1494 bytes
There's a new "feature" of Lenny that keeps catching me off guard. I might be
wrong but I don't remember Etch ever doing this to me.

It goes like this:

1. Perform a new Lenny install of the "standard package set" (no Xorg) (I
always use net installs but I assume it's the same no matter what)

2. Immediately install ssh and configure a static IP address

3. Restart networking: /etc/init.d/networking restart

4. Start some services and and jobs on the server that make use of the network
(start an scp or rsync of a large data set over the network is an especially
good example ;-)  )

5. Walk away assuming the server will continue performing those tasks

6. Come back later to check on the server and discover that you can't log in
via ssh.

7. Log into the console to see what's going on and discover that your
scp/rsync and other network tasks have failed because dhcpclient is still
running from the initial install's automatic DHCP network detect and had
moved the server BACK to a DHCP address after the static network config. Mind
you, the install does not ASK if you want DHCP or static addressing during
setup.

Work around: Either kill dhcpclient or restart the server to get rid of it.
Problem is I keep forgetting this aspect :-)

I find it extremely annoying but before I file a report I want to make sure
other folks don't consider this a "feature"

	JW

--

----------------------
System Administrator - Cedar Creek Software
http://www.cedarcreeksoftware.com

Re: Does anyone else consider this a bug?
#307494
Author: "Karl O. Pinc"
Date: Mon, 08 Jun 2009 15:33
15 lines
340 bytes
On 06/08/2009 03:29:06 PM, Frank Lin PIAT wrote:
> Hello,
> 
> Last-point first, you can instruct Debian-Installer to prompt for
> fixed
> IP (rather than using DHCP).

Isn't there a choice when in expert mode as well?


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein

Re: Does anyone else consider this a bug?
#307492
Author: Frank Lin PIAT
Date: Mon, 08 Jun 2009 22:29
30 lines
927 bytes
Hello,

Last-point first, you can instruct Debian-Installer to prompt for fixed
IP (rather than using DHCP).

You need to pass this argument at boot prompt:
  netcfg/disable_dhcp=true

(read http://www.debian.org/releases/lenny/i386/ch05s03 )

On Mon, 2009-06-08 at 13:51 -0500, JW wrote:
> There's a new "feature" of Lenny that keeps catching me off guard. I might be
> wrong but I don't remember Etch ever doing this to me.
>
> It goes like this:
>
> 1. Perform a new Lenny install of the "standard package set" (no Xorg) (I
> always use net installs but I assume it's the same no matter what)
>
> 2. Immediately install ssh and configure a static IP address
>
> 3. Restart networking: /etc/init.d/networking restart
[..]
> Work around: Either kill dhcpclient or restart the server to get rid of it.
> Problem is I keep forgetting this aspect :-)

I haven't tested it, but running "ifdown eth0"  may help.

Franklin

Re: Does anyone else consider this a bug?
#307504
Author: Frank Lin PIAT
Date: Mon, 08 Jun 2009 23:29
14 lines
374 bytes
On Mon, 2009-06-08 at 15:33 -0500, Karl O. Pinc wrote:
> On 06/08/2009 03:29:06 PM, Frank Lin PIAT wrote:
> > Hello,
> >
> > Last-point first, you can instruct Debian-Installer to prompt for
> > fixed
> > IP (rather than using DHCP).
>
> Isn't there a choice when in expert mode as well?

Sure, you are probably right. (It's just that I don't use Expert mode).

Franklin

Re: Does anyone else consider this a bug?
#307510
Author: =?UTF-8?Q?Nuno_M
Date: Mon, 08 Jun 2009 23:52
7 lines
202 bytes
Regardless of mode it should always ask for dhcp/static. Didn't it do
this before?

-- 
()  ascii ribbon campaign - against html e-mail
/\  ascii-rubanda kampajno - kontraŭ html-a retpoŝto

Re: Does anyone else consider this a bug?
#307544
Author: Andrei Popescu
Date: Tue, 09 Jun 2009 12:18
51 lines
1543 bytes
--DqhR8hV3EnoxUkKN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon,08.Jun.09, 13:51:15, JW wrote:
 
> 1. Perform a new Lenny install of the "standard package set" (no Xorg) (I 
> always use net installs but I assume it's the same no matter what)
> 
> 2. Immediately install ssh and configure a static IP address
> 
> 3. Restart networking: /etc/init.d/networking restart
 
[snip server goes back to DHCP]

> Work around: Either kill dhcpclient or restart the server to get rid of it. 
> Problem is I keep forgetting this aspect :-)

So the problem is '/etc/init.d/networking restart' does not kill 
dhclient? Does a simple 'ifdown eth0' do it? What about
'ifdown --force eth0'

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

--DqhR8hV3EnoxUkKN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBCAAGBQJKLijRAAoJEHNWs3jeoi3pBesH/iLxP7h4NYAZK2to6uD2MK3A
9QPb6Mr/LyaZQnGH5LVs7YeDnS4XQktSAP1yQA7cGL9cn8dEuBGjmVsb7sSb5VFx
S+ohD5ioHhxMeIoVHj/N0vhiBmyNH8JdPAHPNlB/maTchzRlfmWbFWIXNdxc+IBX
77/I79q+7RZRWdqDPy2KucZAOQoOcZD4sS1ZPTdjXA6vJvIAeeZRYQxMHuOU3lPx
alPwSpnGE797TJ9hYdu3yhQVKRkMHinvwJrwetRzy46brRjl5DEv5zxyDgc9i7Y7
4AJUmcv1b7/OIepQRMBo3r4V1senM5nXD5JvjXBH4vIlmTU5i64MOfb4P04pWI8=9nl6
-----END PGP SIGNATURE-----

--DqhR8hV3EnoxUkKN--

Re: Does anyone else consider this a bug?
#307574
Author: Johannes Wieders
Date: Tue, 09 Jun 2009 22:00
18 lines
544 bytes
Nuno Magalhães wrote:
> Regardless of mode it should always ask for dhcp/static. Didn't it do
> this before?

IIRC, since sarge or etch it tried to automatically detect a dhcp server
and on success would configure the network for dhcp. On failing to
configure the network automatically, it would ask.

(I guess this is a sane default behaviour that is fine for most people.)

Johannes


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Re: Does anyone else consider this a bug?
#307581
Author: Frank Lin PIAT
Date: Tue, 09 Jun 2009 23:28
25 lines
651 bytes
Hi,

On Mon, 2009-06-08 at 23:52 +0100, Nuno Magalhães wrote:
> Regardless of mode it should always ask for dhcp/static.

Static IP are only useful in managed environment (especially for
servers). In managed environnement, one is supposed to have RTFM.

On the other hand, computers used by regular users are configured using
DHCP. Regular users would only be confused if they were given the option
to configure IP address manually.

> Didn't it do this before?

I can't remember.

Regards,



-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Re: Does anyone else consider this a bug?
#307750
Author: Lisi Reisz
Date: Fri, 12 Jun 2009 18:03
12 lines
494 bytes
On Tuesday 09 June 2009 22:28:52 Frank Lin PIAT wrote:
> On the other hand, computers used by regular users are configured using
> DHCP. Regular users would only be confused if they were given the option
> to configure IP address manually.

Surely one could expect Debian users, or rather, users installing Debian for
themselves, to know whether they want DHCP or static IP?  Every other distro
that I have installed asks, including ones that are avowedly aimed
at "regular users".

Lisi

Re: Does anyone else consider this a bug?
#307921
Author: Chris Bannister
Date: Mon, 15 Jun 2009 15:25
24 lines
893 bytes
On Tue, Jun 09, 2009 at 10:00:21PM +0200, Johannes Wiedersich wrote:
> Nuno Magalhães wrote:
> > Regardless of mode it should always ask for dhcp/static. Didn't it do
> > this before?
> 
> IIRC, since sarge or etch it tried to automatically detect a dhcp server
> and on success would configure the network for dhcp. On failing to
> configure the network automatically, it would ask.
> 
> (I guess this is a sane default behaviour that is fine for most people.)

IMHO it seems weird to not offer to configure network manually
especially if you know it is going to fail if it tries without asking.

-- 
Chris.
======
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
                                           -- Stephen F Roberts

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads