Webmin config for Prism PCI cards [4.743]

To configure your Prism PCI cards from webmin in [4.743] edit your /etc/modules.conf file to include the following
alias wlan0 hostap_pci  
and edit your /etc/rc.d/initnics file to include the following between start and stop

 echo -n ":: Starting $PNAME"
                sleep 1
                rm -f $CONF
                touch $CONF
                grep  alias /etc/modules.conf | grep eth | while read a nic driver; do
                        if [ ${#nic} -gt 0 ] ; then
                                if [ $driver != "uml" ] ; then
                                        ip link set up $nic >/dev/null 2>&1
                                        ip link set down $nic >/dev/null 2>&1
                                fi
                        fi
                done
                /usr/local/bin/setitfhw.pl >/dev/null 2>&1
                rc_status -v
                grep  alias /etc/modules.conf | grep wlan | while read a nic driver; do
                        if [ ${#nic} -gt 0 ] ; then
                                if [ $driver != "uml" ] ; then
                                        ip link set up $nic >/dev/null 2>&1
                                        ip link set down $nic >/dev/null 2>&1
                                fi
                        fi
                done
                /usr/local/bin/setitfhw.pl >/dev/null 2>&1
                rc_status -v
        ;;


You will be able to configure your wireless PCI cards via Webmin   
Parents Reply Children
No Data