[lug] An odd networking question
Kenneth D Weinert
kenw at quarter-flash.com
Sat Oct 17 12:33:08 MDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sean Reifschneider wrote:
> On 10/17/2009 10:01 AM, Kenneth D Weinert wrote:
>> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
>> 192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
>> link-local * 255.255.0.0 U 1000 0 0 eth0
>> default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
>> default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
>
> You have both interfaces up, you probably do not want that. You almost
> certainly want to take down the interface that you aren't using. If you
> are using the Network Manager applet (ISTR that you were using
> NetworkManager), you can right click on it and un-check "Enable Wireless"
> to get rid of the wireless when you are using wired. Then re-enable it
> when you want to use it again.
>
> Try that and see if that makes it work how you would like.
When I do this, my /etc/resolv.conf becomes an empty file again. Now, I
made a copy of it before turning off wireless and when I copy it back in
then I can get out to the internet just fine (at least if this mail
shows up I did :)
It'd be nice to be able to be on wireless until I plugged into the
docking station and then the eth0 would take over and vice versa when I
unplugged.
I'm sure it can be done - any pointers on what to search for?
Thanks, by the way, for all the help so far
And, to answer a later question, ifconfig with both interfaces on:
eth0 Link encap:Ethernet HWaddr 00:1e:68:76:6b:85
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:68ff:fe76:6b85/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3089 errors:0 dropped:0 overruns:0 frame:0
TX packets:651 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:407016 (407.0 KB) TX bytes:104131 (104.1 KB)
Interrupt:252 Base address:0xc000
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:1132 errors:0 dropped:0 overruns:0 frame:0
TX packets:1132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41643 (41.6 KB) TX bytes:41643 (41.6 KB)
wlan0 Link encap:Ethernet HWaddr 00:1f:e1:42:d0:d7
inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21f:e1ff:fe42:d0d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26653 errors:0 dropped:0 overruns:0 frame:0
TX packets:20596 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24087220 (24.0 MB) TX bytes:3470325 (3.4 MB)
wmaster0 Link encap:UNSPEC HWaddr
00-1F-E1-42-D0-D7-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
And as soon as I disabled wireless after pasting this my resolv.conf was
once again empty.
- --
Ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkraDeMACgkQH0OpnUzq8fD0+wCfRxt/W6dBWoUtCtUX7Se6th0Z
zYUAn2BLuLaXloROmsAyfO8ILjC9XaBv
=sOnp
-----END PGP SIGNATURE-----
More information about the LUG
mailing list