Michael Biebl wrote: > Could you please post further examples of such interfaces files generated by > d-i, especially wireless configurations.
Why? Here is the code that generates them: if ((fp = file_open(INTERFACES_FILE, "a"))) { fprintf(fp, "\n# The primary network interface\n"); if (!iface_is_hotpluggable(iface) && !find_in_stab(iface)) fprintf(fp, "auto %s\n", iface); else fprintf(fp, "allow-hotplug %s\n", iface); fprintf(fp, "iface %s inet dhcp\n", iface); if (dhostname) { fprintf(fp, "\thostname %s\n", dhostname); } if (is_wireless_iface(iface)) { fprintf(fp, "\t# wireless-* options are implemented by the wireless-tools package\n"); fprintf(fp, "\twireless-mode %s\n", (mode == MANAGED) ? "managed" : "ad-hoc"); fprintf(fp, "\twireless-essid %s\n", (essid && *essid) ? essid : "any"); if (wepkey != NULL) fprintf(fp, "\twireless-key1 %s\n", wepkey); } fclose(fp); } -- see shy jo
signature.asc
Description: Digital signature