Figuring out a headless server's zeroconf addr
Ed Greshko
ed.greshko at greshko.com
Tue Jul 22 13:57:44 UTC 2014
On 07/22/14 21:49, Robert Moskowitz wrote:
>
> On 07/22/2014 09:33 AM, Ed Greshko wrote:
>> On 07/22/14 21:22, Robert Moskowitz wrote:
>>> But what file is this in now? /etc/sysconfig/network-scripts is a mess now with scripts for each wifi connection and I can't find any for my ethernet adapter.
>> Well, "ip link" will/should give a list of links.
>
> ip link
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: p6p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
> link/ether e8:9a:8f:8d:7b:56 brd ff:ff:ff:ff:ff:ff
> 3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
> link/ether ac:81:12:9c:e0:95 brd ff:ff:ff:ff:ff:ff
>
> But I cannot find a script file for p6p1. Perhaps it only exists when the link is up, so where do I put this option?
>
>
Odd. First off, NO-CARRIER would suggest the link is not connected. I just pulled the plug on one of my systems and I see....
[egreshko at f20f ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: p2p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 08:00:27:b7:04:4a brd ff:ff:ff:ff:ff:ff
But the config file still exists.
[egreshko at f20f ~]$ ls /etc/sysconfig/network-scripts/ifcfg-p2p1
/etc/sysconfig/network-scripts/ifcfg-p2p1
Do you have access to the system to use the GUI tools of network manager? (I'm assuming you are using nm).
--
If you can't laugh at yourself, others will gladly oblige.
More information about the users
mailing list