| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fix a few syntax error caugh by pychecker.
|
|
|
|
| |
Match up the strings and dialog windows in the text mode interface.
|
|
|
|
|
|
|
|
|
|
| |
hostname (#462592)
Further shrink the textw network interface. Make it match the iw
interface as much as possible (since we are string frozen, I left
those as-is for now, will change them after rawhide opens for
F11). Using network.getDefaultHostname() to populate the dialog
box initially.
|
| |
|
|
|
|
|
|
|
| |
Rewrote the hasActiveNetDev() and _anyUsing() function in
network.py to talk to NetworkManager via dbus. Modified
the calls in iw/network_gui.py and textw/network_text.py
that use these functions.
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
|
|
|
| |
Better fix for #408921. Using network.overrideDHCPhostname to set
the default behavior of requiring users to set a hostname. If the
user changed that to 'use DHCP', clicked Next, then clicked Back,
the network configuration screen would be back at manual for the
hostname. Fixed that by honoring overrideDHCPhostname. Also took
the opportunity to make overrideDHCPhostname a boolean since that's
how we are using it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
On the first run of the chooseNetworkInterface() function in
rescue mode, all network interfaces are shown as UNCONFIGURED
regardless of their current configuration. This also affects
text mode installations in the post-install configuration
steps.
|
|
|
|
|
|
|
| |
Setting a static hostname will prevent desktop weirdness and
application hangs if the system is ever disconnected from the
network. This change sets the default hostname option to manual
entry.
|
|
|
|
| |
This reverts commit 062a1e5ebbf6dab03524a125c1ce34d3cea43fcb.
|
|
|
|
|
|
|
|
| |
This patch adds support for a new network bootproto. The point of this is
to work around our basic assumption that no network line in the kickstart
file means you get dhcp. Some environments may want the assumption that
no network line means you get prompted for network configuration. That's
what this patch adds.
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
| |
|
| |
|
|
|
|
| |
it.
|
| |
|
|
|
|
|
| |
windows are removed when they need to be (patch from notting AT
redhat DOT com, #241556).
|
| |
|
|
|
|
|
| |
INSTALL_OK or INSTALL_BACK from chooseNetworkDevice() as that causes
the next window to not be displayed.
|
|
|
|
|
|
|
|
|
| |
NetworkDeviceWindow class. Handles systems with more than one NIC in
a better way than before. Users are presented with a list (similar to
iw mode) and can configure the NICs they want. Also closes a bug with
rescue mode forcing users to configure _all_ NICs (#228512).
* textw/constants_text.py: Added an 'Edit' button.
|
|
|
|
| |
#204564).
|
|
|
|
| |
only decrement currentDev if it's greater than zero.
|
|
|
|
|
|
| |
initialization. Also fix the Back button on IPv6 window so it takes
you back to the main window or IPv4 window (whichever you were just
at).
|
|
|
|
| |
Allows users to configure IPv4 and IPv6 independently.
|
|
|
|
| |
network device object (Elliot Peele).
|
|
|
|
|
|
| |
were trying to set up an all-IPv6 network with FC6 systems. They are actually using IPv6. Go figure.
Anyways, we only do broadcast and network address calculation when IPv4 is enabled.
|
|
|
|
|
| |
sensitivity correctly. Fixes bizarre UI problems where unchecking
DHCP and IPv6 would leave all the input boxes active.
|
|
|
|
|
|
|
|
|
| |
iw netconfig screen.
* textw/network_text.py (NetworkGlobalWindow): If gateway or primary
DNS are missing, warn user via handleMissingOptionalIP() and continue.
Just pass if secondary DNS is missing. This is consistent with the
iw interface.
|
|
|
|
|
|
|
|
|
|
|
|
| |
iw/network_gui.py (NetworkWindow.handleIPError) above.
* textw/network_text.py (handleIPMissing): Remove the double
quotes around the field description.
* textw/network_text.py (NetworkDeviceWindow): Same change as for
iw/network_gui.py (NetworkWindow) above. Added missing closing
paren in an Invalid Prefix error dialog. Set checkbox initial
checkbox values correctly.
|
|
|
|
|
|
|
|
|
|
|
|
| |
platforms.
* iw/network_gui.py (NetworkWindow.handleBroadCastError): Tell users
the IPv4 information given is invalid, since this error message will
occur when calculating the network and broadcast address using the
IPv4 ip address and netmask.
* textw/network_text.py (handleBroadCastError): Add missing error
handling function for network and broadcast address calculation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
isys.prefix2netmask() correctly.
* textw/network_text.py (NetworkDeviceWindow): Use isys.prefix2netmask()
correctly.
* isys/isys.c (doPrefixToNetmask): Renamed to a shorter function name
and it somewhat matches what the isys.py passthrough is called. We
also take an int as the argument now and return a string.
* isys/isys.py (netmask2prefix): Added this function to replace the
borken inet_convertNetmaskToPrefix() function.
|
|
|
|
|
|
|
|
|
|
|
|
| |
not work right. Added prefix2netmask() passthrough to _isys.
* isys/isys.c (doConvertPrefixToNetmask): When Python fails, use C.
Added isys.prefix2netmask() for use in Python code to convert a CIDR
prefix to a dotted-quad format netmask (#207845).
* iw/network_gui.py (NetworkWindow): Use isys.prefix2netmask()
* textw/network_text.py (NetworkDeviceWindow): Use isys.prefix2netmask()
|
|
|
|
| |
if user unchecks IPv4 and IPv6 support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function. Wrap ipv6prefix input validation to catch exception where
the user left the field blank (ValueError).
* textw/network_text.py: Added descr hash. Removed badIPDisplay().
* textw/network_text.py: Added handleIPError() and handleIPMissing()
which work in the same way as the functions of the same name in the
iw interface, but they are modified to use ButtonChoiceWindow.
* textw/network_text.py (NetworkDeviceWindow): Replace all instances
of self.intf.messageWindow with ButtonChoiceWindow. Call the
handleIPError() and handleIPMissing() functions correctly. Catch
ipv6prefix entry errors when the user left the field blank.
* textw/network_text.py (NetworkGlobalWindow): Rewrote input
validation for gateway, primary DNS, and secondary DNS. Use
exceptions from network and handleIPError() and handleIPMissing()
functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sanityCheckIPString() because we can just use the one in network.
* textw/network_text.py (NetworkDeviceWindow): Change instances of
the boot variable to bootproto to make it more consistent with the
iw interface code. Unset BOOTPROTO if the user has selected a
manual network configuration. Use the value() method on the Entry
boxes since get_text() is not available in snack.
* textw/network_text.py (NetworkGlobalWindow): Increase size of
entry boxes to 41 characters so they can hold IPv4 and IPv6
addresses. Removed third nameserver prompts.
|
|
|
|
|
| |
is there for the text mode manual net config UI, but it's still under
debugging.
|
| |
|
|
|
|
|
|
| |
in the text UI, so it now looks like the manual IP config UI in
graphical stage 2. Nothing is hooked up yet, it's just all placed
on the screen.
|
|
|
|
| |
making this screen look like the new iw one.
|
|
|
|
|
|
|
| |
* rescue.py (runRescue): Don't show onboot for rescue (#200237)
* textw/network_text.py (NetworkGlobalWindow.__call__): Take
(unused and optional) showonboot parameter
|
| |
|
|
|
|
|
| |
* textw/network_text.py (sanityCheckIPString): Fix for internal
API changes (#196154)
|
|
|
|
|
| |
* textw/network_text.py (NetworkGlobalWindow.__call__): Fix up
some variable references
|
| |
|
| |
|