SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-14 02:56:41

JohnRayMitch
Member
Registered: 2012-12-14
Posts: 4

Help! Bringing to life an old laptop everything but wifi works.

I have an old IBM T30, I've been looking around for a good distro for this laptop and I came across Slitaz. I love it and it works great. I just can't seem to get the wifi to work. It give me an error status for wlan0. I'm assuming it could be a firmware issue but I just wanted some opinions and some help to configure and fix this.

Maybe this will help just in case I overlooked something.

[c]john@JohnNetbook:~$ inxi -F
System:    Host JohnNetbook Kernel 2.6.32-5-686 i686 (32 bit) Distro CrunchBang Linux statler
CPU:       Single core Mobile Intel Pentium 4 - M (-UP-) cache 512 KB flags (sse sse2) bmips 4784.31 clocked at 2400.00 MHz
Graphics:  Card ATI Radeon Mobility M7 LW [Radeon Mobility 7500] X.Org 1.7.7 Res: 1400x1050@50.3hz
           GLX Renderer Mesa DRI R100 (RV200 4C57) 20090101 x86/MMX/SSE2 TCL DRI2 GLX Version 1.3 Mesa 7.7.1 Direct Rendering Yes
Audio:     Card Intel 82801CA/CAM AC'97 Audio Controller driver Intel ICH at ports 1c00 18c0 BusID: 00:1f.5
           Sound: Advanced Linux Sound Architecture Version 1.0.21
Network:   Card-1 Intel 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller driver e100 v: 3.5.24-k2-NAPI at port 8000 BusID: 02:08.0
           Card-2 Intersil Prism 2.5 Wavelan chipset driver orinoco_pci BusID: 02:02.0
Disks:     HDD Total Size: 60.0GB (5.4% used) 1: /dev/sda FUJITSU_MHV2060A 60.0GB
Partition: ID:/ size: 9.2G used: 2.4G (28%) fs: ext4 ID:/home size: 44G used: 680M (2%) fs: ext4
           ID:swap-1 size: 2.06GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 61.0C mobo: 58.0C
           Fan Speeds (in rpm): cpu: 3977
Info:      Processes 119 Uptime 8 min Memory 273.2/1009.7MB Runlevel 2 Client Shell inxi 1.4.21[/c]

Offline

#2 2012-12-14 06:54:04

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: Help! Bringing to life an old laptop everything but wifi works.

i had a wifi problem too when i first installed slitaz, i fixed it by downloading the right firmware.

http://forum.slitaz.org/topic/network-wireless-and-wired (ignore the wired problem that was just stupid)

have you already followed the documentation page about this?

http://doc.slitaz.org/en:guides:wifi-easy

Offline

#3 2012-12-15 23:08:41

JohnRayMitch
Member
Registered: 2012-12-14
Posts: 4

Re: Help! Bringing to life an old laptop everything but wifi works.

Ok well I finally got Ethernet running but I still can't get my wifi card to work. I can't seem to find much info on my card. I'm not sure it slitaz supports it. sad

[c]root@slitaz:/home/john# lspci | grep -i network
02:02.0 Network controller: Intersil Corporation ISL3874 [Prism 2.5]/ISL3872 [Prism 3] (rev 01)[/c]

Offline

#4 2012-12-16 07:37:50

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: Help! Bringing to life an old laptop everything but wifi works.

Have you tried following the link i posted, and if so where exactly did you get stuck?

And otherwise what have you already done?

Offline

#5 2012-12-16 09:37:10

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

Re: Help! Bringing to life an old laptop everything but wifi works.

Download: http://www.mediafire.com/file/drvfohg1fecycgm/linux-orinoco_pci-2.6.37.tazpkg

Open terminal,su,password: root

Install driver:

[c]tazpkg install linux-orinoco_pci-2.6.37.tazpkg[/c]

Load the driver:

[c]modprobe orinoco_pci[/c]

Configure the connection:

Applications/System Tools/Wifi configuration

Intersil Prism chipset does not require firmware or support WPA security.

Reference:

http://cateee.net/lkddb/web-lkddb/PCI_HERMES.html

http://linuxwireless.org/en/users/Drivers/orinoco

Offline

#6 2012-12-16 17:26:26

JohnRayMitch
Member
Registered: 2012-12-14
Posts: 4

Re: Help! Bringing to life an old laptop everything but wifi works.

Alright, I got a step further. The module loaded and now I have eth1 along with my lo and eth0. I've tried to configure my wirless and I thought it worked for a moment but now I cant get eth1 to connect.

I tried connecting through the command line to see if that worked and it throws this error at me.

[c]Error for wireless request "Set Tx Power" (8B26) :
    SET failed on device eth1 ; Operation not supported.[/c]
I don't want to give up on Slitaz but it's definitely been some work.

Offline

#7 2012-12-16 17:41:52

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: Help! Bringing to life an old laptop everything but wifi works.

If you can see it in iwconfig

try setting up slitaz to use eth1 through tazpanel?

Maube you got a syntax error?

Mojo might know how to fix this.

Offline

#8 2012-12-17 05:20:44

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

Re: Help! Bringing to life an old laptop everything but wifi works.

@JohnRayMitch

Wireless Access Point= WAP

WAP must broadcast an ESSID name,DHCP server enabled.

Turn off all security(WPA,WPA2,WEP) on the WAP.

I disconnect the cable from the WAPs WAN to cable modem when turning off WAP security so neighbors can't steal bandwidth.

Open 2 terminal windows

Term#1 will be used to monitor kernel messages/errors after entering the following command:

[c]tail -f /var/log/messages[/c]

Term#2 su Password: root

Shutdown network:

/etc/init.d/network.sh stop

Unload driver:

[c]modprobe -r orinoco_pci[/c]

Reload driver:

[c]modprobe orinoco_pci[/c]

Configure connection:

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

INTERFACE="eth1"

DHCP="yes"

STATIC="no"

WIFI="yes"

WIFI_INTERFACE="eth1"

WIFI_ESSID="WAP ESSID"

WIFI_KEY=""

Save,Exit

Restart networking:

/etc/init.d/network.sh start

Verify connection:

ping WAP LAN side i.p. address (web browser address to configure WAP)

If ping fails, shutdown network.sh script.

[c]/etc/init.d/network.sh stop[/c]

Try connecting manually:

[1][c]ifconfig eth1 down[/c]

[2][c]ifconfig eth1 up[/c]

[3][c]ifconfig eth1[/c] <= Do you see HWaddr address of wireless adapter?

Verify the wireless adapter is receiving the WAP broadcast:

[4][c]iwlist eth1 scan[/c] <= Is wifi adapter receiving WAP broadcast with ESSID: and Address:?

Set the wireless adapter to associate to WAP's ESSID:

[5][c]iwconfig eth1 essid[/c] WAP's ESSID: without italics

Verify wireless adapter is associated to WAP:

[6][c]iwconfig eth1[/c] <= Do you see MAC address of wireless access point after Access Point:

Request i.p. address from WAP dhcp server:

[7][c]udhcpc -i eth1[/c]

Verify i.p. address was assigned to wifi adapter:

[8][c]ifconfig eth1[/c] <= Do you see inet addr: Bcast: Mask:

Verify connection:

[9]ping WAP LAN side i.p. address (web browser address to configure WAP)

If you still can't connect:

Post any errors and connection info from Term#1.

Post which step failed above and the result.

Offline

#9 2012-12-20 19:00:09

JohnRayMitch
Member
Registered: 2012-12-14
Posts: 4

Re: Help! Bringing to life an old laptop everything but wifi works.

Alright well I got it to connect when I don't set a password. But when I do it won't connect. Here what the terminals say.

Terminal 1

[c]Dec 20 17:45:00 (none) auth.notice su: + /dev/pts/2 john:root
Dec 20 17:46:46 (none) user.debug kernel: eth1: New link status: Connected (0001)
Dec 20 17:48:04 (none) user.debug kernel: eth1: New link status: Connected (0001)
Dec 20 17:52:27 (none) user.debug kernel: eth1: New link status: Connected (0001)
Dec 20 17:52:45 (none) user.debug kernel: eth1: New link status: Connected (0001)
Dec 20 17:53:48 (none) user.debug kernel: eth1: New link status: Disconnected (0002)
Dec 20 17:53:49 (none) user.debug kernel: eth1: New link status: Connected (0001)
Dec 20 17:54:25 (none) user.debug kernel: eth1: New link status: Disconnected (0002)
Dec 20 17:54:26 (none) user.debug kernel: eth1: New link status: Connected (0001)[/c]
Terminal 2

[c]Configuring eth1...                                                  [ OK ]
Starting wpa_supplicant for NONE/WEP...
Line 762: Invalid WEP key 0 'sunny'.
Line 762: failed to parse wep_key0 'sunny'.
Line 765: failed to parse network block.
Failed to read or parse configuration '/tmp/wpa.conf'.
Starting udhcpc client on: eth1...
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background[/c]

Offline

#10 2012-12-20 19:49:49

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

Re: Help! Bringing to life an old laptop everything but wifi works.

Starting wpa_supplicant for NONE/WEP...

Line 762: Invalid WEP key 0 'sunny'.

Line 762: failed to parse wep_key0 'sunny'.

Line 765: failed to parse network block.

Failed to read or parse configuration '/tmp/wpa.conf'.

Remove quotation marks from WEP key.

This can't be done from Wifi configuration gui.

You must use a text editor to edit /etc/network.conf

Open terminal,su, password: root

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

Change

WIFI_KEY="sunny"

to

WIFI_KEY=sunny

Close leafpad:

File/Save/File/Quit

[c]/etc/init.d/network.sh restart[/c]

Reference:

/etc/init.d/network.sh

NOTE (20120303) struggled to connect with WEP key in

cooking but work with 3.0. Busybox/iwconfig seems buggy

but connection work with wpa_supplicant and unquoted

wep_key0

IWCONFIG_ARGS="$IWCONFIG_ARGS key $WIFI_KEY"

iwconfig $WIFI_INTERFACE essid "$WIFI_ESSID" $IWCONFIG_ARGS

wpa_supplicant can also deal with wep encryption

Tip: Use unquoted strings for hexadecimal key in wep_key0

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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