On Sunday 03 May 2009 05:21:05 Jan Spakula wrote:
Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 +0200 2009:
(1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going:
ESSID=${1:-skyline} IFACE=${2:-wlan0}
iwconfig ${IFACE} essid "${ESSID}"
wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command
dhcpcd wlan0
My question is "Where do I put this stuff to make it happen when I start Arch??
Install the netcfg package, create a profile under /etc/network.d (there are some examples, so you shouldn't have any problem), and edit /etc/rc.conf: add the name of your profile into "NETWORKS=(...)" and add 'net-profiles' to your DAEMONS.
-- Jan
Jan, Does net-profiles need to go after 'network' (I would think so), but not knowing better, I thought I would ask since the wiki just says: eg: DAEMONS=(... net-profiles ...). -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com