Re: Static ethernet connection

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

 



On 01/02/2012 05:25:25 PM, Reindl Harald wrote:
> 
> 
> Am 03.01.2012 02:22, schrieb Geoffrey Leach:
> > I need to set up an ethernet connection to a device that needs a
> static 
> > IP address. Can anyone point me to doc on how to do this?
> 
> * disable networkmanager
> * write a network-script as all the years before
> 
> cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> IPADDR=192.168.1.2
> NETWORK=192.168.1.0
> BROADCAST=192.168.1.255
> NETMASK=255.255.255.0
> TYPE=Ethernet
> BOOTPROTO=static
> ONBOOT=yes
> NM_CONTROLLED=no
> USERCTL=no
> IPV6INIT=no
> 
> * chkconfig network on
> * service network start

Reindl, thanks.

I'm not sure that the network service is available on Fedora 16, which 
is OK, because this works fine as is, along with "ifup eth0". 
ONBOOT=yes does not work in my context.  BTW, what is BOOTPROTO=static? 

As it happens, my problem turned out to be that dnsmasq was not 
running. It used to be, as you know, that there was a nice service 
configuration tool that would prompt you as to what you might need. No 
longer (sigh).

Thanks again.


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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