LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 07-05-2005, 04:28 PM   #16
woodland56
Member
 
Registered: Feb 2005
Location: washington, USA
Distribution: debian sarge kernel 2.4
Posts: 59

Original Poster
Rep: Reputation: 15

hi

what is 'essid' and what is 'key' where can i find it
 
Old 07-05-2005, 04:33 PM   #17
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
essid is the SSID of the network you want to connect to, and the key is the WEP key for encryption. Look at the ndiswrapper docs for information on WPA.
 
Old 07-05-2005, 04:43 PM   #18
woodland56
Member
 
Registered: Feb 2005
Location: washington, USA
Distribution: debian sarge kernel 2.4
Posts: 59

Original Poster
Rep: Reputation: 15
hi

i will be connecting to wireless connection which my laptop catches on windows. it's somebody else's connection. so how do i find essid in that case. and where do i find WEP key for enryption if i will be using somebody's else's wireless connection which my win xp happnes to detect
 
Old 07-05-2005, 05:11 PM   #19
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
First off, I hope you are aware it's against the law to use someone else's connection without their permission.

Windows XP would show "Connect to <NAME>", where <NAME> is the SSID in question.
 
Old 07-05-2005, 06:44 PM   #20
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
Im running fc4 on my compaq and from what I understand FC is not shipped with its kernel source anymore. If they are not shipped does anyone know where I can find them or do you think there is a "yum" command to intall them?
 
Old 07-05-2005, 07:05 PM   #21
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
I believe FC4 has a "kernel-sources" package. I don't know the exact command from yum, but I hope that helps.
 
Old 07-05-2005, 08:38 PM   #22
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
They changed the name of the package to kernel-sourcecode but I tried using yum for that and it couldn't help me. I did some googling and everything that I saw related to that was pretty manual. I could find an rpm anywhere. I am trying to get to rpmfind.net to see if one is there. I definitely don't want to have to install this manual if they are speaking of recompiling the kernel.
 
Old 07-06-2005, 07:40 PM   #23
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
Sites dedicated to Compaq Presario 3000 and Linux
These might interest you then:
http://lists.pcxperience.com/cgi-bin...nfo/linuxr3000
http://prinsig.se/weekee/


To install the kernel source run the command:

yum install kernel-devel
=======================================I
To install ndisrapper, this way I have found is easier since you can’t do it just by running yum install ndiswrapper
Download the rpm from Livna and install as root
Livna has an RPM package for it. Just get the appropriate Livna
release RPM at (choose your arch):
http://rpm.livna.org/fedora/4/i386/R...2.4.noarch.rpm
http://rpm.livna.org/fedora/4/x86_64...2.4.noarch.rpm

then isntall

yum install ndiswrapper
==========================================
Dowload the windows drivers for the wifi card:

Downladed the drivers from compaqs website (http://www.compaq.com)
============================================
Download cabextract rpm from http://dries.ulyssis.org/rpm/fc4-x86_64-dries-rpms.html
and then installed the rpm as root. You can’t run the unzip command on the .exe file so this is the only way.
=========================================
Extracted the .exe file with command cabextract file.exe
=========================================
cd’ into the file that I extracted and run the command:
"ndiswrapper -i file.inf"

Got the following response:
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
[root@Whistler broadcomwifidriver]# ndiswrapper -l
===============================================
Ran the command to check:
"ndiswrapper -l"

Got the following response:
Installed ndis drivers:
bcmwl5 driver present, hardware present
===============================================
So now I am ready to load the drivers. I try running the command
"modprobe ndiswrapper"

But it doesn’t seem to be able to load. I get a fatal error:
[root@Whistler broadcomwifidriver]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
===========================================
So there for, I am not able to proceed with the rest of the instructions which is what follows:
"iwconfig wlan0 essid ***" (****=essid)
"iwconfig wlan0 key ****" (****=key)
"dhcpcd wlan0"

Can anyone help me get past this fatal error?

Thanks
 
Old 07-06-2005, 09:37 PM   #24
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
So to get past my fatal error I had to run the command "yum install kernel-module-ndiswrapper-2.6.12-1.1387_FC4" and that seems to have worked. Once I ran that I ran every command after that except for the last one. I now get an error:
[root@Whistler scripts]# dhcpcd wlan0
-bash: dhcpcd: command not found

Is it possible I typed the command wrong? what is the correct one?

When I type dmesg I get the following report:

ndiswrapper: using irq 10
wlan0: ndiswrapper ethernet device 00:00:00:00:00:00 using driver bcmwl5, configuration file 14E4:4320:103C:12F4.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP

As I saw that I'm wondering also, how do I know I set my key correctly for hexidecimal 128 Bit encryption?

Last edited by lmcilwain; 07-06-2005 at 10:12 PM.
 
Old 07-06-2005, 10:21 PM   #25
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
It's amazing how as I finish typing my question I find the answer a little after. I hope it continues that way, this is a first lol. So to end this at least for compaq and FC4 instead of using dhcpd wlan0 i used "dhclient wlan0" and things are fine. I was able to register with my network at home and I was able to get an IP address. In order for me to find out if I have associated my wireless card with me access point for the 128bit key the I enter I just had to run the command iwconfig and if I saw my essid then I know that all was working alright. I guess my only other questions are:

1. Because I am using ndiswrapper does this mean that I have to do this through the command line each time I want to authenticate to a network.

Note: I ask this because when I look at the network cards through the gui this card doesn't show up, just my internal network card that was discovered natively.

2. If I do use authenticate to another essid with another encryption key, will the one that I entered for my network be wiped out? or will it be retained?
 
Old 07-06-2005, 10:53 PM   #26
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
Well it looks like I can use kwifi to edit other networks (so it seems) I won't know that till I have another network to join. If anyone knows for sure the answers to my questions, I would still like to have them answered. One other thing I can't seem to figure out is:

Once I am on my wireless card, I am not able to resolve names in my host file anymore. I have about 3 or 4 entries in my host file for other machines in my network that I don't want to have to keep typing an IP for, and now that I switch to my wireless that is now working, I am not able to resolve those name anymore. Is there another alternative I can use for that to?
 
Old 07-06-2005, 11:21 PM   #27
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
Well it seems like once I reboot all of my setting s are lost even if I use kwifi to configure them. I did try creating a new device in my network devices configuration but it doesn't seem to see my new card wlan0. Is there away I can get this to appear so that I don't have to keep running the last 3 or 4 commands in a script to get to my network, and also I can resolve my host names (in theory should work)
 
Old 07-07-2005, 09:47 PM   #28
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora 14
Posts: 364

Rep: Reputation: 30
OK, I finally got an answer for my issue. So once I am done with all of my above steps I needed to run "ndiswrapper -m". What this does is set an alias in the modprobe.conf so that way its always loaded on boot up. If you run it you should see the following:

[root@Whistler ~]# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf
[root@Whistler ~]#

After that go to "Desktop->System Settings->Network" and then add a new wireless device. It should show up.

Last edited by lmcilwain; 07-07-2005 at 09:49 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
802.11b clients in 802.11g wlan avirup dasgupta Linux - Wireless Networking 0 09-19-2005 12:55 AM
Broadcom 802.11b/g setup under 64 bit SUSE 9.2 with ndiswrapper tavisor Linux - Wireless Networking 6 04-19-2005 11:29 PM
need broadcom 802.11b/g WLAN drivers for compaq presario 2200 series mattmattmatt15 Linux - Newbie 2 04-19-2005 08:44 PM
How to get Broadcom 802.11b card working? jon_k Linux - Hardware 2 10-27-2004 04:42 PM
IEEE Wlan 802.11b rip_darkman Linux - Hardware 1 07-27-2004 11:04 AM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration