Hello,

I was having problems with WISP-dist (beta 2320) of not
being able to save the wireless configuration.  I made
changes, and it showed up in the /etc/network/wireless.config.
But upon start-up, it would always show the default wireless
configuration.

Anyway, I patch the file, /etc/init.d/networking as follow:

--- networking.orig     Sat Sep  7 16:55:47 2002
+++ networking  Sat Sep  7 15:42:47 2002
@@ -78,6 +78,12 @@

        echo -n "Configuring fixed wireless interfaces: "
        for IFACE in `cat /proc/net/dev | sed 's/.*|.*//' | sed 's/:.*//'` ; do
+           # Get device attributes
+            HWADDR=`/sbin/ip addr show $IFACE 2>/dev/null | sed -ne 
+'s/.*\(..:..:..:..:..:..\) brd.*/\1/p'`
+
+            ADDRESS="0,0,0,$HWADDR"
+            export ADDRESS
+
             /etc/network/wireless-start --norename $IFACE
        done
        echo "done."

It gets the wireless-start script to work correctly with the
configuration for PLX and possible PCI Prism2-based 802.11b
cards.

Thanks.
Bao

-- 
Bao C. Ha                    voice: (310) 980-3805
8D66 6672 7A9B 6879 85CD  42E0 9F6C 7908 ED95 6B38
Primary Perpetrator of "Slackware Linux Unleashed"


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to