You are not logged in.
As I had some troubles with network-manager, I have decided to configure my WPA wireless network following the wiki (http://wiki.archlinux.org/index.php/Wireless and http://wiki.archlinux.org/index.php/Ndi … supplicant). It is close to working, excepted that network connection won't start automatically during boot : I get an error such as "host name lookup failure" and network doesn't work before I launch manually "dhcpcd ath0" as root.
Here is part of my rc.conf :
HOSTNAME="arch"
lo="lo 127.0.0.1"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
#ath0="dhcp"
INTERFACES=(lo)
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
NET_PROFILES=(ath0)
DAEMONS=(syslog-ng hal network netfs crond alsa cups splashy gdm)
I have unsuccessfully tried to add "dhcpcd" in the daemons list.
Any ideas someone ?
Last edited by p_schott (2007-05-21 15:22:33)
Offline
Uncomment the ath0 line and add it to the INTERFACES array?
Offline
Already tried, but it doesn't work. Moreover the wiki related to wpa_supplicant states :
If you had configured normal networking, you will now configure it differently using network profiles. Therefore, comment out the lines and make sure interfaces only shows the lo (loopback), my examples below:
lo="lo 127.0.0.1"
#eth0="eth0 10.1.1.3 netmask 255.255.255.0 broadcast 10.1.1.255"
#wlan0="wlan0 10.1.1.4 netmask 255.255.255.0 broadcast 10.1.1.255"
INTERFACES=(lo)Also, uncomment the network profiles line, as shown below:
NET_PROFILES=(wlan0)
Offline
Of course I have created /etc/network-profiles/ath0 :
DESCRIPTION="Wireless Profile"
INTERFACE=ath0
HOSTNAME=HP_Pavilion
IFOPTS="dchp"
# GATEWAY=10.1.1.1
ESSID=Cornafion
IWOPTS="mode managed essid $ESSID"
WIFI_INTERFACE=ath0
WIFI_WAIT=5
USEWPA="yes"
WPAOPTS="-D madwifi"
Offline
HOSTNAME="arch"
lo="lo 127.0.0.1"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
#ath0="dhcp" --------------------> have to be without # only ath0
INTERFACES=(lo) --------------------> have to be with INTERFACE=(lo ath0)
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
NET_PROFILES=(ath0)
DAEMONS=(syslog-ng hal network netfs crond alsa cups splashy gdm)
Offline
BTW if you IFOPTS="dchp" in /etc/network-profiles/ath0: write IFOPTS=dhcp
and DAEMONS there have to be your ath0 driver before "network" for example DAEMONS=(syslog-ng hal ipw3945 network crond alsa cups splashy gdm)
ipw3945 --- > only for example (wifi card)
and th last thing what you should do is /etc/rc.conf and module (mii ipw3945) again ipw3945 only example
Offline
Thank you reader. So I tried again without success to add ath0 to INTERFACES.
I then tried to add madwifi to MODULES and DAEMONS as it is the driver for my card (so far as I now). It didn't work neither : madwifi is not recognized as a module, not as a daemon. How can I guess what module is to add and what daemon is to launch ?
Offline
Oups... module name was in the wiki : it is ath_pci. Unfortunately it doesn't change anything to add it in rc.conf .
Offline
BTW if you IFOPTS="dchp" in /etc/network-profiles/ath0: write IFOPTS=dhcp
Oups again... I didn't notice the "dhcp" instead of "dchp". Now it works fine, ath0 in nterface, force module and extra daemon were not necessary in my case. Thank you very much, reader .
Offline