Re: resolv.conf question (???)

2007-11-02 Thread Douglas A. Tutty
On Fri, Nov 02, 2007 at 05:25:14PM -0600, Paul E Condon wrote:
> On Fri, Nov 02, 2007 at 02:45:25PM -0700, Raquel wrote:
> > On Fri, 2 Nov 2007 15:13:55 -0400
> > "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
 > 
> > So resolvconf might be useful say, on a laptop where one might be
> > connected by ethernet at the office, wireless during lunch and then
> > dialup at home?

Or you have a main box that usually connects to the net with ppp and a
desktop box that normally connects via the main box.  As a back-up plan
in case something happens to the main box, move the external modem to
the desktop and use it as the firewall/internet access and the main box
can access the net through the desktop.  

Sort of a unique case on my part, but it is part of my
bare-metal-recovery plan and is tested.

> > 
> 
> Thanks, all. I had looked into resolveconf earlier.  It was given an
> enthusiastic recommendation by Martin Krafft in his book, but when I
> looked at some info on the web, I got the impression that it was a
> back-end thing that was only called by other programs.
> 
> NetworkManager is installed as part of the initial installation of
> desktop Etch, so I'm reluctant to remove it without first learning a
> lot more than I currently know about networking. When I google it, I
> learn that it is intended for managing simple single-user networking
> issues which isn't exactly my problem, so maybe I do need to remove
> it. But I tried, and something I did killed the computer so it
> wouldn't reboot. (I'm writing this on a different box while I do
> reinstall of Etch on that box.)
> 
> I think I'll want to start a new thread with a rather different thrust
> when that box starts functioning again.

It would have been installed if you chose the 'desktop' task to bring in
gnome.

If you want a good learning experience, try installing and not brining
in any tasks.  You get a minimal base install without a 'network
manager' with network setup the semi-old-fashioned-debian way.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question (???)

2007-11-02 Thread Paul E Condon
On Fri, Nov 02, 2007 at 02:45:25PM -0700, Raquel wrote:
> On Fri, 2 Nov 2007 15:13:55 -0400
> "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
> 
> > On Fri, Nov 02, 2007 at 11:42:04AM -0700, Raquel wrote:
> > > On Fri, 2 Nov 2007 13:10:25 -0400 "Douglas A. Tutty"
> > > <[EMAIL PROTECTED]>
> > > > 
> > > > Or, the OP could get rid of NM and perhaps install the
> > > > resolvconf package (that takes resolvconf hints from
> > > > /etc/network/interfaces and ppp).
> > > 
> > > Perhaps I didn't understand everything, but I decided I didn't
> > > need resolvconf.  I chose, instead, to use resolv.conf and to
> > > configure everything myself.
> > 
> > Its helpful if your method of connecting to the internet changes
> > your nameservers.  I'm on dialup so it changes on each dialing. 
> > Its especially helpful if sometimes you use ppp and othertimes
> > eth0 or something.
> > 
> > Doug.
> > 
> 
> So resolvconf might be useful say, on a laptop where one might be
> connected by ethernet at the office, wireless during lunch and then
> dialup at home?
> 

Thanks, all. I had looked into resolveconf earlier.  It was given an
enthusiastic recommendation by Martin Krafft in his book, but when I
looked at some info on the web, I got the impression that it was a
back-end thing that was only called by other programs.

NetworkManager is installed as part of the initial installation of
desktop Etch, so I'm reluctant to remove it without first learning a
lot more than I currently know about networking. When I google it, I
learn that it is intended for managing simple single-user networking
issues which isn't exactly my problem, so maybe I do need to remove
it. But I tried, and something I did killed the computer so it
wouldn't reboot. (I'm writing this on a different box while I do
reinstall of Etch on that box.)

I think I'll want to start a new thread with a rather different thrust
when that box starts functioning again.

Thanks,

-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question

2007-11-02 Thread Raquel
On Fri, 2 Nov 2007 15:13:55 -0400
"Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

> On Fri, Nov 02, 2007 at 11:42:04AM -0700, Raquel wrote:
> > On Fri, 2 Nov 2007 13:10:25 -0400 "Douglas A. Tutty"
> > <[EMAIL PROTECTED]>
> > > 
> > > Or, the OP could get rid of NM and perhaps install the
> > > resolvconf package (that takes resolvconf hints from
> > > /etc/network/interfaces and ppp).
> > 
> > Perhaps I didn't understand everything, but I decided I didn't
> > need resolvconf.  I chose, instead, to use resolv.conf and to
> > configure everything myself.
> 
> Its helpful if your method of connecting to the internet changes
> your nameservers.  I'm on dialup so it changes on each dialing. 
> Its especially helpful if sometimes you use ppp and othertimes
> eth0 or something.
> 
> Doug.
> 

So resolvconf might be useful say, on a laptop where one might be
connected by ethernet at the office, wireless during lunch and then
dialup at home?

-- 
Raquel

The surest way to corrupt a youth is to instruct him to hold in
higher regard those who think alike than those who think
differently.
  --Friedrich Nietzche


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question

2007-11-02 Thread Douglas A. Tutty
On Fri, Nov 02, 2007 at 11:42:04AM -0700, Raquel wrote:
> On Fri, 2 Nov 2007 13:10:25 -0400 "Douglas A. Tutty" <[EMAIL PROTECTED]>
> > On Fri, Nov 02, 2007 at 08:48:06AM -0700, Andrew Sackville-West
> > > On Thu, Nov 01, 2007 at 05:20:56PM -0600, Paul E Condon wrote:
> > > > I'm running Etch. My resolv.conf starts with the line:
> > > > 
> > > > # generated by NetworkManager, do not edit!
> > > > 
> > > > and contains entries that I want to have new different
> > > > values. I want to change the values in a way that last
> > > > through a reboot, and I'd like to do it by editting
> > > > a file using vim. What is the file that is the 
> > > > authoritative source of nameserver addresses?
> > > 
> > > I found this:
> > > http://live.gnome.org/NetworkManagerConfigurationSpecification
> > > 
> > > but couldn't tell from a quick read where those configs were
> > > supposed to go. Most of the way down the page it referes to DNS
> > > settings. 
> > > 
> > > I don't use NM, so I leave implementing it up to you ;)
> > 
> > Or, the OP could get rid of NM and perhaps install the resolvconf
> > package (that takes resolvconf hints from /etc/network/interfaces
> > and ppp).
> 
> Perhaps I didn't understand everything, but I decided I didn't need
> resolvconf.  I chose, instead, to use resolv.conf and to configure
> everything myself.

Its helpful if your method of connecting to the internet changes your
nameservers.  I'm on dialup so it changes on each dialing.  Its
especially helpful if sometimes you use ppp and othertimes eth0 or
something.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question

2007-11-02 Thread Raquel
On Fri, 2 Nov 2007 13:10:25 -0400
"Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

> On Fri, Nov 02, 2007 at 08:48:06AM -0700, Andrew Sackville-West
> wrote:
> > On Thu, Nov 01, 2007 at 05:20:56PM -0600, Paul E Condon wrote:
> > > I'm running Etch. My resolv.conf starts with the line:
> > > 
> > > # generated by NetworkManager, do not edit!
> > > 
> > > and contains entries that I want to have new different
> > > values. I want to change the values in a way that last
> > > through a reboot, and I'd like to do it by editting
> > > a file using vim. What is the file that is the 
> > > authoritative source of nameserver addresses?
> > 
> > I found this:
> > http://live.gnome.org/NetworkManagerConfigurationSpecification
> > 
> > but couldn't tell from a quick read where those configs were
> > supposed to go. Most of the way down the page it referes to DNS
> > settings. 
> > 
> > I don't use NM, so I leave implementing it up to you ;)
> 
> Or, the OP could get rid of NM and perhaps install the resolvconf
> package (that takes resolvconf hints from /etc/network/interfaces
> and ppp).
> 
> Doug.
> 

Perhaps I didn't understand everything, but I decided I didn't need
resolvconf.  I chose, instead, to use resolv.conf and to configure
everything myself.

-- 
Raquel

I believe there are more instances of the abridgement of the freedom
of the people by gradual and silent encroachments of those in power
than by violent and sudden usurpations.
  --James Madison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question

2007-11-02 Thread Douglas A. Tutty
On Fri, Nov 02, 2007 at 08:48:06AM -0700, Andrew Sackville-West wrote:
> On Thu, Nov 01, 2007 at 05:20:56PM -0600, Paul E Condon wrote:
> > I'm running Etch. My resolv.conf starts with the line:
> > 
> > # generated by NetworkManager, do not edit!
> > 
> > and contains entries that I want to have new different
> > values. I want to change the values in a way that last
> > through a reboot, and I'd like to do it by editting
> > a file using vim. What is the file that is the 
> > authoritative source of nameserver addresses?
> 
> I found this:
> http://live.gnome.org/NetworkManagerConfigurationSpecification
> 
> but couldn't tell from a quick read where those configs were supposed
> to go. Most of the way down the page it referes to DNS settings. 
> 
> I don't use NM, so I leave implementing it up to you ;)

Or, the OP could get rid of NM and perhaps install the resolvconf
package (that takes resolvconf hints from /etc/network/interfaces and
ppp).

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf question

2007-11-02 Thread Andrew Sackville-West
On Thu, Nov 01, 2007 at 05:20:56PM -0600, Paul E Condon wrote:
> I'm running Etch. My resolv.conf starts with the line:
> 
> # generated by NetworkManager, do not edit!
> 
> and contains entries that I want to have new different
> values. I want to change the values in a way that last
> through a reboot, and I'd like to do it by editting
> a file using vim. What is the file that is the 
> authoritative source of nameserver addresses?

I found this:
http://live.gnome.org/NetworkManagerConfigurationSpecification

but couldn't tell from a quick read where those configs were supposed
to go. Most of the way down the page it referes to DNS settings. 

I don't use NM, so I leave implementing it up to you ;)

A


signature.asc
Description: Digital signature


Re: resolv.conf question

2007-11-01 Thread Raj Kiran Grandhi

Paul E Condon wrote:

I'm running Etch. My resolv.conf starts with the line:

# generated by NetworkManager, do not edit!

and contains entries that I want to have new different
values. I want to change the values in a way that last
through a reboot, and I'd like to do it by editting
a file using vim. What is the file that is the 
authoritative source of nameserver addresses?


TIA


You can just

apt-get remove network-manager

What is your network like? Do you have a static ip or use dhcp? If you 
know your ip settings do not change, then just


Modify /etc/network/interfaces, /etc/resolv.conf, /etc/networks to suit 
your needs.


If you are using dhcp, then you might want to look into 
/etc/dhcp3/dhclient.conf



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




resolv.conf question

2007-11-01 Thread Paul E Condon
I'm running Etch. My resolv.conf starts with the line:

# generated by NetworkManager, do not edit!

and contains entries that I want to have new different
values. I want to change the values in a way that last
through a reboot, and I'd like to do it by editting
a file using vim. What is the file that is the 
authoritative source of nameserver addresses?

TIA
-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: resolv.conf question

2000-09-21 Thread Sean 'Shaleh' Perry
> 
> anyway, i just removed pump from the system (interestingly, it didn't remove
> the script, so i removed that by hand).
> 

dpkg --purge, the file is a conffile, so --remove won't kill the file.

> i'll reboot to do a test, but is there another possible cause?
> 

pcmcia?



RE: resolv.conf question

2000-09-21 Thread Peter Jay Salzman
i don't think i am (i use ppp):

# ps ax | grep -i pump
 1909 pts/0S  0:00 grep -i pump
# ps ax | grep -i dhcp
 1911 pts/0S  0:00 grep -i dhcp

there was a script for pump in rc2.d, but it's not linked in any of the
runlevels, and i greped for it in the scripts that are linked in rc2.d.

anyway, i just removed pump from the system (interestingly, it didn't remove
the script, so i removed that by hand).

i'll reboot to do a test, but is there another possible cause?

thanks!
pete

> On 21-Sep-2000 Peter Jay Salzman wrote:
> > dear all,
> > 
> > i keep putting
> >   search ucdavis.edu
> > 
> > in my resolv.conf, but every time i boot up, the search directive
> > disappears!   is there any reason why debian is deleting that line from
> > resolv.conf?
> > 
> 
> you are running a dhcp client like pump probably.  dhcp overwrites the
> resolv.conf.
> 



RE: resolv.conf question

2000-09-21 Thread Sean 'Shaleh' Perry

On 21-Sep-2000 Peter Jay Salzman wrote:
> dear all,
> 
> i keep putting
>   search ucdavis.edu
> 
> in my resolv.conf, but every time i boot up, the search directive
> disappears!   is there any reason why debian is deleting that line from
> resolv.conf?
> 

you are running a dhcp client like pump probably.  dhcp overwrites the
resolv.conf.



resolv.conf question

2000-09-21 Thread Peter Jay Salzman
dear all,

i keep putting
search ucdavis.edu

in my resolv.conf, but every time i boot up, the search directive
disappears!   is there any reason why debian is deleting that line from
resolv.conf?

thanks!
pete

   linux
One world, one web, one program. -- Microsoft Ad Campaign_
Ein Volk, ein Reich, ein Fuhrer. -- Nazi Ad Campaign._.
<=>+/\/-=Prevent world domination, Install Linux today!=-\/\+<=>/v\
http://landau.ucdavis.edu/psalzman  [EMAIL PROTECTED]   // \\
   ^^ ^^
  The best way to accelerate a win95 system is at 9.81 m/s^2   rules