You are not logged in.
Hey, I just installed arch linux. Also, I feel like I've accomplished some rite of passage just registering for these forums, as I had to get that command for the security question figured out (it failed a few times) then manually copy it to my laptop, which I'm using now. Anyway, here's my problem:
I failed to properly configure my internet connection while chrooted, as per the beginner's guide. Now I'm trying to fix it; I believe it's a problem with my config file. Here it is:
Description='Home wireless; WPA-encrypted'
Interface=wlp7s6
Connection=wireless
Security=wpa
IP=dhcp
ESSID='HOME-3D58'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='#######'
# Uncomment this if your ssid is hidden
#Hidden=yesI sure hope I copied that right, I'm manually copying it from my desktop (where I just installed arch) to my laptop, which is up and running crunchbang.
when I execute
netctl start home-wirelessI get the output
Job for netctl@home\x2dwireless.service failed. See "systemctl status netctl@home\x2dwireless.service' and 'journalctl -xn' for details.executing the former (systemctl status....) gives
netctl@home\x2dwireless.service - Networking for netctl profile homex2dwireless
Loaded: loaded (/usr/lib/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)executing the latter (journalctl -xn) gives: (NOTE: dates and times have been left out because I'm tired of typing all this) also, replace <mac-address> with the mac address of my router (at least, I think it's my router...)
wlp7s6: deauthenticating from <mac-address> by local choice (reason=3)
cfg80211: Calling CRDA to update world regulatory domain
wlp7s6: authenticate with <mac-address>
wlp7s6: send auth to <mac-address> (try 1/3)
wlp7s6: authenticated
wlp7s6: associate with <mac-address> (try 1/3)
wlp7s6: RX AssocResp from <mac-address> (capab=0xc11 status=0 aid=6)
wlp7s6: associated
wlp7s6: deauthenticating from <mac-address> by local choice (reason=3)
cfg80211: Calling CRDA for country: USDerp.
when I try to use
iw dev wlp7s6 scan | grep SSIDI find my router (HOME-3D58). I then ran
wpa_supplicant -B -i wlp7s6 -c <(wpa_passphrase "HOME-3D58" "#######") then, the console outputs
Successfully initialized wpa_supplicanthowever, if I try to ping any website, I am told that the "network is unreachable"
halps?
Offline
systemctl disable netctl@homex2dwireless.service
or delete
then
prepositions^
does wifi-menu work at all for your network?
--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.
Offline
Sorry because I am reading your post very fast and no deeply.
But, I think parameters like essid and key must not have quoting.
essid=myessid
key=/"####what you get from wpa_passphraseThis message:
Successfully initialized wpa_supplicantnot means you are connected.
-------------------------------------------------------
Edit: (added)
There is an example in ArchWiki:
https://wiki.archlinux.org/index.php/Ne … bit_PSK.29
/etc/netctl/wireless-wpa
Description='A simple WPA encrypted wireless connection using 256-bit PSK'
Interface=wlp2s2
Connection=wireless
Security=wpa
IP=dhcp
ESSID=archlinux
Key=\"64cf3ced850ecef39197bb7b7b301fc39437a6aa6c6a599d0534b16af578e04aLast edited by Alber (2013-06-28 12:32:03)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
when I try to use
iw dev wlp7s6 scan | grep SSIDI find my router (HOME-3D58). I then ran
wpa_supplicant -B -i wlp7s6 -c <(wpa_passphrase "HOME-3D58" "#######")then, the console outputs
Successfully initialized wpa_supplicanthowever, if I try to ping any website, I am told that the "network is unreachable"
I've never used netctl, so I'm no help there - but these steps look like they were successful and everything worked as expected. But you also need to run a dhcp client (dhcpcd). Make sure an instance isn't already running, then start one. After that successful invocation of wpa_supplicant do the following as root or with sudo:
killall dhcpcd
dhcpcd wlp7s6"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Did you run wpa_passphase? Doesn't seem so from your comments. Your key should be somewhat long, even though the passphrase is short.
This can easily be generated using the wpa_passphrase tool. For example:
$ wpa_passphrase foobarssid foobarspassword network={ ssid="foobarssid" #psk="foobarspassword" psk=f5d1c49e15e679bebe385c37648d4141bc5c9297796a8a185d7bc5ac62f954e3 }
Offline
wpa_passphrase was there in the call to wpa_supplicant. It was his second code block in the section I quoted.
The output says it was successful, so it was successful. But ping *should not* be expected to work until a dhcp client is running.
Last edited by Trilby (2013-06-28 21:48:48)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks for all your help, guys. I don't have time to boot up arch right now, but hopefully I can on Monday. In response to dag: I can't use wifi-menu because dialog is not installed... And I need internet to install things xD but I'll try the stuff you have suggested, update coming soon!!!
Offline