Netzwerkverbindung über crosskabel ??

  • Hallöle,
    ich versuche hier irgendwie vergebens eine verbindung über crosskabel von linux (suse 8.1) auf dem laptop zu der vdr kiste hermes 651 (suse 8.2) herzustellen. habe beiden rechner eine ip zugewiesen 192.168.2.55 und 65 mit der selben sub. jetzt habe ich versucht jeweils die rechner vom anderen anzupingen aber nix geht ??? kann mir da jemand weiterhelfen ich würde das gerne nachher über nfs server u. client verbinden.


    thx für eure hilfe
    jojo

  • Hi Jojo

    Zitat

    Original von jojo
    Hallöle,
    ich versuche hier irgendwie vergebens eine verbindung über crosskabel von linux (suse 8.1) auf dem laptop zu der vdr kiste hermes 651 (suse 8.2) herzustellen. habe beiden rechner eine ip zugewiesen 192.168.2.55 und 65 mit der selben sub. jetzt habe ich versucht jeweils die rechner vom anderen anzupingen aber nix geht ??? kann mir da jemand weiterhelfen ich würde das gerne nachher über nfs server u. client verbinden.


    Hast Du die SuSEfirewall aktiv? Gib mal als root
    SuSEfirewall2 stop
    ein und versuch nochmal zu pingen. Und schau dir die Ausgaben von ifconfig an.


    Cheers


    doc

    Mitstreiter für VDRsync gesucht!
    Egal ob Perl Programmierer, Tester, Doku-Schreiber oder User, jede Hilfe ist willkommen. Infos hier im Board (nach vdrsync suchen) oder auf der vdrsync-Homepage

  • libc.so.6 strcpy textdomain ioctl getservent printf setservent strerror inet_pton snprintf __ctype_b __strtol_internal fscanf fgets memcpy perror __cxa_finalize malloc gethostbyaddr socket __strtoul_internal __ctype_toupper __umoddi3 __udivdi3 freeaddrinfo abort endprotoent getnameinfo getnetbyaddr uname strrchr calloc setprotoent fprintf strcat getprotoent __deregister_frame_info ferror strstr strncmp strncpy strcasecmp realloc __strdup sscanf inet_aton index memset inet_ntoa herror strcmp __h_errno_location gethostbyname sprintf fclose setlocale stderr getaddrinfo access gettext getnetbyname __errno_location exit bindtextdomain inet_ntop fopen endservent _IO_stdin_used __libc_start_main strchr fputs __register_frame_info close free __gmon_start__ GLIBC_2.1.3 GLIBC_2.1 GLIBC_2.0


    dann ganz viel zeugs


    und dann das


    net-tools 1.60 ifconfig 1.42 (2001-04-13) Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
    %s: unknown interface: %s
    SIOCSIFFLAGS No support for INET on this system.
    Usage:
    ifconfig [-a] [-i] [-v] [-s] <interface> [[<AF>] <address>]
    [add <address>[/<prefixlen>]]
    [del <address>[/<prefixlen>]]
    [[-]broadcast [<address>]] [[-]pointopoint [<address>]]
    [netmask <address>] [dstaddr <address>] [tunnel <address>]
    [outfill <NN>] [keepalive <NN>]
    [hw <HW> <address>] [metric <NN>] [mtu <NN>]
    [[-]trailers] [[-]arp] [[-]allmulti]
    [multicast] [[-]promisc]
    [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]
    [txqueuelen <NN>]
    [[-]dynamic]
    [up|down] ...


    <HW>=Hardware Type.
    List of possible hardware types:
    inet <AF>=Address family. Default: %s
    List of possible address families:
    %s
    %s
    SIOCSIFNETMASK: %s
    /usr/share/locale net-tools -a -s -v -V -version --version -? -h -help --help ifconfig: option `%s' not recognised.
    ifconfig: `--help' gives usage information.
    socket arp -arp media port auto Unknown media type.
    port: SIOCGIFMAP port: SIOCSIFMAP trailers -trailers promisc -promisc multicast -multicast allmulti -allmulti up down dynamic -dynamic metric SIOCSIFMETRIC: %s
    mtu SIOCSIFMTU: %s
    keepalive SIOCSKEEPALIVE: %s
    outfill SIOCSOUTFILL: %s
    -broadcast broadcast SIOCSIFBRDADDR: %s
    dstaddr SIOCSIFDSTADDR: %s
    netmask txqueuelen SIOCSIFTXQLEN: %s
    mem_start mem_start: SIOCGIFMAP: %s
    mem_start: SIOCSIFMAP: %s
    io_addr io_addr: SIOCGIFMAP: %s
    io_addr: SIOCSIFMAP: %s
    irq irq: SIOCGIFMAP: %s
    irq: SIOCSIFMAP: %s
    -pointopoint pointopoint hw hw address type `%s' has no handler to set address. failed.
    %s: invalid %s address.
    SIOCSIFHWADDR: %s
    add No support for INET6 on this system.
    SIOGIFINDEX SIOCSIFADDR Interface %s not initialized
    del SIOCDIFADDR: %s
    tunnel ifconfig: Cannot set address for this protocol family.
    Don't know how to set addresses for family %d.
    %s:%d ash x25 ec econet tcpip unix netrom ddp appletalk ipx inet6 ip6 inet ip ax25 UNSPEC UNIX Domain DARPA Internet IPv6 AMPR AX.25 AMPR NET/ROM Novell IPX Appletalk DDP CCITT X.25 Please don't supply more than one address family.
    Too much address family arguments.
    , Unknown address family `%s'.

    .. %s (%s)
    -%d [NONE SET] Invalid callsign Callsign too long %s
    %s: %s
    ax25 /proc/net/ax25 %d/%d [NONE SET] /proc/net/appletalk ddp Local Loopback UNSPEC Serial Line IP VJ Serial Line IP 6-bit Serial Line IP VJ 6-bit Serial Line IP Adaptive Serial Line IP Ethernet Fiber Distributed Data Interface HIPPI AMPR AX.25 AMPR NET/ROM generic X.25 IPIP Tunnel Point-to-Point Protocol ARCnet Frame Relay DLCI Frame Relay Access Device IPv6-in-IPv4 IrLAP 16/4 Mbps Token Ring 16/4 Mbps Token Ring (New)
    .. %s (%s)
    default * [NONE SET] /%d inet netstat tcp udp raw %d %s getaddrinfo: %s: %d
    default * getnameinfo failed
    [NONE SET] [UNKNOWN] /proc/net/if_inet6 inet6 r /proc/net/ipv6_route INET6 (IPv6) not configured in this system.
    Kernel IPv6 routing table
    Destination Next Hop Flags Metric Ref Use Iface
    %4s%4s%4s%4s%4s%4s%4s%4s %02x %4s%4s%4s%4s%4s%4s%4s%4s %02x %4s%4s%4s%4s%4s%4s%4s%4s %08x %08x %08x %08x %s
    %s:%s:%s:%s:%s:%s:%s:%s %s/%d %s U G H D A C %-43s %-39s %-5s %-6d %-2d %7d %-8s
    /proc/net/ndisc ND Table nd_print %s: no support for `%s' on this system.
    Kernel IPv6 Neighbour Cache
    Neighbour HW Address Iface Flags Ref State
    Neighbour HW Address Iface Flags Ref State Stale(sec) Delete(sec)
    %4s%4s%4s%4s%4s%4s%4s%4s %02x %02x %02x %02x %08lx %08lx %08lx %04x %04x %04lx %8s %2s%2s%2s%2s%2s%2s
    %s:%s:%s:%s:%s:%s R x h P NONE INCOMPLETE REACHABLE STALE DELAY PROBE FAILED NOARP PERM UNKNOWN(%02x) %-43s %-17s %-8s %-5s %-3d %-16s %-9ld * %-7ld
    Usage: inet6_route [-vF] del Target
    inet6_route [-vF] add Target [gw Gw] [metric M] [[dev] If]
    inet6_route [-FC] flush NOT supported
    NONE default metric gw gateway mod dyn device dev socket SIOGIFINDEX SIOCDELRT SIOCADDRT Flushing `inet6' routing table not supported
    100baseFX 100baseTX 100baseT db15 thick AUI tpe utp 10baseT coax bnc 10base2 unknown warning: no inet socket available: %s
    SIOCGIFCONF compressed bytes %llu %llu %lu %lu %lu %lu %lu %lu %llu %llu %lu %lu %lu %lu %lu %lu %llu %llu %lu %lu %lu %lu %llu %llu %lu %lu %lu %lu %lu %llu %lu %lu %lu %lu %llu %lu %lu %lu %lu %lu r /proc/net/dev Warning: cannot open %s (%s). Limited output.
    Device not found %s: error fetching interface information: %s
    %-5.5s %5d %3d %8llu %6lu %6lu %6lu %8llu %6lu %6lu %6lu - no statistics available - %-56s [NO FLAGS] A B D L M d P N O s m R U
    b %-9.9s Link encap:%s HWaddr %s Media:%s (auto) %s addr:%s P-t-P:%s Bcast:%s Mask:%s
    /proc/net/if_inet6 %4s%4s%4s%4s%4s%4s%4s%4s %02x %02x %02x %02x %20s
    %s:%s:%s:%s:%s:%s:%s:%s inet6 addr: %s/%d Scope: Global Link Site Compat Host Unknown IPX/Ethernet II addr:%s
    IPX/Ethernet SNAP addr:%s
    IPX/Ethernet 802.2 addr:%s
    IPX/Ethernet 802.3 addr:%s
    EtherTalk Phase 2 addr:%s
    [NO FLAGS] UP BROADCAST DEBUG LOOPBACK POINTOPOINT NOTRAILERS RUNNING NOARP PROMISC ALLMULTI SLAVE MASTER MULTICAST DYNAMIC MTU:%d Metric:%d Outfill:%d Keepalive:%d RX packets:%llu errors:%lu dropped:%lu overruns:%lu frame:%lu
    compressed:%lu
    Mb Kb TX packets:%llu errors:%lu dropped:%lu overruns:%lu carrier:%lu
    collisions:%lu compressed:%lu txqueuelen:%d
    RX bytes:%llu (%lu.%lu %s) TX bytes:%llu (%lu.%lu %s)
    Interrupt:%d Base address:0x%x Memory:%lx-%lx DMA chan:%x %08lX:%02X%02X%02X%02X%02X%02X %08lX %02X%02X%02X%02X%02X%02X [NONE SET] ÿÿÿÿÿÿ /proc/net/ipx ipx %02x:%02x:%02x:%02x irda %02X- unspec loop -%d [NONE SET] Invalid callsign Callsign too long %s
    %s: %s
    netrom /proc/net/nr You cannot start PPP with this program.
    ppp sit slip cslip slip6 cslip6 adaptive /proc/net No usable address families found.
    %02x-%02x%02x-%02x%02x %02x%02x-%02x%02x STRIP_set_disc(%d): %s
    Metricom Starmode IP strip %02X:%02X:%02X:%02X:%02X:%02X tr tunnel %02X- [NONE SET] /proc/net/unix unix unspec out of virtual memory
    %d.%d.%d [NONE SET] Address can't exceed eighteen digits with sigdigits Invalid address %s
    %s: %s
    x25 /proc/net/x25 r /proc/net/x25_routes X.25 not configured in this system.
    Kernel X.25 routing table
    Destination Iface
    * %-5s
    %s/%*d %-5s
    Usage: x25_route [-v] del Target[/mask] [dev] If
    x25_route [-v] add Target[/mask] [dev] If
    device dev route: bogus netmask %d
    route: netmask doesn't match route address
    socket SIOCDELRT SIOCADDRT Flushing `x25' routing table not supported
    Modifying `x25' routing cache not supported
    %02X arcnet %02X:%02X:%02X:%02X:%02X:%02X ether %02X-%02X-%02X-%02X-%02X-%02X fddi %i dlci frad



    sorry aber damit kann ich nix anfangen :(
    das ist teilweise die ifconfig vom laptop, an der firewall hat es anscheinend ned gelegen. achja was ich noch sagen sollte auf dem laptop ist auch winxp drauf, von hier geht das einwandfrei über samba zum vdr-rechner, aber ich möchte das gerne von linux zu linux hinbekommen


    weil (und da bist du genau der richtige doc *g*) ich das vdrsync gerne hier auf dem laptop laufen lassen möchte und der die teile dann auf dem vdr demuxt


    thx
    jojo

  • Hi Jojo


    Achdusch.... ifconfig sollte eher sowas ausgeben:


    Irgendwie sieht das so aus, als wären Deine Installation nicht so ganz vollständig oder i.O....
    Was sagt denn yast? Netzwerkkarte gefunden? Was sagt ping 127.0.0.1?
    Und wenn Du die konfigurierte Adresse lokal pingst? (Also vom Notebook die Notebook Adresse)?


    Aber bei der Ausgabe, da ist irgendwas gaaanz faul. Was für ein Notebook ist es, bzw was für eine Netzwerkkarte?


    Cheers


    doc

    Mitstreiter für VDRsync gesucht!
    Egal ob Perl Programmierer, Tester, Doku-Schreiber oder User, jede Hilfe ist willkommen. Infos hier im Board (nach vdrsync suchen) oder auf der vdrsync-Homepage

  • Ich tippe mal das die Karte nicht konfiguriert ist.


    Starte Yast2. Unter Network Devices -> Network Card
    Da solltest du einen Eintrag haben für "already configured devices":
    Micro-Star International RTL-8139/8139C/8139C+
    Configured as eth0 with address .......


    Wenn nicht erstelle diesen Eintrag.


    Yast2 macht dann eigentlich alles automatisch.


    Du kannst dann ja checken mit ifconfig eth0 dass die Konfiguration aktiv ist.
    Und dann kannst du nachschauen mit lsmod das das 8139too kernelmodul für die Netzwerkkarte geladen wird.


    Bei SuSE lief bei mir auf dem Hermes alles easy.


    Als ich Debian probiert habe gab's Probleme. Da wollte APIC nicht mit der Karte. Also musste man beim booten als Kernelparameter append="noapic" angeben.
    Dann lief auch Debian.


    Hoffe das hilft dir weiter.


    Bye
    John


    • VDR#1: CoolerMaster ATX-620, MR Fortron 350 Watt ichbinleise®, FSC 1562, Celeron 2GHz, 256 MB, HD400LD, silentmaxx HD-silencer, LG GSA-4160B, Nexus-S, IR rev.4 von hirc, One-For-All URC-7040, Debian Etch, vdr 1.6.0-8ctvdr1

    • VDR#2: passiv Gehäuse von Hewlett600, VIA MII-12000, 256 MB, HD400LD, TT 1.5, One-For-All URC-7040, Debian Etch, vdr 1.6.0-8ctvdr1

    Einmal editiert, zuletzt von John Difool ()

  • bin jetzt auf der arbeit, werde die vorgeschlagenen sachen heute abend durchtesteten.
    die karten sind aber richtig erkannt, ich habe denen bei yast ja auch die ip zugeteilt.
    könnte sein das das mit dem 8139too was zu tun hat da kommt am anfang immer eine fehlermeldung, ich dachte das hätte was mit dem sound zu tun.
    ich werde das heut abend mal checken und mich wieder melden.


    vielen dank für eure prompte hilfe :)

  • Hi JoJo

    Zitat

    könnte sein das das mit dem 8139too was zu tun hat da kommt am anfang immer eine fehlermeldung, ich dachte das hätte was mit dem sound zu tun.


    Wohl eher mit der RealTek 8139 Netzwerkarte ;)


    Cheers


    doc

    Mitstreiter für VDRsync gesucht!
    Egal ob Perl Programmierer, Tester, Doku-Schreiber oder User, jede Hilfe ist willkommen. Infos hier im Board (nach vdrsync suchen) oder auf der vdrsync-Homepage

  • So hier jetzt mal die ausgaben vom laptop:
    ....
    laptop:~ # ifconfig
    eth0 Link encap:Ethernet HWaddr 00:40:CA:BB:AA:D5
    inet addr:192.168.2.65 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::240:caff:febb:aad5/10 Scope:Link
    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:100
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:9 Base address:0x4000


    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:30 errors:0 dropped:0 overruns:0 frame:0
    TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1956 (1.9 Kb) TX bytes:1956 (1.9 Kb)


    laptop:~ # iptables -Ln
    iptables: Table does not exist (do you need to insmod?)
    laptop:~ #

    ....
    das anpingen selber geht auch


    es kommt aber beim laptop am anfang eine fehlermeldung


    8139too unknown divice


    kann mir da noch jemand weiterhelfen ???

  • hat der laptop 2 netzwekkarten? das wäre auf jeden fall SEHR sonderbar.
    auf jeden fall hast du einen netztreiber geladne, sonst würde ifconfig nix anzeigen.
    kuck mal mit lsmod nach welche module geladen sind. scheinbar hast du eine andere netzkarte im laptop drin. welche genau kann man mit lspci überprüfen.


    das mit den iptables ist schon mal gut. wir wissen also jetzt das es NICHT an einer firewall liegt.
    STOPP: natürlich nicht! was hab ich dir auch für einen shipt verprappelt.
    du solltets iptables -nL eingeben. bei -Ln sucht er die chain "n" und die gibts wohl nicht :(

  • Sodele :) hier jetzt mal das


    ....
    laptop:~ # lsmod
    Module Size Used by Not tainted
    ipv6 156928 -1 (autoclean)
    ds 6464 2
    yenta_socket 8448 1
    pcmcia_core 37696 0 [ds yenta_socket]
    isa-pnp 27656 0 (unused)
    joydev 5792 0 (unused)
    evdev 4000 0 (unused)
    input 3168 0 [joydev evdev]
    st 26452 0 (autoclean) (unused)
    sg 24356 0 (autoclean)
    usb-ohci 19552 0 (unused)
    usbcore 57184 1 [usb-ohci]
    8139too 14016 1
    mii 1056 0 [8139too]
    lvm-mod 58944 0 (autoclean)
    ide-scsi 7552 0
    reiserfs 160576 1
    laptop:~ # iptables -nL
    Chain INPUT (policy ACCEPT)
    target prot opt source destination


    Chain FORWARD (policy ACCEPT)
    target prot opt source destination


    Chain OUTPUT (policy ACCEPT)
    target pr
    ....


    ich hoffe du kannst damit was anfangen, aber der 8139too scheint ja geladen zu sein
    thx

  • Hi Jojo,


    ich nehme mal an, die Netzwerkarte ist ein PCMCIA oder PC-Card oder wie sich das auch immer nennt heutezutage (zumindest intern). Dann könnte es sein, dass das Modul zu früh geladen wird, und erst, wenn der PCMCIA Treiber geladen wird nochmals, dann aber richtig. Das würde zumindest erklären, warum du eine Fehlermeldung bekommst, das Modul aber trotzdem funktioniert. Das ist ja jetzt mehr ein Schönheitsfehler als ein Problem ;). Sonst kannst Du mal nachsehen, ob das Kartenmodul in der initrd auftaucht (in /etc/sysconfig/kernel stehen die Module, die in der inital ramdisk geladen werden). Ausserdem kannst Du noch checken, was unter /etc/sysconfig/network/ifcfg-eth0 steht, bei mir taucht da folgendes auf:
    STARTMODE='onboot'
    Vielleicht sollt da bei Dir stehen
    STARTMODE='hotplug'
    (Im template im selben Verzeichnis steht noch was dazu)


    Cheers


    doc

    Mitstreiter für VDRsync gesucht!
    Egal ob Perl Programmierer, Tester, Doku-Schreiber oder User, jede Hilfe ist willkommen. Infos hier im Board (nach vdrsync suchen) oder auf der vdrsync-Homepage

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!