Jump to content

Failed to start hostapd for phy0


LinuxDad

Recommended Posts

I'm tracking down the issues with the Radio not starting on reboot.

I removed the opkg_manager, and found that it did not clean up the /etc/rc.local file, so we need to edit the file as follows:

#/usb/modules/networkmanager/autostart.sh

Because of the error in the Log:

00:01:08 Pineapple user.info sysinit: /etc/rc.local: line 7: /usb/modules/networkmanager/autostart.sh: not found

The next error I've found is the following:

00:01:08 Pineapple user.info sysinit: Failed to start hostapd for phy0

00:01:08 Pineapple user.info sysinit: Failed to connect to hostapd - wpa_ctrl_open: No such file or directory

There is also the additional error, which should also be followed up on:

00:01:08 Pineapple user.info sysinit: sh: write error: Invalid argument

00:01:08 Pineapple user.info sysinit: sh: write error: Invalid argument

Suggestions?

Link to comment
Share on other sites

Off the top of my head no, I'm buried deep in work and fixing something else at the moment, hopefully someone else can help. If not I'll see what I can do when I get chance.

If you've had to modify files then it might be worth reinstalling the latest firmware and starting again, see if it works straight out of the box then start making changes.

Link to comment
Share on other sites

I'm tracking down the issues with the Radio not starting on reboot.

I removed the opkg_manager, and found that it did not clean up the /etc/rc.local file, so we need to edit the file as follows:

#/usb/modules/networkmanager/autostart.sh

Because of the error in the Log:

00:01:08 Pineapple user.info sysinit: /etc/rc.local: line 7: /usb/modules/networkmanager/autostart.sh: not found

The next error I've found is the following:

00:01:08 Pineapple user.info sysinit: Failed to start hostapd for phy0

00:01:08 Pineapple user.info sysinit: Failed to connect to hostapd - wpa_ctrl_open: No such file or directory

There is also the additional error, which should also be followed up on:

00:01:08 Pineapple user.info sysinit: sh: write error: Invalid argument

00:01:08 Pineapple user.info sysinit: sh: write error: Invalid argument

Suggestions?

The radio not mounting/starting after a reboot is an ongoing issue with external wifi adapters

Link to comment
Share on other sites

Thanks for the follow-up guys.

First of all, this is not an external Wifi. It's the built in.

Second of all, I flashed the firmware, and started over. This is not really solving the issue with the software not performing as expected, but it gets me back operational again. Thank you everyone for your updates and suggestions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...