I changed ISPs. The now modem, when run with a Ethernet cable directly to the 'puter works. When the same cable goes to a unmanaged switch, no 'net. Pinging returns:
Code:
ping: unknown host google.com
Searching for no eth0 exists. I see an edit of /ect/init/rc.conf where the OP adds eth0 to the runlevel. But looking at my rc.conf, I don't know where that would go.
1. Is this the correct fix, adding eth0? (that's a zero number, on-screen here it looks like: m,n,O --the letter).
2. I ask as Ubuntu (16.04) has assigned the wired interface name to be: enp6s0.
3. There is NO router here, only an unmanaged switch.
4. When the switch has an Ethernet cable from the modem to the switch, the 'net is enabled. When a (extra) cable runs from the switch to the 'puter, the entire net goes down. What is going on here and how do I correct this?
Code:
mark@Lexington:/etc/init$ cat rc.conf
# rc - System V runlevel compatibility
#
# This task runs the old System V-style rc script when changing between
# runlevels.
description "System V runlevel compatibility"
author "Scott James Remnant <scott@netsplit.com>"
emits deconfiguring-networking
emits unmounted-remote-filesystems
start on runlevel [0123456]
stop on runlevel [!$RUNLEVEL]
export RUNLEVEL
export PREVLEVEL
console output
env INIT_VERBOSE
task
script
if [ "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "1" -o "$RUNLEVEL" = "6" ]; then
status plymouth-shutdown 2>/dev/null >/dev/null && start wait-for-state WAITER=rc WAIT_FOR=plymouth-shutdown || :
fi
/etc/init.d/rc $RUNLEVEL
end script
Code:
mark@Lexington:/$ ip link show dev eth0
Device "eth0" does not exist.
mark@Lexington:/$ ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 4c:cc:6a:63:b1:bf brd ff:ff:ff:ff:ff:ff
inet6 2605:e000:9fc0:5:698b:36eb:4b96:35cf/128 scope global dynamic
valid_lft 604302sec preferred_lft 604302sec
inet6 fe80::f35e:6ca9:b307:2f33/64 scope link
valid_lft forever preferred_lft forever
Bookmarks