LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-14-2005, 02:13 AM   #1
zillah
Member
 
Registered: Oct 2004
Posts: 535

Rep: Reputation: 30
Red Hat 9 and Wireless 3Com OfficeConnect USB


I have got Red Hat release 9 Shrike on intel platform PIII,,with kernel 2.4.20-8

at work,, I tried to install Wireless USB 3Com OffiecConnect,,,
http://www.3com.com/products/en_US/d...ku=3CRUSB10075

1- I downloaded the ndiswrapper V1.7.


2- I downloaded the driver for Wireless 3Com from this site :
http://www.3com.com/products/en_US/r...ku=3CRUSB10075


3- I tried to :

use the command

ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build

http://ndiswrapper.sourceforge.net/m...p/Installation



This what I have in my current /usr/src:

debug redhat

I do not have what the link suggests (linux-<kernel-version>)!!!

Do I need to download the source kernel ? If so form where ?

If not what should I do ?



Note: I can not upgrade the current kernel.

Last edited by zillah; 12-14-2005 at 02:17 AM.
 
Old 12-14-2005, 07:37 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
To be honest, you're going to have a tough time getting wireless to work on that setup. RH 9 is very obsolete, and that kernel is old enough to not support wireless very well. You do need to find the kernel source code somewhere on the net. You might be able to find it at one of the RPM repositories, but since Red Hat discontinued support for Shrike years ago, it might be difficult to find. If you can't find the RPM, then I would download the kernel source from kernel.org and we'll have to figure out how to get the config right.
 
Old 12-14-2005, 10:03 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
maybe its better to upgrqade to a newer distribution instead of fiddling around trying to get new hardware to work on an old OS.
 
Old 12-19-2005, 07:36 AM   #4
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
I have upgrated to FC4 (Fresh installation)

I have got this wireless card Cheetah Wireless AC-EW3201
See the figure of this wireless:
http://www.clubsecurity.com/wireles_catalogue.htm


I installed every thing ok (I think),,,I restarted PC more than one times,,,I can see IP address have been assgined to wireless crad (eth1),,,but I can not access the web browser!!!!



[root@localhost ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:40 : C5 : FF : 3F : DC
inet addr:10.70.73.215 Bcast:10.70.73.255 Mask:255.255.254.0----This has been assigned to wireless card
inet6 addr: fe80::210:b5ff:fedf:3fdc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:733 (733.0 b) TX bytes:2741 (2.6 KiB)
Interrupt:5 Base address:0x2400








[root@localhost ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"officework" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0B:85:1D:20:B0
Bit Rate:11 Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr : off Fragment thr : off
Encryption key : off
Power Management : off
Link Quality=61/92 Signal level=-41 dBm Noise level=-149 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.





1- Why cann't I access the internet ?

2- Can the wireless card named as eth1 (on my laptop was wlan0) ?

3- I could not use : iwlist eth1 scan

4- How can I verify that what I had done is correct if I want to toubleshoot ?

Last edited by zillah; 12-19-2005 at 07:42 AM.
 
Old 12-19-2005, 08:41 AM   #5
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
sit0 no wireless extensions.
What does "sit0" mean ?


When I was searching this site:

http://www.linux-wlan.org/docs/wlan_adapters.html.gz

I could not find the right driver for Accton wireless card,,,But on the box of the card,it is written that it is compatible with Linux.

Last edited by zillah; 12-19-2005 at 08:46 AM.
 
Old 12-19-2005, 12:43 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Quote:
What does "sit0" mean ?
sit0 is your IPv6 interface and is completely meaningless unless you are on a network that actually uses IPv6 instead of IPv4. You can probably safely ignore this device.

Quote:
2- Can the wireless card named as eth1 (on my laptop was wlan0) ?
Yes, the wireless card can be named eth1 and this usually suggests that it is using a native linux driver. For the most part, wlan0 is a creation of ndiswrapper. On my laptop, my wireless card is called wlan0 when I use ndiswrapper and eth1 if I try to use the native linux broadcom driver. The important part is that your machine sees a card with wireless capability, and your iwconfig output shows that it does.
Quote:
3- I could not use : iwlist eth1 scan
OK, what does happen when you do this? Do you get any output at all?

Quote:
1- Why cann't I access the internet ?
This could be a whole bunch of reasons. Is your card configured with the correct ssid and key? You're iwconfig output doesn't show an encryption key (WEP) in use. Does your network use WEP or WPA? It is also possible that you're network isn't configured correctly. Have a look at the output of route and make sure that the gateway is your router.


Quote:
4- How can I verify that what I had done is correct if I want to toubleshoot ?
You're probably going to want to look in your log files (/var/log/messages and /var/log/syslog) and see if the card is complaining about anything.
 
Old 12-19-2005, 12:57 PM   #7
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
wlan0 when I use ndiswrapper and eth1 if I try to use the native linux broadcom driver
Then why do you need to use ndiswrapper if you use native linux braodcom driver ?

DO you mean by native that comes (built-in) with Linux OS by default ?

Does it mean I could have used eth1 (linux native driver) without installing ndiswrapper ?


Quote:
OK, what does happen when you do this? Do you get any output at all?
I will let you know, because right now I am not at office.


Quote:
Do you get any output at all?
I will let you know, because right now I am not at office.

Quote:
Is your card configured with the correct ssid and key
Yes I am pretty sure, we do not have key at work.


Quote:
You're iwconfig output doesn't show an encryption key (WEP) in use.
We do not have.

Quote:
Does your network use WEP or WPA?
No.


Quote:
It is also possible that you're network isn't configured correctly. Have a look at the output of route and make sure that the gateway is your router.
I will try it when I go to work,and let you know
 
Old 12-19-2005, 01:28 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Quote:
Then why do you need to use ndiswrapper if you use native linux braodcom driver ?

DO you mean by native that comes (built-in) with Linux OS by default ?

Does it mean I could have used eth1 (linux native driver) without installing ndiswrapper ?
By native driver, I mean one that was designed to work with Linux. That pretty much covers eveything except ndiswrapper and linuxant. I'm still using ndiswrapper because the native linux Broadcom driver is still under extensive development and I haven't gotten it to work completely.

From what you have posted, I'm guessing that you don't need ndiswrapper. Do you know what chipset this card uses?
 
Old 12-19-2005, 08:18 PM   #9
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
From what you have posted, I'm guessing that you don't need ndiswrapper.
Can I use both drivers (native and ndiswrapper)? obvious not at the same time



Quote:
Do you know what chipset this card uses?
How can I know what chipset ?

By the way I forgot to ask you ,,does a windows driver necessary to be under this name bcmwl5 ? because the one I have installed is different name.

Last edited by zillah; 12-19-2005 at 08:26 PM.
 
Old 12-19-2005, 08:31 PM   #10
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
By native driver, I mean one that was designed to work with Linux.
That mean it do not necessary to built-in linux OS,,,we can download it form internet,,,,does it ?
 
Old 12-19-2005, 10:10 PM   #11
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
My observation is:

When I issued iwconfig the MAC address for Access point is: 00:0B:85:1D:20:B0,,,,,,,When I checked the MAC address of the same access point form windows PC (different PC) it is : 00: 0B: 85: 2D: OD : 80,,,,,why like this ?

While I was searching net I found this:
http://www.linuxant.com/pipermail/dr...q1/002016.html

I tried to modify the MAC address for Access point to be similar to windows OS,,,I used this:

#iwconfig eth1 ap 00: 0B: 85: 2D: OD : 80,,,,the output was:
Error for wireless request "Set AP Address" (8B14) : SET failed on device eth1 ; Operation not supported



Quote:
OK, what does happen when you do this? Do you get any output at all?
#iwlist eth1 scan
eth1-------------Interface doesn't support scanning : Operation not supported.

Last edited by zillah; 12-19-2005 at 11:18 PM.
 
Old 12-19-2005, 10:21 PM   #12
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
When I go System Tools->Internet Configuration Wizard->Screen pops up "Add new Device Type"->Device Type: Wireless connection->Forward->I have these options:

1- Standard Microsystems Corp (SMS) SMC2602 EZConnect / Addtron AWA
2- ndiswrapper
3- Other Wireless Card

If I choose the first option---the interfcae will end up with eth1:1(Why does it come as subinterface?),,,If I try to activate it, it does not work.

If I choose option 3 I will a list of drivers.

Is the option 1 is the driver for my wireless card by default ?

Last edited by zillah; 12-19-2005 at 11:24 PM.
 
Old 12-20-2005, 07:46 AM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Quote:
Can I use both drivers (native and ndiswrapper)? obvious not at the same time
Yes, you should be able to have both installed on the computer and only use one at a time. Switching back and forth can cause some probelms as not all drivers unload properly but usually a reboot sets things right again.

Quote:
How can I know what chipset ?
From your links, that looks like a PCI card, so run lspci in a console and hopefully it will reveal what chipset is being used.

Quote:
By the way I forgot to ask you ,,does a windows driver necessary to be under this name bcmwl5 ? because the one I have installed is different name.
The bcmwl5 driver is a Broadcom driver and only works with Broadcom chipsets, so if you have a different chipset you need a different Windows driver. You see it references a lot because Broadcom refuses to support Linux so ndiswrapper is the only current viable alternative.

Quote:
That mean it do not necessary to built-in linux OS,,,we can download it form internet,,,,does it ?
Right, not all native linux drivers are build into the kernel. Madwifi and bcm43xx are two examples. One thing to keep in mind is that it looks as if the 2.6.15 kernel will have a LOT more drivers built in, like the Intel 2100 and 2200 drivers.


The errors you're posting are suggesting that either the native driver isn't working properly or that there is some mismatch between kernel verision and wireless tools version. Have a look at the output of iwconfig -v to make sure the kernel and tools are in sync. Also, are you running the iwconfig and iwlist commands as root?

By the way, why are you trying to associate with the access point by MAC address rather than SSID? Usually ssid is MUCH easier to get right.

Quote:
f I choose the first option---the interfcae will end up with eth1:1(Why does it come as subinterface?),,,If I try to activate it, it does not work.
I really don't know why you're ending up with a sub interface. A complete guess would be that you've already got an eth1 when you try to load it again and end up with a sub-interface. That is a complete guess however.
 
Old 12-20-2005, 10:03 AM   #14
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
Also, are you running the iwconfig and iwlist commands as root?
Yes.

Quote:
By the way, why are you trying to associate with the access point by MAC address rather than SSID? Usually ssid is MUCH easier to get right.
First I modified SSID to the right name, after that I found that the MAC address for AP is different form what windows PC found, then I tried to correct it to be similar to what windows found.


Quote:
Have a look at the output of iwconfig -v to make sure the kernel and tools are in sync.
What should the output look like ?


Quote:
1- Standard Microsystems Corp (SMS) SMC2602 EZConnect / Addtron AWA
What does this mean ? When I tried to click "Edit" button it did not allow me to edit it,,,,is this normal ?

Do you think may be there is problem with DNS ip addresses ?though we choose option automatically,,,How can I check the ip addresses for DNS ?


Quote:
so run lspci in a console and hopefully
I had tried this command before, and I had got output of many lines,,,how can I distinguish which is the right one ?

Last edited by zillah; 12-20-2005 at 10:05 AM.
 
Old 12-20-2005, 11:35 AM   #15
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Personally, I've found that mucking with trying to connect to the MAC address only causes trouble. Try just using the SSID and don't worry if the MAC address is slightly different. I see the same thing on my laptop but it has never affected the usability. I'm just guessing its a bug somewhere.

My iwconfig -v output looks like this:
Code:
iwconfig  Wireless-Tools version 28
          Compatible with Wireless Extension v11 to v19.

Kernel    Currently compiled with Wireless Extension v19.

wlan0     Recommend Wireless Extension v18 or later,
          Currently compiled with Wireless Extension v19.
Basically you are looking for version mismatches or incompatibilities
Quote:
What does this mean ? When I tried to click "Edit" button it did not allow me to edit it,,,,is this normal ?
I don't think it is normal and that is yet another reason to research what chipset you've got. It is possible that Fedora has mis-identified the card. Of course you can always bypass the native driver (which I think is what Fedora is trying to use here) and use ndiswrapper.

Quote:
Do you think may be there is problem with DNS ip addresses ?though we choose option automatically,,,How can I check the ip addresses for DNS ?
Well, that is easy to test. If using http://www.linuxquestions.org doesn't work, but http://64.179.4.149 does, then you likely have a DNS problem.


Yeah, lspci does put out a lot, but you are looking for something called a network controller or an ethernet controller. Post the full output if you are having trouble figuring it out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help-a-noob: 3Com OfficeConnect Wireless 11g USB adapter mirandur Fedora 1 09-26-2004 08:15 PM
Does a driver for 3COM OfficeConnect Wireless 11g Adapter exist? linuxtommy Linux - Wireless Networking 2 04-21-2004 01:02 PM
Setup 3com officeconnect 3crshpw796 in mandrake 9.2 m2stian Linux - Wireless Networking 6 03-18-2004 08:37 AM
Setup 3com officeconnect 3crshpw796 in Mandrake 9.2 m2stian Linux - Newbie 0 03-08-2004 10:46 AM
3com OfficeConnect PC Card TekniX Linux - Networking 0 12-29-2003 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration