How can activate the wired network card whose chipset is intel 82576?

I bought a new wired network card whose chipset is intel 82576,it is time to set my old pc as a formal router now.
My home network diagram:

internet --> optical modem --> in : network card built in mother board (pc1)       
                           --> out : new bought wired network card ----> an other pc (pc2) connected with it via cale

Show configuration file in pc1:

cat /etc/config/network
config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fde9:d92f:dfe0::/48'

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
	option ipaddr '192.168.12.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config interface 'wan'
	option ifname 'eth0.2'
	option _orig_ifname 'eth0.2'
	option _orig_bridge 'false'
	option proto 'pppoe'
	option username 'xxxx'
	option password 'xxxx'
	option ipv6 'auto'
	option keepalive '0'

Why can't ssh pc1 from pc2 with ssh ?


ssh root@192.168.12.1

Show ip addr in pc2:

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: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

Is the new wired network card be activated?
I show the network setting in my pc2 :

cat   /etc/network/interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp6s0 up # line maintained by pppoeconf
provider dsl-provider
auto enp6s0
iface enp6s0 inet manual

NO-CARRIER would probably mean no cable (detected), did you try to put a switch in between the PCs, or swap cables ?

Solved , insert the plug several times.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.