Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
I've unpacked and installed ndiswrapper successfully, and copied over the drivers from the disk that came with the card. I was unable to find out what to do with the A3AB.sys file that came on the disk, but the NetA3AB.inf file installed properly. I continued following instructions, and had nearly made it to the last section, when I ran into a problem. My card works (ie, I found the network I need to connect to), but after entering the SSID and key, the next command provided in the tutorial doesn't work on my machine.
Here is what my screen reads:
Quote:
Originally Posted by terminal
root@nick: /home/nicholas# iwlist scan
(skipping lo and eth0)
wlan0......Scan completed :
............. Cell 01 - Address: ....
............. ESSID: "secrethouse"
............. (skipping a bit more)
............. Encryption key: on
(and so forth on down...)
root@nick: /home/nicholas# iwconfig wlan0 essid secrethouse
root@nick: /home/nicholas# iwconfig wlan0 key s:-------------
root@nick: /home/nicholas# dhcpcd wlan0
bash: dhcpcd: command not found
root@nick: /home/nicholas#
So... any reason my bash wouldn't have this command?
And is there a way to set up my wireless card without it? Or how can I fix it?
__________________
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein Linux User #425940
Don't PM me with questions, instead post in the forums
Is there a difference between sudo and su?
I've been using su without any problems, and sudo seems more complicated.
Can you explain sudo a bit for me, as compare to su?
Thanks for the advice about dhclient. I'll try it out now and let you know what happens.
Edit: Alright, I gave it a shot (well, several shots), and it doesn't seem to've worked. The "apt-get install dhcpcd" failed to find the dhcpcd package, and the dhclient failed to find...anything. When using "iwlist scan" my wireless router is still shown as the number one cell, so I know that the wireless card I installed is working properly. It's just a matter of connecting.
I started everything over (right down to reinstalling the OS), as I wanted a fresh slate now that I've got a (slightly) better understanding of what to do. Rather than the tutorial by Oxygen, I folled the installation instructions directly on the ndiswrapper wiki, which led me through a mostly similar process but with a few key differences.
In the end, I've got the card under the ath0 title now, rather than wlan0, and everything appears to be correct except for the WPA encryption key. I've no way of knowing whether that's right or not, becuase it's encrypted, and the command isn't very specific when setting it.
This is what I've got set up:
Code:
root@nick: /home/nicholas/downloads/ndiswrapper-1.38# iwlist ath0 scan
ath0 Scan completed :
Cell 01 - Address: 00:17:3F:02:78:22
ESSID:"secrethouse"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:65/100 SIgnal level:-54 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:....
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP Tkip
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP Tkip
Authentication Suites (1) : PSK
root@nick: /home/nicholas/downloads/ndiswrapper-1.38# iwconfig ath0
ath0 IEEE 802.11b ESSID: "secrethouse"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate: 54 Mb/s
Encryption key: ####-####-####-#### Security mode:restricted
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rxinvalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@nick: /home/nicholas/downloads/ndiswrapper-1.38# iwconfig ath0 key ###
Error for wireless request "Set Encode" (8B2A) :
invalid argument "###".
root@nick: /home/nicholas/downloads/ndiswrapper-1.38# dhclient ath0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please vsit http://www.isc.org/sw/dhcp
Listening on LPF/ath0/00:15:e9:3f:80:e7
Sending on LPF/ath0/00:15:e9:3f:80:e7
Sending on Socekt/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
So, being that the first cell received in the "iwlist ath0 scan" is the correct one, and all other information seems to be accurate, there must be something wrong with the encryption. Right?
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe