Wireless First newbie's Try with WPA2
Hi,
I've never used wireless at all, thats why I have no idea how to fix it. ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=20 network={ ssid="APname" scan_ssid=1 key_mgmt=WPA-EAP password="APpass" } I used ndiswrapper to install driver because my wifi card is Zonet or so I cant even past here my whole config files and iwlist without internet because no-one knows why I cant use floppy and i cant write on RW disk Can somebody tell me what is important to just somehow start this connection when my card's MAC is added in router's conf and there is WPA2 encryption My system is debian I've of course installed wpasupplicant |
Is this a personal setup at home using a plain store bought wireless router?
Brian |
its personal AccessPoint - router Linksys
i cleaned up a little bit mess in my config files thats how it looks like now: interfaces Code:
iface wlan0 lo loopback Code:
section network: thas why there isn't a whole file just important part EDIT: and im still curios why the power of that connection is sa weak when i connected once it was about 15% and now when I it in NetworkManager (but i still cant connect) that blue stripe is really short its strange because AP is in room next to mine (about 10 meters) and its not AP's fault because my cousin on his laptop w/ winXP has really good connection even when she is downstairs (AP is upstair) ;p it's pretty annoying I cant start using that computer without net ;/ I'll appreciate any help EDIT: i dont know why but know even in networkManager its gone but its still shows up after iwlist scan |
The very first thing I would do is disable any security on the router. No WEP, WPA, WPA2, mac or IP filtering. Then enable dhcp if not enabled. Now make a plain connection to the router and see if it works. If it does then ndiswrapper is configured and working fine. Now you can start enabling WPA from here.
I don't use NetworkManager so I can show you as manually setup would go. First generate the passphrase like so. If essis is capital be sure to use capital letters there. Must be exact case for characters. /usr/sbin/wpa_passphrase YOUR_AP_SSID “YOUR_WPA_PSK_PASSPHRASE” Place generated output in wpa_supplicant.conf. Example of what would be in wpa_supplicant.conf Code:
ctrl_interface=/var/run/wpa_supplicant Next I would disable NetworkManager. /sbin/service NetworkManager stop Now bring wlan0 up. I would make sure if you have a wired nic to disable since only one can be up if both use a defined or get their own gateway. /sbin/ifdown eth0 /sbin/ifdown wlan0 /sbin/ifup wlan0 Now start wpa_supplicant. Code:
/usr/sbin/wpa_supplicant -dddd -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf & Does it ping? If so then you may need to do the following if you wish to forget about NetworkManager and also disable eth0 if present. Edit /etc/sysconfig/network-scripts/ifcfg-eth0. In this file change ONBOOT=yes to ONBOOT=no Then to disable NetworkManager on reboot. /sbin/chkconfig --level 345 NetworkManager off Then edit /etc/sysconfig/network-scripts/ifup-wireless and add the this to the end of it. Code:
/usr/sbin/wpa_supplicant -dddd -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf & |
I disabled any security on router, then I tried connect but -
after "iwconfig wlan0 essid "APname" i tried iwconfig to see if is ok but there wasn't my AP I says im not associated so i tried once again install driver (actually i tried two different drivers) but any of them did work im still "not associated" Its my 3rd or 4th day working on fix that wireless and i cant see any results first time im so frustrated that i really want give up and install winXP |
Fixed
Brian1 - thanks for your assistance. Your WPA2 guidance got me on perfectly.
|
I don't really know why but I had to change wireless card
when I was was trying to locate problem and I turned off all security like wpa2 and mac It still hadn't work It was brand new car but I return it (send back to store) and bought new one TP-Link which is great compatible with madwifi so configuration took me just awhile |
Brian1 - another thanks here!
I did a lot of searching the web to try and move away from NetworkManager on a laptop in always in the livingroom, to a setup where the wireless network would automatically come up at boot time, and connect via WPA2 to the home-router. After trying to follow several other methods (pages) over the last few days, your guide here is exactly what I needed for Fedora 13. |
All times are GMT -5. The time now is 02:28 AM. |