• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Netzinterface erlaubt kein Netzzugang

Duffyduck

Newbie
ich habe ein Server bei 1und1. Nach einigen Update auf Suse 10.3 funktioniert die Schnittstelle nicht mehr richtig. Man kann über tcpdump sehen das die Schnittstelle funktioniert, da dieses Anfragen von außen anzeigt. Man kann aber kein Verkehr nach drausen tätigen.

Die Daten werden per DHCP vom Provider übermittelt. Dieser gibt eine IP- Adresse mit der Netzmaske 255.255.255.255 herüber und ein Gatweway in einen ganz anderen IP-Bereich und wird auch nicht als Gateway aktiv geschaltet (zumindest sieht man es nicht bei netstat -r)

Hat einer ein Idee was die Ursache sein kann?

Danke
 

framp

Moderator
Teammitglied
Lass mal das Script laufen. Entweder bekommtst Du eine Fehlermeldung die Dir genau sagt was falsch ist . Ansonsten postest Du die Ausgabedatei des Scripts auf einem nopaste Service (Anleitung auf der Webseite).
 
OP
D

Duffyduck

Newbie
danke für den Tipp. Ich habe es versucht, scheitere aber daran, dass das Script das Programm iwconfig benötigt, welches aber bei mir nicht drauf ist.
 

framp

Moderator
Teammitglied
iwconfig ist normalerweise immer installiert :???: Aber Du kannst die folgende Zeile 174 im Script
Code:
MODS="EGREP AWK SED IFCONFIG IWCONFIG IWLIST IPTABLES LSPCI GREP PERL ARP ROUTE LSMOD SORT PING TAIL"
in
Code:
MODS="EGREP AWK SED IFCONFIG IWLIST IPTABLES LSPCI GREP PERL ARP ROUTE LSMOD SORT PING TAIL"
patchen (IWCONFIG raus!) und dann sollte es gehen.
 
OP
D

Duffyduck

Newbie
ich musste noch den IWLIST herausnehmen, dann ist es durchgefaufen, bis auf das Problem das ich kein ping sondern nur den fping drauf habe.
Ein Problem scheint das Programm ao auch nicht gefunden zu haben. In der Datei war folgendes:


s15327896:/srv # more collectNWData.txt
Code:
collectNWData.sh V0.6.1.26 (Rev: 1.186, Build: 2009/12/13 18:42:45 UTC)
--- Which type of your network connection should be tested?
--- (1) Wired connection
--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
!!! CND0180I: The system can't ping external IP address 195.135.220.3
!!! CND0140E: No default gateway set on your system
!!! CND0310W: Classic network configuration with ifup was detected. Configuratio
n with knetworkmanager is much easier
--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed i
nstructions about the error/warning messages and how to fix the problems on your
 own
--- If you still don't have success then post the contents of file collectNWData
.txt in the net (see http://www.linux-tips-and-tricks.de/CND_UPL#English for lin
ks) and then the nopaste link on your favorite Linux forum.
================================================================================
==================================
================================================================================
==================================
*** uname -a
Linux s15327896 2.6.22.19-0.4-default #1 SMP 2009-08-14 02:09:16 +0200 x86_64 x8
6_64 x86_64 GNU/Linux
================================================================================
==================================
*** cat /etc/*[-_]release || cat /etc/*[-_]version
/etc/SuSE-release
openSUSE 10.3 (X86-64)
VERSION = 10.3
================================================================================
==================================
*** cat /etc/resolv | grep -vi "search"
nameserver %%.%%%.%%%.%%1
nameserver %%%.%%.%%%.%%2
nameserver %%%.%%.%%%.%3
================================================================================
==================================
*** cat /etc/hosts
127.0.0.1       localhost.localdomain localhost
%%.%%%.%%%.%%4  s15327896.onlinehome-server.info        s15327896        nr-dlrg
.org    nr-dlrg.eu
127.0.0.2       s15327896.onlinehome-server.info s15327896
================================================================================
==================================
*** cat /etc/HOSTNAME
s15327896.onlinehome-server.info
================================================================================
==================================
*** route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
================================================================================
==================================
*** ifconfig
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1
          inet addr:%%.%%%.%%%.%%4  Bcast:%%.%%%.%%%.%%4  Mask:255.255.255.255
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1652 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:166226 (162.3 Kb)  TX bytes:6483 (6.3 Kb)
          Interrupt:20 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5724 (5.5 Kb)  TX bytes:5724 (5.5 Kb)
================================================================================
==================================
*** ping tests
ping: invalid option -- W

Usage: ping [options] [targets...]
   -a         show targets that are alive
   -A         show targets by address
   -b n       amount of ping data to send, in bytes (default 68)
   -B f       set exponential backoff factor to f
   -c n       count of pings to send to each target (default 3)
   -C n       same as -c, report results in verbose format
   -e         show elapsed time on return packets
   -f file    read list of targets from a file ( - means stdin) (only if no -g s
pecified)
   -g         generate target list (only if no -f specified)
                (specify the start and end IP in the target list, or supply a IP
 netmask)
                (ex. ping -g 192.168.1.0 192.168.1.255 or ping -g 192.168.1.0/24
)
   -i n       interval between sending ping packets (in millisec) (default 25)
   -l         loop sending pings forever
   -m         ping multiple interfaces on target host
   -n         show targets by name (-d is equivalent)
   -p n       interval between ping packets to one target (in millisec)
                (in looping and counting modes, default 1000)
   -q         quiet (don't show per-target/per-ping results)
   -Q n       same as -q, but show summary every n seconds
   -r n       number of retries (default 3)
   -s         print final stats
   -t n       individual target initial timeout (in millisec) (default 500)
   -u         show targets that are unreachable
   -v         show version
   targets    list of targets to check (if no -f specified)

Ping of 195.135.220.3 failed
ping: invalid option -- W

Usage: ping [options] [targets...]
   -a         show targets that are alive
   -A         show targets by address
   -b n       amount of ping data to send, in bytes (default 68)
   -B f       set exponential backoff factor to f
   -c n       count of pings to send to each target (default 3)
   -C n       same as -c, report results in verbose format
   -e         show elapsed time on return packets
   -f file    read list of targets from a file ( - means stdin) (only if no -g s
pecified)
   -g         generate target list (only if no -f specified)
                (specify the start and end IP in the target list, or supply a IP
 netmask)
                (ex. ping -g 192.168.1.0 192.168.1.255 or ping -g 192.168.1.0/24
)
   -i n       interval between sending ping packets (in millisec) (default 25)
   -l         loop sending pings forever
   -m         ping multiple interfaces on target host
   -n         show targets by name (-d is equivalent)
   -p n       interval between ping packets to one target (in millisec)
                (in looping and counting modes, default 1000)
   -q         quiet (don't show per-target/per-ping results)
   -Q n       same as -q, but show summary every n seconds
   -r n       number of retries (default 3)
   -s         print final stats
   -t n       individual target initial timeout (in millisec) (default 500)
   -u         show targets that are unreachable
   -v         show version
   targets    list of targets to check (if no -f specified)

Ping of www.suse.de failed
================================================================================
==================================
*** dhcpcd-test
eth0: No DHCP server detected
================================================================================
==================================
*** lspci
00:14.0 Ethernet controller [Class 0200]: nVidia Corporation MCP51 Ethernet Cont
roller [10de:0268] (rev a3)
================================================================================
==================================
*** lsusb
lsusb not available. usbutils package needs to be installed
================================================================================
==================================
*** hwinfo --netcard # (filtered)
28: PCI 14.0: 0200 Ethernet controller
  Model: "Fujitsu Siemens MCP51 Ethernet Controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0268 "MCP51 Ethernet Controller"
  SubVendor: pci 0x1734 "Fujitsu Siemens Computer GmbH"
  SubDevice: pci 0x10c6
  Driver: "forcedeth"
  Driver Modules: "forcedeth"
  Device File: eth0
  Link detected: yes
    Driver Status: forcedeth is active
    Driver Activation Cmd: "modprobe forcedeth"
================================================================================
==================================
*** lsmod # (filtered)
| af_packet       | apparmor        | container       | cpufreq_conservative| cp
ufreq_powersave |
| cpufreq_userspace| edd             | ehci_hcd        | forcedeth       | hwmon
            |
| i2c_core        | i2c_nforce2     | jbd             | k8temp          | libata
           |
| mbcache         | ohci_hcd        | pata_amd        | powernow_k8     | raid0
           |
| raid1           | raid456         | sata_nv         | scsi_mod        | sd_mod
           |
| serio_raw       | sg              | thermal         | xfs             | xor
           |
================================================================================
==================================
*** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
================================================================================
==================================
*** cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
NAME='Fujitsu Siemens MCP51 Ethernet Controller'
STARTMODE='auto'
USERCONTROL='no'
================================================================================
==================================
*** cat /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO='dhcp'
STARTMODE='manual'
USERCONTROL='no'
================================================================================
==================================
*** NWEliza states
IF:eth0  IM:1
DI:1 dI:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:1 DR:0 MTU:1 NISS:0 IP6:0 KM:0 WLW: 0
 

framp

Moderator
Teammitglied
Duffyduck schrieb:
ich habe ein Server bei 1und1. Nach einigen Update auf Suse 10.3 funktioniert die Schnittstelle nicht mehr richtig.
Im Listing existiert nur eth0. Meinst Du diese oder ist es, dass Du per WLAN auf den Router zugreifst? (Jedenfalls hast Du das geantwortet bei den Script Fragen). Allerdings existiert auch ein Konfig für eth1 - aber kein Interface :???:
Man kann über tcpdump sehen das die Schnittstelle funktioniert, da dieses Anfragen von außen anzeigt. Man kann aber kein Verkehr nach drausen tätigen.
Wieso? Es gibt doch keine WLAN Schnittstelle. :???:
Die Daten werden per DHCP vom Provider übermittelt. Dieser gibt eine IP- Adresse mit der Netzmaske 255.255.255.255 herüber und ein Gatweway in einen ganz anderen IP-Bereich und wird auch nicht als Gateway aktiv geschaltet (zumindest sieht man es nicht bei netstat -r)
Woher hast Du die Infos? eth0 hat eine APIPA IP Adresse - also autogeneriert und nicht vom Provider. :???:

Falls es doch ein WLAN Interface ist solltest Du lsusb installieren und dann den Output dazu liefern. Ausserdem sollte der Thread dann ins WLAN Forum verschoben werden.
 
OP
D

Duffyduck

Newbie
Der Provider hatte mir mitgeteilt, dass die Daten über DCHP übermittelt werden. Der Zugriff erfolgt über eth0 und es ist kein WLAN, sondern Kabel (habe ich auch beim Script angegeben "wired").

Ich bin auch schon wieder etwas weiter. Das Problem scheint der DCHO Client auf dem Server zu sein. Ich habe nun per Hand das default Gateway auf die Schnittstelle gesetzt und das Gatewa definiert. Nun läuft das Netzwerk wieder (temporär).
Was Interessant ist, dass scheinbar durch das Update das komplette Plesk verschwunden ist. Nun überlege ich den Server komplett neu zuinstalliere, da ich alle notwendigen Daten, ausser Plesk, sichern konnte.
 

framp

Moderator
Teammitglied
Duffyduck schrieb:
Der Zugriff erfolgt über eth0 und es ist kein WLAN, sondern Kabel (habe ich auch beim Script angegeben "wired").
Sorry - da hatte ich wohl meine Brille nicht auf :eek:ps:
Ich bin auch schon wieder etwas weiter. Das Problem scheint der DCHO Client auf dem Server zu sein.
Das denke ich auch.
Ich habe nun per Hand das default Gateway auf die Schnittstelle gesetzt und das Gatewa definiert. Nun läuft das Netzwerk wieder (temporär).
DHCP sollte IP, GW und DNS liefern. Das GW fehlt offen sichtlich. Die IP ist eine APIPA IP - also keine öffentliche. Das ist schon komisch. Wie sieht es mit dem DNS aus? Findest Du in /etc/resolv.conf vernünfige DNS Server?
 
OP
D

Duffyduck

Newbie
Der Provider hatte mir mitgeteilt, dass die Daten über DHCP übermittelt werden. Der Zugriff erfolgt über eth0 und es ist kein WLAN, sondern Kabel (habe ich auch beim Script angegeben "wired").

Ich bin auch schon wieder etwas weiter. Das Problem scheint der DHCP Client auf dem Server zu sein. Ich habe nun per Hand das default Gateway auf die Schnittstelle gesetzt und das Gateway definiert. Nun läuft das Netzwerk wieder (temporär).
Was Interessant ist, dass scheinbar durch das Update das komplette Plesk verschwunden ist. Nun überlege ich den Server komplett neu zuinstalliere, da ich alle notwendigen Daten, außer Plesk, sichern konnte.
 
Oben