LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-21-2006, 04:55 AM   #1
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
I am having problems with installing my wireless internet


I have recently downloaded the Fedora Core 4 to use Linux.

After installing the Fedora Core 4, I have found that it can't find my ethernet card.

Skipping that, I decided to connect my wireless internet first, so I went to the madwifi.org and downloaded some devices that are needed to install the wireless internet.

I downloaded some "madwifi-ng-r1" series, and did exactly the following.

1. I went to the terminal, and logged in as root.
2. I installed the madwifi driver, using make and make install.
There were no problems in this.
3. After the install, I did modprobe ath_pci. Nothing showed up, so I guess it worked fine.
4. Then I did iwconfig, then I found that the sit0 and the wifi0 did not appear!!
5. I tried to change some configurations, but whatever I did, the sit0 and the wifi0 did not appear.

Can anyone tell me why this problem occurs? I hope someone can teach me the exact procedures to fix this problem.

The wireless internet I am trying to use is 3com 11 a/b/g Wireless PCI adapter.
 
Old 08-21-2006, 06:38 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
First of all welcome to LQ, hope you like it here. You're new here and obviously you didn't read the LQ Rules. We don't like to see you post duplicate threads about the same topic, please don't do that again. Note I haven't checked the LQ HCL if the device is supported but since you D/Led Madwifi you probably know it is.


2. I installed the madwifi driver, using make and make install.
Can you make sure your current running kernel has the modules installed?
Use something like "find /lib/modules/$(uname -r)/ -iname ath_\*" to check.


3. After the install, I did modprobe ath_pci. Nothing showed up, so I guess it worked fine.
Please check with "lsmod" or "grep ath /proc/modules" to make sure. If loaded it should return four or five ath modules depending on what authentication etc, etc you use. If insmod /path/to/module.ext or modprobe modulename don't return anything you might want to add the "-v" flag for more verbosity and or check your systems logs.


4. Then I did iwconfig, then I found that the sit0 and the wifi0 did not appear!!
Did you check if the device was up or bring it up with ifconfig?
 
Old 08-21-2006, 11:59 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved: This thread is more suitable in Linux - Networking -> Linux - Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-21-2006, 10:43 PM   #4
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
More Questions

Firstly, thank you for your help and advice.

I tried the commands you told me, (the find /lib/modules/$(uname -r)/-iname ath_/*)
and this returned
"iname no such file or directory"
"ath no such file or directory"

Does this mean that the module has not been installed properly?

What I did with installing is...
1. I went to the snapshots.madwifi.org
2. I downloaded the madwifi-ng-current.tar.gz
3. I tried to make this, but it threw an error. So I couldn't make install.
4. I went to the madwifi-ng directory and downloaded the older versions of it. These worked fine in make and make install.

Is there something wrong in what I did?
Or do you predict that something else went wrong?
 
Old 08-22-2006, 07:59 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Firstly, thank you for your help and advice.
Whaaaat? I didn't do nuttin already yet! ;-p


"iname no such file or directory"
You left out the single space between "/" and "-iname". No problem, we'll tackle this below.


2. I downloaded the madwifi-ng-current.tar.gz
3. I tried to make this, but it threw an error.

What error? If it's a configure error then try to run the configure with the arguments you use and add at the end (no quotes, they're just for keeping stuff together): " 2>&1 | tee configure.tee". If it's a make error then try the same but name the output file "make.tee" instead of "configure.tee". Then post the error part.


4. I went to the madwifi-ng directory and downloaded the older versions of it. These worked fine in make and make install.
Maybe it does make sense to try the older version first. OK. If the modules installed correctly (then we assert "make install" ran depmod correctly and) so you can try running modprobe like this: "modprobe -lv ath_pci |grep ath| tee modprobe.tee". Post the contents of modprobe.tee.
 
Old 08-22-2006, 10:47 PM   #6
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I tried the two commands you told me to do, and here are the results.

The error part of the make.tee
Code:
/root/Desktop/madwifi-ng-r1702-20060810/net80211/ieee80211_wireless.c:1740: warning: ISO C90 forbids mixed declarations and code
/root/Desktop/madwifi-ng-r1702-20060810/net80211/ieee80211_wireless.c:1766: warning: ISO C90 forbids mixed declarations and code
make[3]: *** [/root/Desktop/madwifi-ng-r1702-20060810/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/root/Desktop/madwifi-ng-r1702-20060810/net80211] Error 2
make[1]: *** [_module_/root/Desktop/madwifi-ng-r1702-20060810] Error 2
make[1]: Leaving Directory '/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error2
This is the contents of the modprobe.tee
Code:
/lib/modules/2.6.11-1.1369_FC4/net/ath_pci.ko
 
Old 08-23-2006, 07:28 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
warning: ISO C90 forbids mixed declarations and code
Looks like somebody at Madwifi made a booboo declaring stuff in the middle of code.
If this is madwifi-current try picking up a -stable release and if it's madwifi-stable try swapping it for -current ;-p
 
Old 08-24-2006, 09:26 PM   #8
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I downloaded the stable version and tried installing that.
'make' worked fine, and 'make install' worked fine as well, without throwing any errors.
But just like the older versions, 'modprobe ath_pci' did not work.
 
Old 08-25-2006, 07:08 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
But just like the older versions, 'modprobe ath_pci' did not work.
Strange. Let's go for something completely different (any thoughts of Larches should be considered involuntarily but proper reflexes), if the wireless card is a PCMCIA, what's the output of "cardctl ident"?, elif it's PCI, what's the output of "lspci|grep -i eth"?
 
Old 08-27-2006, 09:02 PM   #10
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
The wireless card I am trying to install is a PCI card, so I tried the command "lspci|grep -i eth"
This gave me no output at all.
( I tried ath instead of eth and that didn't do much better)
 
Old 08-28-2006, 12:37 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The wireless card I am trying to install is a PCI card, so I tried the command "lspci|grep -i eth"
This gave me no output at all.

"lspci|grep -i eth" should get you all devices with string "ethernet controller", so that means it's not recognised. Check your syslog messages for info bootup wrt hardware?


( I tried ath instead of eth and that didn't do much better)
That only works if your card matches ath, and that would mean having an Atheros chipset.
 
Old 08-28-2006, 09:47 PM   #12
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
My professor concluded that the chipsets in the motherboard isn't fit for linux, so we decided to just change the motherboard.

The current motherboard must have compatibility problems with Linux. I tried installing wireless card on my home computer, and it worked fine. I think this motherboard is the problem....

Thank you for the help so far, and I will try to set the card up with the new motherboard. I hope that you can help me if I have further problems with the new motherboard.
 
Old 08-29-2006, 02:24 AM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
My professor concluded that the chipsets in the motherboard isn't fit for linux, so we decided to just change the motherboard.
Most people have to contend with man pages, some HTML and maybe a spurious F1 or a Clippy lookalike...
And you got a professor for that? Sheesh. Rich kids ;-p


I hope that you can help me if I have further problems with the new motherboard.
I'm confident LQ can indeed.
 
Old 08-29-2006, 09:49 PM   #14
kwlim27
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I am working at a laboratory and the professor who is in charge of the lab couldn't wait anymore...;;
He needed me quickly for testbedding, and there were some jobs to be done before the start of new semester.
I don't know what's happening, I'm just following what he tells me to do;;;

It's sort of funny there are 11 people in my lab and none of them can help me with this..-.-;
 
  


Reply



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
Wireless Internet Problems timrs Linux - Software 0 07-30-2006 08:49 PM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
SuSE 9.3 Wireless Internet Problems lengland SUSE / openSUSE 3 08-28-2005 10:49 AM
Installing a USB wireless internet card in Redhat Dr_Travis Linux - Hardware 1 02-04-2004 09:16 PM
Having problems configuring wireless internet ksoma Linux - Wireless Networking 2 10-05-2003 08:42 AM

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

All times are GMT -5. The time now is 09:15 PM.

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