How to make wifi hotspot persist across a reboot?

Asked by Max Waterman

Ubuntu 19.10

1. Connect to internet via ethernet
2. Enable wifi and start hotspot
3. Connect some devices to the hotspot
4. Reboot

Expected:
I expect the wifi to enable and hotspot to be started

Actual:
Wifi is enabled, but hotspot is not started...needs to be manually started

Is there a way to make this happen that I'm missing?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Max Waterman
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Ubuntu 19.10 has less than 4 weeks of support left. I suggest you upgrade to Focal (Ubuntu 20.04). The newer packages may help. Focal is also LTS and supported until April 2025.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

No, 20.04 was released in April (the 4th month) so has been out for 3 months... Not 4 weeks. Huge difference

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

I'm not saying 20.04 has this feature. I never even used the word "feature" I simply said that the newer package versions may resolve the issue.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Yes you are mistaken.

Revision history for this message
Max Waterman (dwater) said :
#6

> No, 20.04 was released in April (the 4th month) so has been out for 3 months... Not 4 weeks. Huge difference

I didn't say it had been out for 4 weeks. I said, and I quote, "I see 20.04 has not many more weeks of being released". 3 months is only 12 weeks - not long enough, sorry. In any case, it is too risky to upgrade now. Yes, this is not the first time, so I know upgrades can go badly wrong and be very disruptive. I'm not going to upgrade just for this feature, that's for sure.

> I'm not saying 20.04 has this feature. I never even used the word "feature" I simply said that the newer package versions may resolve the issue.

I never said you used the word "feature". I did use it, though, and it's reasonable to use that word, imo.

> Yes you are mistaken.

Eh? You seem to be replying to this part of what I wrote:

"If you are saying that 20.04 has this feature ...snip... As it is, you don't seem to be saying that...or am I mistaken?"

In which case, you seem to be saying it *does* have that feature (even though you don't seem to be calling it a feature).
...and yet, you explicitly say you're not saying that.

I might have tried booting off a usb drive just to see, if someone who already has it would tell me it actually has the feature.

Revision history for this message
Max Waterman (dwater) said :
#7

FWIW, a colleague of mine recently upgraded his laptop, and recommended I do not upgrade. He ended up moving to Debian - else I would have asked him to try it out for me.

Revision history for this message
Max Waterman (dwater) said :
#8

This still needs an answer.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Then what does

"I see 20.04 has not many more weeks of being released."

Because it sounds like you're saying that Focal has only been released as many weeks as Eoan has weeks of support left, if it's not that then what did you mean because that's how it reads.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

I suggest you read my very first reply again. Newer packages can resolve issues as bugs are squished. It may seem like I'm saying anything... I'm not. It's plain and simple. If you start reading between the lines and start adding information then try and call me out on that information it's called a strawman fallacy.

Testing Focal using USB to see if the new release solves the issue is wise. Look before you leap etc but ultimately by next month your release will be dead and unsupported by anyone so you will have to upgrade for continued support by the Ubuntu community

Revision history for this message
Max Waterman (dwater) said :
#11

> Because it sounds like you're saying that Focal has only been released as many weeks as Eoan has weeks of support left, if it's not that then what did you mean because that's how it reads.

Ah, you're having trouble reading, ok. It says what is says. It is literal. 'Not many more' is clear enough. 12 is not many more than 3. Subjective, sure, but still.

> If you start reading between the lines and start adding information then try and call me out on that information it's called a strawman fallacy.

What? That's exactly what you're doing to me! I'm taking what you wrote literally.

You're suggesting I upgrade because new packages can resolve issues as bugs are squished....well, derrr. My response is, unless I *know* they're squished (or the feature is added, since if it is a bug or not has not been determined), I am not going to risk upgrading.

This question is "How to make wifi hotspot persist across a reboot?".
Your suggestion is to upgrade, on the off-chance it might work on the new version.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

If you don't upgrade when Eoan goes end of life you will be on your own. The Ubuntu community and Canonical will no longer support your release and you will receive no updates.

Revision history for this message
Max Waterman (dwater) said :
#13

Yeah, so what? It hasn't gone end of life, has it. ...or is it a sliding scale of support?

Anyway, how does that answer this question?

You haven't answered the question in any meaning way, so it would be nice if you didn't keep saying marking this as answered. It isn't.

At best, you've suggest something that *might* solve the problem, but you might ask well tell me to try Microsoft Windows or perhaps Debian.

If you were to say the problem in 20.04 is actually solved, then fair enough.
If you said it is supposed to be this way and won't be supported, that's also fair enough.

Making a guess isn't much use to anyone, especially when it is potentially hugely disruptive.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

No scale. Its supported now but in a matter of weeks it'll be dead. Why fix an OS with no updates or support?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

Well... No support soon

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

Telling you to try Windows or Debian is completely different to advising you upgrade within the same distribution for continuous support. It's not comparable at all

Revision history for this message
Max Waterman (dwater) said :
#17

> Why fix an OS with no updates or support?

Fix? I just want a question answered. If it is a toggle I'm missing, or even an option in a file, then nothing needs fixing.

> Well... No support soon

Well, no support now, it seems. Useless.

> Telling you to try Windows or Debian is completely different to advising you upgrade within the same distribution for continuous support. It's not comparable at all

Maybe from your point of view, but that's just as good from my point of view.

How about a useful answer?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

I'm not the only contributor here, genius. So no.... Not useless at all. I'm advising a better path to take.

Try Focal in live USB. See if it does what you need.

Just as good from your point of view doesn't mean it's true. It's you misreading or misunderstanding.

Revision history for this message
Max Waterman (dwater) said :
#19

> I'm not the only contributor here, genius. So no.... Not useless at all. I'm advising a better path to take.

...and, yet, you seem to be happy claiming your answer is an answer. *Your* answer is not helpful.

> Just as good from your point of view doesn't mean it's true. It's you misreading or misunderstanding.

Sorry, but it is me asking the question, so my point of view is most important.

> Try Focal in live USB. See if it does what you need.

Is it possible to do that and test something works across a reboot? I would have thought all the settings I make reset to the whatever defaults are. Am I missing something?

Revision history for this message
Max Waterman (dwater) said :
#20

OK, my colleague (the one who switched away from Ubuntu to Debian - smart guy, it seems) has found the answer for me, so I'll answer it myself:

https://askubuntu.com/questions/928594/restart-wi-fi-hotspot-automatically-on-ubuntu-17-04

Yes, it worked, even on 19.10.

(Sheesh.)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#21

Yes you can install to USB just as you installed to your internal disk. The boot loader doesn't care. As long as your BIOS can boot USB then it's fine. A disk is a disk

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#22

https://www.omgubuntu.co.uk/2020/07/ubuntu-19-10-end-of-life

17th July... Just so you are aware. Less than 2 weeks