FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 04-25-2008, 05:55 AM
"Anthony E. Caudel"
 
Default Domain name

Using Kubuntu 7.10.

How do I make a domain name? I tried it under Network Settings but it
did not survive reboot.

Tony

--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 04:15 PM
Paul Lemmons
 
Default Domain name

-------- Original Message --------
Subject: Domain name
From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
Date: 04/24/2008 10:55 PM

> Using Kubuntu 7.10.
>
> How do I make a domain name? I tried it under Network Settings but it
> did not survive reboot.
>
> Tony
>

I am assuming that this question could be reworded as: "how do I set my
default domain".

If so:

vi /etc/resolv.conf

and add the line:

domain mydomain.com

to the end of the file.
--
Sometimes I wonder. Were our faith able to stand upright and look
around, would it be looking down at the mustard seed or standing in awe
of the height and breadth of it.

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 05:22 PM
"Michael Leone"
 
Default Domain name

On Fri, Apr 25, 2008 at 12:15 PM, Paul Lemmons <paul@lemmons.name> wrote:
> -------- Original Message --------
> Subject: Domain name
> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
> Date: 04/24/2008 10:55 PM
>
> > Using Kubuntu 7.10.
> >
> > How do I make a domain name? I tried it under Network Settings but it
> > did not survive reboot.
> >
> > Tony
> >
>
> I am assuming that this question could be reworded as: "how do I set my
> default domain".
>
> If so:
>
> vi /etc/resolv.conf
>
> and add the line:
>
> domain mydomain.com
>
> to the end of the file.

Not if the "resolvconf" package is installed, I don't think. I had a
problem like that, and it was down to the "resolvconf" package. My
Linux server is in the process of being rebuilt (hardware issues), but
the old advice is sometimes no longer applicable.


> --
> Sometimes I wonder. Were our faith able to stand upright and look
> around, would it be looking down at the mustard seed or standing in awe
> of the height and breadth of it.
>
> --
> kubuntu-users mailing list
> kubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>



--
Michael J. Leone
<mailto:turgon@mike-leone.com>

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Photo Gallery: <http://www.flickr.com/photos/mikeleonephotos>

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 06:09 PM
"Anthony E. Caudel"
 
Default Domain name

Paul Lemmons wrote:
> -------- Original Message --------
> Subject: Domain name
> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
> Date: 04/24/2008 10:55 PM
>
>
>> Using Kubuntu 7.10.
>>
>> How do I make a domain name? I tried it under Network Settings but it
>> did not survive reboot.
>>
>> Tony
>>
>>
>
> I am assuming that this question could be reworded as: "how do I set my
> default domain".
>
> If so:
>
> vi /etc/resolv.conf
>
> and add the line:
>
> domain mydomain.com
>
> to the end of the file.
>
Sorry but didn't work. My resolv.conf says it was created by
networkmanager and do not edit. I did it anyway as a test and on the
next reboot, it was gone. Looks like networkmanager rewrites the file
every time it comes up.

Tony

--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 06:34 PM
Paul Lemmons
 
Default Domain name

-------- Original Message --------
Subject: Reomain name
From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
To: Kubuntu Help and User Discussions <kubuntu-users@lists.ubuntu.com>
Date: 04/25/2008 11:09 AM
> Paul Lemmons wrote:
>
>> -------- Original Message --------
>> Subject: Domain name
>> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
>> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
>> Date: 04/24/2008 10:55 PM
>>
>>
>>
>>> Using Kubuntu 7.10.
>>>
>>> How do I make a domain name? I tried it under Network Settings but it
>>> did not survive reboot.
>>>
>>> Tony
>>>
>>>
>>>
>> I am assuming that this question could be reworded as: "how do I set my
>> default domain".
>>
>> If so:
>>
>> vi /etc/resolv.conf
>>
>> and add the line:
>>
>> domain mydomain.com
>>
>> to the end of the file.
>>
>>
> Sorry but didn't work. My resolv.conf says it was created by
> networkmanager and do not edit. I did it anyway as a test and on the
> next reboot, it was gone. Looks like networkmanager rewrites the file
> every time it comes up.
>
> Tony
>
>
If you are using DHCP then the DHCP server is likely resetting the
resolv.conf file each time you reboot. DHCP wants to setup your name
servers and default domain. If the DHCP server does not establish a
default domain then you won't have one.

This begs another question. What are you trying to accomplish? What
would work differently than it does now, if you had it working? Maybe
there are other solutions.

--
Sometimes I wonder. Were our faith able to stand upright and look around, would it be looking down at the mustard seed or standing in awe of the height and breadth of it.


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 07:12 PM
"Anthony E. Caudel"
 
Default Domain name

Paul Lemmons wrote:
> -------- Original Message --------
> Subject: Reomain name
> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
> To: Kubuntu Help and User Discussions <kubuntu-users@lists.ubuntu.com>
> Date: 04/25/2008 11:09 AM
>
>> Paul Lemmons wrote:
>>
>>
>>> -------- Original Message --------
>>> Subject: Domain name
>>> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
>>> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
>>> Date: 04/24/2008 10:55 PM
>>>
>>>
>>>
>>>
>>>> Using Kubuntu 7.10.
>>>>
>>>> How do I make a domain name? I tried it under Network Settings but it
>>>> did not survive reboot.
>>>>
>>>> Tony
>>>>
>>>>
>>>>
>>>>
>>> I am assuming that this question could be reworded as: "how do I set my
>>> default domain".
>>>
>>> If so:
>>>
>>> vi /etc/resolv.conf
>>>
>>> and add the line:
>>>
>>> domain mydomain.com
>>>
>>> to the end of the file.
>>>
>>>
>>>
>> Sorry but didn't work. My resolv.conf says it was created by
>> networkmanager and do not edit. I did it anyway as a test and on the
>> next reboot, it was gone. Looks like networkmanager rewrites the file
>> every time it comes up.
>>
>> Tony
>>
>>
>>
> If you are using DHCP then the DHCP server is likely resetting the
> resolv.conf file each time you reboot. DHCP wants to setup your name
> servers and default domain. If the DHCP server does not establish a
> default domain then you won't have one.
>
> This begs another question. What are you trying to accomplish? What
> would work differently than it does now, if you had it working? Maybe
> there are other solutions.
>
>
I'm using DHCP but I don't think it is doing the resetting. The
following is my resolv.conf:
-----------------------------------
# generated by NetworkManager, do not edit!



nameserver 192.168.0.1
-----------------------------------

Looks like networkmanager does it.

Tony

--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 07:26 PM
"Anthony E. Caudel"
 
Default Domain name

Paul Lemmons wrote:
> -------- Original Message --------
> Subject: Reomain name
> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
> To: Kubuntu Help and User Discussions <kubuntu-users@lists.ubuntu.com>
> Date: 04/25/2008 11:09 AM
>
>> Paul Lemmons wrote:
>>
>>
>>> -------- Original Message --------
>>> Subject: Domain name
>>> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
>>> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
>>> Date: 04/24/2008 10:55 PM
>>>
>>>
>>>
>>>
>>>> Using Kubuntu 7.10.
>>>>
>>>> How do I make a domain name? I tried it under Network Settings but it
>>>> did not survive reboot.
>>>>
>>>> Tony
>>>>
>>>>
>>>>
>>>>
>>> I am assuming that this question could be reworded as: "how do I set my
>>> default domain".
>>>
>>> If so:
>>>
>>> vi /etc/resolv.conf
>>>
>>> and add the line:
>>>
>>> domain mydomain.com
>>>
>>> to the end of the file.
>>>
>>>
>>>
>> Sorry but didn't work. My resolv.conf says it was created by
>> networkmanager and do not edit. I did it anyway as a test and on the
>> next reboot, it was gone. Looks like networkmanager rewrites the file
>> every time it comes up.
>>
>> Tony
>>
>>
>>
> If you are using DHCP then the DHCP server is likely resetting the
> resolv.conf file each time you reboot. DHCP wants to setup your name
> servers and default domain. If the DHCP server does not establish a
> default domain then you won't have one.
>
> This begs another question. What are you trying to accomplish? What
> would work differently than it does now, if you had it working? Maybe
> there are other solutions.
>
>
Sorry, I forgot to answer your last question. I have a home network
going and I like to be able to ssh from one computer to another and it
seems at least one of the other computers wants to see a domainname.

Tony

--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 08:22 PM
Paul Lemmons
 
Default Domain name

-------- Original Message --------
Subject: Reomain name
From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
To: Kubuntu Help and User Discussions <kubuntu-users@lists.ubuntu.com>
Date: 04/25/2008 12:26 PM
> Paul Lemmons wrote:
>
>> -------- Original Message --------
>> Subject: Reomain name
>> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
>> To: Kubuntu Help and User Discussions <kubuntu-users@lists.ubuntu.com>
>> Date: 04/25/2008 11:09 AM
>>
>>
>>> Paul Lemmons wrote:
>>>
>>>
>>>
>>>> -------- Original Message --------
>>>> Subject: Domain name
>>>> From: "Anthony E. Caudel" <tony.caudel@sbcglobal.net>
>>>> To: Kubuntu-Users <kubuntu-users@lists.ubuntu.com>
>>>> Date: 04/24/2008 10:55 PM
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Using Kubuntu 7.10.
>>>>>
>>>>> How do I make a domain name? I tried it under Network Settings but it
>>>>> did not survive reboot.
>>>>>
>>>>> Tony
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> I am assuming that this question could be reworded as: "how do I set my
>>>> default domain".
>>>>
>>>> If so:
>>>>
>>>> vi /etc/resolv.conf
>>>>
>>>> and add the line:
>>>>
>>>> domain mydomain.com
>>>>
>>>> to the end of the file.
>>>>
>>>>
>>>>
>>>>
>>> Sorry but didn't work. My resolv.conf says it was created by
>>> networkmanager and do not edit. I did it anyway as a test and on the
>>> next reboot, it was gone. Looks like networkmanager rewrites the file
>>> every time it comes up.
>>>
>>> Tony
>>>
>>>
>>>
>>>
>> If you are using DHCP then the DHCP server is likely resetting the
>> resolv.conf file each time you reboot. DHCP wants to setup your name
>> servers and default domain. If the DHCP server does not establish a
>> default domain then you won't have one.
>>
>> This begs another question. What are you trying to accomplish? What
>> would work differently than it does now, if you had it working? Maybe
>> there are other solutions.
>>
>>
>>
> Sorry, I forgot to answer your last question. I have a home network
> going and I like to be able to ssh from one computer to another and it
> seems at least one of the other computers wants to see a domainname.
>
> Tony
>
>
DHCP and NetworkManager work together.

I have a similar setup at home. I set my router to always assign the
same address to each machine, based on MAC address. I then add each of
my machines to /etc/hosts. I can then refer to any of my machines by an
unqualified name.

--
Sometimes I wonder. Were our faith able to stand upright and look around, would it be looking down at the mustard seed or standing in awe of the height and breadth of it.


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 08:29 PM
"Michael Leone"
 
Default Domain name

On Fri, Apr 25, 2008 at 4:22 PM, Paul Lemmons <paul@lemmons.name> wrote:
> I have a similar setup at home. I set my router to always assign the
> same address to each machine, based on MAC address. I then add each of
> my machines to /etc/hosts. I can then refer to any of my machines by an
> unqualified name.

You've effectively assigned internal static IP addresses, and removed
the need for internal DNS. If so, then why not have just used static
IPs in the first place? :-)

>
> --
> Sometimes I wonder. Were our faith able to stand upright and look around, would it be looking down at the mustard seed or standing in awe of the height and breadth of it.
>
>
> --
> kubuntu-users mailing list
> kubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>



--
Michael J. Leone
<mailto:turgon@mike-leone.com>

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Photo Gallery: <http://www.flickr.com/photos/mikeleonephotos>

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-25-2008, 08:35 PM
Constantinos Maltezos
 
Default Domain name

Sorry I came into this late... I might be completely off about this, but I'm
wondering if the OP was talking about the hostname? If so, you can
edit /etc/hostname as root with your favorite text editor and change the one
line that's in it to whatever you want, as long as it contains no spaces and
up to one period.

Of course, I could be totally off. It was hot today and I might not be
thinking straight.

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 09:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org