| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/system-config-network/netconfpkg/plugins/ |
Upload File : |
Ńň
:ŽJc @ s d Z d d k l Z d d k l Z d d k l Z l Z d a d a
d e f d YZ d Z d Z
d Z d
Z d S( s. Implementation of the generic ethernet device
i˙˙˙˙( t Device( t getDeviceFactory( t ETHERNETt
getDeviceTypet DevEthernetc B sD e Z d Z e Z d Z d Z d Z d Z d Z
d Z RS( s
An object of class DevEthernet can be obtained by calling:
df = getDeviceFactory()
ethernetclass = df.getDeviceClass(ETHERNET)
ethernetdevice = ethernetclass()
It has the following attributes, shown here with the corresponding
initscripts variables:
Device - DEVICE=<name of physical device (except
dynamically-allocated PPP devices where it
is the "logical name")>
IP - IPADDR
Netmask - NETMASK
Gateway - GATEWAY
Hostname - HOSTNAME - Hint for DHCP
BootProto - BOOTPROTO=none|bootp|dhcp
Type - TYPE=ETHERNET
HardwareAddress - HWADDR=<MAC Address>
OnBoot - ONBOOT=yes|no
AllowUser - USERCTL=yes|no
IPv6Init - IPV6INIT=yes|no
AutoDNS - PEERDNS=yes|no - modify /etc/resolv.conf if peer uses
msdns extension (PPP only) or DNS{1, 2} are set, or if
using pump or dhcpcd. default to "yes".i c C s t t | i t | _ d S( N( t superR t __init__R t Type( t self( ( sJ /usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyR : s c C s1 t | } t | d o | i i d S| S( s7 get the gtk.Dialog of the ethernet configuration dialogt xmlt Dialog( t _devEthernetDialogt hasattrR t
get_widget( R t dialog( ( sJ /usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyt getDialog>