how to open wireless on thinkpad R52

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

how to open wireless on thinkpad R52

#1 Post by kebomix » Fri Sep 19, 2008 3:20 am

hello

i installed ubuntu 8,04 , and i see it installed my wireless card
intel wireless 2200 BG

the problem now is how to turn on wireless

there is no button to turn on wireless
on windows there there was that software , when i press Fn+F5 then choose turn on wirelss


any one can hep me to turn on wireless ?

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#2 Post by aaa » Fri Sep 19, 2008 3:56 am

There should be a network icon somewhere near the clock. You can scan for networks from there. If the scan doesn't turn up anything, press Fn-F5 to enable it.

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#3 Post by kebomix » Fri Sep 19, 2008 4:36 am

Fn + F5 make bluetooth lamp work on

but dont know how to make Wirless lamp Turn on ,

and how to make scan on networks ?!

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

#4 Post by GomJabbar » Fri Sep 19, 2008 6:13 am

It is true that in Linux, Fn + F5 only turns on bluetooth. I have the same Intel 2200BG card. I just had to have the firmware installed to /lib/firmware in Mandriva (Ubuntu may be the same, not sure). Check that you have the Intel firmware installed there.

If the firmware is installed, make sure the Intel 2200BG card is enabled in the BIOS.

On my T42 there is no hardware switch for turning on the card (except Fn + F5), *I don't think* there is one on the R52 either, but I could be wrong. If you have a dual boot setup, you can try turning the card on in Windows, then reboot into Ubuntu.

http://ipw2200.sourceforge.net/
DKB

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#5 Post by kebomix » Fri Sep 19, 2008 6:49 am

If you have a dual boot setup, you can try turning the card on in Windows, then reboot into Ubuntu.
yeah , i was thinking about that too , i will install Windows beside Ubuntu


but wut about that firmware and how to get it ,and install it , sry im new to ubuntu , and how to know if it is already installed on my laptop or not ?!

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#6 Post by poshgeordie » Fri Sep 19, 2008 4:11 pm

There's a couple of ways of telling if the firmware is already installed on 8.04.

First one:
In a terminal type:

Code: Select all

iwconfig
If everything's OK, you should see an output similar to this (I've got a different card to you):

Code: Select all

wifi0     IEEE 802.11b  ESSID:  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:0F:B5:B9:E8:12   
          Bit Rate:11 Mb/s   Sensitivity=1/3  
          Retry short limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          
wlan0     IEEE 802.11b  ESSID:  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:0F:B5:B9:E8:12   
          Bit Rate:11 Mb/s   Sensitivity=1/3  
          Retry short limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=43/70  Signal level=-55 dBm  Noise level=-98 dBm
          Rx invalid nwid:0  Rx invalid crypt:365  Rx invalid frag:1
          Tx excessive retries:0  Invalid misc:3020   Missed beacon:0
In Wlan0 you'll see that there are different levels for the signal and noise. The signal is 98-55db = 43db higher than the noise and therefore is working.

The second method:
Make sure your Wireless Router is switched on and working.
Go to System > Administration > Network.
Click Unlock and enter your password to authenticate.
Wlan0 is the 2nd wireless connection down (if you have two listed).
Click to highlight it.
Click Properties.
In the new windows, deselect Enable Roaming Mode.
Network Name SSID box, right side drop down arrow.
The SSID of your wireless router should be listed there (assuming you're in range of course!) don't worry about the 0dB against it.
if there are other routers in the area, they should be listed too.
This shows your wireless card is properly installed and working, since it's detecting wireless networks.
Go ahead and add SSID, password type - suggest WEP hexidecimal since 8.04 works out of the box with that (change router settings to WEP as well if necessary).
Add network password (encryption key), and select automatic configuration (DHCP) and OK it.
You'll be returned back to the previous screen. Against the Wireless Connection you've set up, tick the box to the left of it.
Disconnect your wired LAN cable from the TP.
Reboot and hopefully you'll be connected wirelessly.

If you have no wireless router encryption, leave the network password blank and select auto config and OK it.

Good luck!

If you've any probs can you post the outputs of

Code: Select all

iwconfig

Code: Select all

lspci
There's no 'hardware' button to turn the wireless on or off. The only way is to remove the tick against the wireless connection you've set up.
If you're wanting to alternate between wired and wireless, there's no need to switch off the wireless.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#7 Post by lightweight » Tue Sep 23, 2008 1:12 am

the problem now is how to turn on wireless
...
dont know how to make Wirless lamp Turn on ,
Just FYI, all but the current Linux release had a bug where the wireless LED would not turn on by default. This does not mean the wireless card is not enabled, so don't be discouraged from following the helpful steps above if the light doesn't turn on.

I'll bet your laptop isn't enabling the wireless card be default on boot, and so you may need to open a terminal and do a

Code: Select all

sudo ifconfig wlan0 up
before proceeding with poshgeordie's steps, starting with iwconfig. Once the interface is up (via ifconfig), aaa's or the other steps above should get you online in a hurry.

If you really want Fn-F5 to control wireless instead of bluetooth, you could do this in a terminal:

Code: Select all

cp /etc/acpi/ibm-wireless.sh /etc/acpi/ibm-wireless.sh.bak #backup the existing script
echo -e '#!/bin/bash\nif ifconfig |grep -q wlan0; then\n\tifconfig wlan0 down\nelse\n\tifconfig wlan0 up\nfi' > /etc/acpi/ibm-wireless.sh #the new script
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#8 Post by kebomix » Sat Sep 27, 2008 9:26 pm

sudo ifconfig wlan0 up
that gave me "wlan0: ERROR while getting interface flags: No such device " on terminal

If you really want Fn-F5 to control wireless instead of bluetooth, you could do this in a terminal:
Code:

cp /etc/acpi/ibm-wireless.sh /etc/acpi/ibm-wireless.sh.bak #backup the existing script
echo -e '#!/bin/bash\nif ifconfig |grep -q wlan0; then\n\tifconfig wlan0 down\nelse\n\tifconfig wlan0 up\nfi' > /etc/acpi/ibm-wireless.sh #the new script
that made Fn+F5 dont work anymore through ubuntu , even for bluetooth or wireless

please tell me how to cancel that code u sent me , because im beginner in linux


iwconfig
it give me that

Code: Select all

ahmed@Ubuntu-pc:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:""  
          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
          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

irda0     no wireless extensions.
and which file to download and how to install that firmware ? it give me compressed file


thx 4 every one who tried to help :)
Free Programming Ebooks With Direct lInks
http://request-ebooks.blogspot.com/

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#9 Post by poshgeordie » Sun Sep 28, 2008 2:51 pm

I'm referring to these threads:

http://ubuntuforums.org/showthread.php?t=887960

http://ubuntuforums.org/showthread.php?t=896905

Please post the outputs of:

Code: Select all

lspci
shw -C network
lspci -nn
uname -m
dmesg | grep -e iwl -e ipw
(Do one line at a time)

The next steps depend on the results of those outputs.

<Edit> added link and commands

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#10 Post by kebomix » Sun Sep 28, 2008 4:37 pm

lspci

Code: Select all

ahmed@Ubuntu-pc:~$ lspci 
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)
04:00.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 03)
04:00.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (rev 01)
04:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
shw -C network

Code: Select all

ahmed@Ubuntu-pc:~$ shw -C network 
bash: shw: command not found

lspci -nn

Code: Select all

ahmed@Ubuntu-pc:~$ lspci -nn 
00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 [8086:2664] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev d3)
00:1e.2 Multimedia audio controller [0401]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller [8086:266e] (rev 03)
00:1e.3 Modem [0703]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller [8086:266d] (rev 03)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge [8086:2641] (rev 03)
00:1f.2 IDE interface [0101]: Intel Corporation 82801FBM (ICH6M) SATA Controller [8086:2653] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03)
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express [14e4:167d] (rev 11)
04:00.0 CardBus bridge [0607]: Texas Instruments PCI4510 PC card Cardbus Controller [104c:ac44] (rev 03)
04:00.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCI4510 IEEE-1394 Controller [104c:8029] (rev 01)
04:02.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG Network Connection [8086:4220] (rev 05)
uname -m

Code: Select all

ahmed@Ubuntu-pc:~$ uname -m 
i686
dmesg | grep -e iwl -e ipw

Code: Select all

ahmed@Ubuntu-pc:~$ dmesg | grep -e iwl -e ipw
[   20.572581] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
[   20.572587] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[   20.680530] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[   24.909051] ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
Free Programming Ebooks With Direct lInks
http://request-ebooks.blogspot.com/

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#11 Post by poshgeordie » Sun Sep 28, 2008 5:58 pm

Thanks for that Ahmed- it shows that ubuntu recognises the wireless card.

I made an error with shw -C network which should be

Code: Select all

lshw -C network
To install the driver follow the instructions in
http://ubuntuforums.org/showthread.php?t=896905#7

Copy and paste each line into a terminal and hit enter each time to run each command.

Reboot the laptop and run once again

Code: Select all

iwconfig
If the driver is installed correctly, you should get an output similar to the one in my first post here.

If it still shows that you have no wireless, go to

http://ubuntuforums.org/showthread.php? ... &page=3#21
and run

Code: Select all

sudo /etc/init.d/networking restart
which should post back OK.

Then can you go to
http://ubuntuforums.org/showthread.php? ... &page=3#23

and make sure the gui comes up with w29n51 listed under windows driver.

If so your driver is definitely installed and working.

Then follow the instructions from
http://ubuntuforums.org/showthread.php? ... &page=3#25
onwards, which should now get you going.


Note that you may only need to do the first part - to install ndiswrapper, and if that works OK don't bother with the rest.

Remember to go into system > Administration > networking to set up the wireless connection as per my first post in this thread.

If you're still having problems read the whole of the Ubuntu forums thread - those people know far more than me!

Good luck & I'll check back tomorrow morning.

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#12 Post by kebomix » Sun Sep 28, 2008 8:42 pm

after i read that topic u sent me and installed driver , and done alot of commands

finally , it worked :cry: :lol: :lol: , my wireless turned on again , and i got wireless light back :D

now ,i have little 2 problem
this command is the command which turn on wirelss

Code: Select all

sudo ifconfig wlan0   
when i reboot , i have to write it again in terminal to enbale wirelss , is there is any way to make wireless to open always , and if there is noway it is ok , the important that wireless works :D :D


the second one is that member : lightweight

Code: Select all

If you really want Fn-F5 to control wireless instead of bluetooth, you could do this in a terminal:
Code:

cp /etc/acpi/ibm-wireless.sh /etc/acpi/ibm-wireless.sh.bak #backup the existing script
echo -e '#!/bin/bash\nif ifconfig |grep -q wlan0; then\n\tifconfig wlan0 down\nelse\n\tifconfig wlan0 up\nfi' > /etc/acpi/ibm-wireless.sh #the new script 
and when i tried that he sent me , that made Fn+F5 dont work anymore even with bluetooth , i want to get it back to work with bluetooth , this code stopped fn+f5 working

and finally i would like to thank you nick (poshgeordie) so much :D :D
really dont know how to thank u , u r the only one who helped me right


Notice : i didnt try to log on network cuz there is no wireless network around me now :D :d , but if wireless turned on , i think it will work :D


now , i have another and last problem here
http://forum.thinkpads.com/viewtopic.php?t=67979

hope u help me on it too :D

thx alot for all who tried to help :D
Free Programming Ebooks With Direct lInks
http://request-ebooks.blogspot.com/

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#13 Post by poshgeordie » Mon Sep 29, 2008 1:33 am

Hey great work M8! Well done.

To enable wireless on startup:

Into a terminal put

Code: Select all

gksudo gedit /etc/modules
A new window should open similar to the one below.
Add ndiswrapper on a line on its own at the bottom, so it looks similar to this:

Code: Select all

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
ndiswrapper
(Note you may not have fuse or lp, they are just examples of what might be there).

Save and close and restart the laptop.

Wireless should now be enabled when every time you start up.

I'll have a look at the bluetooth now....

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#14 Post by lightweight » Mon Sep 29, 2008 1:40 am

kebomix,

Try Fn+F5 now that the wireless card is associated with wlan0. Above, you backed up the original script to /etc/acpi/ibm-wireless.sh.bak. You can copy it back with

Code: Select all

sudo cp /etc/acpi/ibm-wireless.sh.bak /etc/acpi/ibm-wireless.sh
All that script does is check if wlan0 is already up via ifconfig and if it is bring it down, and vice versa, by the way.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#15 Post by poshgeordie » Mon Sep 29, 2008 1:46 am

I see Lightweight's already replied so try his idea first.

@ Lightweight - is it worth just restoring the original .sh file?

@ Kebomix - if LW says yes then run

Code: Select all

sudo cp /etc/acpi/ibm-wireless.bak /etc/acpi/ibm-wireless.sh 
should do it. You may need to do a reboot.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#16 Post by lightweight » Mon Sep 29, 2008 2:05 am

poshgeordie, sure. Also, the original script is standard with thinkpad-acpi, so kebomix could overwrite the file with a copy of any of our ibm-wireless.sh scripts if the backup was lost, though some distributions may keep it in different places. There's a chance kebomix may need to restart acpi to reread the script but a reboot is probably not necessary, though definitely a fast fix. Good thread by the way.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#17 Post by poshgeordie » Mon Sep 29, 2008 2:20 am

Thanks Lightweight - lets see how Kebomix gets on running your script.

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#18 Post by kebomix » Mon Sep 29, 2008 8:35 am

To enable wireless on startup:

Into a terminal put

Code:
gksudo gedit /etc/modules

thx Nick , that worked :D :wink: :oops:


i run commands lightweight and nick sent me but still fn+f5 dont work

i dont want it to control wireless , i just want it to control back bluetooth , as it was before

hope u got the idea


thx for help Brothers :)
Free Programming Ebooks With Direct lInks
http://request-ebooks.blogspot.com/

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#19 Post by lightweight » Thu Oct 02, 2008 1:37 am

(for those who find this in a search later, the bluetooth issue was split off into here http://forum.thinkpads.com/viewtopic.php?p=457062 )
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests