summaryrefslogtreecommitdiffstats
path: root/textw/netconfig_text.py
Commit message (Collapse)AuthorAgeFilesLines
* When bringing up network in UI, update only ifcfg file of selected device ↵Radek Vykydal2009-08-261-1/+9
| | | | | | | | | | (#507084). The value of NM_CONTROLLED has to change from no to yes to trigger device activation by updating of ifcfg file, so we need to update just the files of devices selected by user (instead of all devices). Otherwise, selection of another device after previously failed selection doesn't work. Also make writing out of ONBOOT in text mode consistent with gui.
* Show MAC address of network device in text mode too.Radek Vykydal2009-07-201-3/+4
| | | | | | | I came accross this by the way when working on something different. It adds what was done with commit 2e8dfb72c0c296f24f99512e8fb00c377417a60a (#504216) for GUI to text ui. Althoug BZ suggests that it was already present in text ui, looking into code doesn't (I have no rawhide image to test if it is actually true).
* Edit user-visible dialogs for style.Peter Jones2009-07-131-1/+1
| | | | | We have lots of strings that we display to users which are unclear or contain poor usage and grammar. That's bad.
* Say we are unable to configure the network interface (#467960)David Cantrell2008-12-021-0/+2
| | | | | | | | In stage 2 when you get the 'Enable network interface' dialog, if you select an interface that is not able to connect to a network, we just wait and then take the user back to the Enable network interface dialog. Before going back to the dialog, tell the user we were unable to configure the selected interface.
* Set initial state of IP configuration fields in text mode (#469933)David Cantrell2008-11-041-0/+1
| | | | | | When performing a text mode install, call self._dhcpToggled() before running the dialog so the initial state of the manual entry fields matches the checkbox choices.
* Revert "Say we are unable to configure the network interface (#467960)"David Cantrell2008-10-241-2/+0
| | | | This reverts commit d5c0a7287fe810c06968687777bdca527a44258e.
* Say we are unable to configure the network interface (#467960)David Cantrell2008-10-231-0/+2
| | | | | | | | In stage 2 when you get the 'Enable network interface' dialog, if you select an interface that is not able to connect to a network, we just wait and then take the user back to the Enable network interface dialog. Before going back to the dialog, tell the user we were unable to configure the selected interface.
* Don't display the entire lengthy device description (#467825).Chris Lumens2008-10-231-1/+1
|
* Fix bringing up the network in rescue mode (#466523).Chris Lumens2008-10-101-5/+12
|
* Disable IPv6 widgets for F-10.David Cantrell2008-10-061-26/+26
| | | | | NetworkManager currently lacks IPv6, so do not expose IPv6 widgets in the network UI in anaconda for now.
* Automatically select NIC based on ksdevice= boot parameter.David Cantrell2008-10-021-0/+11
| | | | | | If you boot with boot.iso and pass ksdevice=DEVICE or ksdevice=MACADDR, use that to automatically select the NIC to use when we ask the user to bring up the network for installation.
* Gateway and nameserver are optional for static network configuration.David Cantrell2008-09-301-2/+3
| | | | | | Do not force users to provide a gateway or a nameserver, just pass if those are missing. However, if they are provided, still raise an error if the provided value is incorrect.
* Store nameserver in NetworkDevice object.David Cantrell2008-09-301-3/+1
| | | | | | Store provided nameserver as the 'DNS1' value in the NetworkDevice object, rather than writing out resolv.conf from the netconfig interface code.
* Fix static network configuration from boot.iso installs.David Cantrell2008-09-291-2/+4
| | | | | | Make sure we write out BOOTPROTO=static and that we add the GATEWAY line to the ifcfg-DEVICE file, otherwise we get an incomplete network configuration from NetworkManager.
* Fix network interface bring up in text mode (#463861, #462592)David Cantrell2008-09-241-79/+68
| | | | | | | | | | | | Modify netconfig_text.py to interact with NetworkManager more correctly. Get a list of all selected interfaces and iterate over those objects in self.anaconda.id.network and add the settings as appropriate. After iterating the list, call the bringUp() function to write the new configuration files and wait for NetworkManager to establish a connection. If bringUp() returns True, return INSTALL_OK, otherwise stay in the configuration screen loop.
* Fix problems with bringDeviceUp() calls (#463512)David Cantrell2008-09-241-3/+4
| | | | | | | Changed bringDeviceUp() in network.py to bringUp() since it really just writes out all new network configuration information and lets NetworkManager take over from there. Correct the calls to this method so we don't get tracebacks anymore.
* Call network.bringDeviceUp() instead of old isys functions.David Cantrell2008-09-151-13/+3
| | | | | Both isys.dhcpNetDevice() and isys.configNetDevice() have been replaced with network.bringDeviceUp().
* Check DHCP by default on the text network configurator screen.Chris Lumens2008-07-181-1/+1
|
* Fix a typo.Chris Lumens2008-07-151-1/+1
|
* Add a text-mode network configurator dialog so default installs can work.Chris Lumens2008-07-151-0/+272