refers to the wired style to connect a bunch computers or a way to connect to such network. This tag is for both software and hardware part of this issue.

learn more… | top users | synonyms

10
votes
2answers
2k views

Solving Ethernet watchdog timer deadlocks

I have a debian linux box (Debian Squeeze) that deadlocks every few hours if I run a python script that sniffs an interface... The stack trace is attached to the bottom of this question. ...
9
votes
1answer
1k views

what level of the network stack does tcpdump get its info from?

As I was trying in vain to fix a faulty ethernet controller here, one thing I tried was running tcpdump on the machine. I found it interesting that tcpdump was able to detect that some of the ICMP ...
9
votes
1answer
294 views

Send a packet over the network even when its target is the local host

Under Linux if you send a packet to the address of one of its network interfaces, this packet is routed internally, it is never sent over the network. That's the right thing in 99.99% of the cases. ...
8
votes
2answers
1k views

How can I disable TCP/IP for an Ethernet adapter?

I have CentOS 6.3 running in a (virtual) machine with two Ethernet adapters. I have eth0 connected to a TCP/IP LAN and eth1 connected to a DSL modem. The system is intended as a dedicated ...
6
votes
3answers
1k views

Print mac address to file

With a bash script, can I read the mac address of my eth0 and print it to a file?
6
votes
2answers
455 views

How can I test the current carrier state for an ethernet adapter in Linux?

In Arch Linux, how can I check if a network device (say eth0) has a carrier signal present?
6
votes
1answer
95 views

Why my ethernet interface is called enp0s10 instead of eth0?

Just that, when I run ifconfig -a I only get lo and enp0s10 interfaces, not the classical eth0 What does enp0s10 means? Why is there no eth0?
5
votes
3answers
3k views

RHEL: Creating stable names for network interfaces

We have a RHEL 5.5 box with 8 interfaces. And the eth interface naming is flip flopping. Sometimes eth0 comes up on physical port 7th, and sometimes on another physical port. We want the naming to ...
5
votes
2answers
4k views

changing the names of network interfaces, debian wheezy

I'm trying to set a name for an interface, "ethLan" instead of eth0. Doing so also ensures that the if's name will remain consistent at every reboot and kernel. I did find some articles in the ...
5
votes
3answers
558 views

Find out if computer started via Wake-on-LAN or power button?

Is there any (reliable) way to find out if the PC booted because of a Wake-on-LAN Packet instead of pressing the power button? I want automatically check if WOL is correctly configured. I know about ...
4
votes
2answers
2k views

Replacing identical NIC cards creates eth1 instead of using eth0 in Ubuntu

I changed out a NIC card that was the exact same make and model. The setup process for Ubuntu 11.04 was very seemless and easy so I figured it would be smart enough to setup up the replacement card. ...
4
votes
3answers
701 views

How do I share an internet connection through USB?

I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I ...
4
votes
1answer
4k views

Using the Wifi of a notebook via ethernet for another PC

I want to connect a PC to the internet via my notebook, which is connected to a WLAN. The setup should look like the following scheme: PC (eth0) -> Notebook (eth0) -> Notebook(wlan0) -> ...
4
votes
2answers
257 views

What happens when I plug a Ethernet cable?

What happens when I plug in a Ethernet cable? I want to be able to see what's happening on the Level 2/3 (I believe the protocols I'm trying to watch is Ethernet, IP (v4 and v6) and DHCP for IP ...
4
votes
2answers
4k views

How do I configure which ethernet connections are active on boot?

I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue ...
4
votes
3answers
13k views

CentOS 6.3 Device eth0 does not seem to be present (Minimal non-cloned setup)

I installed CentOS 6.3 on my hardrive partition (new install...minimal install). After successful installation, I see that eth0 was down looked for 70-persistent-net.rules file under /etc/udev .. ...
4
votes
2answers
825 views

802.3ad on FreeBSD and Linux using crossover cables?

I have setup a NFS server on FreeBSD 8.1, which will be serving one Linux client. Each box has a dual-port 1gig fiber card, and each box is directly connected to the other over this link. There is ...
4
votes
1answer
71 views

Send traffic to self over physical network on Ubuntu

I have a dual port ethernet NIC and let's say I have connected both ports in a loop and assigned the following IPs to the 2 ethernet interfaces: eth2 -> 192.168.2.1 eth3 -> 192.168.3.1 I want to ...
4
votes
1answer
24 views

How do you ensure physical network interfaces always get the same interface name across reboots on an embedded Linux system?

For an embedded Linux system, if I have two or more network interfaces, how do I ensure that they always get the same interface names every boot In other words, I want, for example, eth0 to always ...
4
votes
3answers
3k views

Can't connect to to internet. Debian Wheezy, pinging DNS address works

I have booted Debian Wheezy from SD card on a Beaglebone Black board. Version: debian-wheezy-7.0.0-armhf-3.8.13-bone20.img.xz, from http://www.armhf.com/index.php/download/ I have set up my ...
3
votes
2answers
654 views

Wait for ethernet cable plug-in/plug-out event under Linux?

I know that I can poll the link state via the SIOCETHTOOL/ETHTOOL_GLINK ioctl but this would require to endlessly request the state. The same goes for parsing /var/log/messages. So my questin is, is ...
3
votes
2answers
282 views

Ethernet Sniffing Embeded Device

I recently dug out some prototyping equipment from the trash and I want out figure out what the heck it is. It has a port labelled 'Ethernet' and when I plug it into a router the lights flash like its ...
3
votes
1answer
73 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
3
votes
1answer
102 views

Linking Ethernet interfaces

I'm quite new to Linux networking. I have a Debian PC with two Ethernet interfaces, one embedded on the motherboard and another on a PCI card. The first one, let say eth0 is connected to my router ...
3
votes
2answers
9k views

Check whether network cable is plugged in without bringing interface up

I am trying to identify NICs on ~20 remote servers (2-6 NICs on every server). To begin with, I want to identify those ready for use and free ones. How can I check the state of the physical media? I ...
3
votes
2answers
481 views

PPC Debian: eth0: switching to forced 10bt / 100bt

I recently installed debian on an old G4 iMac, and everything is working fine except that the console is constantly spammed with alternating eth0: switching to forced 10bt eth0: switching to forced ...
3
votes
2answers
724 views

How do I check the network speed right now?

I know about vnstat and that tracks over the hour/day/months. I would like to see the network speed right now. As in for a duration of a second or at most a minute. Kind of like how top can show me ...
3
votes
1answer
63 views

Ethernet adapter stuck at 10 Mbit/s

My Ethernet adapter is somehow stuck at 10 Mbit/s. Here's the output of ethtool eth0: Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full ...
3
votes
1answer
329 views

usb0 -> what exactly is it for?

So far, I found out that on GNU/Linux /media/usb0 seems to be a mount point for Ethernet over USB. Nice. Question: Where is defined, what usb0 is exactly for? I distilled the above mentioned ...
3
votes
1answer
792 views

Share Internet Connection from computer to new router

On my linux computer I have an external wlan adapter which is connected wirelessly to internet (an access point). Now I want to connect my linux computer via ethernet cable to a new ddwrt router. This ...
3
votes
3answers
1k views

Why is delay after ifconfig down needed before up if changing MAC address?

Hi I made bash script to put down my interface, change MAC address and get it up again. #!/bin/bash INTERFACE_STATUS=$( cat /sys/class/net/eth0/operstate ) echo "$INTERFACE_STATUS" if [ ...
3
votes
2answers
332 views

Network issue in vsat

In my server-client architecture, I multicast 100 MB files to many clients from server via satellite link. Network traversal is through 5 hops. I have the 10Mbps ( i.e. 1250 Kilo Byte per second ) ...
3
votes
1answer
432 views

What's the difference between the drivers r8169 and r8168?

Realtek provides the source code for the r8168 driver which is based on the r8169 driver from the kernel tree if I may believe their source: /* * This driver is modified from r8169.c in Linux kernel ...
3
votes
0answers
175 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
3
votes
5answers
5k views

Low Cost, 2 Ethernet Ports & Runs Linux [closed]

Looking for an inexpensive embedded device that contains 2 Ethernet Ports, runs Linux (or some other type of Unix), and is under $50. My main concern is cost. It must be under $50 and have 2 Ethernet ...
2
votes
2answers
713 views

RJ-45 <-> RS-232, can I substitute the RS-232 side and abuse my Ethernet port as COM port?

We have a PCIX board (with MIPS CPU) from some vendor and it has an RJ-45 jack on the "board-side", where the cable has an RS-232 plug on the other side. The expected protocol is clearly the same as ...
2
votes
2answers
871 views

ethtool get permanent MAC address returns all 0's

I need to read permanent (burned-in) MAC address of network adapter. Since MAC address can be easily spoofed, I need to read the real one which is written on EEPROM. I need to do it using C++ on ...
2
votes
2answers
923 views

How can I configure ethernet?

I just started using linux (installed Debian) and the one thing I'm trying to do right now is have my internet working. I connected my ethernet port but still no internet works. I googled for awhile ...
2
votes
2answers
308 views

My Atheros Ethernet network drive is not working with Xen Redhat client

First I am a beginner in use Linux operating system, and I am not familiar with the error messages I have TOSHIBA Satellite laptop Intel (R) Core (TM) i5-4200m CPU I have installed Red Hat Enterprise ...
2
votes
2answers
724 views

No ethernet/wireless connection after dist upgrade - “network UNCLAIMED”

I did an upgrade from Xubuntu 12.04 to 12.10, and I can't connect to the internet now. When I press the network button on the panel, I see "No network devices available" on top (greyed out), then ...
2
votes
1answer
536 views

How can I update the OUI list used for Netdiscover?

Netdiscover keeps showing a lot of "Unknown vendor" devices, when I generally can find the vendor pretty quickly via Google. Is there any way to manually update whatever OUI list Netdiscover uses?
2
votes
1answer
1k views

How can I get wireless and ethernet to work with ubuntu?

I have an acer aspire 7551 laptop running windows 7 and I've successfully used wubi to also install ubuntu (the latest release version). Wireless works fine on windows 7, but neither wireless nor ...
2
votes
1answer
262 views

mutliple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
2
votes
1answer
1k views

No wired ethernet connection

I'm using elementary OS (based on Ubuntu 12.04) and yesterday I woke up to no wired ethernet connection. As far as I can remember I changed absolutely nothing, it was working at night and not anymore ...
2
votes
1answer
72 views

Hardware Ethernet IP Limitation

In Linux Environment How many number of IP address I can assign to a Hardware ethernet interface ? Is there any limitation ? what is the maximum no. of virtual ethernet interface I can assign to a ...
2
votes
1answer
336 views

Excessive retransmissions on Ethernet

The CSMA/CA variants of Ethernet handle excessive failed transmissions due to repeated collisions by dropping the current frame and relying on upper layers for retransmissions: After 16 attempts ...
2
votes
1answer
1k views

Cannot connect to printer hosted on a Belkin print server

I tried to tap into Belkin Home Base (model #F5L049au) print server. I want to access a printer hosted by it. I set it up as a CUPs printer with the below specifications: Description: Via Belkin ...
2
votes
1answer
95 views

Most reliable way to check for connected client?

I have an embedded Linux OS developed from scratch using Yocto. This talks to a Windows XP/7 client. The embedded OS runs a DHCP server and gives an address to the client. The problem is that the ...
2
votes
2answers
126 views

change eth0 to eth1 without udev

I have very interesting issue, We have Redhat 4 Linux and it is has 4 Ethernet interface. eth0 eth1 eth2 eth3 Now only eth0 is connected to LAN and everything working find. We have special software ...
2
votes
1answer
1k views

serial data over ethernet on a linux box

I'm trying to connect a widget (192.168.1.214:20108) through Ethernet (serial to Ethernet) to a Linux box. Under Windows using a virtual device driver mapping I can see the serial data, so I know ...