From: James Miller <jamtat@mailsnare.net>
To: linux-newbie@vger.kernel.org
Subject: Re: Debian network reconfigure
Date: Thu, 1 Jan 2004 18:38:32 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.4.58.0401011833050.3806@debian-box> (raw)
In-Reply-To: <5.1.0.14.1.20040101154809.02021888@celine>
On Thu, 1 Jan 2004, Ray Olszewski wrote:
> At 11:44 PM 1/1/2004 +0000, jamtat@mailsnare.net wrote:
> >the gateway is. Is there a way to rerun it? If so, where and how?
>
> I don't know offhand, though it is a good goess that there is some
> "dpkg-reconfigure" command that will do what you want. The fact that this
> setup is part of a install makes it a bit complicated.
I was trying to guess at just some such thing - dpkg-reconfigure
myguesshere - but my missed guesses were leading only to frustration.
>
> The easy solution, though, is to hand edit (using vi, emacs, or whatever
> text processor you like) the file /etc/network/interfaces to remove the
> DHCP assignment and replace it with a static address. A sample stanza for
> this (taken from one of my workstations) is:
>
> auto eth0
> # comment out next line to remove DHCP assignment
> #iface eth0 inet dhcp
> iface eth0 inet static
> address 192.168.1.1
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> gateway 192.168.1.86
>
> All the networking setup program does is provide a front-end to editing
> this file.
>
> So edit it, then run ...
>
> /etc/init.d/networking restart
>
> ... and you should be set.
>
> Do all this as root, of course.
>
Thanks for the tip, Ray. I wanted to do something like this from the
start, but I thought I should try whatever automated avenues the system
might offer for it first. I never quite know when to start editing
manually and when to rely on some sort of wizard thingy. Anyway, I've
edited the file accordingly so I should be set.
Appreciate it, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-01-02 0:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 19:33 disabled system speaker: how to enable? James Miller
2004-01-01 3:33 ` caszonyi
2004-01-01 23:44 ` Debian network reconfigure jamtat
2004-01-01 23:54 ` Ray Olszewski
2004-01-02 0:38 ` James Miller [this message]
2004-01-04 20:43 ` starting and stopping networking James Miller
2004-01-04 20:49 ` caszonyi
2004-01-04 21:07 ` James Miller
2004-01-04 21:14 ` Jacob Langley
2004-01-04 21:19 ` caszonyi
2004-01-04 21:28 ` James Miller
2004-01-04 21:41 ` James Miller
2004-01-04 22:24 ` Ray Olszewski
2004-01-04 21:32 ` Alan Bort
2004-01-04 23:26 ` Ray Olszewski
2004-01-04 23:51 ` Alan Bort
2004-01-05 0:28 ` Ray Olszewski
2004-01-05 3:11 ` Alan Bort
2004-01-05 3:55 ` Juan Facundo Suárez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0401011833050.3806@debian-box \
--to=jamtat@mailsnare.net \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox