Re: Figuring out a headless server's zeroconf addr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22.07.2014 16:43, poma wrote:
On 22.07.2014 16:24, Robert Moskowitz wrote:

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@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@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...


:)

# file /etc/NetworkManager/NetworkManager.conf
/etc/NetworkManager/NetworkManager.conf: symbolic link to `/etc/NetworkManager/conf.d/keyfile-plugin.conf'

# cat /etc/NetworkManager/conf.d/keyfile-plugin.conf
[main]
plugins=keyfile

[keyfile]
...

# ll /etc/NetworkManager/system-connections/
# rpm -ql NetworkManager | grep man
# rpm -qi $(rpm -qf /usr/lib/systemd/system/avahi-daemon.service)


in addition
# grep ^hosts /etc/nsswitch.conf
# man 5 nsswitch.conf
http://0pointer.de/lennart/projects/nss-mdns/
# man 5 avahi.hosts
# man 5 avahi-daemon.conf

In the end it turns out that 'ZeroConf' ain't really configless. :)


poma

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux