SliTaz SliTaz Forum

You are not logged in.

#1 2012-10-13 20:51:20

lmart
Member
Registered: 2011-04-04
Posts: 61

slitaz-4.0 ipw2200

unable to get wifi working

per documentation, understand have to load ipw2200 firmware

pulling my hair out trying to figure out how

does anyone have a step-by-step for slitaz-4.0 with ipw2200?

thanks.

Offline

#2 2012-10-13 21:17:38

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: slitaz-4.0 ipw2200

Open terminal,su,password: root

[1]Download Firmware

http://people.slitaz.org/~mojo/stuff/ipw2200-firmware-3.1.tazpkg

[2]Install Firmware

tazpkg install ipw2200-firmware-3.1.tazpkg

[3]Open 2nd terminal to monitor firmware/module load:

tail -f /var/log/messages

[4]Reload module in first terminal:

modprobe -r ipw2200

modprobe ipw2200

[5]Applications=>System Tools=>Wifi configuration

Password: root , click OK button

Dbl click WAP to connect, or enter WPA Password: click OK if secure to connect.

If you have problems:

[1]Post any errors related to module,firmware,or rfkill switch in the 2nd terminal.

[2]Identify adapter

lspci -nn  => laptop built-in or desktop pci wifi

or

lsusb => usb wifi adapter

Online

#3 2012-10-13 22:50:51

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

@mojo - many thanks for the quick reply

results:

[1]Download Firmware - downloaded and saved on usb

[2]Install Firmware - no problems

[3]Open 2nd terminal to monitor firmware/module load: looks like several error, see attached mojo-2.txt

[4]Reload module in first terminal: no response to either command

[5]Applications=>System Tools=>Wifi configuration

   No options appeared, using WEP

root@slitaz:/home/tux# lspci | grep Intel

06:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03)

06:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)

root@slitaz:/home/tux#

Offline

#4 2012-10-13 22:52:02

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

contents of mojo-2.txt

----------------------

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# tail -f /var/log/messages

Oct 13 17:25:11 (none) user.notice error binding udev control socket

Oct 13 17:25:11 (none) daemon.err udevd[2131]: error binding udev control socket

Oct 13 17:25:11 (none) user.err kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through

Oct 13 17:25:11 (none) user.notice kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk

Oct 13 17:25:11 (none) daemon.err udevd[2133]: bind failed: Address already in use

Oct 13 17:25:11 (none) user.notice error binding udev control socket

Oct 13 17:25:11 (none) daemon.err udevd[2133]: error binding udev control socket

Oct 13 17:25:17 (none) daemon.info hald: mounted /dev/sdc1 on behalf of uid 1000

Oct 13 17:25:49 (none) auth.notice su: + /dev/pts/1 tux:root

Oct 13 17:30:46 (none) auth.notice su: + /dev/pts/2 tux:root

Oct 13 17:31:56 (none) daemon.err udevd[2334]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2334]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2335]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2335]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2336]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2336]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2337]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2337]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2338]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2338]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2339]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2339]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2340]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2340]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2341]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2341]: error binding udev control socket

Oct 13 17:31:56 (none) user.debug kernel: lib80211_crypt: unregistered algorithm 'NULL'

Oct 13 17:31:56 (none) daemon.err udevd[2342]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2342]: error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2343]: bind failed: Address already in use

Oct 13 17:31:56 (none) user.notice error binding udev control socket

Oct 13 17:31:56 (none) daemon.err udevd[2343]: error binding udev control socket

Oct 13 17:32:07 (none) user.info kernel: lib80211: common routines for IEEE802.11 drivers

Oct 13 17:32:07 (none) user.debug kernel: lib80211_crypt: registered algorithm 'NULL'

Oct 13 17:32:07 (none) daemon.err udevd[2346]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2346]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2348]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2348]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2349]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2349]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2350]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2350]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2352]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2352]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2353]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2353]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2355]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2355]: error binding udev control socket

Oct 13 17:32:07 (none) user.info kernel: cfg80211: Calling CRDA to update world regulatory domain

Oct 13 17:32:07 (none) daemon.err udevd[2356]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2356]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2359]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2359]: error binding udev control socket

Oct 13 17:32:07 (none) user.info kernel: libipw: 802.11 data/management/control stack, git-1.1.13

Oct 13 17:32:07 (none) user.info kernel: libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>

Oct 13 17:32:07 (none) user.info kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq

Oct 13 17:32:07 (none) user.info kernel: ipw2200: Copyright(c) 2003-2006 Intel Corporation

Oct 13 17:32:07 (none) user.info kernel: ipw2200 0000:06:0b.0: power state changed by ACPI to D0

Oct 13 17:32:07 (none) user.info kernel: ipw2200 0000:06:0b.0: power state changed by ACPI to D0

Oct 13 17:32:07 (none) user.info kernel: ipw2200 0000:06:0b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22

Oct 13 17:32:07 (none) daemon.err udevd[2362]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2362]: error binding udev control socket

Oct 13 17:32:07 (none) user.info kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

Oct 13 17:32:07 (none) daemon.err udevd[2364]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2364]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2367]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2367]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2368]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2368]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2370]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2370]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2372]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2372]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2373]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2373]: error binding udev control socket

Oct 13 17:32:07 (none) user.info kernel: ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)

Oct 13 17:32:07 (none) daemon.err udevd[2374]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2374]: error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2376]: bind failed: Address already in use

Oct 13 17:32:07 (none) user.notice error binding udev control socket

Oct 13 17:32:07 (none) daemon.err udevd[2376]: error binding udev control socket

Oct 13 17:32:38 (none) auth.notice su: + none tux:root

Oct 13 17:33:57 (none) auth.notice su: + none tux:root

Oct 13 17:34:45 (none) auth.notice su: + none tux:root

Oct 13 17:34:59 (none) user.info kernel: e100 0000:06:08.0: eth0: NIC Link is Down

Oct 13 17:35:16 (none) auth.notice su: + none tux:root

Offline

#5 2012-10-13 23:36:59

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: slitaz-4.0 ipw2200

It appears wifi card driver loaded OK.

WEP requires configuring /etc/network.conf in leafpad

After you post the output from the commands I will advise settings for /etc/network.conf

Post output from these commands:

ls /sys/class/net    <=Indicates wifi device alias

ifconfig             <=Indicates wifi network adapter mac address and settings

iwconfig             <=Indicates wifi radio is communicating with wifi router

cat /etc/network.conf  <=Existing network configuration

Online

#6 2012-10-13 23:58:39

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# tazpkg install /media/disk/mojo/ipw2200-firmware-3.1.tazp

kg

Installation of : ipw2200-firmware

================================================================================

Copying ipw2200-firmware...                                          [ OK ]

Extracting ipw2200-firmware...                                       [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing ipw2200-firmware...                                       [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

ipw2200-firmware (3.1) is installed.

root@slitaz:/home/tux# modprobe -r ipw2200

root@slitaz:/home/tux# modprobe ipw2200

root@slitaz:/home/tux# lspci -nn

06:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile [8086:1068] (rev 03)

06:0b.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    eth1    lo

root@slitaz:/home/tux# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:01:4A:83:79:62

          UP BROADCAST MULTICAST  MTU:1500  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:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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)

root@slitaz:/home/tux# iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

eth1      IEEE 802.11bg  ESSID:off/any

          Mode:Managed  Channel:0  Access Point: Not-Associated

          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0

          Retry limit:7   RTS thr:off   Fragment thr:off

          Encryption key:off

          Power Management:off

          Link Quality:0  Signal level:0  Noise level:0

          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@slitaz:/home/tux# cat /etc/network.conf

# /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="no"

# Wifi interface (iwconfig) and ESSID.

WIFI_INTERFACE="wlan0"

WIFI_ESSID="any"

WIFI_MODE="managed"

WIFI_KEY=""

WIFI_KEY_TYPE="none"

WPA_DRIVER=""

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

root@slitaz:/home/tux#

Offline

#7 2012-10-14 00:30:02

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: slitaz-4.0 ipw2200

Open terminal,su,password: root

[c]leafpad /etc/network.conf[/c]

Configure like I have below.

# Set default interface.

INTERFACE="eth1"

# 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="eth1"

WIFI_ESSID="Your Wifi Routers ESSID Here"

WIFI_MODE="managed"

WIFI_KEY=Your WEP Key Here

WIFI_KEY_TYPE="wep"

WPA_DRIVER=""

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

The wifi router must broadcast an ESSID

Add your routers ESSID in WIFI_ESSID=

Add your WEP key in WIFI_KEY=

File/save,File/quit

Restart networking:

/etc/init.d/network.sh stop

/etc/init.d/network.sh start

If you can't connect post output:

[c]ifconfig eth1[/c]

[c]iwconfig eth1[/c]

[c]iwlist eth1 scan[/c]

[c]cat /etc/network.conf[/c]

There is an issue connecting to WEP which is commented in /etc/init.d/networking.sh :

70 # NOTE (20120303) struggled to connect with WEP key in

71 # cooking but work with 3.0. Busybox/iwconfig seems buggy

72 # but connection work with wpa_supplicant and unquoted

73 # wep_key0

74 #

75 #IWCONFIG_ARGS="$IWCONFIG_ARGS key $WIFI_KEY"

76 #iwconfig $WIFI_INTERFACE essid "$WIFI_ESSID" $IWCONFIG_ARGS

77 #

78 # wpa_supplicant can also deal with wep encryption

79 #Tip: Use unquoted strings for hexadecimal key in wep_key0

Online

#8 2012-10-14 00:52:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: slitaz-4.0 ipw2200

Open terminal,su,password:root

# leafpad /etc/network.conf

Recheck /etc/network.conf

I changed  WIFI_KEY_TYPE="wep" and WIFI_KEY= don't put "" around your WEP key.

Online

#9 2012-10-14 01:09:06

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

won't let me save changes, do I need to be root to edit that file?

Offline

#10 2012-10-14 01:32:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: slitaz-4.0 ipw2200

Yes,you have to be root@slitaz to modify any file that is not in /home/Your Username

Online

#11 2012-10-14 01:33:32

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

@mojo

many thanks, it works!

a few comments

#1 - the documentation (easy-wifi, hard-wifi) did not help nor did it mention your firmware

#2 - 2nd terminal to monitor firmware/module load: this step confused me, why a 2nd terminal and, what is rfkill switch in the 2nd terminal?

#3 - does the terminal typically present output from the 2 commands; modprobe -r ipw2200 and modprobe ipw2200

#4 - trying to wade my way through the network shell script; what is the exact command for udhcpc to acquire the lease from my router?

#5 - next step is to learn how to remaster my liveCD

Again, many thanks. I started on slitaz 1, left because I couldn't get wifi working, then abandoned 2 and 3 for the same reason. Finally! Finally! Finally! Thank you mojo!

Offline

#12 2012-10-14 01:35:48

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: slitaz-4.0 ipw2200

Yes,you have to be root@slitaz to modify any file that is not in /home/Your Username

thanks, I created the file in leafpad as you said, then cp via root terminal; an easier way?

Offline

#13 2013-03-14 13:44:00

Wozza
Member
Registered: 2013-03-14
Posts: 10

Re: slitaz-4.0 ipw2200

Followed the instructions and got the IPW2200 adapter working on my old Dell D600 - many thanks for that!!!

Quick question, though - why does modprobe configure the adapter on ETH1 instead of WLAN0?

Offline

#14 2013-03-15 05:33:41

zadeora
Member
Registered: 2013-03-14
Posts: 7

Re: slitaz-4.0 ipw2200

It doesn't matter whether its wlan0 or eth1. By default when booting, wlan0 will be detected but you can change the default to eth1 incase eth1 is your wifi. To make eth1 default open terminal as root and paste this:-

leafpad /etc/lxpanel/slitaz/panels/panel

it will open a file in leafpad

press ctrl+F

type wlan0 in the search box it will take you to this line:

iface=wlan0

change it to iface=eth1

save and exit

reboot and now eth1 will be loaded by default

Offline

#15 2013-03-18 17:58:49

Wozza
Member
Registered: 2013-03-14
Posts: 10

Re: slitaz-4.0 ipw2200

That's great - many thanks zadeora!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.029 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]