You are not logged in.
here is my wireless network-profile (with fake essid and key):
#
# Network Profile
#
DESCRIPTION="wireless home"
# Network Settings
INTERFACE=ath0
HOSTNAME=$HOSTNAME
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="dhcp"
GATEWAY=192.168.0.1
# DNS Settings (optional)
#DOMAIN=localdomain
DNS1=192.168.0.1
DNS2=
# Wireless Settings (optional)
ESSID="$ESSID"
KEY="s:$ASCIIKEY"
#IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"
#WIFI_INTERFACE=wifi0 # use this if you have a special wireless interface
# that is linked to the real $INTERFACE
WIFI_WAIT=5 # seconds to wait for the wireless card to
# associate before bringing the interface up
#USEWPA="yes" # start wpa_supplicant with the profile
#WPAOPTS="" # use "" for normal operation or specify additional
# options (eg, "-D ipw")
# see /etc/wpa_supplicant.conf for configuration
it doesn't work. it says:
:: Starting network profile: home [FAIL]
:: Starting Network [BUSY] SIOCADDRT: Network is unreachable
[FAIL]
but, i wrote my own script that does work. it looks like this:
#!/bin/sh
ifconfig ath0 up
iwconfig ath0 essid "$ESSID" key s:$ASCIIKEY
dhcpcd ath0
what could i be doing wrong?
Offline
maybe this will help :
- comment the gateway and DNS lines, usually they are not needed with dhcp
- UNcomment the line with IWOPTS
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Gateway and DNS settings wont influence the connectivity.
Uncomment the IWOPTS and it should work.
Offline