Quote:
Originally Posted by farslayer
As far as I know you need to get that info from the person running the WAP. or log into the router and get the settings.
If someone is going to provide you with the PSK or whatever you need to connect they should be able to provide the rest of the information as well.
http://hostap.epitest.fi/wpa_supplicant/
Not sure if wpa_cli would be able to show you any of that configuration info or not..
http://linux.die.net/man/8/wpa_cli
|
I understand that I should be provided with all the settings to connect to the wifi network, but I suppose my point in not there really. I am sorry, but I am kind of a new guy on linux.
I have a laptop that runs leopard Mac OS X, a Nokia N95 8G, and and i Phone that connects fine to the network. They all never asked me for the type of protocol used on the network and they all connected to the network and when input the password. Now, if I understood right, and following
http://wiki.debian.org/DebianEeePC/HowTo/Wifi :"Everything single time, I would need to provide my eeepc with the type of protocol used to configure my wifi network ?" is it how linux networking works ? or may be more so network manager ?
I have followed step by step the tutorial in the link above and I still cannot connect to my wifi network.
I have configured my /etc/network/interfaces following the how to above as followed
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug ath0
iface ath0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
any correction is much appreciated
in my wpa_supplicant.conf file
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=netdev
ap_scan=1
fast_reauth=1
eapol_version=1
network={
ssid="Airport Network"
psk=0123456789abcdef (dont really know if I have to put that or the password. I tried the password but didn't work out. Plus, I dont know the type of protocol used)
id_str="cafe"
scan_ssid=1 (not broadcasting so I thought that would help)
priority=5 (haven't got a clue what that does )
}
network={
key_mgnt=NONE (I added that line for any additional network that would be using WEP or NONE
}
Again, if you think that I need correction here, feel free to correct me.
Then I rebooted but no connection whatsoever. I opened up "network manager" and I don't even have the wpa_supplicant driver there. Only WEP.
I then opened up my logs in /var/log/ and there I found an interesting log which I do not comprehend
wpa_action.ath0.log -->
I have got my dhcpack from my airport network. so yes I should normally be connected with an IP address 17.64.214.247 but I have got no internet connection at all. Wouldn't my network manager showing me that connection ? Please help because I don't really what is happening here. Everything seems to be telling me that I am connected but I do not have access to internet not can I get my emails.
bssdid=xx:xx:xx
ssid=Aiport Network
id=0
id_str=Cafe
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK (very interesting. I finally got my answer there)
wpa_state=COMPLETED
ip_address=17.64.214.247 ( does that mean that I am connected ?)
##################################################################
when I run ifconfig I can see that ath0 hasnt got any ip address at all
I see as well wifi0 with no ip address. Is wifi0 a replicant of ath0 ?
Again, thank you all for your help
Riganta