logout: - $Author:
QuicklinksEndUserTest/VirtualisatonInstallierenKernel - TuningNetworkDisplay / PadsBock DevicesPrinterUSB-DevicesBenutzerSWServerInstall NotesGeneral/Hints |
Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations
edith@edith-lap:~$ ifconfig
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:1576 (1.5 KB) TX bytes:1576 (1.5 KB)
vmnet1 Link encap:Ethernet Hardware Adresse 00:50:56:c0:00:01
inet Adresse:192.168.10.1 Bcast:192.168.10.255 Maske:255.255.255.0
inet6-Adresse: fe80::250:56ff:fec0:1/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vmnet8 Link encap:Ethernet Hardware Adresse 00:50:56:c0:00:08
inet Adresse:192.168.183.1 Bcast:192.168.183.255 Maske:255.255.255.0
inet6-Adresse: fe80::250:56ff:fec0:8/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
edith@edith-lap:~$ ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.061 ms
^C
--- 192.168.10.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.054/0.057/0.061/0.008 ms
edith@edith-lap:~$ ping 192.168.183.1
PING 192.168.183.1 (192.168.183.1) 56(84) bytes of data.
64 bytes from 192.168.183.1: icmp_seq=1 ttl=64 time=0.059 ms
64 bytes from 192.168.183.1: icmp_seq=2 ttl=64 time=0.060 ms
64 bytes from 192.168.183.1: icmp_seq=3 ttl=64 time=0.064 ms
^C
--- 192.168.183.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.059/0.061/0.064/0.002 ms
edith@edith-lap:~$ ping blick.ch
ping: unknown host blick.ch
edith@edith-lap:~$ ping 80.74.143.185
connect: Network is unreachable
edith@edith-lap:~$
edith@edith-lap:~$ dmesg | grep -i eth0
[ 3.217626] e100: eth0: e100_probe: addr 0xfcefe000, irq 11, MAC addr 00:0e:7b:df:e2:1d
[ 14.596200] udev: renamed network interface eth0 to eth3
[ 17.424072] udev: renamed network interface eth0 to eth4
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
dns-search a83
/etc/network/interfaces (END)
edith@edith-lap:~$ sudo dhclient
[sudo] password for edith:
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/pan0/7a:b1:c9:c4:c6:10
Sending on LPF/pan0/7a:b1:c9:c4:c6:10
Listening on LPF/eth4/00:0e:35:8b:4e:e4
Sending on LPF/eth4/00:0e:35:8b:4e:e4
Listening on LPF/eth3/00:0e:7b:df:e2:1d
Sending on LPF/eth3/00:0e:7b:df:e2:1d
Listening on LPF/vmnet8/00:50:56:c0:00:08
Sending on LPF/vmnet8/00:50:56:c0:00:08
Listening on LPF/vmnet1/00:50:56:c0:00:01
Sending on LPF/vmnet1/00:50:56:c0:00:01
Sending on Socket/fallback
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on vmnet1 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.1.2 on eth3 to 255.255.255.255 port 67
DHCPOFFER of 192.168.10.129 from 192.168.10.254
DHCPREQUEST of 192.168.10.129 on vmnet1 to 255.255.255.255 port 67
DHCPACK of 192.168.10.129 from 192.168.10.254
bound to 192.168.10.129 -- renewal in 841 seconds.
edith@edith-lap:~$
edith@edith-lap:~$ ifconfig
eth3 Link encap:Ethernet Hardware Adresse 00:0e:7b:df:e2:1d
inet Adresse:192.168.1.2 Bcast:192.168.1.7 Maske:255.255.255.248
inet6-Adresse: fe80::20e:7bff:fedf:e21d/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:342 (342.0 B) TX bytes:4848 (4.8 KB)
eth4 Link encap:Ethernet Hardware Adresse 00:0e:35:8b:4e:e4
inet6-Adresse: fe80::20e:35ff:fe8b:4ee4/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:7584 (7.5 KB)
Interrupt:11 Basisadresse:0xc000 Speicher:fceff000-fcefffff
eth4:avahi Link encap:Ethernet Hardware Adresse 00:0e:35:8b:4e:e4
inet Adresse:169.254.7.198 Bcast:169.254.255.255 Maske:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
Interrupt:11 Basisadresse:0xc000 Speicher:fceff000-fcefffff
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:6860 (6.8 KB) TX bytes:6860 (6.8 KB)
pan0 Link encap:Ethernet Hardware Adresse 7a:b1:c9:c4:c6:10
inet6-Adresse: fe80::78b1:c9ff:fec4:c610/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 B) TX bytes:9174 (9.1 KB)
pan0:avahi Link encap:Ethernet Hardware Adresse 7a:b1:c9:c4:c6:10
inet Adresse:169.254.7.248 Bcast:169.254.255.255 Maske:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
vmnet1 Link encap:Ethernet Hardware Adresse 00:50:56:c0:00:01
inet Adresse:192.168.10.129 Bcast:192.168.10.255 Maske:255.255.255.0
inet6-Adresse: fe80::250:56ff:fec0:1/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vmnet8 Link encap:Ethernet Hardware Adresse 00:50:56:c0:00:08
inet Adresse:192.168.183.129 Bcast:192.168.183.255 Maske:255.255.255.0
inet6-Adresse: fe80::250:56ff:fec0:8/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
edith@edith-lap:~$
edith@edith-lap:~$
edith@edith-lap:~$ route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.248 U 0 0 0 eth3
192.168.183.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.10.0 * 255.255.255.0 U 0 0 0 vmnet1
link-local * 255.255.0.0 U 0 0 0 pan0
link-local * 255.255.0.0 U 0 0 0 eth4
default 192.168.183.2 0.0.0.0 UG 0 0 0 vmnet8
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth3
default * 0.0.0.0 U 1000 0 0 pan0
edith@edith-lap:~$ edith@edith-lap:~$ ping blick.ch
ping: unknown host blick.ch
edith@edith-lap:~$
edith@edith-lap:~$ ping 80.74.143.185
PING 80.74.143.185 (80.74.143.185) 56(84) bytes of data.
From 192.168.183.129 icmp_seq=1 Destination Host Unreachable
From 192.168.183.129 icmp_seq=7 Destination Host Unreachable
^C
--- 80.74.143.185 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8021ms
, pipe 3
edith@edith-lap:~$
edith@edith-lap:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=8.17 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=254 time=2.52 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=254 time=2.57 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=254 time=2.53 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=254 time=2.53 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=254 time=2.71 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5018ms
rtt min/avg/max/mdev = 2.524/3.507/8.170/2.086 ms
edith@edith-lap:~$
Vom PC komme ich nun zwar auf den Router, und von dort sind pings möglich.
*
längere Zeit kam ich nach dem dhclient-Befehle aufs Netz.
edith@edith-lap:/etc/init.d$ sudo ./networking restart
* Reconfiguring network interfaces... eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0. <- ist ja eth3 oder 4 :-)
[ OK ]
edith@edith-lap:/etc/init.d$
route
Das ging edith@edith-lap:/etc/init.d$ sudo dhclient eth3 There is already a pid file /var/run/dhclient.pid with pid 6868 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth3/00:0e:7b:df:e2:1d Sending on LPF/eth3/00:0e:7b:df:e2:1d Sending on Socket/fallback DHCPREQUEST of 192.168.1.2 on eth3 to 255.255.255.255 port 67 DHCPACK of 192.168.1.2 from 192.168.1.1 bound to 192.168.1.2 -- renewal in 120374 seconds. edith@edith-lap:/etc/init.d$ ping blick.ch PING blick.ch (193.201.12.53) 56(84) bytes of data. 64 bytes from 193.201.12.53: icmp_seq=1 ttl=247 time=24.9 ms 64 bytes from 193.201.12.53: icmp_seq=2 ttl=247 time=25.1 ms ^C64 bytes from 193.201.12.53: icmp_seq=3 ttl=247 time=24.9 ms --- blick.ch ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 10109ms rtt min/avg/max/mdev = 24.932/25.025/25.146/0.203 ms edith@edith-lap:/etc/init.d$ |