I decided to upgrade my wireless router. I ordered D-LINK DIR-655 from Amazon.com (80 bucks - I'm an Amazon website fan - I watched that company stock went up from 65 dollars/share to 183 dollars/share).
Get back to the real issue here. Tonight I can not get my Fedora to connect to the new wireless router.
I accidentally un-installed all the wireless-tools. Even command line iwconfig did not work. I got into trouble. I went to my windows PC and downloaded wireless-tools-29-5.1.fc12.x86_64.rpm and wpa_supplicant-0.7.3.tar.gz. Then, I transferred them to my Fedora computer through external hard disk since the internet and intranet did not work and my wireless router is on the first floor. I was not planning to unplug my Fedora and carry that big guy to the first floor. Anyway, it worked fine. The rpm did not have Public Key. I changed /etc/yum.conf and set gbgcheck=0.
#sudo yum localinstall wireless-tools-29-5.1.fc12.x86_64.rpm
worked magically.
For wpa_supplicant-0.7.3.tar.gz, it contains source code. I extracted it and went into the src folder.
#make
#sudo make install
You can use wpa_gui or command line.
See http://hostap.epitest.fi/wpa_supplicant/wpa_gui.html
I did not use the gui of wpa. I opened Network Connections and build the new wireless.
#ifconfig
The system worked.
Use wpa software: http://www.linuxforums.org/forum/red-hat-fedora-linux/99133-setting-up-wpa-wireless-connection.html
1)
#gedit /etc/wpa_supplicant/wpa_supplicant.conf
Ctrl_interface = /var/run /wpa_supplicant
Ctrl_interface_group = wheel
Network = (
Ssid = "YOUR_NAME_SSID"
Key_mgmt # = "WPA-PSK"
Psk = "YOURPASS_OR_KEY"
)
2) make association
# wpa_supplicant -B -dd -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
wait a few seconds ...
3) #dhclient wlan0
This experience:
Commands:
#ifconfig wlan1 up
#iwlist wlan1 scan
#iwconfig wlan1 essid yournet
#iwconfig wlan1 key yourkeyinHex
#iwconfig
List the routes:
#netstat -r
Command line connect wireless:
#sudo iwconfig
#iwconfig wlan1 essid mynet key mykeyinHEX
#ifconfig wlan1 up
#dhclient wlan1
#iwconfig wlan1
Hope those will be helpful for someone who has the same problem as I do.
I enjoyed sharing my life experience with others. Hope this blog can be helpful. Let us have courage and be kind to one another every day. A short bio about me: I grew up in Shanghai, China and owned my Ph.D. in BME from University of Cincinnati in the end of 2013 and moved to Boston for a post-doc position at Boston Children's Hospital/Harvard Medical School. I used advanced imaging techniques (MEG, FMRI, EEG, DTI, etc) to study normal language and reading development in the past 10 years.
Thursday, February 17, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment