Tagged with stick - SliTaz Forum http://vanilla.slitaz.org/index.php?p=/discussions/tagged/stick/feed.rss Sun, 05 May 24 00:27:35 +0200 Tagged with stick - SliTaz Forum en-CA Fritz!WLAN USB stick works, but does not start automatically. [SOLVED] http://vanilla.slitaz.org/index.php?p=/discussion/2663/fritzwlan-usb-stick-works-but-does-not-start-automatically.-solved Sat, 05 Mar 2011 21:18:15 +0100 on4aa 2663@/index.php?p=/discussions [Update: In order to keep oversight, I posted the solution in a separate discussion: http://forum.slitaz.org/index.php?p=/discussion/2671/there-is-something-seriously-wrong-with-the-rcs-boot-sequence-and-network.sh-solved/p1 ]

Hello,

A couple of days ago, I installed SliTaz 2.6.30.3 on a 12 year old Toshiba Satellite 4000CDT (Pentium II 233MHz, 156MB RAM @66MHz, 800x600x24bit video, 40GB HD, 1 USB1.0 via ISA). I am really positively impressed with the responsiveness Slitaz is getting out of this machine. More so then when I tried Puppy Linux.


My problem:
I managed to get a Fritz!WLAN USB stick working via ndiswrapper and surf the net, however it never starts automatically...until I manually restart with /etc/init.d/network.sh restart

I wonder if somebody can help me with this minor annoyance?

When I click on the Network Status Monitor, I get:
Connection
Name: Unknown (and only "lo" is available as selectable value)
Status: Disconnected

Continuing by clicking on Configure, shows under the Connections tab, the following:
Interface   Type         Status
 lo             Loopback connected (127.0.0.1)
 wlan0       Wireless   -

Full status correctly shows the wireless interface, all wireless networks it hears and the routing data.

My /etc/network.conf looks like this:
# Config file used by: /etc/init.d/network.sh
#

# Set default interface.
INTERFACE="wlan0"

# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"

# Static IP address.
# Enable/disable static IP at boot time.
STATIC="no"

# Set IP address and netmask for a static IP.
IP="192.168.0.6"
NETMASK="255.255.255.0"

# Set route gateway for a static IP.
GATEWAY="192.168.0.1"

# Set DNS server for a static IP.
DNS_SERVER="192.168.0.1"

# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="yes"

# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="wlan0"
WIFI_ESSID="my_essid"
WIFI_MODE=""
WIFI_KEY="my_password"
WIFI_KEY_TYPE="wpa"
WPA_DRIVER="wext"
WIFI_CHANNEL=""WIFI_IWCONFIG_ARGS=""

and my_essid.conf looks like this and was added to the favorites:
# Wireless connection configuration.
#
WIFI_ESSID="my_essid"
WIFI_KEY="my_password"
WIFI_KEY_TYPE="wpa"

Now, only when I click Restart under the Netbox Configuration tab, do I get connected. The option "wlan0" now becomes available under Network Status Monitor, but I also need to manually select it.
What am I overlooking here? How can I automate my connection?



]]>