why don't you try wicd to connect automatically and more easy way
type in console wicd
then go to the menu > internet > wicd
click search and choose your router, also choose properties to configure the security and connect to it
Hi there!
I am having trouble connecting to my network when I enable WPA2-PSK. My configuration is as follows.
I have a D-Link DWA-552 Wireless NIC in my computer.
I have installed BT4 to my hard drive.
I configured my /etc/network/interfaces as follows:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.28.115
netmask 255.255.255.0
network 192.168.28.0
broadcast 192.168.28.255
gateway 192.168.28.1
wireless-essid *****
pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant
I have configured my wpa_supplicant.conf as follows:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="*****"
key_mgmt=WPA-PSK
psk="********"
}
When I run /etc/init.d/networking start everything starts without errors and says done.
When I run iwconfig I get the following:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"*****"
Mode:Managed Access Point: Not-Associated Tx-Power=20dBm
Retry long limit:7 RTS thr: off Fragment thr: off
Encryption key: off
Power Management: off
The loopback IP works fine but I cannot ping anything including my router.
I can't wire my computer directly to my router as I do not have access to it.
I am new to BT but am somewhat familiar with Linux. I would appreciate any and all help.
Thanks![]()
why don't you try wicd to connect automatically and more easy way
type in console wicd
then go to the menu > internet > wicd
click search and choose your router, also choose properties to configure the security and connect to it
---> 3v3RY D4y P4ss3S 1 f0uNd N3W th1NGs <---
Knowing how 2 use BT dsnt mean that u r hacker
First of all check out ;
http://linux.die.net/man/5/wpa_supplicant.conf
Then have a look at an example wpa_supplicant.conf that may be used to
connect to a network ;
Code:ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 network={ scan_ssid=1 ssid="********" proto=RSN key_mgmt=WPA-PSK pairwise=TKIP CCMP group=TKIP psk="************" }
Let us know what works for you so this post is of value to others.
When starting the wpa_supplicant, I use the following ;
You could also include the -B switch to keep the konsole 'free' afterwards ;Code:wpa_supplicant -i wlan0 -c /location/of/wpa_supplicant.conf
And of course then to get an IP, either in a seperate console or in the same one if you use the -B switch before ;Code:wpa_supplicant -i wlan0 -c /location/of/wpa_supplicant.conf -B
Code:dhclient wlan0
Last edited by TAPE; 02-10-2011 at 03:10 AM.