summaryrefslogtreecommitdiffstats
path: root/isys/iface.h
Commit message (Collapse)AuthorAgeFilesLines
* Add missing LAYER2 and PORTNO handling for s390x.David Cantrell2009-07-061-0/+2
| | | | | | | | libisys and loader lacked handling for the LAYER2 and PORTNO settings present on s390x systems. Also include the fix for #468755 to write layer2=1 rather than layer=2 to the ifcfg-DEVICE file.
* Add a function to convert MAC addresses to device names.Chris Lumens2009-05-221-0/+5
|
* Configure network in kickstartNetworkUp() iff NM is not connected (#490518)David Cantrell2009-04-301-0/+6
| | | | | | In kickstartNetworkUp(), call is_nm_connected() to see if we are in NM_STATE_CONNECTED. If we are in any other state, prompt for network configuration and start NetworkManager.
* Move OUTPUT_TERMINAL definition to isys.hDavid Cantrell2009-03-191-1/+0
|
* Remove unused iface_netmask2prefix() function.David Cantrell2009-02-171-5/+0
|
* Add iBFT support to loaderMartin Sivak2009-02-121-1/+2
|
* Reduce direct D-Bus calls in isys/iface.c.David Cantrell2008-12-181-3/+1
| | | | | | | | | | | The first patch in a two (possibly three) patch series that replaces some direct D-Bus code with libnm-glib calls. Much less verbose, easier to read, etc, etc. Tested this patch locally and all seems well. Calling it a day for now. [rawhide]
* Get rid of some iface flags that were not doing anything anymore.David Cantrell2008-10-101-7/+1
| | | | | The ipv4method and ipv6method variables are in use now, remove flags that are not used anymore.
* Make NM work for the DHCP case, at least (dcbw) (#461071).Chris Lumens2008-09-051-1/+3
| | | | | | | | | | | This patch does two things: (1) It makes sure that NM doesn't run more than once, though we still need to figure out why it's being asked to start up several times. (2) Block the rest of the network configuration process from running until after NM is up and we can talk to it. This fixes the traceback where nothing is providing the .services file. We still need to investigate whether static network configuration works and how the UI flows in error cases.
* iface_start_NetworkManager() cleanupsDavid Cantrell2008-09-051-1/+1
| | | | | | No need to pass iface_t to iface_start_NetworkManager(). Remove unnecessary else { exit(0); } from the child process. Increase wait loop to 45 iterations.
* Removed iface_dns_lookup()David Cantrell2008-08-281-6/+0
| | | | iface_dns_lookup() is not used anymore, removed it.
* Rewrite iface_ip2str() to talk to NetworkManager over D-BusDavid Cantrell2008-08-281-7/+4
| | | | | I'm rewriting all of this file eventually, but for today you get the rewrite of iface_ip2str().
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-251-5/+149
| | | | | | | | | | | Finally, no more libdhcp. This is the first set of changes to take anaconda over to the wonderful world of NetworkManager. We are no longer linking with libdhcp to do interface configuration. NM is started early in the installation and opens the door to things like WPA installation support and things like that.
* Set interface MTU if user specified mtu= param (#435874)David Cantrell2008-07-161-0/+1
| | | | | If the user passed mtu=X as a boot parameter, set the interface MTU to that value before configuring the network.
* Rename nl.c to iface.c and functions to iface_*David Cantrell2008-02-081-0/+28
Rename the interface control functions to start with iface_ rather than nl_. The libnl API uses nl_ and it gets confusing if we use that here too.