PDA

View Full Version : 2200bg wireless install problem on toshiba m45-s331


yareck
2005-04-01, 08:57 PM CST
Hello,

I tried to follow http://www.fedoraforum.org/forum/showthread.php?p=223328 to install drivers for my wireless card but somehow while i was installing driver ipw1.0.0.gz from ipw2200.sourceforge.net i received errors: 127 and 2

[root@localhost ipw2200]# make
/bin/sh: cc: command not found
make -C /lib/modules/2.6.9-1.667/build SUBDIRS=/usr/src/redhat/drivers/net/wireless/ipw2200 MODVERDIR=/usr/src/redhat/drivers/net/wireless/ipw2200 modules
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 11: gcc: command not found
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /usr/src/redhat/drivers/net/wireless/ipw2200/ipw2200.o
/bin/sh: gcc: command not found
make[2]: *** [/usr/src/redhat/drivers/net/wireless/ipw2200/ipw2200.o] Error 127
make[1]: *** [_module_/usr/src/redhat/drivers/net/wireless/ipw2200] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [modules] Error 2
[root@localhost ipw2200]#

i don't know how to fix it. does anybody have similar problem?

thnx,
jarek

jim
2005-04-01, 09:44 PM CST
remove all those downloads all of them
For a x86 system not a x86_64 system
in your home dir create a folder named ipw2200wireless

Step 1 go here http://www.atrpms.net/dist/fc3/ipw2200/
Grab the ipw2200 rpm
ipw2200-1.0.0-23.rhfc3.at.i386.rpm
on the same page grab the ipw2200 kmdl same version as above and for the kernel you have (did you update your system yet?)
ipw2200-kmdl-2.6.10-1.770_FC3-1.0.0-23.rhfc3.at.i686.rpm
then go here to get the firmware
http://www.atrpms.net/dist/common/ipw2200-firmware/
ipw2200-firmware-2.2-5.at.noarch.rpm

save them to the folder name ipw2200wireless as mentioned above

open a terminal window
su to root
cd ipw2200wireless
then
rpm -Uvh *.rpm

This will install all of the rpms you just got! :p
Next tyope exit tthis will get you back to your account
as root (use this command instead of su, USE su - (with a dash) type the following
chkconfig NetworkManager on
type exit again so your back into your user
enter the following
NetworkManagerInfo
you should see a sweeping radar in the system tray
it will prompt you for a WEP key if needed if it detects your home network if not click the sweeping radar choose new network
enter your networks name
if you use WEP encryption enter the WEP key as well (asci key)
Just to testyour connection, disable encryption in your router if you have it set up

References:
http://fedoranews.org/contributors/jim_lawrence/wireless/
http://fedoranews.org/contributors/jim_lawrence/network_manager/

yareck
2005-04-01, 10:16 PM CST
well, I didn't updated my system yet. I still have kernel 2.6.9-1.667. How can I update it to 2.6.10-1.770?

When I was trying to install those 3 rpm I received message that something is wrong with dependencies - no dependencis yet in my system???

thnx,
jarek

jim
2005-04-02, 07:20 AM CST
Failed because you don't have the correct kernel installed

as root do the folowing
Copy and paste these intoa terminal window...
Each of the above needs to be installed on a single line and 1 at a time

rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*
rpm --import http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms


Next
Update the system
as root
yum update
there will be quite a few updates so be patient

yareck
2005-04-02, 11:00 AM CST
hello again,

but what can i do if i still don't have internet conection? how can i update it?

thanx,
yareck

jim
2005-04-02, 11:24 AM CST
don't you have a wired connection as well? iis you pc a notebook?

if so plug in the ethernet cable
then in the terminal su - to root
service network restart

yareck
2005-04-02, 12:58 PM CST
i have a laptop, i used wire network adapter Marvell Yukon 88e8036, i restarted network services, everything was ok but i wasn't able to connect. i tried to find network adapters in my system but i don't think fedore recognized any of them... network cards window is empty

jarek

jim
2005-04-02, 01:02 PM CST
http://www.marvell.com/drivers/search.do

yareck
2005-04-02, 01:04 PM CST
they don't have it but even if i find driver somewhere i will probably get errors trying to install it :(

j

VlacDebil
2005-04-02, 04:05 PM CST
Hi, your problem is that you don't have gcc installed....
You can use pre-compiled drivers (Rpms) but anyway, to compile the driver, you
will need compilers. You may use the package manager to install gcc and so on (and the installation cds).

In my case the 'rpm' approach did not work.

Let me know if you have more problems....

Mathias

yareck
2005-04-02, 09:01 PM CST
VlacDebil,

can you possibly guide me step by step how to do it? probably when I update my system, I won't have problems with installing my wireless,

thanks,
yareck

jim
2005-04-02, 09:18 PM CST
using the rpms has worked for many people
Did you get the system updated? that is the reason why it won't install the rpms
plus once you update I believe you will still have to rebuild the source

yareck
2005-04-02, 09:22 PM CST
no i didn't update system because i cannot do it using net i don't have and i have no idea when to start without network. can i download updates and then goto fedora and update system this way?

thnks,
yareck

jim
2005-04-02, 09:25 PM CST
yes you can download the updates save them to a cd and do a update from a CD

jim
2005-04-02, 09:27 PM CST
download the latest kernel from the update server install that then boot into it
thjen try the rpms

here is a direct link to the kerne
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/kernel-2.6.10-1.770_FC3.i686.rpm

yareck
2005-04-02, 09:28 PM CST
:) from where, what and how to install it. unfortunatelly i am total newbe and don't know where to start...

jim
2005-04-02, 09:35 PM CST
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/kernel-2.6.10-1.770_FC3.i686.rpm

yareck
2005-04-03, 05:49 PM CDT
at this point I updated system and now working on wireless, i will sure ask more questions when i will find difficulties...

thnx
yareck

yareck
2005-04-03, 09:34 PM CDT
i updated system to kernel-2.6.10-1.770 and now when i go to network properties i can see my bg2200 card but it still says inactive. i edited file /etc/sysconfig/network-scripts/ifcfg-eth0 to:

# Intel Corp. PRO/Wireless 2200BG
DEVICE=eth0
TYPE=Wireless
ONBOOT=yes
#IPV6INIT=no
MODE=Managed
ESSID=xxx
KEY=xxx
BOOTPROTO=dhcp

and also /boot/grub/grub.conf file to:

line beginning with 'kernel' going on with the name of your new kernel and finishing with 'rhgb quiet' the following:

... rhgb quiet acpi=off

and this time when system is booting up i can see that my bg2200 card status is [OK] - before was [FAILED]

I unpacked firmware ipw2200-0.19 to /lib/firmware folder
I also rpm -vih ipw2200-firmware-2.2-2.1.fc3.fr.src.rpm and at this point everything was fine.
then I started to work on bg2200 driver. i unpacked it and try to execute MAKE command and this is it: I received errors again: same from my first post: error 2 and 127

[root@localhost ipw2200]# make
/bin/sh: cc: command not found
make -C /lib/modules/2.6.9-1.667/build SUBDIRS=/usr/src/redhat/drivers/net/wireless/ipw2200 MODVERDIR=/usr/src/redhat/drivers/net/wireless/ipw2200 modules
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 11: gcc: command not found
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /usr/src/redhat/drivers/net/wireless/ipw2200/ipw2200.o
/bin/sh: gcc: command not found
make[2]: *** [/usr/src/redhat/drivers/net/wireless/ipw2200/ipw2200.o] Error 127
make[1]: *** [_module_/usr/src/redhat/drivers/net/wireless/ipw2200] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [modules] Error 2

any ideas how to build drivers without these errors???

thnx,
yareck

jim
2005-04-03, 09:38 PM CDT
did you install the 3 rpms? you now have the .770 kernel so now follow whaztI wrote earlier
they should all install with out a hitch

after they are installed
http://www.fedoraforum.org/forum/showpost.php?p=234916&postcount=2

BTW I have seen more problems arise with users messing around with the network-scripts

try to use NetworkManager make life easy on yourself

yareck
2005-04-03, 10:09 PM CDT
i did exactly as you wrote and i didn't get any sweeping radar in the system tray, nothing happen, still doesn't work, no clue.... :(

jim
2005-04-03, 10:11 PM CDT
you using gnome or KDE ?

Assuming you installed the rpms
open the terminal
switch to root with su -
iwlist scan[[CODE]
do you see your Router?
[CODE] ifconfig
are you unassociated? assuming yes
does your router issuse IP address with DHCP ?
how mant Ip addresss are handed out from your router?
1? 2? 3?
change it to 3 ip address
are you using encryption in your router?
if so, turn it off for now
So with the above changes to the router
try this command

iwconfig eth1 essid YourNetworkName
So if your network was named qwert
then the command would look like this

iwconfig eth1 essid qwert

then try
ifconfig
are you Now associated?

yareck
2005-04-03, 10:19 PM CDT
i use KDE...

jim
2005-04-03, 10:21 PM CDT
WEll that is why you don't see the sweeping radar
try gnome then issue the command

yareck
2005-04-03, 11:14 PM CDT
i switched to gnome, did everything exactly as you described, i didn't get radar icon in systray, despite i have information that wireless card is present is system, status is inactive, in addition i cannot see my router...

yareck

jim
2005-04-03, 11:37 PM CDT
did you try the iwlist scan ? ifconfig?
type those commands and reply with the results


type this and post the results

as root ( su -)
lspci

One more thought

in the terminal
type as root (su -)
system-config-network

if you don't see your wireless device create a new one
under the Hardware device tab check the bind to MAC address and make sure the abobe box shows your device

yareck
2005-04-04, 12:02 AM CDT
system-config-network - i can see my wirelss card there but status is inactive

and rest of results:

[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1983 errors:0 dropped:0 overruns:0 frame:0
TX packets:1983 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

RX bytes:2277686 (2.1 MiB) TX bytes:2277686 (2.1 MiB)

[root@localhost ~]# iwlist scan
lo Interface doesn't support scanning.
sit0 Interface doesn't support scanning.

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corp. Mobile Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 04)
01:00.0 Ethernet controller: Marvell Technology Group Ltd.: Unknown device 4351 (rev 10)
05:04.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
05:06.0 CardBus bridge: Texas Instruments: Unknown device 8031
05:06.2 FireWire (IEEE 1394): Texas Instruments: Unknown device 8032
05:06.3 Unknown mass storage controller: Texas Instruments: Unknown device 8033
05:06.4 Class 0805: Texas Instruments: Unknown device 8034

jim
2005-04-04, 12:17 AM CDT
do you have a key combo to turn the wireless device on and off ?
like Fcn + F1 or something like that ? It appears that your wireless device isn't active from the ifconfig command

jim
2005-04-04, 07:52 AM CDT
in your system type this line and let me know what it says
all on 1 line

grep CONFIG_NET_RADIO /lib/modules/2.6.10-1.770_FC3/build/include/linux/autoconf.h

the result should be
#define CONFIG_NET_RADIO 1
If it isn't the above
then su to root
gedit /lib/modules/2.6.10-1.770_FC3/build/include/linux/autoconf.h
locate the section
/*
* Wireless LAN (non-hamradio)
*/
#define CONFIG_NET_RADIO 1

and make sure the above matches your entry

save and exit then try to iwlist scan

VlacDebil
2005-04-04, 09:15 AM CDT
Hi yareck,

As I said, in my case there was a pb with the rpms.

Also, in the updated kernel there are some bad drivers (I mean, they do not work).
What you need to do is first login as root.

Then you need to remove all drivers provided by the kernel update. Note that they are in 'strange' locations,
and when you install new ones, they are not overwritten, which means that even if you install 'new' drivers,
the old one will be those used by the system. Follows these instructions:


1) Remove drivers


4.1)--Remove old drivers--------------------

In a terminal window, you need to find all versions of
> ieee80211_crypt_ccmp.ko ieee80211_crypt_tkip.ko ieee80211.ko
> ieee80211_crypt.ko ieee80211_crypt_wep.ko ipw2200.ko

What I do, but there are better ways:
>updatedb
>locate ieee80211*.ko ipw2200*.ko
and remove whatever it gives


2) Install drivers

And then reinstall the drivers. Maybe the rpm will work (use the '--force option' if it tells you that the rpm are already installed) , but in my case the 'make' command did work very well.
In your case, the make problem does not work since 'gcc' is not installed

/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 11: gcc: command not found
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 12: gcc: command not found



You therefore need to install 'gcc' (even if the rpm work, you will need gcc sooner or later)

In the system menu, you have a tool to manage installed packages (I don't know wether when installing FC3 you choose
to manually configure the installed package or not, but if yes, you should be able to find the same configuration page where you can select bunch of packages) Find the one that includes gcc etc... (development tools ?? )
and install them from the CD.

Then, you should be able to 'make' your drivers.


3) load drivers

After that,

you may want to reboot or load the driver.
To know which modules are loaded the command is
#lsmod
to load a module (here ipw2200)
#modprobe ipw2200
to unload a module
#modprobe -r ipw2200


4) configure connection

To configure the connections options, you have two ways.

The first one is to edit 'ifcfg-eth0' ,
But first you can also use 'iwconfig' and 'iwlist'

#iwlist scan
gives you the a.p. in your surrounding (at this point, if you get nothing, either the wirelesss switch is off,
or the driver is still not well installed)

And
#iwconfig eth0 essid _your_essid
#iwconfig eth0 key open _your_key
(see 'man iwconfig' for more options) will allow you to configure your
connection.

5) start networking


then 'ifup eth0' and 'ifdown eth0' are the two commands that
start or stop networking through interface eth0. A ifup should
gives you a valid IP adress.

A last note : the command 'ifconfig' shows you the interface that are currently used.

Let me know, if that helps.

Mathias

jim
2005-04-04, 09:24 AM CDT
I don't think it is a driver problem now If you look at the iwlist scan output, Notice that his device didn't scan >?
rfswitch maybe isn't enabled the lspci shows the device is recognized as well

VlacDebil
2005-04-04, 09:47 AM CDT
Actually I have the same laptop than his.

At one point one of my problems was the same:

After the kernel update, the system was regonizing the card, but could not use it. That was due to the drivers
provided by the kernel update, which allowed kunzu to detect the card, but then there was still
a problem to use it.

The problem is that these drivers are in .../kernel/drivers/net/.. (something like this)
while when you install the new ones they goes to '../kernel/drivers/net/wireless ' and it appeared that
even if you install new drivers, the old ones are the one loaded...

That is why I suggest to remove all the drivers and reinstall them. In my case, it was the trick that made everything work, after the kernel update.

I am not sure, but I think drivers are the part of the system that allow to recognize and use a device, and it looks
like the first task is done (Recognizing) while the second is not (using)

Yareck, could you give us what 'dmesg | grep ipw' gives ?

yareck
2005-04-04, 07:57 PM CDT
And the problem is solved!

I didn't have gcc. I tried this one first because I was pretty familiar with VlacDebil post http://www.fedoraforum.org/forum/showthread.php?p=223328 about Toshiba laptop.

I installed gcc, went back to drivers folder, execute
> make
> make install,
i've already prepared firmware and firmware rpm. rebooted pc and voila, bg2200 works!!!

I also used

> chkconfig NetworkManager on
> NetworkManagerInfo

and I saw radar icon
Now I can move on and with internet take care of another things without constan rebooting.

Thank you both of you, guys! I'll probably will use your help many times!

yareck

jim
2005-04-04, 08:16 PM CDT
if you couldn't get the rpms to work i would raise a bug against them to bugzilla (sourceforge)

pandasonic
2005-06-17, 02:01 AM CDT
Hi.. I'm so glad I found this thread.

I recently installed FC4 and i'm having a problem installing a few drivers...

yareck, would you please describe in a bit more detail (i'm a slow newbie) how to get the wireless card working.. i have the same laptop... and also did you get the Marvell Yukon working ?..... and one more off-topic question, did you install the graphic drivers?

thanks in advance