Wrong
Wireless and wired links. There does not seem to be any integration in my
Debian system.
I disconnect from the wired link and go into the kitchen. Net connection goes down.
Why can’t it just trip over to the wireless link?
Anyway, I sit down on the kitchen table and
sudo ifup eth0which is
the wireless link. I usually forget if eth0 is the wireless card, and have to
first:
dmesg | grep eth
Pain in the ass.
Then I put it up, but it doesn’t seem to work. Lets see route:
hendry@scrooge-15:~$ sudo route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
This took ages to come up. Argh.
Lets look at the network devices:
scrooge-15:/mnt/usbkey/dcim# /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:05:3C:06:B1:71 inet addr:192.168.1.44 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::205:3cff:fe06:b171/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:1 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1586 (1.5 KiB) TX bytes:900 (900.0 b) Interrupt:11 Base address:0x9000 Memory:f8000000-f8000fffeth1 Link encap:Ethernet HWaddr 00:09:6B:D0:A0:61
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::209:6bff:fed0:a061/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6310 errors:0 dropped:0 overruns:0 frame:0
TX packets:7408 errors:0 dropped:0 overruns:0 carrier:0
collisions:5 txqueuelen:1000
RX bytes:3906228 (3.7 MiB) TX bytes:946606 (924.4 KiB)
Interrupt:11 Base address:0×8000 Memory:d0200000-d0200038lo 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:98 errors:0 dropped:0 overruns:0 frame:0
TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10051 (9.8 KiB) TX bytes:10051 (9.8 KiB)scrooge-15:/mnt/usbkey/dcim# sudo ifdown eth1
scrooge-15:/mnt/usbkey/dcim# sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
scrooge-15:/mnt/usbkey/dcim# ping google.com
ping: unknown host google.com
You know this is crazy. Not to mention mutt and my other network dependant applications freezing…
Is there some tool to help me out here? I do not like having to sudo around
when I change networking enviroment either.