Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240872 > unrolled thread

How to configure the network ethernet?

Started byWilliam Torrez Corea <willitc9888@gmail.com>
First post2021-10-04 08:20 +0200
Last post2021-10-11 14:50 +0200
Articles 6 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  How to configure the network ethernet? William Torrez Corea <willitc9888@gmail.com> - 2021-10-04 08:20 +0200
    Re: How to configure the network ethernet? Reco <recoverym4n@enotuniq.net> - 2021-10-04 08:30 +0200
      Re: How to configure the network ethernet? William Torrez Corea <willitc9888@gmail.com> - 2021-10-11 01:00 +0200
        Re: How to configure the network ethernet? Reco <recoverym4n@enotuniq.net> - 2021-10-11 07:50 +0200
          Re: How to configure the network ethernet? William Torrez Corea <willitc9888@gmail.com> - 2021-10-11 11:40 +0200
            Re: How to configure the network ethernet? Reco <recoverym4n@enotuniq.net> - 2021-10-11 14:50 +0200

#240872 — How to configure the network ethernet?

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2021-10-04 08:20 +0200
SubjectHow to configure the network ethernet?
Message-ID<D4pup-131-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

*Network is not managed*

enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
DOWN mode DEFAULT group default qlen 1000
    link/ether e0:db:55:c2:58:45 brd ff:ff:ff:ff:ff:ff

*I replaced the iptables by nftables*

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
REJECT     all  --  anywhere             127.0.0.0/8          reject-with
icmp-port-unreachable
ACCEPT     all  --  anywhere             anywhere             state
RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https
ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp
dpt:ssh
ACCEPT     icmp --  anywhere             anywhere             icmp
echo-request
LOG        all  --  anywhere             anywhere             limit: avg
5/min burst 5 LOG level debug prefix "iptables denied: "
REJECT     all  --  anywhere             anywhere             reject-with
icmp-port-unreachable

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --  anywhere             anywhere             reject-with
icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

But i don't receive any *link*.
-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [next] | [standalone]


#240873

FromReco <recoverym4n@enotuniq.net>
Date2021-10-04 08:30 +0200
Message-ID<D4pE5-162-3@gated-at.bofh.it>
In reply to#240872
On Mon, Oct 04, 2021 at 12:10:39AM -0600, William Torrez Corea wrote:
> enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state

It says here - NO-CARRIER, which could mean that:

1) Your Ethernet cable is damaged.
2) Your card fails to negotiate speed and duplex settings.

The usual troubleshooting steps here are:

1) Replace the Ethernet cable.
2) Install ethtool, use it to disable autonegotiation, and try setting
the speed and duplex by hand.

Failing that, replacing network card produced by Dell with something more
proper is always an option.

Reco

[toc] | [prev] | [next] | [standalone]


#241142

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2021-10-11 01:00 +0200
Message-ID<D6PXr-24B-3@gated-at.bofh.it>
In reply to#240873

[Multipart message — attachments visible in raw view] — view raw

Ready, i try to follow the instructions but,

For example with the command for disable the autonegotiation:

sudo ethtool -A enp7s0 autoneg off
>

I get the following error:

*Cannot get device pause settings: Operation not supported*

*standard information about device*

Settings for enp7s0:
> Supported ports: [ TP AUI BNC MII FIBRE ]
> Supported link modes:   10baseT/Half 10baseT/Full
>                        100baseT/Half 100baseT/Full
> Supported pause frame use: Symmetric Receive-only
> Supports auto-negotiation: Yes
> Supported FEC modes: Not reported
> Advertised link modes:  10baseT/Half 10baseT/Full
>                        100baseT/Half 100baseT/Full
> Advertised pause frame use: Symmetric Receive-only
> Advertised auto-negotiation: Yes
> Advertised FEC modes: Not reported
> Link partner advertised link modes:  10baseT/Half 10baseT/Full
>                                     100baseT/Half 100baseT/Full
> Link partner advertised pause frame use: Symmetric Receive-only
> Link partner advertised auto-negotiation: Yes
> Link partner advertised FEC modes: Not reported
> Speed: 100Mb/s
> Duplex: Full
> Port: MII
> PHYAD: 0
> Transceiver: internal
> Auto-negotiation: on
> Supports Wake-on: pumbg
> Wake-on: g
> Current message level: 0x00000033 (51)
>       drv probe ifdown ifup
> Link detected: yes
>

On Mon, Oct 4, 2021 at 12:20 AM Reco <recoverym4n@enotuniq.net> wrote:

> The usual troubleshooting steps here are:
>
> 1) Replace the Ethernet cable.
> 2) Install ethtool, use it to disable autonegotiation, and try setting
> the speed and duplex by hand.
>
> Failing that, replacing network card produced by Dell with something more
> proper is always an option.
>
> Reco
>
>

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#241146

FromReco <recoverym4n@enotuniq.net>
Date2021-10-11 07:50 +0200
Message-ID<D6Wmd-6GJ-1@gated-at.bofh.it>
In reply to#241142
	Hi.

Please do not top-post.

On Sun, Oct 10, 2021 at 04:50:18PM -0600, William Torrez Corea wrote:
> Ready, i try to follow the instructions but,
> For example with the command for disable the autonegotiation:
> 
> sudo ethtool -A enp7s0 autoneg off
> 
> I get the following error:
> *Cannot get device pause settings: Operation not supported*

You cannot change L2 settings on a interface that's UP. You need to
bring it down first.
I.e.

sudo ip l s dev enp7s0 down
sudo ethtool -A enp7s0 autoneg off
sudo ip l s dev enp7s0 up

And then there's this:

>> Link detected: yes

Your previous e-mail mentioned that interface in question has NO-CARRIER
flag. This result contradicts it.

So, which is which?

Reco

[toc] | [prev] | [next] | [standalone]


#241164

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2021-10-11 11:40 +0200
Message-ID<D6ZWN-xp-11@gated-at.bofh.it>
In reply to#241146

[Multipart message — attachments visible in raw view] — view raw

I was following your recommendation.

The usual troubleshooting steps here are:
>
1) Replace the Ethernet cable.
> 2) Install ethtool, use it to disable autonegotiation, and try setting
> the speed and duplex by hand.
>

On Sun, Oct 10, 2021 at 11:45 PM Reco <recoverym4n@enotuniq.net> wrote:

> >> Link detected: yes
>
> Your previous e-mail mentioned that interface in question has NO-CARRIER
> flag. This result contradicts it.
>
> So, which is which?
>
> Reco
> I
>


-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#241185

FromReco <recoverym4n@enotuniq.net>
Date2021-10-11 14:50 +0200
Message-ID<D72UG-2ix-19@gated-at.bofh.it>
In reply to#241164
	Hi,

please do not top-post.

On Mon, Oct 11, 2021 at 03:34:06AM -0600, William Torrez Corea wrote:
> I was following your recommendation.

Yes, and ethtool does not allow you to change L2 settings of the
interface if the interface is UP.

Reco

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web