site  contact  subhomenews

/etc/networkmodules fixed

May 18, 2009 — BarryK
Pakt reported that the list of modules in the Network Wizard alpha6/7 is empty.

This list is actually in /etc/networkmodules, and unlike previous puppies, Woof builds generate this file dynamically at first boot, or when there is a version upgrade, or if a 'zdrv' SFS file is loaded or unloaded.

/etc/rc.d/rc.update calls /usr/sbin/updatenetmoduleslist.sh to update /etc/networkmodules.

What has gone wrong with alpha6/7/8 is that the format of file /lib/modules/2.6.29.x/modules.dep has changed. Previously, each entry had the full path of the module, for example:

/lib/modules/2.6.25.16/kernel/drivers/net/wireless/rtl8180.ko: /lib/modules/2.6.25.16/kernel/net/mac80211/mac80211.ko /lib/modules/2.6.25.16/kernel/net/wireless/cfg80211.ko /lib/modules/2.6.25.16/kernel/drivers/misc/eeprom_93cx6.ko

Now it is:

kernel/drivers/net/wireless/rtl818x/rtl8180.ko: kernel/net/mac80211/mac80211.ko kernel/drivers/misc/eeprom/eeprom_93cx6.ko kernel/net/wireless/cfg80211.ko

This broke the updatenetmoduleslist.sh script. Fixed, to work with either format.

Tags: woof