Figuring out a headless server's zeroconf addr
Robert Moskowitz
rgm at htt-consult.com
Tue Jul 22 14:24:58 UTC 2014
On 07/22/2014 09:57 AM, Ed Greshko wrote:
> 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....
Well this is on my notebook and the ethernet was not connected at the
time. So now it is plugged in via crossover to the server and link is up.
> [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
But still:
ls /etc/sysconfig/network-scripts/ifcfg-p*
ls: cannot access /etc/sysconfig/network-scripts/ifcfg-p*: No such file
or directory
> Do you have access to the system to use the GUI tools of network manager? (I'm assuming you are using nm).
>
>
I cannot see anyplace to specify use zeroconf if no dhcp.
This is gnome3 on F20...
More information about the users
mailing list