You are not logged in.
I have a laptop that I run dnsmasq and an iptables deal to basically provide a client with the internet via the ethernet port. On my desktop computer, netcfg2 hates this setup, always failing with ...
[max@gayforceone ~]$ sudo netcfg2 wired
:: wired up - No connection available [FAIL]
... but I'm simply using the most basic of basic config, a copy of /etc/network.d/examples/ethernet.example ...
CONNECTION="ethernet"
DESCRIPTION="A very basic ethernet profile, using dhcp"
INTERFACE=eth0
IP="dhcp"
DHCP_TIMEOUT=10
However, I can manually bring the interface up, like so ...
[max@gayforceone network.d]$ sudo dhcpcd eth0
[max@gayforceone network.d]$ ping google.com
PING google.com (64.233.187.99) 56(84) bytes of data.
64 bytes from jc-in-f99.google.com (64.233.187.99): icmp_seq=1 ttl=240 time=90.5 ms
64 bytes from jc-in-f99.google.com (64.233.187.99): icmp_seq=2 ttl=240 time=93.9 ms
Another interesting quirk is that the script works after I get an IP myself. If I bring down the interface and kill dhcpcd, running "netcfg2 wired" (my config) works great. Based on this, my hypothesis for this is that the computers see the connection as dead until the interface is brought up on my desktop, and that netcfg2 is expecting to see a live ethernet connection before it brings the port up and negotiates an IP. But that's just my thought! I could be wrong, and regardless, I wouldn't know how to configure netcfg2 to fix this anyway, which is why I'm posting What do I need to do to my script to fix this?
Offline
No connection available means mii-tool is saying there's no cable plugged in.
Offline
I have a crossover cable plugged in between my laptop and this computer
Offline
I have the same problem here.
mii-tool eth1 :(
SIOCGMIIREG on eth1 failed: Input/output error
eth1: 10 Mbit, half duplex, no link
Seems to be an issue with mii-tool. Ethtool works fine:
Settings for eth1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes
After manually setting up the ip-address mii-tool recognizes the connection:
mii-tool eth1
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD flow-control, link ok
Offline