1 |
> > > >> What WAN Address? I cannot see any address other than one of the |
2 |
> > > >> reserved |
3 |
> > > >> class C's. I would suggest that either the PC you are pinging from |
4 |
> > > >> ("desktop") does not have an address in the same range as the router, or |
5 |
> > > >> the default gateway is incorrect on the "desktop". Another possibility |
6 |
> > > >> is |
7 |
> > > >> a an IP conflict but this is less likely. |
8 |
> > > >> Can you possibly post the IP configuration (ifconfig) from the "desktop" |
9 |
> > > >> machine so that we can see how the interface is set up. |
10 |
> > > > |
11 |
> > > > After rebooting the desktop, all I get from ping attempts is: |
12 |
> > > > |
13 |
> > > > connect: Network is unreachable |
14 |
> > > > |
15 |
> > > > so I guess it won't connect at all now. I don't think ifconfig would |
16 |
> > > > be useful now, but let me know if I'm wrong or if you have any other |
17 |
> > > > ideas. |
18 |
> > > |
19 |
> > > The output of ifconfig would certainly be useful but it sounds to me like |
20 |
> > > the configuration of eth0 has been changed somehow. |
21 |
> > > Perhaps you could post the output of ifconfig, and the contents of |
22 |
> > > /etc/conf.d/net as this should list the configuration of all of the |
23 |
> > > network adapters (just in case eth0 is not the interface that you are |
24 |
> > > using). |
25 |
> > > |
26 |
> > > Hopefully this information will allow someone on the list to help you |
27 |
> > > diagnose your problem. |
28 |
> > |
29 |
> > I'm connected directly to the DSL modem/router via eth0 right now. |
30 |
> > This is not normal and I'm only connected like this so I can get |
31 |
> > online to write this message. I'm usually trying to connect via ath0 |
32 |
> > to the Gentoo router which is then connected to the modem/router. |
33 |
> > Here is my current ifconfig: |
34 |
> > |
35 |
> > ath0 Link encap:Ethernet HWaddr 00:0F:B5:86:C0:E1 |
36 |
> > inet6 addr: fe80::20f:b5ff:fe86:c0e1/64 Scope:Link |
37 |
> > UP BROADCAST MULTICAST MTU:1500 Metric:1 |
38 |
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
39 |
> > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
40 |
> > collisions:0 txqueuelen:0 |
41 |
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
42 |
> > |
43 |
> > eth0 Link encap:Ethernet HWaddr 00:16:17:76:37:82 |
44 |
> > inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 |
45 |
> > inet6 addr: fe80::216:17ff:fe76:3782/64 Scope:Link |
46 |
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
47 |
> > RX packets:967 errors:0 dropped:0 overruns:0 frame:0 |
48 |
> > TX packets:868 errors:0 dropped:0 overruns:0 carrier:0 |
49 |
> > collisions:0 txqueuelen:1000 |
50 |
> > RX bytes:743136 (725.7 Kb) TX bytes:243477 (237.7 Kb) |
51 |
> > Interrupt:169 Base address:0xd800 |
52 |
> > |
53 |
> > lo Link encap:Local Loopback |
54 |
> > inet addr:127.0.0.1 Mask:255.0.0.0 |
55 |
> > inet6 addr: ::1/128 Scope:Host |
56 |
> > UP LOOPBACK RUNNING MTU:16436 Metric:1 |
57 |
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
58 |
> > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
59 |
> > collisions:0 txqueuelen:0 |
60 |
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
61 |
> > |
62 |
> > wifi0 Link encap:UNSPEC HWaddr |
63 |
> > 00-0F-B5-86-C0-E1-80-79-00-00-00-00-00-00-00 -00 |
64 |
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
65 |
> > RX packets:7782 errors:0 dropped:0 overruns:0 frame:3492 |
66 |
> > TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0 |
67 |
> > collisions:0 txqueuelen:199 |
68 |
> > RX bytes:742503 (725.1 Kb) TX bytes:71806 (70.1 Kb) |
69 |
> > Interrupt:161 Memory:ffffc20000100000-ffffc20000110000 |
70 |
> > |
71 |
> > and /etc/conf.d./net : |
72 |
> > |
73 |
> > modules_ath0=( "wpa_supplicant" ) |
74 |
> > wpa_supplicant_ath0=( "-Dmadwifi" ) |
75 |
> > config_ath0=( "192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255" ) |
76 |
> > routes_ath0=( "default via 192.168.0.1" ) |
77 |
> > essid_ath0=( "network2" ) |
78 |
> > |
79 |
> > although I currently have a couple eth0 lines so I can connect to the |
80 |
> > modem/router. They aren't usually there. |
81 |
> > |
82 |
> > I must admit I don't know what the broadcast and netmask are and they |
83 |
> > are set the same for the Gentoo router and the laptop that connects to |
84 |
> > it. |
85 |
> > |
86 |
> > Please let me know if you have any idea what the problem might be, or |
87 |
> > where I should look for the problem. |
88 |
> > |
89 |
> > - Grant |
90 |
> |
91 |
> I switched the identical wireless cards between the router and the |
92 |
> non-connecting desktop and the functionality is the same so it must |
93 |
> not be a hardware problem. |
94 |
> |
95 |
> - Grant |
96 |
|
97 |
SOLVED. |
98 |
|
99 |
The root of the problem was that wpa_supplicant.conf moved from |
100 |
/etc/wpa_supplicant.conf to /etc/wpa_supplicant/wpa_supplicant.conf. |
101 |
My laptop that was connecting to the network didn't have |
102 |
/etc/wpa_supplicant/wpa_supplicant.conf at all so the program must |
103 |
have used /etc/wpa_supplicant.conf instead. The desktop that wasn't |
104 |
connecting to the network had an example file in |
105 |
/etc/wpa_supplicant/wpa_supplicant.conf so it wasn't reverting to the |
106 |
old config location. Nasty. |
107 |
|
108 |
- Grant |
109 |
-- |
110 |
gentoo-user@g.o mailing list |