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 > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-10-2008, 05:01 PM
Karl Larsen
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

Leonard Chatagnier wrote:
> My New Gateway GT5656 AMD64 X2, just installed with
> Gutsy, without a bobble, has this in /etc/hosts:
>
> lchata@ubuntu64:/etc/apt$ cat /etc/hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu64.gateway.2wire.net ubuntu64
>
> # The following lines are desirable for IPv6 capable
> hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> lchata@ubuntu64:/etc/apt$
>
> Well, I don't remember ever seeing the second line
> with 127.0.1.1, in any of my original ubuntu machines
> on my lan. However, I've modified the hosts file in
> them several times to resolve other issues and maybe
> just don't remember.
>
Well I think it is important since it is the hostname and it gives
it an ip address that works. Do not change it and do not erase it :-)

You must have had it in the other /etc/hosts too.

Karl



> So, is there a way to regenerate the original
> /etc/hosts file without a complete reinstall? Or will
> I just have to nano the above info in order to correct
> it?
> I would really like the resolve this, and other
> issues. in my /Etc in order to concentrate on getting
> the LinkSys wifi card to work. All comments,
> suggestions, etc. are welcomed. Thanks,
>
>
> Leonard Chatagnier
> lenc5570@sbcglobal.net
>
>


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 05:08 PM
Paul
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

On Feb 10, 2008 1:01 PM, Karl Larsen <k5di@zianet.com> wrote:

<snip>

This is starting to get ridiculous...


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 06:43 PM
Leonard Chatagnier
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

--- Karl Larsen <k5di@zianet.com> wrote:

> Leonard Chatagnier wrote:
> > My New Gateway GT5656 AMD64 X2, just installed
> with
> > Gutsy, without a bobble, has this in /etc/hosts:
> >
> > lchata@ubuntu64:/etc/apt$ cat /etc/hosts
> > 127.0.0.1 localhost
> > 127.0.1.1 ubuntu64.gateway.2wire.net ubuntu64
> >
> > # The following lines are desirable for IPv6
> capable
> > hosts
> > ::1 ip6-localhost ip6-loopback
> > fe00::0 ip6-localnet
> > ff00::0 ip6-mcastprefix
> > ff02::1 ip6-allnodes
> > ff02::2 ip6-allrouters
> > ff02::3 ip6-allhosts
> > lchata@ubuntu64:/etc/apt$
> >
> > Well, I don't remember ever seeing the second line
> > with 127.0.1.1, in any of my original ubuntu
> machines
> > on my lan. However, I've modified the hosts file
> in
> > them several times to resolve other issues and
> maybe
> > just don't remember.
> >
> Well I think it is important since it is the
> hostname and it gives
> it an ip address that works. Do not change it and do
> not erase it :-)
>
> You must have had it in the other /etc/hosts too.
>
> Karl
>
>
>
> > So, is there a way to regenerate the original
> > /etc/hosts file without a complete reinstall? Or
> will
> > I just have to nano the above info in order to
> correct
> > it?
> > I would really like the resolve this, and other
> > issues. in my /Etc in order to concentrate on
> getting
> > the LinkSys wifi card to work. All comments,
> > suggestions, etc. are welcomed. Thanks,
> >
> >
Ok. thanks for the well meaning caution but what about
the real question that will help be now in the last
section of the iriginal post?

Leonard Chatagnier
lenc5570@sbcglobal.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 07:20 PM
Jack Bowling
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

On Sun, Feb 10, 2008 at 11:43:02AM -0800, Leonard Chatagnier wrote:
<snip>
> Ok. thanks for the well meaning caution but what about
> the real question that will help be now in the last
> section of the iriginal post?

For history's sake, here is the original proposal to add 127.0.1.1 to
/etc/hosts:

http://lists.debian.org/debian-boot/2005/06/msg00938.html

Jack

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 07:59 PM
Leonard Chatagnier
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

Ok, I know know the interesting history, good.
If I knew how to burn to cd the /etc/hosts file in my
new machine, I'd copy it to the old one and be done
with it. However, for whatever reason, The old
machine which I just shutdown to install the wifi
card, doesn't have a /dev/filename in /dev and no
entry in fstab for the cdrom drive. Both machines are
on gutsy.
I guess I'll just have to reinsall or nano it in
there.
Thanks for trying,
You know, I've asked if there is a way to reestablish
the /etc/host file to this list before and have never
got a direct answer to the question. I've also been
told not to just reinstall but post your problem and
we'll help you fix it. Well not trying to PO anyone
or start a flame war, from where i sit, that ain't
always so. I'm no geek linux expert but if people
would just answer the direct questions it would be
helpful to me as I generally know what needs to be
fixed, just don't know how.
Just to give the helpful people on the list a
non-expert view of how the list could be more helpful
to me, not just to bitch. If it sounds that I'm
getting frustrated, well I am very much so and have
been trying to iqnore it but everyone has their
limits.
Thanks for your ear,

--- Jack Bowling <jbinpg@shaw.ca> wrote:

> On Sun, Feb 10, 2008 at 11:43:02AM -0800, Leonard
> Chatagnier wrote:
> <snip>
> > Ok. thanks for the well meaning caution but what
> about
> > the real question that will help be now in the
> last
> > section of the iriginal post?
>
> For history's sake, here is the original proposal to
> add 127.0.1.1 to
> /etc/hosts:
>
>
http://lists.debian.org/debian-boot/2005/06/msg00938.html
>
> Jack
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


Leonard Chatagnier
lenc5570@sbcglobal.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 08:25 PM
Peter Garrett
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

On Sun, 10 Feb 2008 12:59:22 -0800 (PST)
Leonard Chatagnier <lenc5570@sbcglobal.net> wrote:

> You know, I've asked if there is a way to reestablish
> the /etc/host file to this list before and have never
> got a direct answer to the question.

For what it's worth, I don't use the new-fangled 127.0.1.1 or whatever.
I just have

127.0.0.1 localhost.localdomain localhost myhostname

Where "myhostname" is whatever you named your box,
in /etc/hosts at the top, with the usual IPV6 stuff left in at the bottom.

Seems to work just fine. Personally I can't see the point of the
additional IP, but no doubt there's some excellent reason for adding it.
Since it works the old way, and I had issues with the new way, I just
shrugged my shoulders and reverted it...

Just as an aside, Leonard - many people have tried to help you since you
joined the list. I think complaining about volunteer help is a bit rich,
don't you?

Peter


--
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 09:58 PM
Leonard Chatagnier
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

--- Peter Garrett <peter.garrett@optusnet.com.au>
wrote:

> On Sun, 10 Feb 2008 12:59:22 -0800 (PST)
> Leonard Chatagnier <lenc5570@sbcglobal.net> wrote:
>
> > You know, I've asked if there is a way to
> reestablish
> > the /etc/host file to this list before and have
> never
> > got a direct answer to the question.
>
> For what it's worth, I don't use the new-fangled
> 127.0.1.1 or whatever.
> I just have
>
> 127.0.0.1 localhost.localdomain localhost myhostname
>
> Where "myhostname" is whatever you named your box,
> in /etc/hosts at the top, with the usual IPV6 stuff
> left in at the bottom.
>
> Seems to work just fine. Personally I can't see the
> point of the
> additional IP, but no doubt there's some excellent
> reason for adding it.
> Since it works the old way, and I had issues with
> the new way, I just
> shrugged my shoulders and reverted it...
>
> Just as an aside, Leonard - many people have tried
> to help you since you
> joined the list. I think complaining about volunteer
> help is a bit rich,
> don't you?
>
No, not in this case. Sometimes a person needing help
just needs a simple straight forward answer to a
direct question for him to make progress. And I did
read the reference, good to know, but didn't give me
any help.
In any case, I never have set up a network on my on
and was struggling for answers and knew on my own that
/etc/resolv.conf and my host file was not standard and
felt it was preventing the wifi from functioning just
didn't know how to fix. You read the list regularly
and know or will shortly that David Vincent already
provided the little clue that solved my whole wifi
problem and that I've already posted the solved
replies on his post and on my original posting of the
issue. If you read my original post,


Leonard Chatagnier
lenc5570@sbcglobal.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 10:17 PM
Leonard Chatagnier
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

--- Leonard Chatagnier <lenc5570@sbcglobal.net> wrote:

>
> --- Peter Garrett <peter.garrett@optusnet.com.au>
> wrote:
>
> > On Sun, 10 Feb 2008 12:59:22 -0800 (PST)
> > Leonard Chatagnier <lenc5570@sbcglobal.net> wrote:
> >
> > > You know, I've asked if there is a way to
> > reestablish
> > > the /etc/host file to this list before and have
> > never
> > > got a direct answer to the question.
> >
> > For what it's worth, I don't use the new-fangled
> > 127.0.1.1 or whatever.
> > I just have
> >
> > 127.0.0.1 localhost.localdomain localhost
> myhostname
> >
> > Where "myhostname" is whatever you named your box,
> > in /etc/hosts at the top, with the usual IPV6
> stuff
> > left in at the bottom.
> >
> > Seems to work just fine. Personally I can't see
> the
> > point of the
> > additional IP, but no doubt there's some excellent
> > reason for adding it.
> > Since it works the old way, and I had issues with
> > the new way, I just
> > shrugged my shoulders and reverted it...
> >
> > Just as an aside, Leonard - many people have tried
> > to help you since you
> > joined the list. I think complaining about
> volunteer
> > help is a bit rich,
> > don't you?
> >
> No, not in this case. Sometimes a person needing
> help
> just needs a simple straight forward answer to a
> direct question for him to make progress. And I did
> read the reference, good to know, but didn't give me
> any help.
> In any case, I never have set up a network on my on
> and was struggling for answers and knew on my own
> that
> /etc/resolv.conf and my host file was not standard
> and
> felt it was preventing the wifi from functioning
> just
> didn't know how to fix. You read the list regularly
> and know or will shortly that David Vincent already
> provided the little clue that solved my whole wifi
> problem and that I've already posted the solved
> replies on his post and on my original posting of
> the
> issue. If you read my original post, Linksys WMP54G
Wireles Adaptor Wont Work; Or I Don't Know How To, you
know that I had solved everything except the search
domain thingy on my own by googling and reading
manuals that aren't written for the unknowing. I try
to do my homework before posting as try not asking
questions I can find out on my own.
Anyway it seems ok to tell the user he's not behaving
appropriately so why not the user telling the list how
it can help him more efficiently. It seems that is a
no-no however. I do think my reply was civil and
needed to be said. If it cost me, then so be it but I
wasn't intending to bitch, just make a point. You
should see my point especially if you ever were on my
side of the fence.
Sorry about sending this reply half finished, but my
frustration made me hit the wrong button.
FWIW, I do appreaciate all the help the volunteer
user's group provide and have benefited from it much.
>
>
> Leonard Chatagnier
> lenc5570@sbcglobal.net
>


Leonard Chatagnier
lenc5570@sbcglobal.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 04:57 PM
Derek Broughton
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

Karl Larsen wrote:

> Leonard Chatagnier wrote:
>> My New Gateway GT5656 AMD64 X2, just installed with
>> Gutsy, without a bobble, has this in /etc/hosts:
>>
>> lchata@ubuntu64:/etc/apt$ cat /etc/hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu64.gateway.2wire.net ubuntu64
>>
...
>> Well, I don't remember ever seeing the second line
>> with 127.0.1.1, in any of my original ubuntu machines
>> on my lan. However, I've modified the hosts file in
>> them several times to resolve other issues and maybe
>> just don't remember.
>>
> Well I think it is important since it is the hostname and it gives
> it an ip address that works. Do not change it and do not erase it :-)
>

Talk about the blind leading the blind.

Karl, it's NOT important to have that second line.

Many distros would have assigned multiple names to 127.0.0.1

However, since all 127.x.x.x addresses map to localhost (as I've explained
to you elsewhere) it is a convenience to add unique lines in /etc/hosts for
each name you use.

I take advantage of this for testing websites, by specifying:

127.0.1.1 bella.pointerstop.ca bella
127.0.2.1 nagisa.pointerstop.ca nagisa
127.0.2.2 plonevdc.pointerstop.ca plonevdc
127.0.2.3 nagisa2.pointerstop.ca nagisa2

Bella is my real hostname, and is the line that the Ubuntu installer
created.
Nagisa and PloneVDC are two websites I'm working on, and I can take
advantage of Apache's virtual hosts to get to the different web sites via
http://nagisa/ or http://plonevdc/ (or I can use the FQDNs for them).
Apache's actually responding to requests on the "lo" interface - 127.0.0.1,
but gets the appropriate host name. If I use http://localhost/ I get
something completely different.
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 05:02 PM
Derek Broughton
 
Default Another WIFI Issue Involving WMP54G & /etc/hosts

Leonard Chatagnier wrote:

>
> --- Peter Garrett <peter.garrett@optusnet.com.au>
> wrote:

>> Just as an aside, Leonard - many people have tried
>> to help you since you
>> joined the list. I think complaining about volunteer
>> help is a bit rich,
>> don't you?
>>
> No, not in this case. Sometimes a person needing help
> just needs a simple straight forward answer to a
> direct question for him to make progress.

If you want a straightforward answer, you have to ask a straightforward
- and answerable - question.

The question you asked made no sense, because (a) it _is_ the
default /etc/hosts you would get in a brand new installation and (b) you
didn't bother to tell us why you felt it was causing a problem.

fwiw, I think you're barking up the wrong tree ... again. There's nothing
in that /etc/hosts to affect your WIFI
--
derek


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

Thread Tools




All times are GMT. The time now is 10:32 PM.

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