Summary: | Replace xsupplicant init script by an rcscript network module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Roeder <sebroeder> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | mobile+disabled, uberlord |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Roeder
2005-07-07 11:14:55 UTC
You should take a look at baselayout-1.11.x and wpa_supplicant: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part4_chap4 After surching the web a long time I managed to get the aep-md5 authetification over WIRED LAN working with wpa_supplicant. Therefor the ~x86 wpa_supplicant 0.4.x is needed. This is my wpa_supplicant.conf.wired: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel ap_scan=0 network={ key_mgmt=IEEE8021X eap=MD5 identity="sroeder" password="uIdkO" eapol_flags=0 } Now I can start it in the console with: wpa_supplicant -ieth0 -Dwired -c/etc/wpa_supplicant.conf.wired Finaly starting dhcpcd and everithing is fine. But I can not integrate this into /etc/conf.d/net. I tried it like this: # Network config for the new Gentoo baselayout > 0.11.11 on Dell Inspiron 6000 # For reference see /etc/conf.d/net.example # Enable wpa_supplicant for all net.* devices modules=( "wpa_supplicant" ) # Configure wired LAN (eth0) # ************************* # Bring eth0 "UP" and prepare it for authentification ifconfig_eth0="up allmulti promisc" # Tell wpa_supplicant to use the "wired" driver for eth0 # And to use config /etc/wpa_supplicant.conf.wired wpa_supplicant_eth0="-Dwired -c/etc/wpa_supplicant.conf.wired" config_eth0=( "dhcp" ) #dhcpcd_eth0="-t 30" But it doesn't work. Seems like wpa_supplicant is not even started cause wpa_cli status doesn't work either (wpa_ctrl_open can not be found). Is support for wired interfaces and wpa_supplicant not yet supported by baselayout-1.11.13? Can I fix this manually in the meantime? Thanks in advance for the help! I guess once this is working wpa_supplicant is a good replacement for xsupplicant and the integration within baselayout is a good approach. The init script should be replaced by a rcscript network module. baselayout-1.12.0_pre10 will support wpa_supplicant over wired interfaces. You can find instructions and patches for enabling this in baselayout-1.12.0_pre9-r1 at the below link http://forums.gentoo.org/viewtopic-t-392299-highlight-wpasupplicant.html And yes, the xsupplicant init script should be replaces with a rcscripts net module. (In reply to comment #4) Yes, I know cause it was me who started the thread =) It works great! Would it be an option to replace xsupplicant completely with wpa_supplicant (removing it from portage, as it looks like it is not maintained in Gentoo)? Or is there something that xsupplicant can do but wpa_supplicant can't? OK I mark this closed with the hint to use wpa_supplicant instead. (In reply to comment #6) > OK I mark this closed with the hint to use wpa_supplicant instead. Please leave this up to the developers - the problem with xsupplicant is not solved. # Stefan Cornelius <dercorny@gentoo.org> (7 Mar 2007) # Masking net-misc/xsupplicant due to security bug 154995 net-misc/xsupplicant Use something else, like net-wireless/wpa_supplicant |