Modifying the /usr/sbin/update-rt73-firmware script like
solves the problem for the current URL layout at the
ralink web sites(s).
--- update-rt73-firmware.orig 2007-01-02 07:27:30.000000000 -0300
+++ update-rt73-firmware 2007-07-12 11:24:57.000000000 -0300
@@ -35,15 +35,15 @@
test -f Linux.html || { echo "E: Can't download index page"; exit 1; }
-line=`grep '<a href="/ralink/data/RT71W_Firmware_V.*\.zip"'
"$tmpdir/Linux.html" || true`
+line=`grep '<a
href="http://www.ralinktech.com.tw/data/RT71W_Firmware_V.*\.zip"'
"$tmpdir/Linux.html" || true`
test -z "$line" && { echo "E: Can't find firmware location"; exit 1; }
-file=`echo "$line" | sed 's,.*<a
href="\(/ralink/data/RT71W_Firmware_V[^"]*\)".*,\1,' || true`
+file=`echo "$line" | sed 's,.*<a
href="http://www.ralinktech.com.tw/\(data/RT71W_Firmware_V[^"]*\)".*,\1,'
|| true`
test -z "$file" && { echo "E: Can't find firmware location"; exit 1; }
-WGETRC=wgetrc wget -O"$tmpdir/rt73.zip" "http://www.ralinktech.com/$file"
+WGETRC=wgetrc wget -O"$tmpdir/rt73.zip"
"http://www.ralinktech.com.tw/$file"
unzip -o -d. -j rt73.zip "*/rt73.bin"
Regards,
--
Ramiro
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]