LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-21-2017, 08:05 AM   #1
gotgot59
LQ Newbie
 
Registered: Oct 2015
Posts: 6

Rep: Reputation: Disabled
DHCP connection cablé non fonctionnel


Bonjour,

Je suis actuellement sur des macmini qui on était réinstaller en Linux 16.04 LTS 64bit,

Je souhaite les connecter (il y en a 3) sur internet mais je rencontre une difficulté.
L'un fonctionne correctement :

coroutine@Coroutine-Macmini3:~$ ifconfig
enp0s10 Link encap:Ethernet HWaddr $$:9a:20:d9:5b:4c

UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4897 errors:0 dropped:0 overruns:0 frame:0
TX packets:791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4795859 (4.7 MB) TX bytes:63210 (63.2 KB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
TX packets:1702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:116828 (116.8 KB) TX bytes:116828 (116.8 KB)

:~$ dmesg | grep "eth0"
[ 1.473295] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr $$:9a:20:d9:5b:4c
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0

dmesg | grep "enp0s10"
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0
[ 23.698454] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready
[ 23.699021] forcedeth 0000:00:0a.0 enp0s10: MSI enabled
[ 772.114385] forcedeth 0000:00:0a.0 enp0s10: link down
[ 1077.977678] forcedeth 0000:00:0a.0 enp0s10: link up

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default gateway.corouti 0.0.0.0 UG 0 0 0 enp0s10
10.42.42.0 * 255.255.255.0 U 0 0 0 enp0s10
link-local * 255.255.0.0 U 0 0 0 enp0s10

L'autre ne fonctionne pas :
**
coroutine@Coroutine-Macmini2**:~$ ifconfig
enp0s10 Link encap:Ethernet HWaddr $$:15:9e:18:40:b8

UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4897 errors:0 dropped:0 overruns:0 frame:0
TX packets:791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4795859 (4.7 MB) TX bytes:63210 (63.2 KB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
TX packets:1702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:116828 (116.8 KB) TX bytes:116828 (116.8 KB)

:~$ ip link show dev enp0s10
2: enp0s10: mtu 15000 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether 34:15:9e:18:40:b8 brd ff:ff:ff:ff:ff:ff

:~£ dmesg | grep "enp0s10"
[ 1.547064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0
[ 21.695454] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready
[ 21.696021] forcedeth 0000:00:0a.0 enp0s10: MSI enabled
[ 21.696385] forcedeth 0000:00:0a.0 enp0s10: no link during initialization
[ 21.977678] forcedeth 0000:00:0a.0 enp0s10: link is not ready

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface

:~$ dmesg | grep "eth0"
[ 1.473295] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr $$:15:9e:18:40:b8
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0

Mais quand j'utilise le même cable réseau cela ne fonctionne pas sur les autres.
Peut être dois-je configurer des actions sur le NAS ou le D-Link

L'on me parle aussi de peut-être devoir modifier le fichier /etc/init.d

Je ne suis pas trop un spécialiste ! mais j'aimerais bien faire fonctionner mes machines sur le réseau.
 
Old 12-21-2017, 08:54 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Can you post in english please!
 
Old 12-21-2017, 11:07 AM   #3
gotgot59
LQ Newbie
 
Registered: Oct 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes sorry !
I try to connect to the network Macmini where the os is change to Ubuntu 16.04 LTS 64bit,

I had one who works :


coroutine@Coroutine-Macmini3:~$ ifconfig
enp0s10 Link encap:Ethernet HWaddr $$:9a:20:d9:5b:4c

UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4897 errors:0 dropped:0 overruns:0 frame:0
TX packets:791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4795859 (4.7 MB) TX bytes:63210 (63.2 KB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
TX packets:1702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:116828 (116.8 KB) TX bytes:116828 (116.8 KB)

:~$ dmesg | grep "eth0"
[ 1.473295] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr $$:9a:20:d9:5b:4c
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0

dmesg | grep "enp0s10"
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0
[ 23.698454] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready
[ 23.699021] forcedeth 0000:00:0a.0 enp0s10: MSI enabled
[ 772.114385] forcedeth 0000:00:0a.0 enp0s10: link down
[ 1077.977678] forcedeth 0000:00:0a.0 enp0s10: link up

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default gateway.corouti 0.0.0.0 UG 0 0 0 enp0s10
10.42.42.0 * 255.255.255.0 U 0 0 0 enp0s10
link-local * 255.255.0.0 U 0 0 0 enp0s10

One who doesn't works :
**
coroutine@Coroutine-Macmini2**:~$ ifconfig
enp0s10 Link encap:Ethernet HWaddr $$:15:9e:18:40:b8

UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4897 errors:0 dropped:0 overruns:0 frame:0
TX packets:791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4795859 (4.7 MB) TX bytes:63210 (63.2 KB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
TX packets:1702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:116828 (116.8 KB) TX bytes:116828 (116.8 KB)

:~$ ip link show dev enp0s10
2: enp0s10: mtu 15000 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether 34:15:9e:18:40:b8 brd ff:ff:ff:ff:ff:ff

:~£ dmesg | grep "enp0s10"
[ 1.547064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0
[ 21.695454] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready
[ 21.696021] forcedeth 0000:00:0a.0 enp0s10: MSI enabled
[ 21.696385] forcedeth 0000:00:0a.0 enp0s10: no link during initialization
[ 21.977678] forcedeth 0000:00:0a.0 enp0s10: link is not ready

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface

:~$ dmesg | grep "eth0"
[ 1.473295] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr $$:15:9e:18:40:b8
[ 1.487064] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0

I try to change the wire no change ! I connect the wire who works to the other macmini same problem


Peraps is configuration on NAS or D-Link (rout ?)

I had read peraps the problem come from /etc/init.d

I'm aware to code but not really professional of networking. Had you some advice ?
 
  


Reply

Tags
dhcp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cable modem, losing connection, 'resolved' by DHCP request subdriver Linux - Networking 2 12-12-2010 07:55 PM
My cable connection through router is like 56K connection ExtremeSupremacy Linux - Networking 1 07-10-2005 04:01 AM
DHCP is unable to route cable connection Wolfy Linux - Networking 2 07-09-2004 10:52 PM
Mandrake does not see DHCP/Cable Connection opafire Mandriva 1 11-25-2003 08:16 PM
DHCP Problems w/ Cable Connection.. hismeat Linux - Networking 6 04-04-2001 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration