Portál AbcLinuxu, 10. května 2025 08:49
# ifconfig eth1 Link encap:Ethernet HWaddr 00:11:16:32:13:cc -- -- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:996905 errors:0 dropped:0 overruns:0 frame:0 TX packets:1001818 errors:24 dropped:0 overruns:0 carrier:0 collisions:69999 txqueuelen:1000 RX bytes:109704274 (104.6 MiB) TX bytes:811574963 (773.9 MiB) Interrupt:17 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:10665 errors:0 dropped:0 overruns:0 frame:0 TX packets:10665 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1038904 (1014.5 KiB) TX bytes:1038904 (1014.5 KiB)Ďakujem
Řešení dotazu:
# ethtool eth1 Settings for eth1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Half Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x000000ff (255) Link detected: yes
ifdown eth1; /usr/sbin/ethtool -s eth1 speed 100 duplex full; ifup eth1;ale nedá sa mi to zmeniť a ostáva stále half.
ethtool eth1 autoneg offa az potom
ethtool -s eth1 speed 100 duplex fullKazopadne bych se primlouval za autonegociaci na obou stranach. Za pul roku na to zapomenete a budete to resit znova, az to pripojite nekam jinam.
# ethtool -a eth1 Pause parameters for eth1: Autonegotiate: on RX: off TX: off--
# ethtool -S eth1 NIC statistics: rx_octets: 197409725 rx_fragments: 0 rx_ucast_packets: 1792709 rx_mcast_packets: 0 rx_bcast_packets: 7835 rx_fcs_errors: 0 rx_align_errors: 0 rx_xon_pause_rcvd: 0 rx_xoff_pause_rcvd: 0 rx_mac_ctrl_rcvd: 0 rx_xoff_entered: 0 rx_frame_too_long_errors: 0 rx_jabbers: 0 rx_undersize_packets: 0 rx_in_length_errors: 0 rx_out_length_errors: 0 rx_64_or_less_octet_packets: 0 rx_65_to_127_octet_packets: 0 rx_128_to_255_octet_packets: 0 rx_256_to_511_octet_packets: 0 rx_512_to_1023_octet_packets: 0 rx_1024_to_1522_octet_packets: 0 rx_1523_to_2047_octet_packets: 0 rx_2048_to_4095_octet_packets: 0 rx_4096_to_8191_octet_packets: 0 rx_8192_to_9022_octet_packets: 0 tx_octets: 1485312504 tx_collisions: 127184 tx_xon_sent: 0 tx_xoff_sent: 0 tx_flow_control: 0 tx_mac_errors: 46 tx_single_collisions: 8574 tx_mult_collisions: 884 tx_deferred: 5283 tx_excessive_collisions: 0 tx_late_collisions: 115316 tx_collide_2times: 0 tx_collide_3times: 0 tx_collide_4times: 0 tx_collide_5times: 0 tx_collide_6times: 0 tx_collide_7times: 0 tx_collide_8times: 0 tx_collide_9times: 0 tx_collide_10times: 0 tx_collide_11times: 0 tx_collide_12times: 0 tx_collide_13times: 0 tx_collide_14times: 0 tx_collide_15times: 0 tx_ucast_packets: 1814144 tx_mcast_packets: 6 tx_bcast_packets: 2 tx_carrier_sense_errors: 0 tx_discards: 0 tx_errors: 0 dma_writeq_full: 0 dma_write_prioq_full: 0 rxbds_empty: 0 rx_discards: 0 rx_errors: 0 rx_threshold_hit: 0 dma_readq_full: 0 dma_read_prioq_full: 0 tx_comp_queue_full: 0 ring_set_send_prod_index: 0 ring_status_update: 0 nic_irqs: 0 nic_avoided_irqs: 0 nic_tx_threshold_hit: 0
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.