You are not logged in.

#1 2009-01-04 00:22:50

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Why isn't dhcp set as default in rc.conf during installation?

Seems to me that it should be. Thoughts?

Offline

#2 2009-01-04 00:26:17

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Why isn't dhcp set as default in rc.conf during installation?

Cause some people dont like using it? In Archlinux you are supposed to have the choice.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2009-01-04 00:31:41

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Why isn't dhcp set as default in rc.conf during installation?

I would agree with cdwillis that "dhcp" is better default configuration than a random/arbitrary static IP configuration.  I always thought that was a bug, but never cared enough about it to report it.

Offline

#4 2009-01-04 00:42:53

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Why isn't dhcp set as default in rc.conf during installation?

Can you give the rest of us some reasoning about your claims?


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2009-01-04 01:00:46

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Why isn't dhcp set as default in rc.conf during installation?

As far as I'm concerned:

I don't know if this is the issue that the OP is referring to, but something like this happened to me during a few installs (non-FTP): the default rc.conf had some completely arbitrary static IP address defined and enabled by default.  I always thought that the 'dhcp' option (and perhaps a static IP example commented out for reference) would have been a better default setting -- just a simple way to make many if not most network setups work out of the box.  The arbitrary static IP configuration is unlikely to work on too many systems, so I could never quite figure out what it was doing there enabled by default.

It's mostly an aesthetic preference.  Like I said -- it's not a huge issue, I usually just change the whole thing when I edit rc.conf during installation.

Offline

#6 2009-01-04 01:04:20

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Why isn't dhcp set as default in rc.conf during installation?

I think it'd be nice to have the line assigning a static IP and another line with "dhcp", but just have both commented out.

#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"

Whats the reasoning to having an arbitrary IP assigned verses dhcp? In my experience if your statically assigning IP addresses, your not using one of the 192.168.x.x networks anyways.

Last edited by Sjoden (2009-01-04 01:05:16)

Offline

#7 2009-01-04 01:04:32

X/ax
Member
From: Oost vlaanderen, Belgium
Registered: 2008-01-13
Posts: 275
Website

Re: Why isn't dhcp set as default in rc.conf during installation?

Isn't it so that that arbitrary IP is actually the ip you received through dhcp during setup?
Otherwise I would think the IP would be in the (whatever the technical terms are again) in the range of 254. [... ...], making it not really arbitrary but logical (in a way)


My coding blog (or an attempt at it)
Archer start page (or an attempt at it)

Offline

#8 2009-01-04 01:04:59

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: Why isn't dhcp set as default in rc.conf during installation?

Basically what fwojciec is what I'm talking about. The static IP should be commented out with dhcp automatically enabled if the static IP is going to work less often than enabling dhcp by default.

Offline

#9 2009-01-04 01:07:43

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Why isn't dhcp set as default in rc.conf during installation?

X/ax, I never install Arch, or any OS, while connected to a network. It's the same IP everytime. As far I know dhcp isn't called on boot with the setup cd.

Offline

#10 2009-01-04 01:08:41

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Why isn't dhcp set as default in rc.conf during installation?

@X/ax: Unless 'dhcp' is specified dhcpcd will not be used at all -- a static connection connects using ifconfig/route if I remember correctly.

Offline

#11 2009-01-04 01:09:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Why isn't dhcp set as default in rc.conf during installation?

cdwillis - you can discuss it here, but if you want the devs to consider it, post a feature request in the bugtracker (if it's not there already).

Offline

#12 2009-01-04 01:42:04

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Why isn't dhcp set as default in rc.conf during installation?

The installer automatically edits rc.conf with the selections you made during installation if you want to.
What else do you need?


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#13 2009-01-04 02:44:46

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: Why isn't dhcp set as default in rc.conf during installation?

I don't remember it asking me if I wanted dhcp enabled, I had to edit rc.conf and enable it myself. I realize this isn't a deal breaker, but if that's what the majority of users would use I don't see why it's not default with the other option commented out.

Offline

#14 2009-01-04 04:49:01

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Why isn't dhcp set as default in rc.conf during installation?

I think that Dolby meant that you have the chance to edit your rc.conf when go through the Configure step in the install.

Offline

#15 2009-01-04 04:59:59

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Why isn't dhcp set as default in rc.conf during installation?

No i mean that if you use dhcp in a network installation, which always the prefered method to install Archlinux for various reasons, if you use dhcp the installer is gonna ask you at the point where you go to edit the config files, "Do you want to use settings used for installation?" Or something similar, and autocompletes all network related settings to rc.conf. Theres your answer to "Why isnt dhcp the default in rc.conf during installation" Its because you didnt make it the default. smile

Last edited by dolby (2009-01-04 05:04:11)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#16 2009-01-04 17:26:47

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Why isn't dhcp set as default in rc.conf during installation?

but as Sjoden said, not everyone does FTP installs. For those of us who do core installation from CD (or USB), we don't connect to the internet during installation so don't have internet configs to make as the default

Offline

#17 2009-01-04 19:45:30

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Why isn't dhcp set as default in rc.conf during installation?

Make a feature request on the bugtracker.
If enough people get a buzz going and vote for it on the request page, I am sure the devs will implement this in an upcoming release. It is a very small thing.
Further debate will most likely land this thread in TGN.

Offline

#18 2009-01-04 20:20:33

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: Why isn't dhcp set as default in rc.conf during installation?

Offline

#19 2009-01-04 20:24:43

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Why isn't dhcp set as default in rc.conf during installation?

Thanks cdwillis.  I also added a link to this thread in the comments to the feature request.

Offline

#20 2009-01-04 20:50:58

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Why isn't dhcp set as default in rc.conf during installation?

+1 for this.
DHCP is a more sane default.

Or both lines present and commented out...


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB