From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-53592-garchives=archives.gentoo.org@gentoo.org>)
	id 1GcWLQ-0004T1-SV
	for garchives@archives.gentoo.org; Wed, 25 Oct 2006 00:10:09 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9P083Hv031559;
	Wed, 25 Oct 2006 00:08:03 GMT
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9P05xfQ018519
	for <gentoo-user@lists.gentoo.org>; Wed, 25 Oct 2006 00:06:00 GMT
Received: by ug-out-1314.google.com with SMTP id p27so1490088ugc
        for <gentoo-user@lists.gentoo.org>; Tue, 24 Oct 2006 17:05:59 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=Mx37nEEK3P1h7mhztqNfSnTHa4UMcKzqP3PgSRUabYomNxMl0d/c7TOZXy31Hi4XPnl+XpUkcQoqmnUpqoCoo19CFQDB4tnLpsNAQ9D6NU+0ZDGCgwmZEGj1VPuYJfNkw2sPNhsuNgrRRyo/G6VXr4FBPPxWn7x9rbyyd+Yn7HA=
Received: by 10.78.204.7 with SMTP id b7mr6064hug;
        Tue, 24 Oct 2006 17:05:59 -0700 (PDT)
Received: by 10.78.128.3 with HTTP; Tue, 24 Oct 2006 17:05:58 -0700 (PDT)
Message-ID: <49bf44f10610241705m6ae441e9jadf0f4c3ed02b635@mail.gmail.com>
Date: Tue, 24 Oct 2006 17:05:58 -0700
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Wireless trouble, bad hardware?
In-Reply-To: <49bf44f10610241051k23576055t35703bff160ee790@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <49bf44f10610231804s1c558ea3h8f2dcd8dce0d30e7@mail.gmail.com>
	 <49bf44f10610231813n7d612f49sa34fae0c2e6a76b9@mail.gmail.com>
	 <2354.210.55.22.193.1161654011.squirrel@drgnfire.is-a-geek.com>
	 <49bf44f10610231900r6052fb8fr97cd1110095e6d88@mail.gmail.com>
	 <3090.210.55.22.193.1161656613.squirrel@drgnfire.is-a-geek.com>
	 <49bf44f10610232026n33dde26ax19a47e3cd3086145@mail.gmail.com>
	 <49bf44f10610241051k23576055t35703bff160ee790@mail.gmail.com>
X-Archives-Salt: 042412c9-4750-475a-9a7f-1d8276000c96
X-Archives-Hash: 00d672a979dba50edf61d2afa56e0043

> > > >> What WAN Address? I cannot see any address other than one of the
> > > >> reserved
> > > >> class C's. I would suggest that either the PC you are pinging from
> > > >> ("desktop") does not have an address in the same range as the router, or
> > > >> the default gateway is incorrect on the "desktop". Another possibility
> > > >> is
> > > >> a an IP conflict but this is less likely.
> > > >> Can you possibly post the IP configuration (ifconfig) from the "desktop"
> > > >> machine so that we can see how the interface is set up.
> > > >
> > > > After rebooting the desktop, all I get from ping attempts is:
> > > >
> > > > connect: Network is unreachable
> > > >
> > > > so I guess it won't connect at all now.  I don't think ifconfig would
> > > > be useful now, but let me know if I'm wrong or if you have any other
> > > > ideas.
> > >
> > > The output of ifconfig would certainly be useful but it sounds to me like
> > > the configuration of eth0 has been changed somehow.
> > > Perhaps you could post the output of ifconfig, and the contents of
> > > /etc/conf.d/net as this should list the configuration of all of the
> > > network adapters (just in case eth0 is not the interface that you are
> > > using).
> > >
> > > Hopefully this information will allow someone on the list to help you
> > > diagnose your problem.
> >
> > I'm connected directly to the DSL modem/router via eth0 right now.
> > This is not normal and I'm only connected like this so I can get
> > online to write this message.  I'm usually trying to connect via ath0
> > to the Gentoo router which is then connected to the modem/router.
> > Here is my current ifconfig:
> >
> > ath0      Link encap:Ethernet  HWaddr 00:0F:B5:86:C0:E1
> >           inet6 addr: fe80::20f:b5ff:fe86:c0e1/64 Scope:Link
> >           UP BROADCAST MULTICAST  MTU:1500  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >
> > eth0      Link encap:Ethernet  HWaddr 00:16:17:76:37:82
> >           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
> >           inet6 addr: fe80::216:17ff:fe76:3782/64 Scope:Link
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:967 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:868 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:1000
> >           RX bytes:743136 (725.7 Kb)  TX bytes:243477 (237.7 Kb)
> >           Interrupt:169 Base address:0xd800
> >
> > lo        Link encap:Local Loopback
> >           inet addr:127.0.0.1  Mask:255.0.0.0
> >           inet6 addr: ::1/128 Scope:Host
> >           UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >
> > wifi0     Link encap:UNSPEC  HWaddr
> > 00-0F-B5-86-C0-E1-80-79-00-00-00-00-00-00-00 -00
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:7782 errors:0 dropped:0 overruns:0 frame:3492
> >           TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:199
> >           RX bytes:742503 (725.1 Kb)  TX bytes:71806 (70.1 Kb)
> >           Interrupt:161 Memory:ffffc20000100000-ffffc20000110000
> >
> > and /etc/conf.d./net :
> >
> > modules_ath0=( "wpa_supplicant" )
> > wpa_supplicant_ath0=( "-Dmadwifi" )
> > config_ath0=( "192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255" )
> > routes_ath0=( "default via 192.168.0.1" )
> > essid_ath0=( "network2" )
> >
> > although I currently have a couple eth0 lines so I can connect to the
> > modem/router.  They aren't usually there.
> >
> > I must admit I don't know what the broadcast and netmask are and they
> > are set the same for the Gentoo router and the laptop that connects to
> > it.
> >
> > Please let me know if you have any idea what the problem might be, or
> > where I should look for the problem.
> >
> > - Grant
>
> I switched the identical wireless cards between the router and the
> non-connecting desktop and the functionality is the same so it must
> not be a hardware problem.
>
> - Grant

SOLVED.

The root of the problem was that wpa_supplicant.conf moved from
/etc/wpa_supplicant.conf to /etc/wpa_supplicant/wpa_supplicant.conf.
My laptop that was connecting to the network didn't have
/etc/wpa_supplicant/wpa_supplicant.conf at all so the program must
have used /etc/wpa_supplicant.conf instead.  The desktop that wasn't
connecting to the network had an example file in
/etc/wpa_supplicant/wpa_supplicant.conf so it wasn't reverting to the
old config location.  Nasty.

- Grant
-- 
gentoo-user@gentoo.org mailing list