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

WLAN: Seltsame DHCP-Requests

coogor

Hacker
Moin,

ich hänge bei einem Kunden im Gäste-WLAN, so weit also nicht ungewöhnliches:
Code:
ec  7 09:56:40 z60m dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R1                                                                                                              
Dec  7 09:56:40 z60m dhclient: Copyright 2004-2011 Internet Systems Consortium.                                                                                                                
Dec  7 09:56:40 z60m dhclient: All rights reserved.                                                                                                                                            
Dec  7 09:56:40 z60m dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec  7 09:56:40 z60m dhclient: 
Dec  7 09:56:40 z60m dhclient: Listening on LPF/eth1/00:13:ce:c7:09:dd
Dec  7 09:56:40 z60m dhclient: Sending on   LPF/eth1/00:13:ce:c7:09:dd
Dec  7 09:56:40 z60m dhclient: Sending on   Socket/fallback
Dec  7 09:56:40 z60m dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Dec  7 09:56:40 z60m dhclient: DHCPACK from 10.0.0.253
Dec  7 09:56:41 z60m dhclient: bound to 10.0.0.116 -- renewal in 1672 seconds.
Dec  7 09:56:41 z60m avahi-daemon[1834]: Joining mDNS multicast group on interface eth1.IPv4 with address 10.0.0.116.
Dec  7 09:56:41 z60m avahi-daemon[1834]: New relevant interface eth1.IPv4 for mDNS.
Dec  7 09:56:41 z60m avahi-daemon[1834]: Registering new address record for 10.0.0.116 on eth1.IPv4.
Dec  7 09:56:41 z60m kernel: [245299.851119] martian source 10.0.0.116 from 213.167.101.74, on dev eth1
Dec  7 09:56:41 z60m kernel: [245299.851129] ll header: 00:13:ce:c7:09:dd:00:08:e3:ff:fd:90:08:00
Dec  7 09:56:42 z60m avahi-daemon[1834]: Registering new address record for fe80::213:ceff:fec7:9dd on eth1.*.
Die Martian Source interessiert mal nicht....
Nun sehe ich andauernd DHCP-Requests, die ich mir mal nicht erklären kann:
Code:
Dec  7 10:24:38 z60m dhclient: DHCPREQUEST on eth1 to 10.254.250.3 port 67
Wenn ich das richtig sehe fragt mein Client an der 10.254.250.3 nach einer IP-Adresse. Warum macht der das? Wie kann ich feststellen welcher Prozess das ggf. ist? Weil auf eth1 hat er ja eine Adresse....versteh ich nicht.

OS: openSUSE 11.3, KDE 4.6.5, Networkmanager
 

spoensche

Moderator
Teammitglied
Ist der DHCP-Server deines Kunden in dem selben Netz, wie die 10.254.x.x? Hängst du an dem Router, der am Modem des Providers hängt? Das martian Source interessiert sehr wohl, weil es auf einen möglichen Fehler in der Konfiguration des Routers hinweist.
 
OP
coogor

coogor

Hacker
Das sind mal gute Fragen....ich schätze ich hänge an einem Radius-Server (zwecks Authentifizierung) und nicht direkt am Router des Modems. Wo der DHCP-Server hängt - keine Ahnung. Kann allenfalls mal über eth0 eine Verbindung herstellen - aber da komm ich (Firmennetz) wahrscheinlich nicht weiter...
 

spoensche

Moderator
Teammitglied
coogor schrieb:
Das sind mal gute Fragen....ich schätze ich hänge an einem Radius-Server (zwecks Authentifizierung) und nicht direkt am Router des Modems.

Musst du für den Netzwerkzugang ein Passwort eingeben oder verwendest du einen public Key für die Anmeldung am Netz? Wenn nicht, dann ist auch kein Radius am Werk.


Lade dir mal das Script CollectNWData von http://www.linux-tips-and-tricks.de/index.php/Netzwerktoolsrepository/View-category.html?ascdesc=DESC&orderby=dmdatecounter runter, führe es aus und poste mal das Resultat.
 
OP
coogor

coogor

Hacker
Es wird über eine allgemeiner Passphrase eingeloggt.
Hab das Script mal ausgeführt. Abgesehen von der Fehlermeldung
Code:
./collectNWData.sh: Zeile 1531: 6.22993: Syntaxfehler: Ungültiger arithmetischer Operator. (Fehlerverursachendes Zeichen ist \".22993\").                                                      
!!! CND0540W: Messages dropped on network interface eth1                                                                                                                                       
Can't find string terminator '"' anywhere before EOF at -e line 4.
..kam folgendes raus:
Code:
collectNWData.sh V0.6.5.4.6 (Rev: 1.300, Build: 2011-12-06 21:41:24 UTC)
--- Which type of your network connection should be tested?
--- (2) Wireless connection (WLAN)
--- What's the type of networktopology?
--- (2) WLAN HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
--- WLAN SSID to connect to: §§§§§§§§1

--- NWEliza is analyzing the system for common network configuration errors ...

!!! CND0540W: Messages dropped on network interface eth1
!!! CND0240E: knetworkmanager for network configuration enabled but a YAST network card configuration for eth1,eth0 exist

--- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.3 (i586)
VERSION = 11.3
===== uname -a ===================================================================================================
Linux z60m.axxite.internal 2.6.34.10-0.4-desktop #1 SMP PREEMPT 2011-10-19 22:16:41 +0200 i686 i686 i386 GNU/Linux
===== lspci ======================================================================================================
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express [14e4:167d] (rev 11)
	Subsystem: IBM ThinkPad Z60t [1014:0577]
	Kernel driver in use: tg3
--
14:02.0 Network controller [0280]: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection [8086:4224] (rev 05)
	Subsystem: Intel Corporation Device [8086:1011]
	Kernel driver in use: ipw2200
===== lsusb | grep -v "root hub" =================================================================================
Bus 002 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 004 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 011: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
===== hwinfo (filtered) ==========================================================================================
25: PCI 200.0: 0200 Ethernet controller
  Model: "IBM ThinkPad Z60t"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x167d "NetXtreme BCM5751M Gigabit Ethernet PCI Express"
  SubVendor: pci 0x1014 "IBM"
  SubDevice: pci 0x0577 "ThinkPad Z60t"
  Driver: "tg3"
  Driver Modules: "tg3"
  Device File: eth0
  Link detected: no
    Driver Status: tg3 is active
    Driver Activation Cmd: "modprobe tg3"
30: PCI 1402.0: 0282 WLAN controller
  Model: "Intel PRO/Wireless 2915ABG [Calexico2] Network Connection"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4224 "PRO/Wireless 2915ABG [Calexico2] Network Connection"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1011 
  Driver: "ipw2200"
  Driver Modules: "ipw2200"
  Device File: eth1
  Link detected: yes
    Driver Status: ipw2200 is active
    Driver Activation Cmd: "modprobe ipw2200"
===== lsmod (filtered) ===========================================================================================
| ac              | aes_generic     | aes_i586        | af_packet       | arc4             |
| bnep            | btusb           | cbc             | cfg80211        | drm              |
| drm_kms_helper  | ecb             | i2c_algo_bit    | i2c_i801        | ieee1394         |
| ip_tables       | ipw2200         | irda            | jbd2            | l2cap            |
| libipw          | llc             | michael_mic     | mmc_core        | mperf            |
| nsc_ircc        | ohci1394        | radeon          | rfcomm          | rfkill           |
| rsrc_nonstatic  | sco             | sdhci           | sdhci_pci       | sg               |
| sha256_generic  | speedstep_lib   | sr_mod          | stp             | tg3              |
| ttm             | uinput          | yenta_socket    |
===== ls /lib/firmware/* =========================================================================================
| 2.6.34.10-0.4-desktop   | 3CCFEM556.cis           | 3com                    | 3CXEM556.cis             |
| acenic                  | adaptec                 | advansys                | agere_ap_fw.bin          |
| agere_sta_fw.bin        | ar9170-1.fw             | ar9170-2.fw             | ar9271.fw                |
| ath3k-1.fw              | ath3k-2.fw              | av7110                  | bnx2                     |
| bnx2x-e1-4.8.53.0.fw    | bnx2x-e1-5.2.7.0.fw     | bnx2x-e1h-4.8.53.0.fw   | bnx2x-e1h-5.2.7.0.fw     |
| cis                     | COMpad2.cis             | COMpad4.cis             | cpia2                    |
| cxgb3                   | dabusb                  | DP83903.cis             | dsp56k                   |
| dvb-fe-xc5000-1.6.114.fw| dvb-usb-af9015.fw       | dvb-usb-af9035-01.fw    | dvb-usb-dib0700-1.20.fw  |
| e100                    | E-CARD.cis              | edgeport                | emi26                    |
| emi62                   | ess                     | f2255usb.bin            | GPL-3                    |
| i2400m-fw-usb-1.3.sbcf  | i2400m-fw-usb-1.4.sbcf  | ipw2100-1.3.fw          | ipw2100-1.3-i.fw         |
| ipw2100-1.3-p.fw        | ipw2200-bss.fw          | ipw2200-ibss.fw         | ipw2200-sniffer.fw       |
| ipw-2.2-boot.fw         | ipw-2.2-bss.fw          | ipw-2.2-bss_ucode.fw    | ipw-2.2-ibss.fw          |
| ipw-2.2-ibss_ucode.fw   | ipw-2.3-boot.fw         | ipw-2.3-bss.fw          | ipw-2.3-bss_ucode.fw     |
| ipw-2.3-ibss.fw         | ipw-2.3-ibss_ucode.fw   | ipw-2.3-sniffer.fw      | ipw-2.3-sniffer_ucode.fw |
| ipw-2.4-boot.fw         | ipw-2.4-bss.fw          | ipw-2.4-bss_ucode.fw    | ipw-2.4-ibss.fw          |
| ipw-2.4-ibss_ucode.fw   | ipw-2.4-sniffer.fw      | ipw-2.4-sniffer_ucode.fw| iwlwifi-1000-3.ucode     |
| iwlwifi-3945-2.ucode    | iwlwifi-4965-2.ucode    | iwlwifi-5000-1.ucode    | iwlwifi-5000-2.ucode     |
| iwlwifi-5150-2.ucode    | iwlwifi-6000-4.ucode    | iwlwifi-6050-4.ucode    | kaweth                   |
| keyspan                 | keyspan_pda             | korg                    | LA-PCM.cis               |
| lgs8g75.fw              | libertas                | LICENCE.agere           | LICENCE.atheros_firmware |
| LICENCE.i2400m          | LICENCE.iwlwifi_firmware| LICENCE.libertas        | LICENCE.mwl8k            |
| LICENCE.qla2xxx         | LICENCE.ralink-firmware.txt| LICENCE.ueagle-atm4-firmware| LICENCE.xc5000           |
| LICENSE.dib0700         | LICENSE.ipw2200-fw      | LICENSE.ipw2x00         | LICENSE.radeon_rlc       |
| matrox                  | microcode.dat           | MT5634ZLX.cis           | mts_mt9234mu.fw          |
| mts_mt9234zba.fw        | mwl8k                   | myricom                 | NE2K.cis                 |
| ositech                 | PCMLM28.cis             | PE-200.cis              | PE520.cis                |
| ql2100_fw.bin           | ql2200_fw.bin           | ql2300_fw.bin           | ql2322_fw.bin            |
| ql2400_fw.bin           | ql2500_fw.bin           | qlogic                  | r128                     |
| radeon                  | RS-COM-2P.cis           | rt2561.bin              | rt2561s.bin              |
| rt2661.bin              | rt2860.bin              | rt2870.bin              | rt3070.bin               |
| rt3071.bin              | rt3090.bin              | rt73.bin                | RTL8192E                 |
| s2250.fw                | s2250_loader.fw         | sb16                    | slicoss                  |
| sun                     | sxg                     | tamarack.cis            | tehuti                   |
| tigon                   | ttusb-budget            | ueagle-atm              | usbdux                   |
| usbduxfast_firmware.bin | usbdux_firmware.bin     | v4l-cx231xx-avcore-01.fw| v4l-cx23418-apu.fw       |
| v4l-cx23418-cpu.fw      | v4l-cx23418-dig.fw      | v4l-cx23885-avcore-01.fw| v4l-cx23885-enc.fw       |
| v4l-cx25840.fw          | vicam                   | yam                     | yamaha                   |
===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
eth0      Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#1  
          UP BROADCAST 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 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16 
eth1      Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#2  
          inet Adresse:10.0.0.116  Bcast:10.0.0.255  Maske:255.255.255.0
          inet6 Adresse: fe80::213:ceff:fec7:9dd/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:89361 errors:5567 dropped:5567 overruns:0 frame:0
          TX packets:95350 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:1000 
          RX bytes:54617341 (52.0 Mb)  TX bytes:11314979 (10.7 Mb)
          Interrupt:21 Speicher:c0002000-c0002fff 
===== iwconfig ===================================================================================================
lo        no wireless extensions.
eth0      no wireless extensions.
irda0     no wireless extensions.
pan0      no wireless extensions.
eth1      IEEE 802.11abg  ESSID:"§§§§§§§§2"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: ##:##:##:##:##:#3   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@   Security mode:open
          Power Management:off
          Link Quality=82/100  Signal level=-48 dBm  Noise level=-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:5565  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:0   Missed beacon:0
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
NAME='NetXtreme BCM5751M Gigabit Ethernet PCI Express'
STARTMODE='auto'
USERCONTROL='no'
--- /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO='dhcp'
INTERFACETYPE='wlan'
NAME='PRO/Wireless 2915ABG [Calexico2] Network Connection'
STARTMODE='auto'
USERCONTROL='yes'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_ESSID='§§§§§§§§2'
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
WIRELESS_WPA_PSK='@@@@@@'
===== iwlist scanning ============================================================================================
                    ESSID:"§§§§§§§§2"
                    Encryption key:on
                    Quality=80/100  Signal level=-49 dBm  
                    IE: WPA Version 1
===== ndiswrapper -l =============================================================================================
No ndiswrapper module loaded
===== Active processes ===========================================================================================
wpa_supplicant:YES knetworkmanager:YES nm-applet:NO
===== ===== egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" =================
NETWORKMANAGER="yes"
===== dhcpcd-test ================================================================================================
eth1: DHCP server available
===== ping tests =================================================================================================
Ping of 195.135.220.3 OK
Ping of www.suse.de OK
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver 145.253.2.11
nameserver 212.82.225.7
nameserver 145.253.2.75
===== cat /etc/hosts =============================================================================================
127.0.0.1	localhost.localdomain	localhost
127.0.0.2       z60m.axxite.internal z60m
192.168.2.100	southpole.axxite.internal	southpole
===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
10.0.0.0        0.0.0.0         255.255.255.0   U     2      0        0 eth1
0.0.0.0         10.0.0.254      0.0.0.0         UG    0      0        0 eth1
===== Actual date for bias of following greps ====================================================================
09:43:59 2011-12-12
===== grep -i radio /var/log/messages* | tail -n 5 ===============================================================
===== dmesg | grep -i radio | tail -n 5 ==========================================================================
[   10.944830] thinkpad_acpi: radio switch found; radios are enabled
[   11.029317] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
===== tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 10 ====================================
Übereinstimmungen in Binärdatei (Standardeingabe).
===== egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ==============
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
===== egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v -i '#|backlist' ================
==================================================================================================================
*** NWElizaStates V0.6.5.4.6
IF:eth0 IM:1 IF:eth1 IM:2 DI:2 AP:1 FALON:1 NIC:0 cNiC:2:0 NI:0 cNI:0 PNG:0 DNS:0 MTU:0 NISS:0 IP6:0 KM:1 WLW:0 RTDT:SuSE
...dass es eine Konfiguration in YaST gibt, das Netzwerka ber über den Networkmanager läuft sollte eigentlich kein Problem darstellen.
 

framp

Moderator
Teammitglied
<OT>Der Bug im Script collectNWData.sh ist gefixed und uploaded. Sorry for the inconveninence :eek:ps: Danke für den Hinweis auf diesen Fehler. </OT>
 
OP
coogor

coogor

Hacker
Hab inzwischen rausbekommen dass unter der Adresse noch ein DHCP/WINS-Server läuft. Das dürfte es wohl erklären....
 

spoensche

Moderator
Teammitglied
Du kannst deine Karte entweder mit dem Networkmanager oder Yast konfigurieren aber nicht mit beiden gleichzeitig.
 
Oben