You are not logged in.
Seems like a relatively trivial thing to do, but Im having issues getting this up with either systemctl service or netcfg.
netcfg fails because it's trying to connect to a network, but in actuality, it just created the AdHoc network.
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant terminate
> WPA Authentication/Association FailedHere is the netcfg config
CONNECTION='wireless'
DESCRIPTION='AdHoc IPv4LL network'
INTERFACE='wlan0'
ESSID='my_ssid'
IP='no'
ADHOC=1
WPA_DRIVER=wext
IPCFG=('route add -net 169.254.0.0 netmask 255.255.0.0 dev wlan0 metric 99' 'route add default dev wlan0 metric 99')
POST_UP='avahi-autoipd -D wlan0'When trying to use a service file, it fails trying to bring up the interface. I read in the wiki that it's not recommended to bring up an interface in systemd.
Process: 95 ExecStart=/usr/sbin/ip link set wlan0 up (code=exited, status=1/FAILURE)Ideas on how to get create a AdHoc network with netcfg? What am I doing wrong?
Offline