Welcome! Log In Create A New Profile


Could not initialize uap0 interface on system boot

Posted by David Cerny 
uAP as an interface is no longer initialized by the kernel module. see link

uAP0 gets added as the following:
iw phy phy0 interface add uap0 type __ap
it is working like a charm

My problem is that I'm not able to initialize it on a system boot (console Yocto image 1.7.1). I tried :
    [*] to add this line to /etc/init.d/ as simple shell command+rc3.d,
    [*] also as a part of hostapd,
    [*] and finally as a part of networking.
But with no success - uap0 is still missing and on boot it causing fail in hostapd initialization.

Some of my settings:
root@overo:/etc/rc3.d$  ls
S01networking  S15mountnfs.sh  S20hostapd  S60oadatalogger  S99rmnologin.sh

root@overo:/etc/rc3.d$  cat S20hostapd
case "$1" in
        echo -n "Configuring missing interfaces... "
        iw dev mlan0 interface add uap0 type __ap
        ifup uap0 up
        hostapd -B /etc/hostapd.conf
        dhcpd uap0
        echo "done."

When I manually run after boot :
root@overo:~$ /etc/init.d/hostapd start
everythings works fine.
It is really weird. Seems like there is no mistake in your code, but maybe you have just forgotten to include some operators. You may try asking for a help at some custom writing company , they always help with writings codes.
I'd prefer it if everything was reined in a little and just one or two important accolades handed out each year, like in the film business. I'm not a fan of constantly introducing new prizes.What was the best save of your career? kissmanga

Your Email:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 14 plus 22?