You are not logged in.
Pages: 1
Hi, I installed 4.0 and got eth0 running but can't get wlan0 running. I got b43 legacy broadcom 4306 rev 2. I researched forum and found a link to download these 3 packages and installed them in listed order by clicking on them typing root password and all said installed.
linux-wireless-2.6.37.tazpkg
linux-libre-wireless-2.6.37-libre.tazpkg
b43-firmware-4.150.10.5.tazpkg
After creating wireless profile in network tazpanel with name, password key, etc. I hit the start button and got this;
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
I see my encryption key=password key is off?
My config file:
# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
# Set default interface.
INTERFACE="eth0"
# 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="xxxxxxxxx"
WIFI_MODE="managed"
WIFI_KEY="xxxxxxxxxx"
WIFI_KEY_TYPE="wep"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
I typed these commands in terminal:
root@slitaz:/home/dave# lspci | grep -i network
02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)
root@slitaz:/home/dave# modprobe your_module
modprobe: module your_module not found in modules.dep
root@slitaz:/home/dave# dmesg | tail
tg3 0000:02:00.0: PME# enabled
pci 0000:00:1e.0: wake-up capability enabled by ACPI
b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
b43legacy-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
b43legacy-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
b43legacy-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (8024 buckets, 32096 max)
root@slitaz:/home/dave# lsmod
parport 20983 1 parport_pc
cfg80211 99896 2 b43legacy,mac80211
rfkill 10682 1 cfg80211
ssb 24436 1 b43legacy
pcmcia 24993 0
yenta_socket 16223 0
pcmcia_rsrc 6989 1 yenta_socket
pcmcia_core 8413 3 pcmcia,yenta_socket,pcmcia_rsrc
tg3 97545 0
libphy 11777 1 tg3
snd_intel8x0m 8083 0
snd_intel8x0 19786 1
snd_ac97_codec 77963 2 snd_intel8x0m,snd_intel8x0
ac97_bus 718 1 snd_ac97_codec
snd_pcm 43737 3 snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_timer 12515 1 snd_pcm
snd 33394 7 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 3357 1 snd
snd_page_alloc 4853 3 snd_intel8x0m,snd_intel8x0,snd_pcm
intel_agp 7908 1
intel_gtt 9214 1 intel_agp
agpgart 18221 2 intel_agp,intel_gtt
I shut down the computer before I configured wireless and disconnected ethernet cable, but later have to take out yes and type no in config file on enable/disable wlan0 to get ethernet to work again.
Since I allready had setup Slitaz 4.0 cooking with extra primary partition through Gparted I have installed multiboot with pclinux phoenix 2011 since that wireless works with ndiswrapper with airforceone driver and know now that when I set that up I pick open wep but installs finished config as a wpa/wpa2 shared encryption but I never had to pick any wpa driver. I did this for now on my dell m60 with 512 ram (but want to convert tp Slitaz with lower memory windows manager) because I am pigtailing on my room mate's router and cannot keep the ethernet cable hooked up for long.
I then put the wireless config back to default of any and none with no wlan0 and installed ndiswrapper and tazndis then typed in root tazndisbox and got the utility that said ndiswrapper kernel not loaded so I pressed button to load and said it is loaded. I cannot pick a driver because I cannot find any. I assume I should go the ndiswrapper route since the forum said that the b43 legacy is a very slow rate.
Any suggestions would be grateful because Slitaz is the first distro that my screen and mouse arrow work decent since I have not attempted the nvidia geoforce4 issue yet. rfkill installed and is no on hard and soft so switch I assume is not a problem.
Offline
Open terminal,su,password: root
Stop networking:
[c]# /etc/init.d/network.sh stop[/c]
Unload b43legacy driver:
[c]# modprobe -r b43legacy[/c]
Download b43legacy firmware:
http://www.mediafire.com/file/gedqkjnpj8bd3w5/b43legacy-firmware-3.130.20.0.tazpkg
Install firmware:
[c]# tazpkg install b43legacy-firmware-3.130.20.0.tazpkg[/c]
Load b43legacy driver:
[c]# modprobe b43legacy[/c]
Configure network:
[c]# leafpad /etc/network.conf[/c]
Change
INTERFACE="eth0"
to
INTERFACE="wlan0"
Unquote wep WIFI_KEY=xxxxxxxxxx
Leafpad=> File/Save/File/Quit
Start networking:
[c]# /etc/init.d/network.sh start[/c]
Reference: Unquote WEP key
http://hg.slitaz.org/slitaz-boot-scripts/file/11d0305fa1c6/etc/init.d/network.sh => line 81
Online
Thanks MOJO, Did what you suggested and got this:
root@slitaz:/home/dave# /etc/init.d/network.sh start
/etc/init.d/network.sh: /etc/network.conf: line 39: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 40: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 41: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 42: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 43: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 44: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 45: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 46: %0: not found
/etc/init.d/network.sh: /etc/network.conf: line 47: %0: not found
%0: not foundetwork.sh: /etc/network.conf: line 48: %0
Starting udhcpc client on: wlan0...
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
So, I shut down network and went into /etc/network.conf and changed down the list in the wifi area the line that said wifi="no" to "yes" and saved file, started network again with /etc/init.d/network.sh start and got this:
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
Configuring wlan0... [ OK ]
Starting wpa_supplicant for NONE/WEP...
Starting udhcpc client on: wlan0...
Selected interface 'wlan0'
Now I can see network with signal strength when I click on the signal bars up in right corner of laptop screen but says status is idle and I cannot connect to internet.
So, I did this:
root@slitaz:/home/dave# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
I am getting closer but no cigar yet:)
Offline
UPDATE and tried this after rebooting:
root@slitaz:/home/dave# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
root@slitaz:/home/dave# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:90:4B:66:5A:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4080 (3.9 KiB)
root@slitaz:/home/dave# iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"xxxxxxxxx"
Mode:Managed Frequency:2.412 GHz Access Point: 64:70:02:6F:54:E0
Bit Rate=11 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xx
Power Management:off
Link Quality=65/70 Signal level=-45 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:477 Missed beacon:0
Still no connection yet.
Offline
Here is my /etc/network.config
I don't know what else to do to figure out why I can't connect.
# /etc/network.conf: SliTaz system wide networking configuration.
# 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="xxxxxxxxx"
WIFI_MODE="managed"
WIFI_KEY=xxxxxxxxxx
WIFI_KEY_TYPE="wep"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
%0
%0
%0
%0
%0
%0
%0
%0
%0
%0
%0
%0
%0
Offline
Remove the column of %0 from /etc/network.conf
I think you may have data corruption and will require a clean install.
Turnoff wep security and try to connect.
Beyond that I have no more suggestions other than re-installing
Online
@slitazdave
It is error in the TazPanel's built-in text editor, it adds %0 to the end of /etc/network.conf any time when you edit it.
Please, edit this file using any text editor, SliTaz have nano (terminal/console based) and leafpad (graphical):
[c]# nano /etc/network.conf
... edit, Ctrl+o to save, Ctrl+x to exit
or
# leafpad /etc/network.conf
... edit, Ctrl+s to save, Alt+F4 to exit[/c]
Offline
@Aleksej
http://tazpanel:82/index.cgi?file=/etc/network.conf&action=edit
I can't replicate the %0 error editing /etc/network.conf in 4.0 or cooking.
Online
@mojo
I can't replicate the %0 error editing /etc/network.conf in 4.0 or cooking.
mojo, which web browser shows TazPanel for you? I use default TazWeb, and I can reproduce this error in clean 4.0 and Rolling. It's old bug. By the way I fixed it and pushed to Hg.
Offline
@Aleksej
Boot the iso in virtualbox, click the red wrench icon launching TazWeb displaying TazPanel.
Login
Network/Config file/Edit button: add some text,hit Save button.
cat /etc/network.conf => the additional text was there,no %0
Another SliTaz mystery I will forget now that you've fixed it :-)
Online
@mojo
Uploading video and it processing took much longer than I expected. Must see this video! ☺
http://youtu.be/yAbbFPYRS0g
BTW I can't reproduce this bug in the Rolling I have (2012-12-15), but I can't connect to Wi-Fi in it and can't see wide native resolution 1024×600 and more things in it.
I have another funny bug in it: expanding '*' symbol to some file names. Hope, this is fixed in the newer Rollings.
Still 'space' bug exists in any versions:
Type:
[c]# # # #[/c]
Save and get
[c]# # # #[/c]
It is not big bug, but it is unwanted changes to file.
I can't fix it, I only located it. Edit file externally, TazPane shows all the spaces correctly. Edit. Save. When file is saved all the spaces compacted.
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]