Results 1 to 6 of 6

Thread: Problem with wired connection

  1. #1

    Question Problem with wired connection

    Hi there,
    after two das of trying and searching i can not find a solution so if anyone knows my problem please help ...
    I try to build up a workstation (DELL Precision T3400) with opensuse 13.1 but i can not connect to the wired network.

    Code:
    lspci | grep Ethernet
    04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
    Code:
    ifconfig enp4s0
    enp4s0 Link encap :Ethernet Hardware Adresse 00:22:19:28:1A:CB
    inet Adresse:10.122.114.111 Bcast:10.122.115.255 Maske:255.255.254.0
    inet6 Adresse: fe80::222:19ff:fe28:1acb/64 Gültigkeitsbereich:Verbindung
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7937 error:0 dropped:0 everruns:0 frame:0
    TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 Sendewarteschlangelänge: 10000
    RX bytes:514415 (502.3 Kb) TX bytes:16480 (16.0 Kb)
    Interrupt:17
    Code:
    route
    ping -c1 10.112.114.1
    PING 10.122.114.1 (10.122.114.1) 56 (84) bytes of data
    From 10.122.114.111 icmp_seq=1 Destination Host unreachable
    I tried the following:
    - configuration with ifup (over yast)
    - configuration with configuration manager
    - configuration with ifconfig

    It is always the same. If i use automatic IP with dhcp, the PC does not get an IP address. Now i use static IP. I can only ping myself
    I dont know what i can try else. Is the Problem the interrup 17 on tg3 driver? what can i do to debug this?

    Will be VERY thankfull for any kind of help...

  2. #2

    Default Re: Problem with wired connection

    On 04/04/2014 05:46 AM, heinzchr wrote:
    >
    > Hi there,
    > after two das of trying and searching i can not find a solution so if
    > anyone knows my problem please help ...
    > I try to build up a workstation (DELL Precision T3400) with opensuse
    > 13.1 but i can not connect to the wired network.
    >
    >
    > Code:
    > --------------------
    > lspci | grep Ethernet
    > 04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
    > --------------------
    >
    >
    > Code:
    > --------------------
    > ifconfig enp4s0
    > --------------------


    The ifconfig command was deprected with the 2.0 kernel, which is really
    really really old. Use the 'ip' command going forward:

    Code:
    --------------------
    ip addr
    ip route
    ip -s link
    --------------------

    > Code:
    > --------------------
    > route
    > ping -c1 10.112.114.1
    > PING 10.122.114.1 (10.122.114.1) 56 (84) bytes of data
    > From 10.122.114.111 icmp_seq=1 Destination Host unreachable
    >
    > --------------------


    Looks like you copied/pasted here, other than the 'route' output, so
    thank-you for doing that (use 'ip route' instead going forward, as
    mentioned above) as it shows a typo. Your IP is on 10.122, but you tried
    to ping 10.112. Since your netmask does not support that network setup in
    your broadcast domain this looks like a typo. What happens if you ping
    the correct router IP?

    If you did not copy/paste and instead retyped your ping command, please do
    not do that as it causes confusion over what really happened. If you
    tried to ping the correct router address (which I'd expect after a couple
    of days of trying) then the lack of response is a bit odd unless your
    router does not reply to ICMP echo requests, which is possible but usually
    happens on public routers more than home/internal ones.

    Out of curiosity, is your netmask supposed to be /23 instead of /24
    (255.255.254.0 instead of 255.255.255.0)? That shouldn't be a problem
    most of the time, but it'd odd to see that for home users and is often a
    typo, so in case you did not mean that I'm asking.

    > I tried the following:
    > - configuration with ifup (over yast)
    > - configuration with configuration manager
    > - configuration with ifconfig
    >
    > It is always the same. If i use automatic IP with dhcp, the PC does not
    > get an IP address. Now i use static IP. I can only ping myself
    > I dont know what i can try else. Is the Problem the interrup 17 on tg3
    > driver? what can i do to debug this?


    Hmm....... no idea there.

    Any interesting notes in your firewall log file (/var/log/firewall or
    messages (/var/log/messages) or 'dmesg' output?

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  3. #3

    Default Re: Problem with wired connection

    Hi, thanks for your reply. The PC is in our factory network and i disabled the firewall. Before you ask: Our company does not have a support for linux and i want to use the mashine as a test environment.
    I typed the output by hand because i do not have a internet connection on this mashine.
    I will try your suggestion tomorrow and give you a reply. thanks a lot!

  4. #4

    Default Re: Problem with wired connection

    Hi,
    today I was able to produce the some more output (and copied it - no typing...)

    Code:
    sr1111:/home/christoph # ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever
    2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
        link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
        inet 10.122.114.111/23 brd 10.122.115.255 scope global enp4s0
           valid_lft forever preferred_lft forever
        inet6 fe80::222:19ff:fe28:1acb/64 scope link 
           valid_lft forever preferred_lft forever
    Code:
    sr1111:/home/christoph # ip route
    default via 10.122.114.1 dev enp4s0  proto static 
    10.122.114.0/23 dev enp4s0  proto kernel  scope link  src 10.122.114.111  metric 1
    Code:
    sr1111:/home/christoph # ip -s link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        RX: bytes  packets  errors  dropped overrun mcast   
        33440      351      0       0       0       0      
        TX: bytes  packets  errors  dropped carrier collsns 
        33440      351      0       0       0       0      
    2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
        link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
        RX: bytes  packets  errors  dropped overrun mcast   
        66729      1029     0       0       0       0      
        TX: bytes  packets  errors  dropped carrier collsns 
        19746      201      0       0       0       0
    Code:
    sr1111:/home/christoph # dmesg | grep enp4s0
    [    5.869096] systemd-udevd[318]: renamed network interface eth0 to enp4s0
    [   18.666098] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    [   20.340766] tg3 0000:04:00.0 enp4s0: Link is up at 100 Mbps, full duplex
    [   20.340774] tg3 0000:04:00.0 enp4s0: Flow control is off for TX and off for RX
    [   20.340789] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
    Code:
    sr1111:/home/christoph # /sbin/ifconfig
    enp4s0    Link encap:Ethernet  Hardware Adresse 00:22:19:28:1A:CB  
              inet Adresse:10.122.114.111  Bcast:10.122.115.255  Maske:255.255.254.0
              inet6 Adresse: fe80::222:19ff:fe28:1acb/64 Gültigkeitsbereich:Verbindung
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
              TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 Sendewarteschlangenlänge:1000 
              RX bytes:120927 (118.0 Kb)  TX bytes:29722 (29.0 Kb)
              Interrupt:17 
    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:65536  Metric:1
              RX packets:563 errors:0 dropped:0 overruns:0 frame:0
              TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 Sendewarteschlangenlänge:0 
              RX bytes:53556 (52.3 Kb)  TX bytes:53556 (52.3 Kb)
    Code:
    sr1111:/home/christoph # /sbin/route -n
    Kernel IP Routentabelle
    Ziel            Router          Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.122.114.1    0.0.0.0         UG    0      0        0 enp4s0
    10.122.114.0    0.0.0.0         255.255.254.0   U     1      0        0 enp4s0
    Code:
    sr1111:/home/christoph # ls /etc/sysconfig/network/ifcfg-*
    /etc/sysconfig/network/ifcfg-enp4s0  /etc/sysconfig/network/ifcfg-lo
    I really get frustrated here....

    Regards

  5. #5

    Default Re: Problem with wired connection

    On 04/09/2014 08:06 AM, heinzchr wrote:
    >
    > today I was able to produce the some more output (and copied it - no
    > typing...)


    Thank-you; it is appreciated.

    > Code:
    > --------------------
    > sr1111:/home/christoph # ip addr
    > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    > inet 127.0.0.1/8 scope host lo
    > valid_lft forever preferred_lft forever
    > inet6 ::1/128 scope host
    > valid_lft forever preferred_lft forever
    > 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    > link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
    > inet 10.122.114.111/23 brd 10.122.115.255 scope global enp4s0
    > valid_lft forever preferred_lft forever
    > inet6 fe80::222:19ff:fe28:1acb/64 scope link
    > valid_lft forever preferred_lft forever
    > --------------------


    This is probably nothing, but just to be sure....
    All of the first lines in your code blocks have a couple of leading
    spaces. You wrote 'no typing' but maybe you didn't count that as typing.
    Still, did you indent those on puropse? I ask because otherwise is it
    possible your hostname actually has a couple of spaces at the beginning?
    This is all probably nothing, but if that's actually there it's probably
    not good.

    > Code:
    > --------------------
    > sr1111:/home/christoph # ip route
    > default via 10.122.114.1 dev enp4s0 proto static
    > 10.122.114.0/23 dev enp4s0 proto kernel scope link src 10.122.114.111 metric 1
    > --------------------


    You mentioned originally that DHCP does not work, so you're setting the
    network stuff manually. I assume you have confirmed that all IPs are
    correct, and that the netmask is also correct (/23, or 255.255.254.0
    instead of /24, or 255.255.255.0). If you haven't checked a dozen times
    before, now's a good time to verify.

    > Code:
    > --------------------
    > sr1111:/home/christoph # ip -s link
    > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    > RX: bytes packets errors dropped overrun mcast
    > 33440 351 0 0 0 0
    > TX: bytes packets errors dropped carrier collsns
    > 33440 351 0 0 0 0
    > 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    > link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
    > RX: bytes packets errors dropped overrun mcast
    > 66729 1029 0 0 0 0
    > TX: bytes packets errors dropped carrier collsns
    > 19746 201 0 0 0 0
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # dmesg | grep enp4s0
    > [ 5.869096] systemd-udevd[318]: renamed network interface eth0 to enp4s0
    > [ 18.666098] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    > [ 20.340766] tg3 0000:04:00.0 enp4s0: Link is up at 100 Mbps, full duplex
    > [ 20.340774] tg3 0000:04:00.0 enp4s0: Flow control is off for TX and off for RX
    > [ 20.340789] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # /sbin/ifconfig
    > enp4s0 Link encap:Ethernet Hardware Adresse 00:22:19:28:1A:CB
    > inet Adresse:10.122.114.111 Bcast:10.122.115.255 Maske:255.255.254.0
    > inet6 Adresse: fe80::222:19ff:fe28:1acb/64 Gültigkeitsbereich:Verbindung
    > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    > RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 Sendewarteschlangenlänge:1000
    > RX bytes:120927 (118.0 Kb) TX bytes:29722 (29.0 Kb)
    > Interrupt:17
    > 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:65536 Metric:1
    > RX packets:563 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 Sendewarteschlangenlänge:0
    > RX bytes:53556 (52.3 Kb) TX bytes:53556 (52.3 Kb)
    > --------------------


    You have traffic going both ways. I'm starting to wonder if this is more
    of a network issue than a computer issue. Did you try this?

    Code:
    --------------------
    ping -c 4 10.122.114.1
    --------------------

    > I really get frustrated here....


    Have you tried another computer, with any OS, at this same spot in your
    "factory"? It is possible that the port you're using requires a certain
    MAC address (thus the DHCP failure), or uses some 801.1x (I forget which
    ones... too many of them) technologies to limit systems that authenticate
    (you're not authenticating per your report). You could also be having a
    VLAN issue, where you are using settings from a working system (on one
    VLAN) but then are somehow getting plugged into another.

    Have you checked with, or are you yourself, the local network administrator?

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  6. #6
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: Problem with wired connection

    On 04/09/2014 09:06 AM, heinzchr wrote:
    >
    > Hi,
    > today I was able to produce the some more output (and copied it - no
    > typing...)
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # ip addr
    > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    > inet 127.0.0.1/8 scope host lo
    > valid_lft forever preferred_lft forever
    > inet6 ::1/128 scope host
    > valid_lft forever preferred_lft forever
    > 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    > link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
    > inet 10.122.114.111/23 brd 10.122.115.255 scope global enp4s0
    > valid_lft forever preferred_lft forever
    > inet6 fe80::222:19ff:fe28:1acb/64 scope link
    > valid_lft forever preferred_lft forever
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # ip route
    > default via 10.122.114.1 dev enp4s0 proto static
    > 10.122.114.0/23 dev enp4s0 proto kernel scope link src 10.122.114.111 metric 1
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # ip -s link
    > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    > RX: bytes packets errors dropped overrun mcast
    > 33440 351 0 0 0 0
    > TX: bytes packets errors dropped carrier collsns
    > 33440 351 0 0 0 0
    > 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    > link/ether 00:22:19:28:1a:cb brd ff:ff:ff:ff:ff:ff
    > RX: bytes packets errors dropped overrun mcast
    > 66729 1029 0 0 0 0
    > TX: bytes packets errors dropped carrier collsns
    > 19746 201 0 0 0 0
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # dmesg | grep enp4s0
    > [ 5.869096] systemd-udevd[318]: renamed network interface eth0 to enp4s0
    > [ 18.666098] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    > [ 20.340766] tg3 0000:04:00.0 enp4s0: Link is up at 100 Mbps, full duplex
    > [ 20.340774] tg3 0000:04:00.0 enp4s0: Flow control is off for TX and off for RX
    > [ 20.340789] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # /sbin/ifconfig
    > enp4s0 Link encap:Ethernet Hardware Adresse 00:22:19:28:1A:CB
    > inet Adresse:10.122.114.111 Bcast:10.122.115.255 Maske:255.255.254.0
    > inet6 Adresse: fe80::222:19ff:fe28:1acb/64 Gültigkeitsbereich:Verbindung
    > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    > RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 Sendewarteschlangenlänge:1000
    > RX bytes:120927 (118.0 Kb) TX bytes:29722 (29.0 Kb)
    > Interrupt:17
    > 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:65536 Metric:1
    > RX packets:563 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 Sendewarteschlangenlänge:0
    > RX bytes:53556 (52.3 Kb) TX bytes:53556 (52.3 Kb)
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # /sbin/route -n
    > Kernel IP Routentabelle
    > Ziel Router Genmask Flags Metric Ref Use Iface
    > 0.0.0.0 10.122.114.1 0.0.0.0 UG 0 0 0 enp4s0
    > 10.122.114.0 0.0.0.0 255.255.254.0 U 1 0 0 enp4s0
    > --------------------
    >
    >
    > Code:
    > --------------------
    > sr1111:/home/christoph # ls /etc/sysconfig/network/ifcfg-*
    > /etc/sysconfig/network/ifcfg-enp4s0 /etc/sysconfig/network/ifcfg-lo
    >
    > --------------------
    >
    > I really get frustrated here....


    What is the problem - what exactly fails? You have an IP address, your ethernet
    NIC has received 66729 bytes and 1029 packets without error. It has transmitted
    19746 bytes in 201 packets, again without error. Your routing table looks
    correct as long as your router is really at 10.122.114.1, and the correct
    network mask is 255.255.255.254.

    How did your NIC get that IP address and mask? Did it come from DHCP or have you
    coded a static address? Are you using ifup or NetworkManager?




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •