Re: Setup for a static ethernet connection

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

 



On 10/04/2014 05:13:32 PM, Sam Varshavchik wrote:
> Geoffrey Leach writes:
> 
> > I have a hard-wired ethernet connection. I'm trying to get Fedora 19
> to work  
> > with it. Firewalld configuration has scripts added to open a route
> to the  
> > device. AFAIK, these are correct. The device is known to work.
> >
> > Here's the entry in /etc/sysconfig/network-scripts
> >
> > NAME="eno1"
> > DEFROUTE="yes"
> > IPV4_FAILURE_FATAL="no"
> > IPV6_FAILURE_FATAL="no"
> > TYPE="Ethernet"
> > ONBOOT="yes"
> > PEERROUTES="yes"
> > IPV6INIT="yes"
> > IPV6_PEERDNS="yes"
> > PEERDNS="yes"
> > HWADDR="E8:40:F2:05:DE:1C"
> > #BOOTPROTO="dhcp"
> > BOOTPROTO="static"
> > IPV6_DEFROUTE="yes"
> > IPV6_AUTOCONF="yes"
> > IPV6_PEERROUTES="yes"
> >
> > IPADDR="198.168.20.5"
> >
> > It's basically what the install gave me with the addition of IPADDR
> and  
> > removal of UUID (which seems to change) BOOTPROTO has changed from
> dhcp to  
> > static.
> >
> > My problem is that I can't connect to the device, despite nm-tool
> 
> Define "connect to the device".
> 
> Comparing that to my own ifcfg, you are missing the PREFIX and NETMASK
>  
> settings:
> 
> YPE=Ethernet
> BOOTPROTO=none
> IPADDR=192.168.0.1
> PREFIX=24
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> IPV6INIT=no
> NAME="Auto lan0"
> UUID=fc87afd5-ca26-4881-b7f1-7bdcbea29f1f
> ONBOOT=yes
> HWADDR=BC:AE:C5:49:B9:3D
> NETMASK=255.255.255.0
> DEVICE=lan0
> USERCTL=no
> 
> My static configuration for my WAN port also includes the GATEWAY
> setting,  
> giving the IP address of my ISP's router, on the other side of the
> bridged  
> connection.

Define "connect to the device". Conventional Ethernet cable.  About 5 feet.

NETMASK I can do.  What's the function of PERFIX? I notice refenences to $PREFIX in scripts in /etc/sysconfig/network-scripts, but no definition (as you observed) I did not define GATEWAY because there isn't one. The system in question is a recorder for OTA HDTV.
-- 
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