Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can one do manually what wpa_supplicant does ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dany74q
n00b
n00b


Joined: 17 Apr 2011
Posts: 8

PostPosted: Fri Jun 10, 2011 4:27 pm    Post subject: Can one do manually what wpa_supplicant does ? Reply with quote

Hello all ,

I am working with WPA2 as the security choice for my router , and I would really like to establish a connection between the wlan card and the router manually ,
in other words - set up with ifconfig , route and resolv.conf .
In that process - I also need the card to connect via wpa_supplicant , can I eliminate that ? Is there any method of manually doing what wpa_supplicant does ?
A work through the net file maybe ?

Thanks ,

Danny ,
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jun 10, 2011 7:21 pm    Post subject: Reply with quote

Going though the Wireless Section of the Handbook, basically says, that you have 2 options. using wpa-supplicant or wireless-tools. from what I get, wireless-tools can only handle WEP encryption, which I would strongly discourage nowadays - WEP can be broke in very little time.
wpa-supplicant on the other hand allows you to connect to wpa/wpa2 protected access points.

To answer you inital question, no you cannot handle the wireless stuff though net, it is handled with wpa-supplicant or wireless-tools.

On an sidenote: why do you want to get rid of wpa-supplicant? If it is because it pulls in Xorg, then adjust your useflags to omit qt4.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
new_item
n00b
n00b


Joined: 10 Jun 2011
Posts: 20
Location: Poland

PostPosted: Fri Jun 10, 2011 11:10 pm    Post subject: Re: Can one do manually what wpa_supplicant does ? Reply with quote

dany74q wrote:
Hello all ,
I would really like to establish a connection between the wlan card and the router manually, in other words - set up with ifconfig , route and resolv.conf .


Do you want to set up manually interface (wlan0)? wpa_supplicant have nothing to do with it. It just gives you a link between wireless card and router. Set up ip and routing like for a wire interface.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Jun 11, 2011 12:00 am    Post subject: Reply with quote

wpa_supplicant *is* the manual way. As opposed to using wicd or networkmanager or something like that. Ifconfig, route and resolv.conf have nothing to do with setting up a wireless connection. They handle IPs and routing and name resolution. But the wireless link, that's the domain of wpa_supplicant (or, like Veldrin says, wireless-tools, which are actually deprecated in favor of iw, and both of these only do WEP).
Back to top
View user's profile Send private message
dany74q
n00b
n00b


Joined: 17 Apr 2011
Posts: 8

PostPosted: Sat Jun 11, 2011 3:12 pm    Post subject: Reply with quote

Thanks for the replies !

I am aware that WPA_Supplicant is the manual way as opposed to some tools which handle all automatically ,
but I would like to go a bit further .

@new_item I would like to make that link between the card and the router myself , instead of letting WPA_supplicant handle this link .

I really want to use the least amount of tools , I can skip the use of DHCPCD and configure the route table and resolv file myself ,
but can I also skip the use of WPA_Supplicant , or wireless-tools , or be it any other tool that links between the card and the router ?

`tis not for getting rid entirely of a tool that does that , but for better understanding of what is behind it .

Thanks !
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 662
Location: Belgium

PostPosted: Sat Jun 11, 2011 6:13 pm    Post subject: Reply with quote

wpa_supplicant does not just simply do things and exit. It does continuous key management (i.e. change wireless encryption keys) in the background. It is an integral part of implementing the WPA protocol
Back to top
View user's profile Send private message
new_item
n00b
n00b


Joined: 10 Jun 2011
Posts: 20
Location: Poland

PostPosted: Sat Jun 11, 2011 11:55 pm    Post subject: Reply with quote

dany74q wrote:
Thanks for the replies !
`tis not for getting rid entirely of a tool that does that , but for better understanding of what is behind it .


http://standards.ieee.org/getieee802/download/802.11i-2004.pdf - this document should give some answers for questions you have.

It's complicated stuff. For fully understand the idea behind this standard you will have to read lots of RFC's.

You inspired me to take closer look on this. But my question is "what variant of protection is secure enough" rather than "is there any other low-level tool" ;)
Back to top
View user's profile Send private message
dany74q
n00b
n00b


Joined: 17 Apr 2011
Posts: 8

PostPosted: Sun Jun 12, 2011 3:37 am    Post subject: Reply with quote

Thank you friends , I`ll read some RFC`s and standards for a better understanding of the mechanisms that are behind it .
Also , I`ll download the WPA_Supplicant source and check what it is all about .

Thanks again ,

Danny .
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum