date int64 1,220B 1,719B | question_description stringlengths 28 29.9k | accepted_answer stringlengths 12 26.4k | question_title stringlengths 14 159 |
|---|---|---|---|
1,655,319,444,000 |
I have openSUSE 11.4 installed on my HP pavilion dm4-2015dx.
The ethernet card (Attansic ethernet controler is shown in Yast's hardware info) was not recognized and after many days of googleing i found similar problem that has been solved. I tried to do what is described on ubuntu forum but it didn't work for me. Alth... |
After couple of updates I'm able to connect with ethernet card!
It seems that Kernel 3.0. solved that issue after all... Or maybe 3.0.1.
You just need to be persistent :)
| Atheros ethernet driver |
1,655,319,444,000 |
I'm using 3 NetworkManager connection profiles in a Linux distribution and all the connection profiles refer to the same ethernet interface: enp3s0. I'm using these connections to manage:
the default static IP configuration
set a new static IP configuration
request a DHCP address
In the rest of the question I'll use... |
I have found the problem: to set correctly the default configuration I need to execute the nmcli con up command as showed below:
nmcli con up "ethernet_default_ipstatic" iface enp3s0
as also indicated in this post.
Note. In this moment for me is not important to know why the execution of the script init_connections.s... | Multiple NetworkManager connection profiles for the same ethernet interface not always work correctly |
1,655,319,444,000 |
I am using tc to change the MAC address of incoming packets on a TAP interface (tap0) as follows where mac_org is the MAC address of a guest in a QEMU virtual machine and mac_new is a different MAC address that mac_org should be replaced with.
tc qdisc add dev tap0 ingress handle ffff:
tc filter add dev tap0 protocol ... |
My understanding is that you are confusing the Ethernet address that you modify with tc (link layer only), with the inner CHADDR field (client's hardware address) that was embedded by the client inside the DHCPDISCOVER request (application layer which won't ever be altered by tc).
| MAC address rewriting using tc |
1,655,319,444,000 |
I am having some issues with a DP83826 PHY and therefore I want to read some configuration registers. I have used mdio-tool and mii-diag for it, but I just realized that I can only read the first 32 registers.
mii-diag -v (verbose) displays the first 32 registers (which might not be a coincidence) and if I use mdio-to... |
I figured out how it works:
The basic standard MDIO address consists of 5 bits and therefore only the [0..32] range can be accessed directly. For devices that offer additional registers beyond the basic standard, there is an MDIO
Manageable Device (MMD) indirect method (defined in IEEE 802.3ah draft for Clause 22) for... | Reading PHY MII registers beyond 0x1F |
1,655,319,444,000 |
How can I activate an Ethernet adapter which is visible in lspci but otherwise not exposed?
Messing around, I recently moved an SSD with a Fedora install from one computer to another. Without changing anything, most everything is working quite adequately-- it is great how flexible things were! However, while I can see... |
According to your lspci -vvv output Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM has no kernel driver in use. The kernel you have seemingly doesn't support your HW. You're running the latest released kernel for RHEL 7 which might still be too old.
You've got two options:
Installing kernel 5... | Ethernet adapter in "lspci" but not available in "nmtui" |
1,655,319,444,000 |
I'm trying to connect my computer to the internet via a new router, and it is refusing to work in the most baffling way I've ever encountered.
If I just connect to the wifi network in the normal way,
Computer --(Wifi)--> Router
then I can ping the router without problems. But I cannot ping 8.8.8.8:
PING 8.8.8.8 (8.8... |
Thanks to the discussion in chat, I managed to solve my problem and learn some things too.
Cause
There are two nasty things going on here, both of them to do with a network switch lying between my router and the Internet:
Computer --> Router --> Switch --> Internet
The switch is blocking ping packets.
This means that... | Router blocking one specific device |
1,655,319,444,000 |
Two os installed on my pc,today a strange thing happens:my ethernet device lost in debian!
Enter into win10 from grub, i can connect internet with pppoe.
Enter into debian10 from grub :
ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 sc... |
The package r8168-dkms_8.048.03-1~bpo10+1_all.deb includes the file /etc/modprobe.d/r8168-dkms.conf, which will tell the kernel to load the r8168 module instead of the default r8169 for specific card models.
The package includes the r8168 module in source code form only: in order to make it usable, the dkms utility wi... | My ethernet device lost in debian |
1,655,319,444,000 |
I've modified a kernel module (qcaspi) and recompiled it, however my modifications aren't being called (checked dmesg) when the OS boots up.
Instead, the old kernel module is being run.
If I reload the module with rmmod and modprobe then my changes DO get called.
What's going on there? Where is the OS finding the old ... |
Thanks to the comments I was able to find a solution.
update-initramfs -v -u
This updates the archived kernel modules, the -v is for the verbose option.
Takes a few seconds but once done, I can restart my OS and my new driver gets called right away, instead of the older archived version :).
| Custom Kernel module not being loaded |
1,655,319,444,000 |
On my laptop, I often mount the content of my NAS through sshfs, for ease of access. I usually do so with an ethernet cable plugged in, as it makes browsing the files more smooth than with wifi. But sometime, I need to unplug, while still being connected to the same network through wifi. However, this makes sshfs unre... |
When you connect, use the -o reconnect flag:
$ sshfs -o reconnect [email protected]:/remote_path /local/path
| Keep sshfs connection when switching from wired to wireless network |
1,655,319,444,000 |
My oldish desktop PC, running stable Debian, won't connect to LAN anymore. Since other computers in the same network don't have this problem (even using the same cable) I strongly suspect a hardware problem with the onboard ethernet port (I recently plugged in another computer using the same cable, maybe i simply brok... |
Desktop network cards almost always have a LED to indicate connection (and often a second one tracking data I/O).
If there is no LED, then try plugging the cable out and in again, and run dmesg to see whether anything happens, for example:
[248510.165619] e1000: eth0 NIC Link is Down
[248510.168904] e1000 0000:00:03.0... | No LAN-connection - how to diagnose possible hardware problem |
1,655,319,444,000 |
I want to set the network speed so I created a script in /etc/network/if-pre-up.d/eth-tool:
#!/bin/sh
ethtool eth0 -s speed 10 duplex full autoneg off
I set the execution permission, but on boot the network still work at 100 Mbps. I have a file inside /etc/systemd/network/20-eth0.network with this content:
[Match]
Na... |
Create a systemd unit file for setting the speed automatically. The .service file would be something like
[Unit]
Description=Setting Speed
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/bin/ethtool -s eth0 speed 10 duplex full autoneg off
Type=oneshot
[Install]
WantedBy=multi-user.target
if-p... | ethtool doesn't change the network speed in pre-up |
1,655,319,444,000 |
I'm running an Ubuntu PC with 2 network cards:
An external USB to ethernet card, eth1
Built in ethernet NIC, eth0
I have eth1 assigned a static IP from the admin and intend to use it as the interface for WAN/internet connectivity. As for eth0, it is a workaround for a server with a fixed IP and ethernet address, con... |
After reading quite a bit on the internet, I came up with the following solution:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
auto eth0
iface eth0 inet static
address 122.128.0.7
netmask 255.255.255.0
hwaddress ether 00:10:13:50:a3:77
What this ... | Use and set a default ethernet card for external network/internet (WAN) access |
1,553,393,811,000 |
I have a Linux box (Debian 9) with 2 NICs (Ethernet & Wifi) and they both connect to different networks. Is it possible to configure the browser to use the Wifi NIC and all the rest of apps to use the Ethernet NIC (or choose which traffic should go through which NIC) ?
|
Based on @dirkt comment, it can be done using namespaces.
If you are not using physical NICs, that can be done with ip netns:
Create a new network namespace : ip netns add net1
Move your NIC to that new namespace : ip link set NIC netns wifi
Start the app inside that new namespace and it will use only the NIC moved... | Can i configure the browser to use one network interface and other apps to use the second? |
1,553,393,811,000 |
How to configure the teaming network?
On our redhat machines we configured as the following the teaming network
On each machine we have two links - ens1f5 and ens1f6
And we add the team0 file to control them
My question is- is it enough to create these 3 files?
So in case one of the links will failed then other link w... |
I had to apt install libteam-dev to get the 'nm-team' device to show. Strange but even though Kunbuntu 20.04 has everything else in that startup Reference guide above, I was also following, it didn't have that. I also installed apt install libteam-utils to get the teamdctl command to work.
Nothing 'switch side' was ne... | Network teaming configuration |
1,553,393,811,000 |
I'm using ubuntu 16.04. Here is the output of ifconfig:
-> ~$ ifconfig
eth0 Link encap:Ethernet HWaddr 3c:97:0e:e2:27:ea
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
co... |
Solution on AskUbuntu for Realtek ethernet driver error ubuntu 16.04 suggests you need an updated driver
sudo apt-get install r8168-dkms
| I can't connect to ethernet but can connet to wifi |
1,553,393,811,000 |
I am looking to generate raw Ethernet frames with payload that is preloaded into memory.
The Ethernet frames (10-60 full frames) should be generated at 1 ms intervals with no exception.
What would be my option to do this? My concern is in regards to the real-time requirements of such an application. Interrupts shoul... |
1ms is plenty to generate a few Ethernet frames, but on a typical Linux system, you can't count on not having the occasional pause. Even if you make your process high-priority, I don't think you can expect to always make a 1ms deadline.
RTLinux combines a real-time operating system with Linux. Linux runs as a non-real... | Generate raw Ethernet frames with memory preloaded payloads at < 1 ms intervals |
1,553,393,811,000 |
I have a Centos server and I have a problem with automatic detection of cable connection.
Whenever server is up before router has started i need to restart server to make it detect IP.
For Example:
- I bootup server.
- No network is connected (cable unplugged or router down),
- Start router or plug in cable.
- Connect... |
This seems to be exactly what NetworkManager was designed for.
Make sure NetworkManager is installed and the service running and stop the old network service.
By the way even with the network service rebooting is not necessary. A restart of that service should trigger a new dhcp request. But NetworkManager should do t... | How to setup automatic IP assignment after ethernet cable is plugged in |
1,553,393,811,000 |
I completed LFS and it boots but I'm not able to get the networking to work. When I do a ifconfig it list the lo that is the loopback network but doesn't detect eth0 and also says doesn't exist. If i do a ifconfig -a it lists sit0 as well but I don't know whats that for. I also enabled the network drivers for realtex... |
This sounds like the most likely culprit is a missing driver for your network card. You could check this by running the command lspci -k and seeing if your Ethernet adapter lists a kernel driver being used (which I suspect it won't).
Providing that this is the cause, you could either tell us here what network card you... | Realtek 8160 not detected on LFS |
1,553,393,811,000 |
I have an IP phone on my home network that I am trying to call using SIP from outside of my home network. I have port forwarding setup, but the phone is responding with a SIP 404 message. All the documentation I've seen says to look at the incoming traffic for this connection via Wireshark. How do I do this?
My comput... |
Monitoring Internet Traffic in Switched Networks
These days, the majority of local networks are switch-based. Unlike a hub, a switch, when it has received a packet from some port, retransmits it only to one port, where the recipient computer is connected to it. Switches maintain a table of MAC addresses and ports asso... | How can I debug traffic on a switched network with Wireshark? |
1,553,393,811,000 |
The aim is to standardize the Ethernet adapter type on all production servers. One of these servers disposes an em1, rather than eth0.
Today, an attempt has been done to change it, without success. Before executing a second attempt, this conversion will be tested first.
A Vagrant box has been created and eth0 is the... |
Changing em* to eth*
NOTE: em0 and em1 are also used by RHEL & CentOS, and therefore Scientific Linux as well. They're typically used for embedded NICs that are built into the system's motherboard.
I found this blog post titled: Solved: Renaming em1 to eth0 on Red Hat Enterprise Linux 6 which suggested adding the fol... | Change eth0 to em1 on Scientific Linux |
1,553,393,811,000 |
We are using pf_ring to capture packets. We are able to decipher information like source and destination ip, mac etc from the header information. Now we are moving into payload to decide the type of protocol, url and other information. We see that tcpdump and wireshark have done good parsing. Are those source code jus... |
Look at things like bro-ids, snort, surricata, httpry. bro-ids is probably the closest to what you're looking for.
| Parsing protocol and url from packet payload |
1,553,393,811,000 |
I have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces.
I am connected to the internet through wireless internet on my Mac but when I try and list all internet devices through backtrack, a WLAN doesn't show up,
#... |
The WLAN device doesn't show up because VMWare virtualizes the hardware. The hardware you see inside the virtualized OS is not the hardware of the host node. The 'lo' device the loopback device.
| Help understanding interfaces in Backtrack |
1,553,393,811,000 |
please advice - what the meaning of FAILED word from ifconfig command
Dose its mean that network from NIC isn't stable until this moment ?
Not clearly if ifconfig read network status each some mili seconds?, I mean if network is stable so ifconfig should return the FAILED status to OK ?
yael
ifconfig -a
lo0: f... |
man ifconfig
section called "INTERFACE FLAGS"
FAILED
The interface has failed. New addresses cannot be
created on this interface. If this interface is part of
an IP network multipathing group, a failover will occur
to another interface in the group, if possible
Sometimes IPMP notices a ... | ifconfig + FAILED from ifconfig on solaris machines |
1,553,393,811,000 |
Please forgive my ignorance, as I am still fairly new when it comes to linux under the hood!
Anyways - following up on my previous semi-related post, instead of trying a Debian testing image, I installed Debian stable and installed the latest 3.0.1 kernel via dpkg.
Specifically:
Ran apt-get update on internet enabled... |
There are several things that can go wrong with network interface cards, no kernel support is just one of them.
I'm not currently using any Atheros card, so I don't have specific experience to share, but here goes a generic tip:
Check for messages in the kernel log (doing dmesg | grep eth in a terminal should be enoug... | Upgrading to linux kernel 3.0.1 but my ethernet card is still not found? |
1,553,393,811,000 |
My GbNIC (Intel 82579LM, kernel 3.0 module e1000e) only connects with 100mbit although it's connected to a 1000mbit port (Asus GigaX1005) via an short (<3m) CAT6 cable.
flo-nbook ~ # ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
... |
According to Asus's specs on that switch, its only capable of 100mbit.
http://www.asus.com/Networks/Wired_Routers_Switches/GigaX1005/#specifications
5 RJ-45 for 10/100Mbps Ethernet ports
Also you cant set ports to 1000mbit, it must be auto-negotiated.
| Why do I only get 100mbit on my Asus GigaX1005? |
1,553,393,811,000 |
I have a Dell 710 with Quad Bcom NetExtreme 5709s. In the name of expediency, I'm trying to boot off the Squeeze live CD, but the Broadcom drivers are in non-free, so they don't come up when you boot.
No problem, I think to myself. I will sneaker-net the bnx2-firmware deb and all is good.
I can see the interfaces in... |
The firmware must be present at the time you load the driver. So be sure to unload the module and reload it:
# <install firmware>
rmmod bnx2
modprobe bnx2
For some drivers (I don't know about this one), you may need to unload auxiliary modules that it's using. lsmod | grep bnx2 will show what modules bnx2 uses. Ca... | Debian Live - modprobe failed to bring up Broadcom ethernet interfaces |
1,553,393,811,000 |
I am working on an embedded system that will connect a processor running Linux to an Ethernet switch via a "conduit" Ethernet link (e.g. eth0) using the port-based Ethertype DSA (Marvell) frame tagging protocol, so that the Linux kernel will present the userspace with separate Ethernet links for each of the switch's u... |
OP said:
Are the dsa_loop and dsa_loop_init modules intended to allow EDSA tagging to be performed on a "normal" Ethernet link?
Yes.
The problem I was running into is the result of an ordering problem between these loadable modules and the fixed-phy layer code which was being compiled as a built-in module.
When the ... | Is it possible to configure Ethertype DSA VLAN tagging on an Ethernet port that has a real PHY connection to the outside world? |
1,553,393,811,000 |
I think I understand "Automatic" and "Manual", but what is "Ignore"? If I choose "Ignore", then the speed setting becomes unavailable. If the speed is not automatically decided nor manually set, what speed is chosen when "Ignore"d?
|
Since you don't tell what software produces the image you shown, I'll assume it is some interface to networkmanager.
If link negociation is ignored then… no change to the already set connection parameters will be committed by the utility you are currently running.
Now, what does this already set of connection paramete... | Ethernet "link negotiation", manual vs ignore? |
1,553,393,811,000 |
I already did a bunch of troubleshooting in the last three days regarding this issue. Here are the tests and the observations I made so far:
Internet connection to my server is dropping constantly (see ping below)
Server has static address and the address is out of the DCHP Range of the router
Modem is a Modem/Router... |
I finally disabled my Wireguard server systemctl disable wg-quick@wg0 && systemctl stop wg-quick@wg0 until I take the time to investigate what was wrong with it and it did the trick.
| Debian headless server connected to Ethernet interface ~50% packet loss accessing the Internet |
1,586,612,201,000 |
I'm trying to configure dnsmasq as dhcp server on CentOS 7 minimal installation.
My network consists of wi-fi AP, Ethernet, Bluetooth PAN and bridge called common-bridge which serves as master for all of them.
dnsmasq is listening on common-bridge interface with following config:
domain-needed
bogus-priv
no-resolv
fi... |
The problem is related unstable network card driver (r8169) and is not related to network configuration.
Steps to install stable driver are described in Hetzner tutorial (link)
| dnsmasq as dhcp server configuration for Ethernet |
1,586,612,201,000 |
When I use rsync on large files it shows a download speed of 2.7 MB/s, or around 22Mbps. When I run ethtool on the NIC, here is the output
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pa... |
Check the Cpu usage through htop while it is transmitting data. If it is maxed out during ethernet events, it is a good sign that your cpu is the bottleneck. The only fixes are to increase the clock of your cpu, or to get a faster one.
| not getting full network speed (or even close) of 100 mbps |
1,437,634,436,000 |
I am having an issue with my smartphone device and packets monitoring: I am trying to find a reason why I cannot establish a VPN connection via PPTP protocol.
I have the following successful scenario:
Device set using IPv4
Connecting to VPN OK
Now a failing scenario:
Device set using IPv6
Connecting to VPN fails (a... |
If tcpdump does not show this packet, does that mean it has not been received ?
Yes, that's what it means. Packet capture directly sees what's being received on the wire. If there were a firewall/filter rule dropping the packet, it would still show up in the packet capture and then it would be dropped at a later tim... | check tcp packets reception below tcpdump level |
1,437,634,436,000 |
I have a PC on a test bench with 2 interfaces, enp2s0 and enp3s0. The IPs are public and obtained with DHCP, based on the interfaces MACs. There is a second computer on my bench, a Raspberry Pi Compute Module 3, which I want to expose on the internet. The RPi and bench sever are connect together through PPP, over a se... |
The IPs are public and obtained with DHCP, based on the interfaces MACs.
Which means that when bridged the ppp interface would need to get a third public IP obtained with DHCP. Which won't work with ppp.
bridge ppp0
Even if ppp0 wouldn't need a public IP, it's a point-to-point connection, as the name implies. So y... | Bridge PPPoS with ethernet |
1,437,634,436,000 |
I'd like to do some experiments to test the ping and fping commands (see: Equivalent of `ping -o` on Linux), but I need a local virtual Ethernet interface to test this.
I'd like to have a scenario where I can run ping 10.0.0.1 (or any other IP) and have it fail. Then, while ping is still running, I run some commands t... |
@Hauke Laging is right in his comment under my question:
There may be a different 10.0.0.1 somewhere. Compare the outputs of ip route get 10.0.0.1 in both cases.
ip route get 10.0.0.1 shows this before deleting the dummy interface:
local 10.0.0.1 dev lo src 10.0.0.1 uid 46153590
...indicating that that route is g... | How to create Ethernet interface at a specific IP address that I can ping and force to sometimes reply and sometimes not? |
1,437,634,436,000 |
When we test the eth card with ethtool -S
we get rx_missed_errors: 4649.
What is the meaning of rx_missed_errors?
Is it a major problem?
rx_over_errors: 0
rx_crc_errors: 0
rx_frame_errors: 0
rx_fifo_errors: 0
rx_missed_errors: 4649
tx_aborted_errors: 0
tx_carrier_errors: 0
tx_fifo_errors: 0
tx_heartbeat_er... |
The exact meaning of rx_missed_errors depends on the Ethernet driver in use, but it’s supposed to count missed packets on the receiver side, i.e. packets which the NIC received but had to drop because they couldn’t be stored or processed — typically, because the FIFO they would have gone to was full.
Whether it’s a ma... | What is the meaning of rx_missed_errors? |
1,437,634,436,000 |
lets say I want to ping to some machine as from my machine - moon
ping -c 1 master01
now I want to understand what is the interface name in master01 machine that get the packet from ping
so how we can identify what is the interface name on master01 that packet from moon machine was sent?
|
It's not possible to find out which interface was used on remote machine using ping. You have to login to remote machine and check which interface has assigned IP address you are pinging. You can do it using ifconfig or ip address commands on Linux, and ipconfig command in Windows.
| linux & identify the interface name on remote machine |
1,437,634,436,000 |
Here are my system’ and interface’s details:
After connecting ethernet cable to the laptop, running ping gives me ping: connect: Network is unreachable and with sudo apt update, I het could not resolve <domain name> errors. How do I use ethernet?
|
Add the eno1 to /etc/network/interfaces:
auto eno1
allow-hotplug eno1
iface eno1 inet dhcp
edit your /etc/resolv.conf
echo "nameserver 8.8.8.8" |sudo tee -a /etc/resolv.conf
Then:
sudo dhclient eno1
Or use ifup .
| Can’t use ethernet after removing kde-plasma on debian 12 |
1,437,634,436,000 |
I've used the ethernet interface rarely in the past on my debian 10. Last week I've updated my debian to debian 11. During the installation it failed to connect via ethernet. I've tried 3 different cable some of them are in daily use for my tv. So a faulty cable can be ruled out. It was quite a challenge to get throug... |
As discussed in the comments and based on the test (unsuccessful) to bring up interface with command:
ethtool -s enp0s31f6 speed 100 duplex full
I will say you have broken ethernet adapter. For me "Link detected: no" confirm this hypothesis. You can replace it with USB dongle (wireless or wired).
Also you can conside... | how to check if my ethernet interface is working properly or if it has a loose contact |
1,437,634,436,000 |
I am trying to modify the ethernet device name without modifying grub. I have tried to modify the device name, but when I do, the device stops working.
Things I have tried:
I've tried this
nmcli con edit id "Wired connection 1"
set connection.id testname
save
quit
I've also tried this:
nmcli connection modify ens... |
Changing the name of my network interface caused my mac address to change, therefore it would fail at the mac layer. By hardcoding the mac address into the /etc/sysconfig/network-scripts/ifcfg-testname file using the HWADDR directive, then the interface name change would work just fine; (It failed when I used the MACA... | RHEL 8 - How can I modify an ethernet device name? |
1,437,634,436,000 |
I bought a laptop this year, not via this website but from a vendor on Amazon.
I cannot connect to the internet via cable
and I'm afraid that my network interface is not working correctly for some unknown to me reason.
My environment: Ubuntu Desktop 20.04 LTS (the problem was present on Windows as well -
the OS that l... |
Link detected: no
and
the problem was present on Windows as well - the OS that that laptop was shipped to me
Strongly indicate your NIC is not working. The circuitry might be OK, but a pin/some pins could be broken.
You're good to RMA the laptop or replace the NIC/connector.
| How might I diagnose whether I have a working ethernet interface? |
1,437,634,436,000 |
I want to know what actually happens once I turn my ethernet OFF.
What does the OS do on a network layer?
Does it flush the routing table or anything like that.
|
Linux kernel describes every Ethernet adapter(physical device or virtual) by struct net_device (struct net_device). Every struct net_device has a set of struct net_device_ops which should be implemented by device driver. The most important of them:
ndo_open(). Called when you set Ethernet adapter to ON (ip link set u... | What happens when I turn my ethernet off? What steps does the OS perform once I turn the ethernet OFF? |
1,437,634,436,000 |
My computer is under Debian 10 with this Linux image :
uname -r
4.19.0-16-amd64
and a R8125 Ethernet card.
lspci | egrep -i --color 'network|ethernet'
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 (rev 05)
05:00.0 Network controller: Intel Corporation Device 2723 (rev 1a)
Today, a new Linu... |
You know the story : you only have to post/edit your question, and a few minutes later, it works...
So I wrote here the only things I did but (this time) worked, to help who would stumble upon the same problem I've encountered:
Go on the session where Ethernet connection is still available and
download the Git projec... | My Realtek 8125 Ethernet card isn't reconized anymore after an apt-get update/dist-upgrade bring Debian 10 from 4.19.0.16 to 4.19.0.17 Linux image |
1,437,634,436,000 |
I know this question sounds dumb but lately It's quite hard for my mind to visualize whole packet flow at Layer 2 level.
I'm developing a firewall at Layer 2 and interested at inspecting TCP packets while routing the packets back and forth.
But It's doubtful whether I could inspect the TCP stream as I can't confirm wh... |
TCP is implemented agnostic of the data link layer. Thus, a TCP packet can span one or more ethernet frames.
If you want filter at the data link layer and inspect higher layers of the network communication as well, you will need to assemble the TCP communication manually from the composite data link frames, and then i... | Do a TCP stream comprising SYNs and ACKs involve only one-time Ethernet packet? |
1,437,634,436,000 |
BACKGROUND DETAILS:
I've inhereted a QNAP TS-459U-RP.
I currently have it connected to my home router via an ethernet/rj45 cable. My computer is connected to the same router. How do I access the QNAP from my computer?
If I open nautilus and go to + Other Locations, I now see 2 new options under Networks which only ... |
You need to configure the QNAP using its web GUI. There are lots of manuals, tutorials, etc. at https://qnap.com. Default username is admin, possibly with password admin.
To find its IP address you can either use the QNAP Finder tool (Windows, downloadable from QNAP's website), or look at whatever issues DHCP addresse... | How do I connect to a QNAP [closed] |
1,437,634,436,000 |
I prepared dhcpd configuration in Debian 8 and it successfully worked but then I added bridge and dhcpd failed.
bridge:
root@remote:/home/s# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.00224dad5ddf no eth0
eth1
root@remote:/home/s# cat /etc/netw... |
Your original DHCP server configuration used eth0. You've now replaced that in your network definitions with br0, so you need to update your DHCP server configuration accordingly.
| dhcpd and bridge - No subnet declaration error |
1,437,634,436,000 |
I was looking to move from wifi to ethernet. My computer is a Lenovo Thinkpad Carbon Gen II. This computer does not have an ethernet port. You have to rely on a dongle. I still own the one shipped with the computer
(it looks like this). Since mine is a bit damaged over the time. Today, I bought a new one (a usb to rj... |
In order to test if the connection is working:
ifconfig enp0s25 up (this enables your network interface/the dongle)
dhcpcd (this starts a dhcp client in order to obtain an ip address)
When this works you can move to a more permanent and convenient solution:
For example, you can use netctl in order to auto... | Unable to connect ethernet by dongle |
1,437,634,436,000 |
tcpdump -i mlan0 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode listening on mlan0, link-type EN10MB (Ethernet), capture size
262144 bytes
Why is this Ethernet here? I am using wifi, not an Ethernet.
decode listening on mlan0, link-type EN10MB (Ethernet), capture size
262144 ... |
Why is this Ethernet here? I am using wifi, not an Ethernet.
Because you're not capturing in monitor mode; on most operating systems, the only way to get 802.11 headers, rather than fake Ethernet headers, on a Wi-Fi capture is to capture in monitor mode. This includes Linux, OS X, and Windows (although WinPcap does... | Itcpdump output - why is it showing an Ethernet status? |
1,437,634,436,000 |
I am using Ubuntu 23.10 and an ethernet connection to my router. However, sometimes during the day, my Internet connection gets "lost" for periods that can reach 1 hour sometimes. I can still access the router admin page, but no any other page on the Internet. The Ethernet icon in my system is still as it is (displayi... |
Loopback Address
See: What is the use of a loopback address in IPv4?
A loopback address or 'localhost' is an IPv4 address that is reserved for something called a 'loopback'. For loopback, IP addresses ranging from 127.0. 0.0 to 127.255. 255.255. (i.e. from 0-255).
Class A network number 127 is assigned the “loopback”... | Weird Internet disconnection issue on Linux and ethernet |
1,697,206,939,000 |
I have a freebsd which has the network interfaces as follows.
bxe0, bxe1, igd0 and igd1
I want to move them to names like eth0, eth1 and so on. I know that I can do it in the /etc/rc.conf
ifconfig_igb0_name=eth0
but during the boot time the network interfaces are still bxe0, bxe1 etc.
Is there any way I can chang... |
Interfaces are "kernel inventions"; they don't exist outside of the kernel.
So "can I give them different names before the kernel gets loaded" makes no sense – they don't exist before the kernel has initialized them.
| bxe0 and bxe1 to eth0 and eth1 respectively |
1,697,206,939,000 |
I just installed Centos7 on a desktop computer because I need this specific OS for compatibility with CAD software that I am using. The installation went fine but my internet isn't working. I researched things a bit:
Output of ifconfig -a doesn't show network cards and only shows: lo, virbr0 and virbr0-nic.
So I ran l... |
OK, found the solution.
My machine had "secure boot" turned on which rejects any third-party drivers. I turned it off by using the following command, and as described in this answer.
sudo mokutil --disable-validation
| Can't get ethernet adapter to work on centos 7.9, I tried both Realtek RTL8125 and Intel I225V |
1,697,206,939,000 |
Is it possible to set a max number of clients on an ethernet-interface created with nmcli?
Example: I would like max 2 devices to get a successful connection, even if I add a network-switch and connect 10 devices.
|
That's not how Ethernet works; there's no "connections" in ethernet; that's a concept from two layers higher.
So, you could try to make a firewall behave in a way that limits specific kind of activity, e.g. the ability to send TCP/IP packets, to a certain number of IP addresses. This would probably mean writing a daem... | nmcli: limit number of active connections |
1,697,206,939,000 |
I have a TD-LTE wireless terminal which can be used as a external 4G network adapter. It is connected to computer through USB. When I'm using Debian 11, it can provide USB ethernet well. However, when I tried to use it in Arch. I can't access find the USB ethernet.
ip doesn't show the external device
1: lo: <LOOPBACK... |
Following Stephen Boston's comment, I solved this problem:
First, install 2 software:
pacman --sync usbutils usb_modeswitch
Then, get details about the external USB ethernet device (I found that it had been in Mass Storage mode):
$ lsusb --verbose
and find:
Bus 001 Device 003: ID 12d1:14db Huawei Technologies Co., Lt... | How to enable USB ethernet in Arch Linux? |
1,697,206,939,000 |
I recently revived a hp 700/RX x-terminal and I wanted to try and set it up for fun but I don't know how to make a x-Linux server to connect to. I also think I need a bnc connector to connect it. I do have a bnc Ethernet card to link the computers. I just want to know what Linux distro and what version I need how how ... |
Yes, X Terminals get connected to Unix (Linux) hosts via Ethernet.
1) Install the BNC Ethernet card and connect it to the Terminal.
2) Run wireshark on the interface of the BNC Ethernet card.
3) Power up the terminal. See what Wireshark shows you. You'll probably get a BOOTP/DHCP request.
4) If yes, then install a DHC... | How to use a x-terminal |
1,697,206,939,000 |
I'm trying to get a basic ethernet connection with Halibut 8.0.0
sa8155:~# ifconfig eth0 up
sa8155:~# udhcpc
udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: sending select for 10.0.0.112
udhcpc: lease of 10.0.0.112 obtained, lease time 604800
/etc/udhcpc.d/50default: Adding DNS 75.75.75.75
/etc/udhcpc.d/50de... |
In a default installation, ConnMan will connect to a wired ethernet connection without any additional setup or interaction. It monitors kernel network interface events and brings the interface up automatically, including setting a default gateway and default routes. It also has built into it a dhcp client and dns forw... | How do I get an ethernet connection with Automotive Grade Linux (Halibut 8.0.0)? |
1,697,206,939,000 |
Is there any tools to get the information about status of data receiving and sending in Ethernet (Real-time information is better, GUI tools is better)?
The information includes:
sending and receiving rate (Mbps)
total data sending and receiving since start the machine (this is optional)
|
There are several available. A full-fledged network tool is iptraf (http://iptraf.seul.org/).
Otherwise, nload is a tool that just shows network bandwidth usage, in a simple and neat way.
If you want to run network benchmarks, look for netserver/netperf or iperf.
| How to get the information about the status of data receiving and sending in ethernet? |
1,697,206,939,000 |
I want to configure an IP camera which is in my raspberry pi's ethernet port (I connect to it through wifi).
I connected the camera and this is what I see when I run ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:a2:10:08
inet addr:169.254.248.2 Bcast:169.254.255.255 Mask:255.255.0.0
... |
With no hub or switch you need to use a crossover cable. You can make a cable that is crossed, make a cable with a female RJ45 connector that is crossed, put 2 RJ45 connectors together (a 2 port hub!), etc.
Once that is done the automatic addressing may work, or check the manual for the camera it may have a default s... | How to talk with IP camera through ethernet directly (no switch, hub, routers...). Different subnets in camera and ethernet's port |
1,697,206,939,000 |
I have a dedicated server ubuntu 16.04 OS / 8 GB Ram, with over 5000 IPv6 from /48 subnet assigned to using below command
ip -6 addr add IPv6/48 dev eth0
creating massive parllel connections cycling between these different IPs each run for my crawling project,
problem is server provider messaged me about high load on... |
[...] high load on the switch [...] that we can direct route the entire /48
Reading between the lines, the only thing I can think of that they could possibly have in mind is IPv6 neighbour discovery table overload. If this is what they are thinking about, then they can indeed direct route the whole /48 to you and th... | how to create virtual router/switch on Ubuntu server |
1,697,206,939,000 |
I have installed Kali on my raspberry pi. I've managed to connect to it through ssh using Putty, but I cannot access the Internet.
To be more specific, I can neither update/upgrade nor can I ping www.google.com but I can however ping 8.8.8.8.
The PI and my desktop are connected to the same router.
I have checked the r... |
Your problem is a lack of IPv6 connectivity.
As your Pi is getting an IPv6 address assigned to it, the system will prefer to use IPv6. However, for whatever reason, you can not get an outbound internet connection.
Ideally, you would check your router and other computers, and make sure IPv6 is working on them. But, in ... | Connecting Kali to the Internet |
1,697,206,939,000 |
What happens when a router does not find the proper destination network from routing table? Can anyone help me with this problem?
|
I'm assuming we're talking about TCP/IP here.
The router will use its default route if one is defined. Otherwise it should drop the packet and send an ICMP 'destination unreachable' message to the originator.
| What happens when a router does not find the gateway? [closed] |
1,697,206,939,000 |
I'm trying to connect two PCs in a local network and I am having difficulties. Some information about my setup:
pc1: OS GNU/Linux Mageia
pc2: OS GNU/Linux Debian
pc1 pings to pc2 with no problem, but pc2 ping to pc1 fails. This is the out console in pc2->
data for pc2:
ping -I eth0 100.10.2.104
PING 100.10.2.104 ... |
That doesn't seem to be the usual local network address - they usually start with 10.0.0.0/8 or 172.16.0.0/16 or 192.168.0.0/16. 100.10.2.103 & 104 goes to some Verizon server in Kansas & New Jersey respectively. Maybe your local network start with 10 instead of 100?
| Error while trying to connect 2 pcs in lan |
1,697,206,939,000 |
Like the headline says: is this possible in Linux at all? How would one implement a completely silent packet sniffer? I would like to take the interface away and give it back to the OS at will, if this is possible. Currently the OS gets in the way because eth0 being the only network interface on the machine in questio... |
Yes, this is at least partially possible.
First, you need to figure out the "interface name" of the interface. The command ifconfig -a (possibly /sbin/ifconfig -a) shows you all the interfaces. Choose wisely.
Second, you have to identify and stop the process that's using DHCP on that interface. This could be dhcpcd,... | Possible to reserve a network interface for exclusive use? |
1,697,206,939,000 |
Intel Motherboard GA-H61N-D2V
$ pciconf -l -v
re0@pci0:1:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
class = network
subclass = ethernet
FreeBSD 8.2 RELEASE
# uname ... |
I don't think this revision of the chipset is supported by the stock re driver in version 8.2-RELEASE or earlier. You can grab a back-ported version of the driver and rebuild your kernel to include it. A quick search of the FreeBSD mailing list archive turns up this thread, which has links to the updated driver files.... | FreeBSD Ethernet NIC driver not recognized |
1,688,462,176,000 |
Rocky Linux 8 X86-64 on a PC with two Ethernet interfaces, each connected to isolated switch hub, then connect to router.
LAN1: 192.168.1.2/24 <--> Hub1 <--> 192.168.1.1 (Router port #1)
LAN2: 192.168.2.2/24 <--> Hub2 <--> 192.168.2.1 (Router port #2)
|
+------> L... |
Short answer:
sysctl -w net.ipv4.conf.all.rp_filter=2
To make this change persistent across reboots, add it to /etc/sysctl.conf .
Full answer: https://access.redhat.com/solutions/53031
Simply put, the packet is dropped by Rocky Linux, due to "Strict Reverse Path Forwarding filtering" recommended in RFC 3704. Disablin... | Can't have two network interface enabled at the same time? |
1,688,462,176,000 |
I am configuring a PC network with netplan and the following configuration:
only one ethernet device with MAC address 48:b0:2d:d3:d1:c4, and an USB-to-ethernet adapter.
I need the ethernet device (eth0) to have a static IP 192.168.0.50, and the usb-to-eth adapter (ethX) to have a static IP 192.168.1.50.
My netplan con... |
You assert that eth0 has MAC address 48:b0:2d:d3:d1:c4 in your configuration - but when your machine is rebooted it is seeing that the first NIC (eth0) has mac address 00:e0:4c:68:00:2a and hence is not using the address 192.168.0.50/24
If you really want eth0 to have that IP address, change the MAC address in your co... | netplan does not assign static ip to the eth0 |
1,688,462,176,000 |
System Specs: i7-12700k, RTX 3060, 80 (2X32, 2X8) GB DDR4-3200 RAM, 1 TB M2 NVME SSD
OS: Ubuntu 20.04 LTS, kernel version 5.2.21-050221-generic
Context:
My Motherboard doesn't have WiFi, so I use TP-Link Archer T9UH USB WiFi adapter for WiFi. Unfortunaly, 5.2.21 is the latest kernel version supported by the open sourc... |
I have solved the Issue. All these problems occuring together is not a coincidence. I think the kernel version I was using, 5.2.21, was simply too old.
I downloaded the 5.4.x kernel, installed it and booted into it.
This was where I found the files: https://kernel.ubuntu.com/~kernel-ppa/mainline/
You would need 4 .de... | Wifi, Ethernet, Graphics Drivers, file system are all buggy. Are these issues related? |
1,688,462,176,000 |
I know Linux pretty well, and I know how to use Kali Linux. But when I boot it, it can't connect to my wifi AC.
Apparently, to fix this there's some stuff about ethernet cables and access the wifi and run installation commands...
While I know security research and Linux, I don't know a thing about using ethernet. I've... |
Solve: Plug the computer into ethernet while running the installer drive. It does the rest on it's own.
| Installing Kali Linux wifi AC driver without ethernet |
1,688,462,176,000 |
Linux noob here (starting out). I had a couple successful install trials before and now I am settling on with one configuration. I have now failed to get my network card to work.
Desktop PC, very old system -
AMD Phenom II 955,
Gigabyte GA-MA790XT-UD4P
The driver I am interested in is this:
GBE Ethernet LINUX driver r... |
As I can't approve comments as answers...
Posting that booting/reverting back to at least 5.17.5 kernel version made the (latest at this time) Realtek driver work.
Seems I have a bug to report.
Thanks @Artem for suggestions and help in the comments.
| Installing realtek r8168 on Fedora 36 (5.18.5)? |
1,688,462,176,000 |
So let me preface this question by stating that I am not so well versed in the linux ways hence simple explanations are appreciated. On to the question at hand.
Question
I am currently running an Arch Linux server (selected the server option in the archinstall script) its mostly to run docker containers, its connecte... |
So I have, since posting the question, figured out the reason I wasn't able to use netctl to set up both connections, it was a routing problem. I used the instructions here to change the routing scheme the system used and it works.
Well not 100% working, but that's just an issue with netctl not being able to autostart... | Connecting To a WiFi with dynamic IP and Ethernet Cable with Static IP in Arch Linux and Maintaining Internet |
1,688,462,176,000 |
I want to permanently change the device name of a network interface using a portable script.
The interface gets the ugly name of enp02fghjkl1. I want to give a pretty name of netface1. I have tried using ip link and nmcli and so many other things to change the device name permanently, and I can change it, but I cannot... |
Step 1.
The robust solution that worked for me:
These four lines that must exist in the network-script file:
/etc/sysconfig/network-scripts/ifcfg-somename1
NAME=somename1
DEVICE=somename1
HWADDR=FE:FF:GG:11:00:10
UUID=b623cbaa-ffe2-3456-7890-1a23b465cd67
Caveat: The file cannot have HWADDR and MACADDR at the same ... | How can I permanently change a network device name in CentOS8? |
1,688,462,176,000 |
I am relatively new to Linux, and I am using Mint 20.2, on an HP Elitebook 840 G7.
I have bought a TP-Link USB-to-Ethernet adapter, based on the ASIX AX88179 chipset:
USB 3.0 to Gigabit Ethernet Network Adapter
I have been able to (compile and) install the driver, and the device is correctly listed in the system repor... |
The problem has been solved by updating the system to Linux Mint 20.3!
| Using USB to Ethernet adapter (ASIX AX88179 driver) on Linux Mint 20.2 |
1,688,462,176,000 |
I installed CentOS 7 minimal on a server. It has two NICs.
However, one of them doesn't appear to be working. It also appears as UNCLAIMED.
Its not showing when i use commands to list network devices, like ifconfig and ip -a
The other nic installed is a PCI Express card. I cant get it to work...
Please, can someone he... |
i just want everyone that is reading this that the solution for me was switching the network card.
It was a problem with the NIC itself. I tested in another OS just to be sure. Tested on Windows to be more assertive, since Linux do have some problems with drivers in some ocassions, and i got to the conclusion that the... | CentOS 7 is not detecting my network card, listing as UNCLAIMED |
1,688,462,176,000 |
About 2 weeks ago I installed an antivirus (ESET nod32) on my Mint 20.1 server. However, after discovering that it is not at all optimized for Linux (blocked basically all my ports + connections and provided no firewall manager), I uninstalled it and my connections began working again. Recently, after toying around wi... |
After examining the output of of sudo journalctl -b 0 -u NetworkManager as suggested by @waltinator, resulting in:
<info> [...] device (eno1): carrier: link connected
<warn> [...] dhcp4 (eno1): request timed out
I finally realized that it may be helpful to check the wifi extender that my server is connected to via et... | Ethernet Not Connecting on Linux Mint |
1,612,847,195,000 |
While installing Kali Linux there was an option to choose a primary network between Ethernet and Wireless network. But since my device has a problem with wireless I opted for Ethernet. Now, I have bought a new wifi adapter from TP-link, I still cannot access it to use the internet. It shows up when I plug but there is... |
Make sure the wifi adapter is correctly installed
Then use this command:
sudo nmtui
to activate a wifi connection and set the DHCP or static IP
Note:
In Linux for all distributions, there is no primary or secondary ethernet.
But you can use the default route (to 0.0.0.0) to ethernet or wifi connection.it is simply a... | How do I enable the Wi-Fi as a primary network tool in Kali Linux? |
1,612,847,195,000 |
This mainly happens when I upgrade my Jetson AGX boxes. I want to run
sudo apt-get update
and after a few downloads, the network stops working. It will eventually restart, after the download failed. It can take a minute.
When that happens, the entire network is down for that period of time. All the computers function... |
So I don't really have a good answer for why the STP message was generated, but I found the culprit: I had a full managed Cisco switch and it was the one generating those messages on the entire network. Once I replaced that switch with a non-managed switch, everything started working properly and really fast as expect... | LAN network blocks or stops working when downloading "large" files from Internet, what could do that? (I see STP messages in tcpdump output) |
1,612,847,195,000 |
Just installed CentOS 8 (with GUI) on a clean machine.
When accessing Settings>Wi-Fi I get the question mark with:
No Wi-Fi Adapter Found
Make sure you have a Wi-Fi adapter plugged and turned on
There's nothing wrong with the Bluetooth though.
In this machine, I don't have access to Ethernet connection, however I ca... |
Just followed @RuiFRibeiro's suggestion and got an Ethernet cable. With it, the process was way faster as it required a variety of packages with various dependencies.
Apart from Artem S. Tashkinov's suggestions, that didn't solve my issue (dnf install kmod-wl this one was giving me dependencies errors), I ran
sudo dnf... | CentOS 8 No Wi-Fi Adapter Found |
1,612,847,195,000 |
Is it possible to create a tap (or taps, if two are required?) between two physical interfaces so that all traffic (ethernet frames) between the two interfaces is passed through the application connected to the tap?
If this is possible, how can this be achieved from a configuration standpoint?
I am familiar with read... |
Is it possible to create a tap (or taps, if two are required?) between two physical interfaces so that all traffic (ethernet frames) between the two interfaces is passed through the application connected to the tap?
Yes. Create an application that has two tuntap interfaces tap0 and tap1, then bridge tap0 with eth0 a... | tap between two bridged physical interfaces |
1,612,847,195,000 |
I'm building a system image with v4.19.106 kernel and BusyBox for BeagleBone Black using buildroot 2020.02. If I boot the board from the resulting SD card, I see a strange behaviour: system load stays between 0.60 and 0.75 while CPU usage is below 1%, with no services running, when there's no Ethernet cable connected.... |
The problem is caused by the SMSC LAN8710A PHY chip on BeagleBone Black. When it is put into power saving mode, it fails to detect if a cable has been connected. To work around this issue, the kernel driver regularly wakes the PHY chip to test for connection, and the details of this workaround have changed between v3.... | High load when Ethernet cable is unplugged |
1,612,847,195,000 |
Recently I began to observe the following scenario:
After the Kubuntu has booted the icon for wired ethernet is red.
And there is not "Connect" menu for the corresponding connection in network manager.
However after unplugging the cable and plugging it again the icon becomes white and ethernet starts to function.
Th... |
Adding:
auto eth0
iface eth0 inet dhcp
to /etc/network/interfaces solved the problem.
The contents of the above file after the operation:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Since changing the file the network interface functions properly after each PC boot. However the icon has changed fro... | Red icon for wired ethernet in Ubuntu |
1,612,847,195,000 |
Please excuse the long description here, but I think it's worth explaining the setup before asking the question:
I have 2 usb Ethernet devices connected to my machine (debian) which configure themselves through avahi with 169.254.x.x addresses.
Connected to the other side of each usb ethernet device is a ssh host (hos... |
It is not recommendable changing the network of those routes; they will also will be refresh again by avahi, and at best will return to the latter masks, at worst, there will be a mess of routes/masks.
Also, I would advise stopping to obsess about routing zeroconf/Automatic Private addresses. They are local to a netwo... | Routing zeroconf interfaces |
1,612,847,195,000 |
I am following a tutorial to setup OpenVPN:
To find and note down your IP address use this command ip a show
eth0 and get result
inet 172.26.6.74/20 brd 172.26.15.255 scope global eth0
however I am getting error Device "eth0" does not exist.
I tried command ip addr and get this result
inet 192.168.43.288/24 brd ... |
The command ip a show eth0 can also be written as ip addr show dev eth0, which means "show me the addressing for network device eth0". When you get the error, Device "eth0" does not exist. it means that eth0 is the wrong device name for your system.
You then tried ip addr, which can also be written as ip addr show, an... | ip address validation for setting up open vps |
1,612,847,195,000 |
I have an issue with my wired ethernet :
After i plug it, the internet connection seem to be ok (ping at google.com --> OK), **but when i go to a website, after loading the first page, the connection is broken.
Config : Linux mint 18.2
sudo lshw -C network
*-network
description: Ethernet interface
produit: AR81... |
Solved thanks to : https://forums.linuxmint.com/viewtopic.php?f=150&t=226626&p=1196004&hilit=AR8161#p1196004
Set MTU to 8192 with
sudo ifconfig eth0 mtu 8192
| Wired ethernet disconnect after first webpage |
1,612,847,195,000 |
On our home LAN, after rebooting the router, I cannot ssh from laptop A to laptop B except via the router. However, after doing a ping from laptop B to laptop A, I can connect normally from A to B. I can reproduce this issue by rebooting the router. Both laptops are connected to the router via WiFi and there are no ot... |
As @roaima suggested, I deleted all of my iptables rules and tested again. I had zero problems, even after rebooting the router several times. Then I added my iptables rules back in and tested further. I still had zero problems.
In short, I can no longer reproduce the problem, so maybe it's random as @dirkt has experi... | How can I track down the source of an Ethernet ARP table issue between Linux laptops? |
1,499,206,383,000 |
I have a server that has two ethernet ports, each one running on a separate NIC (eth0 and eth1). I would like to connect eth0 to a separate machine that streams video over UDP (and no other traffic) while the other interface (eth1) is connected to the network gateway/router.
I don't care if the udp traffic port doe... |
Typically you'd assign your cross-connect its own /30 subnet, from another bit of RFC1918 (private) space. So you'd do something like this:
192.168.1.234/24 is your LAN on eth1
192.168.255.1/30 is this machine, on eth0 (the cross-connect)
192.168.255.2/30 is the video source, on its end of the cross-connect
If you t... | UDP internal routing issue when using multiple NIC's |
1,499,206,383,000 |
I'm not seeing this question asked any where else that I've looked. Long story short, NetworkManager brings down eth0 1 minute and 1 second after every hour for the reason of 'connection-removed'. Most of the time, the connection comes back up--although it obviously disconnects everything--within that same second. In ... |
I wiped out the ifcfg files created by the CentOS installation media and used nmcli to create them from scratch. The old an new ifcfg files ended up being almost exactly the same. The differences are the order of the content, a new UID automatically generated, and I gave the connection a custom name of ext0 rather tha... | CentOS 7: NetworkManager Connection Restart |
1,499,206,383,000 |
So I have two nics, but I can't get the second to load, here is the output from
lspci -vvv
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
Subsystem: Super Micro Computer Inc Unknown device 0000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SER... |
The solution!
Install elrepo repository. && install kernel independant e1000e drivers from elrepo && tell kernel to use new drivers && reboot.
rpm -Uvh http://www.elrepo.org/elrepo-release-5-5.el5.elrepo.noarch.rpm && yum install kmod-e1000e && sudo nano /etc/modprobe.conf && reboot
Replace
#alias eth0 e100e
alias et... | Missing NIC in CentOS 5 - AsteriskNow 1.7.1 |
1,499,206,383,000 |
I'm trying to finish the installation of elementaryOS (an Ubuntu-based distribution) on a Thinkpad E460. However, I can't neither have Ethernet nor Wifi.
In fact, lshw -c network -sanitize shows both devices as UNCLAIMED.
I explain this by the version of the distribution which is based on Ubuntu 14.04 in April 2015 an... |
Well, I finally tried again to install elementaryOS with the iso of December 2015 and it worked after I've changed UEFI boot to legacy. After installation, the Ethernet port worked but still not the Wifi.
To make the Wifi work, I have upgraded the kernel from 3.19 to 4.3.0.
Now Ethernet and Wifi seem to work fine.
| Wifi and Ethernet unclaimed on ubuntu-based linux |
1,499,206,383,000 |
Since a few days I am experiencing a flapping Ethernet connection on my Fedora 23 laptop: the network connection goes down for several seconds every minute.
The machine is up-to-date with the latest kernel (4.4.6) and packages.
UPDATE: The problem persists in different environments (different cables and switches) and ... |
I think the problem is solved in one environment. Apparently someone else set his IP address (statically) the same as mine (static too). The conflict of IP addresses caused this behaviour.
The problem presents itself also in another environment where everybody uses (or is supposed to use) DHCP addressing. I'll check... | Flapping Ethernet connection of Fedora 23 |
1,499,206,383,000 |
This is going to seem like an odd request, but it's necessary. I have a wireless router that is not to be used for internet access. The current router that I have is a DLink DIR-626L and I use it to connect to a few embedded devices for an application that I am working on.
For internet, I am hardwired by ethernet into... |
What you can do is configure your dhcp client to ignore the router attribute that comes in the DHCP reply.
Edit your /etc/dhcp/dhclient.conf that defines which atributes you receive via dhcp, and take out from the line that starts with request the word routers.
request subnet-mask, broadcast-address, time-offset; # ro... | Force internet traffic over LAN, but connect to router over WiFi |
1,499,206,383,000 |
When I connect to my wired network using netctl, the connection drops automatically after a few seconds. It happens both with DHCP and static configuration, but the wifi connection on the same network works perfectly.
What really bothers me is that there is absolutely nothing in the logs, the output of journalctl is a... |
For those still looking for an answer, I asked about the same issue on the Arch Linux forums and I got a (temporary) fix of the bug:
https://bbs.archlinux.org/viewtopic.php?id=201459
| Wired connection drops after a few seconds |
1,499,206,383,000 |
I wrote a small php application on a SBC. I created a disk image from the CF card. When I write the image to a new CF and install on a new SBC the interface index numbers (I hope I am stating that correctly) change. For instance - the interface numbers on the original board are eth0, eth1, etc. When I move the disk im... |
This can be accomplished by deleting the network interface definitions in \etc\udev\rules.d\70-persistent-net.rules
Generally these definitions start with:
# PCI device
| I wish to move SBC flash image to new board and maintain network interface indexing |
1,499,206,383,000 |
I have been trying to set up a DHCP server on CentOS 6 running on an Intel NUC i7. I have installed dhcpd and am using the example dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option domain-name "xtreemfs.org";
option... |
I solved the problem after reading the messages file in /var/log:
less /var/log/messages
This showed me that the issue was that there was no configured listen device. To solve this problem I added eth0 to my /etc/sysconfig/dhcp/dhcpd.conf file and everything worked fine.
| Problems Setting Up DHCP Server On CentOS 6 |
1,499,206,383,000 |
I've installed Debian with xfce and did some configuring by installing themes, configuring xfce, installing and uninstalling software; the usual. Anyway, after a reboot I can't connect to the internet. I can't connect with chrome and ping doesn't return anything with DNS or IP. This happened with a previous installati... |
You need to add the following two lines to /etc/network/interfaces:
allow-hotplug eth0
iface eth0 inet dhcp
Then, as root, run
ifup eth0
You can probably fix your X.org problem by installing lightdm; that will start a desktop manager when the system boots.
| Debian wired connection static IP wont connect |
1,499,206,383,000 |
On my Fedora 21 64bit Gnome 3.14.3 install, I have noticed that the NeworkManager always connects to the wired connection, even if the cable is not connected:
However, the driver (or something) does know whether or not it is connected - I can see this with watch "dmesg | tail -10":
[ 7349.552202] atl1c 0000:07:00.0: ... |
I eventually got around to putting together a bug report, and was told that removing the NetworkManager-config-server package would solve it - so I did:
sudo yum autoremove NetworkManager-config-server
Then I rebooted, and it worked :)
| NetworkManager does not detect when cable is connected or disconnected |
1,499,206,383,000 |
I have setup a small home server / NAS running Debian 7. The server is connected directly to the router with a static IP set in the router's control panel. There are no port forwarding rules set for the server machine.
The server has been running fine for over two weeks, providing a samba share and a Plex service to t... |
It sounds like what happens when two devices on the same network have been given the same IP address. Check both devices and ensure that they have different IP addresses.
| Debian server makes internet connection drop |
1,499,206,383,000 |
Let's say we are happy with our typical wireless router.
But one day we notice it has four LAN ports. We connect an Ethernet
cable from one of them to our computer. On our computer do we use:
dhclient and the same SSID and password as we used for wireless?
pppoe and the same userid and password our ISP gave us?
One o... |
In most typical consumer-grade "Ethernet Router with WiFi Network Access Point" (i. e. "router") equipment, you can simply connect the Ethernet cable, and use the standard DHCP client on that interface (assuming a typical default configuration). SSIDs and WPA passwords and only used for the wireless connection protoc... | How to connect to the four Ethernet ports on a wireless router? |
1,499,206,383,000 |
I was trying to ping my machine from a photon OS IP but wasn't able to do so. So I followed a post and changed the /etc/systemd/network/10-eth0.network to the following:
[Match]
Name=eth0
[Network]
Domains=HOSTNAME domain.local
Gateway=1xxx.xxx.x.x
Address=1xx.xxx.x.xxx
DHCP=no
[DHCP]
UseDomains=false
Now I can't e... |
You do not appear to have configured a NETMASK or PREFIX value for your interface. While not clearly explained often, a proper address actually requires this information.
If you can no longer remotely connect via SSH, Telnet, etc. to the VM, you will need to logon to the console of the system:
physical computer will ... | 10-eth0.network |
1,499,206,383,000 |
Issuing this:
ethtool -S <network device> | egrep "err|fail"
I get the following errors:
tx_lost_interrupt: 225
rx_alloc_fail: 36297
What is, tx_lost_interrupt and rx_alloc_fail ?
Do these errors indicate a real network problem?
|
Those are NIC- or driver-specific extended statistics, so it would be important to know the type of the network interface used and/or the name of the driver module used with it.
However, at least in kernel version 4.14.85, it looks like the string tx_lost_interrupt appears only in the Intel i40e NIC driver. This seems... | Network capture using ethtool points to problem? |
1,499,206,383,000 |
suddenly my ethernet stopped working when I type
sudo lshw -C network
This is the result
*-network UNCLAIMED
description: Ethernet controller
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:0... |
I fixed this issue by reinstalling this driver from GitHub user ghostrider-reborn.
| Network Unclaimed for ethernet |
1,499,206,383,000 |
Does someone has any script that can "CAM attack" a switch/router, so that it will act as a HUB? Are there any tools for it in the repositories?
|
The application you are looking for is macof which is part of the dsniff toolkit. You'll find that ettercap is also quite useful when doing any sort of network auditing on a switched network.
Warning: I'm a firm believer that you need to understand the threat to defend against it, but you best be using these tools in ... | How Can I "CAM attack" a switch/router? |
1,605,634,827,000 |
I have a host who can be connected by wifi or by ethernet.
According to the link I want to make actions.
How to detect that with a script ?
|
The interface used for each type of link is different. Say, the ethernet interface could be eth0 and the WLAN interface could be wlan0. Knowing the names you could find which is active and act accordingly.
To list all interface and show their status use the command ip link show. This command works in the modern flavor... | script "By wifi or by Ethernet" [closed] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.