The PCi USB Wireless dongle GW-US54Mini is working prefectly under Ubuntu 7.04. However, it is only 11Mb/s (i.e. IEEE 802.11b). The dongle is b/g enabled.
I changed the script at “/etc/network/if-pre-up.d/wireless-tools”.
sudo nano /etc/network/if-pre-up.d/wireless-tools
I added the following (red in colour) to the script :
#!/bin/sh
IWCONFIG=/sbin/iwconfig
IFCONFIG=/sbin/ifconfigif [ ! -x $IWCONFIG ]; then
exit 0
fiif [ -x $IWCONFIG ]; then
$IWCONFIG “$IFACE” rate 54M auto
fiif [ -x $IFCONFIG ]; then
$IFCONFIG “$IFACE” up
fiif [ -n "$IF_WIRELESS_SENS" ]; then
$IWCONFIG “$IFACE” sens $IF_WIRELESS_SENS
fiif [ -n "$IF_WIRELESS_MODE" ]; then
$IWCONFIG “$IFACE” mode $IF_WIRELESS_MODE
fiif [ -n "$IF_WIRELESS_AP" ]; then
$IWCONFIG “$IFACE” ap $IF_WIRELESS_AP
fiif [ -n "$IF_WIRELESS_RATE" ]; then
$IWCONFIG “$IFACE” rate $IF_WIRELESS_RATE
fiif [ -n "$IF_WIRELESS_RTS" ]; then
$IWCONFIG “$IFACE” rts $IF_WIRELESS_RTS
fiif [ -n "$IF_WIRELESS_FRAG" ]; then
$IWCONFIG “$IFACE” frag $IF_WIRELESS_FRAG
fiif [ -n "$IF_WIRELESS_POWER" ]; then
$IWCONFIG “$IFACE” power $IF_WIRELESS_POWER
fiif [ -n "$IF_WIRELESS_POWERPERIOD" ]; then
$IWCONFIG “$IFACE” power period $IF_WIRELESS_POWERPERIOD
fiif [ -n "$IF_WIRELESS_POWERTIMEOUT" ]; then
$IWCONFIG “$IFACE” power timeout $IF_WIRELESS_POWERTIMEOUT
fiif [ -n "$IF_WIRELESS_TXPOWER" ]; then
$IWCONFIG “$IFACE” txpower $IF_WIRELESS_TXPOWER
fiif [ -n "$IF_WIRELESS_RETRY" ]; then
$IWCONFIG “$IFACE” retry $IF_WIRELESS_RETRY
fiif [ -n "$IF_WIRELESS_ENC" ]; then
eval $IWCONFIG “$IFACE” enc $IF_WIRELESS_ENC
fiif [ -n "$IF_WIRELESS_KEY" ]; then
eval $IWCONFIG “$IFACE” key $IF_WIRELESS_KEY
fiif [ -n "$IF_WIRELESS_KEY1" ]; then
$IWCONFIG “$IFACE” key [1] “$IF_WIRELESS_KEY1″
fiif [ -n "$IF_WIRELESS_KEY2" ]; then
$IWCONFIG “$IFACE” key [2] “$IF_WIRELESS_KEY2″
fiif [ -n "$IF_WIRELESS_KEY3" ]; then
$IWCONFIG “$IFACE” key [3] “$IF_WIRELESS_KEY3″
fiif [ -n "$IF_WIRELESS_KEY4" ]; then
$IWCONFIG “$IFACE” key [4] “$IF_WIRELESS_KEY4″
fiif [ -n "$IF_WIRELESS_DEFAULTKEY" ]; then
$IWCONFIG “$IFACE” key ["$IF_WIRELESS_DEFAULTKEY"]
fiif [ -n "$IF_WIRELESS_KEYMODE" ]; then
$IWCONFIG “$IFACE” key “$IF_WIRELESS_KEYMODE”
fiif [ -n "$IF_WIRELESS_FREQ" ]; then
$IWCONFIG “$IFACE” freq $IF_WIRELESS_FREQ
fiif [ -n "$IF_WIRELESS_CHANNEL" ]; then
$IWCONFIG “$IFACE” channel $IF_WIRELESS_CHANNEL
fiif [ -n "$IF_WIRELESS_NICK" ]; then
$IWCONFIG “$IFACE” nick “$IF_WIRELESS_NICK”
fiif [ -n "$IF_WIRELESS_NWID" ]; then
$IWCONFIG “$IFACE” nwid “$IF_WIRELESS_NWID”
fiif [ -n "$IF_WIRELESS_ESSID" ]; then
$IWCONFIG “$IFACE” essid “$IF_WIRELESS_ESSID”
fiif [ -n "$IF_WIRELESS_COMMIT" ]; then
$IWCONFIG “$IFACE” commit
fi
I then reboot the system, now the wireless is on 54Mb/s (i.e. IEEE 802.11g).
I am quite more happy with my IBM T23 now.
Filed under: Ubuntu