You are not logged in.
Pages: 1
Hello all!
I don't get the wireless of my HP mini laptop working automatically at boot. I installed the package "b43-firmware" and added "LOAD_MODULES="b43" " to /etc/rcS.conf. Also I adapted /etc/network.conf as to have wlan0 at boot, but every time I have to do:
root@slitaz:/home/tux# ifconfig wlan0 up
After this command the red LED on the keyboard turns to white, and then I can start wireless in Tazpanel.
What is the workaround to get this done automatically at boot?
Thanks a lot in advance 
PS More info about my wireless adapter:
01:00.0 [0280] Network controller [10ec/8176] Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
Offline
Hi,
I have b43 based Wi-Fi card too and it work well and network is raised on boot automatically. Please check the [c]RUN_SCRIPTS[/c] variable in your [c]/etc/rcS.conf[/c]. Here's mine:
[c]RUN_SCRIPTS="bootopts.sh system.sh network.sh local.sh"[/c]
I guess [c]network.sh[/c] is raised the network at boot if you have correct settings in your [c]/etc/network.conf[/c] file.
Offline
Aleksej,
Thanks a lot for your reply
The RUN_SCRIPTS were equal to yours. But I found the network.conf is overwritten after boot:
[c]Processing /etc/init.d/network.sh
Loading network settings from /etc/network.conf
Moving old settings to /etc/network.conf.old
Migrate existing settings to a new format /etc/network.conf
Setting hostname to: slitaz [ Done ]
Configuring loopback... [ Done ]
ifconfig: down: error fetching interface information: Device not found
wlan0 is not a Wi-Fi interface, changing it.
Configuring Wi-Fi interface ... lo no wireless extensions.
tunl0 no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
[ Done ]
Change network settings in /etc/wpa/wpa.conf[/c]
I always end up with
[c]root@slitaz:/home/tux# ifconfig wlan0 up[/c]
After this command the red LED on the keyboard turns to white, and then I can start wireless in Tazpanel
Offline
Sorry, I can't help then.
Offline
@jaja
I adapted /etc/network.conf as to have wlan0 at boot
How did you proceed?
Can you post your network.conf?
Offline
Dear Ceel,
Sorry for the late reply, I was quite busy with the new year 
Here is my network.conf:
[c]# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
NETWORK_CONF_VERSION="2"
# Set default interface.
INTERFACE="eth0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"
#
# Settings only for static IP address.
#
# Enable/disable static IP at boot time.
STATIC="no"
# Set IP address and netmask for a static IP.
IP=""
NETMASK=""
# Set broadcast address
BROADCAST=""
# Set route gateway for a static IP.
GATEWAY=""
# Set domain name
DOMAIN=""
# Set DNS server for a static IP.
DNS_SERVER=""
#
# Wi-Fi settings.
#
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Set "yes" if you don't want to store networks you're already connected.
WIFI_BLANK_NETWORKS=""
#
# Wi-Fi settings for iwconfig.
#
# Wi-Fi interface. It can auto-search interface if value below is fail.
WIFI_INTERFACE="wlan0"
# WPA driver; default is "wext" (Wireless Extension).
WIFI_WPA_DRIVER=""
# Set the operating mode of the device. The mode can be "Ad-Hoc", "Managed",
# "Master", "Repeater", "Secondary", "Monitor" or "Auto".
WIFI_MODE="managed"
# Set the operating channel in the device. Empty by default.
WIFI_CHANNEL=""
# Force the card to register to the Access Point given by the address, if it's
# possible. Empty by default to automatic mode.
WIFI_AP=""
#
# Wi-Fi settings for wpa_supplicant (for given network).
#
# SSID (network name)
WIFI_ESSID="xxxxxxx" #here I entered my personal info
# BSSID (optional), u0471467247se this block to associate with the AP
WIFI_BSSID=""
# Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods;
# "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP.
WIFI_KEY_TYPE="WPA"
# Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form.
WIFI_KEY='xxxxxxxxx' #here I entered my personal info
# Method for EAP: "PEAP", "TLS", "TTLS", "PWD".
WIFI_EAP_METHOD="PEAP"
# File path to CA certificate file (PEM/DER).
WIFI_CA_CERT=""
# File path to client certificate file (PEM/DER).
WIFI_CLIENT_CERT=""
# Identity string for EAP.
WIFI_IDENTITY=""
# Anonymous identity string for EAP.
WIFI_ANONYMOUS_IDENTITY=""
# Inner authentication parameters: "", "PAP", "MSCHAP", "MSCHAPV2", "GTC".
WIFI_PHASE2="none"[/c]
Offline
# Set default interface.
INTERFACE="eth0"
maybe change this to wlan0
???
Offline
Hi there,
[c]lexeii@slitaz:~$ grep ^WIFI /etc/network.conf
WIFI="yes"
WIFI_BLANK_NETWORKS=""
WIFI_INTERFACE="wlan0"
WIFI_WPA_DRIVER="wext"
WIFI_MODE="managed"
WIFI_CHANNEL=""
WIFI_AP=""
WIFI_ESSID="***"
WIFI_BSSID=""
WIFI_KEY_TYPE="WPA"
WIFI_KEY='***'
WIFI_EAP_METHOD="PEAP"
WIFI_CA_CERT=""
WIFI_CLIENT_CERT=""
WIFI_IDENTITY=""
WIFI_ANONYMOUS_IDENTITY=""
WIFI_PHASE2="none"[/c]
Maybe it matters, you have empty definition in [c]WIFI_WPA_DRIVER[/c]. Please change it to
[c]WIFI_WPA_DRIVER="wext"[/c]
I'm looking for /etc/init.d/network.sh script. Line 148 displays: [c]"*** is not a Wi-Fi interface, changing it."[/c]
Before line 155 the value of [c]$WIFI_INTERFACE[/c] should point to existing Wi-Fi interface, regardless you set it correct or not in the [c]/etc/network.conf[/c] file.
It turns out your [c]$WIFI_INTERFACE[/c] becomes empty, and line 156 displays
`Configuring Wi-Fi interface ..."
instead of
[c]Configuring Wi-Fi interface SOMETHING...[/c]
So, I think the [c]iwconfig[/c] utility can't find your wireless card. And maybe it leads to the problems with the device or its driver.
Alternatively, you can remove or comment (to add symbol "#" at the beginning) lines 146-153 in which the value of [c]$WIFI_INTERFACE[/c] is changed and try again if it will work for you. Removing/commenting these lines you only loss ability to auto-recognize the wireless interface. Then, block the package [c]slitaz-boot-scripts[/c] from being updated to save your changed file from being reverted, execute next command as root super-user:
[c]tazpkg -b slitaz-boot-scripts[/c]
Offline
Thanks kultex and Aleksej for your replies: I tried all of your suggestions but they did not work... 
But I found the solution! I myself was mistaken: the driver of for my wifi was not the b43, but rtl8192ce ... (see also: http://forum.slitaz.org/topic/driver-for-realteck-rtl-8188ce-wifi-adapter) I removed b43 from the LOAD_MODULES of /etc/rcS.conf, and added rtl8192ce there: now my wifi works after startup 
However I still get the error messages of
[c]Connecting to <WIFI_ESSID> .... [FAILED][/c] but I am connected to this WIFI_ESSID: I will comment out this lines in network.sh 
Offline
Pages: 1
[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]