Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9942 - WPA for ethernet interfaces in netcfg2
Attached to Project:
Arch Linux
Opened by Otakar Truněček (otakar) - Tuesday, 25 March 2008, 11:11 GMT
Last edited by James Rayner (iphitus) - Monday, 16 February 2009, 10:53 GMT
Opened by Otakar Truněček (otakar) - Tuesday, 25 March 2008, 11:11 GMT
Last edited by James Rayner (iphitus) - Monday, 16 February 2009, 10:53 GMT
|
DetailsDescription: In formal netcfg script was possible to use wpa_supplicant with ethernet interfaces. Now it doesn't work with new netcfg2. I need it, because wpa is used for authentication in network my student dorms. Now I have to start wpa_supplicant manually. Yes, it is possible to use PRE_UP command, but the formal way was more clean and simple. I would be happy, if the feature returned.
Additional info: * package version(s): 2.0.6-1 |
This task depends upon
Closed by James Rayner (iphitus)
Monday, 16 February 2009, 10:53 GMT
Reason for closing: Fixed
Additional comments about closing: added in git.
Sorry about the long wait. It shouldn't have taken this long.
Monday, 16 February 2009, 10:53 GMT
Reason for closing: Fixed
Additional comments about closing: added in git.
Sorry about the long wait. It shouldn't have taken this long.
Then set the below in your config file.
SECURITY="wpa"
# OPTIONAL: Any extra arguments for wpa_supplicant
WPA_OPTS=
# OPTIONAL: filename of a wpa-supplicant config (defaults to /etc/wpa_supplicant)
WPA_CONF=
http://projects.archlinux.org/git/?p=netcfg.git;a=summary
netcfg2 is a catastrophe right now? how so?
I have a somewhat hard to specify wifi card - Atheros chipset. I use ndiswrapper with the windows driver net5416.inf, which works once I have been unplugging the router and restarting the wpa profile some 5-15 minutes and there is no logic to why it suddenly starts working, but it never does start on reboot or starting up the laptop. With wep it does presently not work at all - I just get ARPOP fail messages and have to unplug the router to be able to get into the login prompt and then use the ethernet profile.
It seems that playing with dhcpcd wlan0 will make the trickery a bit faster :)
According to the the laptop specs I should have AR5006EG, but linux users say that it really is AR5007EG and hwd -e says it is AR242x. I have downloaded the driver from http://www.atheros.cz/download.php?atheros=AR5006EG&system=1, which is the only one that will work after a lot of stubborness and trickery an manual restarts.
hwd -e gives: 168c:001c Ethernet controller: Atheros Communications Inc. module: ndiswrapper
AR242x 802.11abg Wireless PCI Express Adapter
dmesg | grep ndiswrapper gives:
ndiswrapper version 1.52 loaded (smp=yes, preempt=yes)
ndiswrapper: driver net5416 (,06/05/2007,6.0.3.85) loaded
ndiswrapper (NdisMAllocateMapRegisters:972): Windows driver net5416 requesting too many (256) map registers
ndiswrapper: using IRQ 18
usbcore: registered new interface driver ndiswrapper
Common errors are: no wireless detected or lease failure and ARPOP...
/var/log/errors.log gives:
Apr 30 00:04:52 sawerlap pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c02
Apr 30 00:04:52 sawerlap PCI: Failed to allocate mem resource #6:20000@e0000000
for 0000:05:00.0
Apr 30 00:05:31 sawerlap dhcpcd[6994]: wlan0: timed out
Apr 30 00:06:12 sawerlap dhcpcd[7032]: wlan0: dhcpcd already running on pid 6999
(/var/run/dhcpcd-wlan0.pid)
Apr 30 00:07:25 sawerlap dhcpcd[7135]: wlan0: dhcpcd already running on pid 6999
(/var/run/dhcpcd-wlan0.pid)
Apr 30 00:08:26 sawerlap dhcpcd[7187]: wlan0: timed out
Apr 30 00:09:28 sawerlap dhcpcd[7263]: wlan0: dhcpcd already running on pid 7188
(/var/run/dhcpcd-wlan0.pid)
Apr 30 00:10:12 sawerlap dhcpcd[7188]: wlan0: netlink: Cannot assign requested address
Apr 30 07:28:31 sawerlap pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c02
Apr 30 07:28:31 sawerlap PCI: Failed to allocate mem resource #6:20000@e0000000 for 0000:05:00.0
Apr 30 07:29:45 sawerlap dhcpcd[7004]: wlan0: timed out
Apr 30 07:29:46 sawerlap dhcpcd[7004]: wlan0: lease expired 29975 seconds ago
Apr 30 07:31:51 sawerlap dhcpcd[7104]: wlan0: dhcpcd already running on pid 7005:
MY network.d/ looks like:
1) Sawers
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="xxxx"
KEY="xxxxxx"
IP="dhcp"
#TIMEOUT=20
#psk=xxxxxxx
WPA_CONF="/etc/wpa_supplicant.conf"
#DHCP_TIMEOUT=20
#DHCP_OPTIONS="-m 1"
2) RFSL
CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="xxxx"
KEY="xxxx"
IP="dhcp"
IOWPTS="mode managed"
3) ethernet
CONNECTION="ethernet"
DESCRIPTION="A very basic ethernet profile, using dhcp"
INTERFACE=eth0
IP="dhcp"
DHCP_TIMEOUT=10
wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# Only WPA-PSK is used. Any valid cipher combination is accepted.
network={
ssid="xxxx"
scan_ssid=1
key_mgmt=WPA-PSK
#psk="xxxx"
psk=xxxx
}
rc.conf modules:
MODULES=(forcedeth ndiswrapper !wlan_scan_sta snd-mixer-oss snd-pcm-oss snd-hwdepsnd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore snd-seq powernow-k8 cpufreq_ondemand cpufreq_powersave uvcvideo)
DAEMONS=(syslog-ng !network net-profiles netfs crond cpufreq @openntpd @archstatsrc fam hal alsa cpufreq laptop-mode timidity++)
NET_PROFILES:
#NET_PROFILES=()
#NETWORKS=(Sawers RFSL ethernet)
#NETWORKS=(ethernet)
NETWORKS=(Sawers)
#NETWORKS=(RFSL)
#NETWORKS=(menu)
___________
I have also tried with madwifi, but then the whole computer freezes when I use a torrent client and I have to cold reboot.
I have no idea what to try next. Thankful for any further light.
I did not understand the git thing, how to install it.
For a start.. you've found a bug in the atheros driver if it freezes when you use a torrent client, and you should report that to the atheros developers so it can be fixed.
Secondly, the other problem is an ndiswrapper problem, again unrelated to netcfg2. ndiswrapper is often fiddly and buggy, try a different windows driver, otherwise report the problem to the ndiswrapper developers.
Above I was responding to the original reporter who has a totally different bug to yours.