Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241230 > unrolled thread

wpa supplicant not starting - code 1...........

Started byCharlie <taoquester@gmail.com>
First post2021-10-12 03:20 +0200
Last post2021-10-18 14:50 +0200
Articles 10 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-12 03:20 +0200
    Re: wpa supplicant not starting - code 1........... Henning Follmann <hfollmann@itcfollmann.com> - 2021-10-14 18:40 +0200
      Re: wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-15 03:50 +0200
        Re: wpa supplicant not starting - code 1........... Henning Follmann <hfollmann@itcfollmann.com> - 2021-10-16 18:30 +0200
          Re: wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-18 05:30 +0200
            Re: wpa supplicant not starting - code 1........... "Andrew M.A. Cater" <amacater@einval.com> - 2021-10-18 12:00 +0200
              Re: wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-18 14:50 +0200
              Re: wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-18 15:20 +0200
            Re: wpa supplicant not starting - code 1........... Henning Follmann <hfollmann@itcfollmann.com> - 2021-10-18 13:30 +0200
              Re: wpa supplicant not starting - code 1........... Charlie <taoquester@gmail.com> - 2021-10-18 14:50 +0200

#241230 — wpa supplicant not starting - code 1...........

FromCharlie <taoquester@gmail.com>
Date2021-10-12 03:20 +0200
Subjectwpa supplicant not starting - code 1...........
Message-ID<D7eCt-17w-1@gated-at.bofh.it>
	From my keyboard:

	Hello,

	If someone has an idea about this error message after suspend
	can you please give me a hint as to what is causing it:

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
code 1

Since Bullseye went stable on my Dell Inspiron laptop I have had some
problems. The above is the latest. It happens randomly and there is no
way of duplicating it.

I have googled this, but tried some of the suggestions without getting
wpa supplicant to work again except by rebooting the laptop?

Can someone tell me what "code 1" is please?

Thank you,
Charlie

		East Gippsland Wildlife Rehabilitators Inc..
                           http://www.egwildlife.com.au/

-- 
	Registered Linux User:- 329524

	***********************************************

	Better not to begin. Once you begin, better to finish it.
	-----Buddhist Saying

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [next] | [standalone]


#241305

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2021-10-14 18:40 +0200
Message-ID<D8bVT-52k-5@gated-at.bofh.it>
In reply to#241230
On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:
> 
> 	From my keyboard:
> 
> 	Hello,
> 
> 	If someone has an idea about this error message after suspend
> 	can you please give me a hint as to what is causing it:
> 
> wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
> code 1
> 
> Since Bullseye went stable on my Dell Inspiron laptop I have had some
> problems. The above is the latest. It happens randomly and there is no
> way of duplicating it.
> 
> I have googled this, but tried some of the suggestions without getting
> wpa supplicant to work again except by rebooting the laptop?
> 
> Can someone tell me what "code 1" is please?
> 


You clearly hacked together something unusual there. To being helped,
you have to provide more information.
Is there any log entry?
Please post the pre-up script.
Is there a particular reason why you configured the wifi this way?

-H



-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#241318

FromCharlie <taoquester@gmail.com>
Date2021-10-15 03:50 +0200
Message-ID<D8kw9-1FB-1@gated-at.bofh.it>
In reply to#241305
	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me about
	Re: wpa supplicant not starting - code 1...........

> On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:
> > 
> > 	From my keyboard:
> > 
> > 	Hello,
> > 
> > 	If someone has an idea about this error message after
> > suspend can you please give me a hint as to what is causing it:
> > 
> > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
> > code 1
> > 
> > Since Bullseye went stable on my Dell Inspiron laptop I have had
> > some problems. The above is the latest. It happens randomly and
> > there is no way of duplicating it.
> > 
> > I have googled this, but tried some of the suggestions without
> > getting wpa supplicant to work again except by rebooting the laptop?
> > 
> > Can someone tell me what "code 1" is please?
> >   
> 
> 
> You clearly hacked together something unusual there. To being helped,
> you have to provide more information.
> Is there any log entry?
> Please post the pre-up script.
> Is there a particular reason why you configured the wifi this way?
> 
> -H


Absolutely standard vanilla install and use from Bulleye when it was
testing. It happened a couple of random times in testing as well. But
that was testing, so just rebooted.

No hacking done at all. Some mention on the web:

https://forums.debian.net/viewtopic.php?f=5&t=145175

Not in any way applicable

Looked for fresher information, didn't find it.

Think it might be hardware.

Have had other hardware issues, so think this Dell laptop might be a
lemon. Ce la vie

Thanks for your input.

PS, has worked since I rebooted just after making this inquiry.

Stay well,
Charlie

-- 
	Registered Linux User:- 329524

	***********************************************

	The nail that sticks up will be hammered down.-----Japanese
	proverb

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#241387

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2021-10-16 18:30 +0200
Message-ID<D8UJj-1Gb-5@gated-at.bofh.it>
In reply to#241318
On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:
> 
> 	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me about
> 	Re: wpa supplicant not starting - code 1...........
> 
> > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:
> > > 
> > > 	From my keyboard:
> > > 
> > > 	Hello,
> > > 
> > > 	If someone has an idea about this error message after
> > > suspend can you please give me a hint as to what is causing it:
> > > 
> > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
> > > code 1
> > > 
> > > Since Bullseye went stable on my Dell Inspiron laptop I have had
> > > some problems. The above is the latest. It happens randomly and
> > > there is no way of duplicating it.
> > > 
> > > I have googled this, but tried some of the suggestions without
> > > getting wpa supplicant to work again except by rebooting the laptop?
> > > 
> > > Can someone tell me what "code 1" is please?
> > >   
> > 
> > 
> > You clearly hacked together something unusual there. To being helped,
> > you have to provide more information.
> > Is there any log entry?
> > Please post the pre-up script.
> > Is there a particular reason why you configured the wifi this way?
> > 
> > -H
> 
> 
> Absolutely standard vanilla install and use from Bulleye when it was
> testing. It happened a couple of random times in testing as well. But
> that was testing, so just rebooted.
> 
> No hacking done at all. Some mention on the web:
> 

> https://forums.debian.net/viewtopic.php?f=5&t=145175
>

Well,
that is wifi configuration in /e/n/i
Can you please then post the stanza for your wifi?

The code 1 is pretty generic.
/etc/wpa_supplicant/ifupdown.sh pretty much
throws an exit code 1 for all unsuccessful cases.


> Not in any way applicable
> 
> Looked for fresher information, didn't find it.
> 
> Think it might be hardware.

That might be. I do have frequently trouble with an old
powerbook pro. I think it is the power management causing
trouble.

> 
> Have had other hardware issues, so think this Dell laptop might be a
> lemon. Ce la vie

Have you ever tried to use the network manager?
For that you have to comment out the stanza for your
wifi in /e/n/i


> 
> Thanks for your input.
> 
> PS, has worked since I rebooted just after making this inquiry.
> 
> Stay well,
> Charlie
> 
> -- 
> 	Registered Linux User:- 329524
> 
> 	***********************************************
> 
> 	The nail that sticks up will be hammered down.-----Japanese
> 	proverb
> 
> 	***********************************************
> 	Debian GNU/Linux - Magic indeed.
> 
> 	-----------------------------------------------------
> 

-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#241441

FromCharlie <taoquester@gmail.com>
Date2021-10-18 05:30 +0200
Message-ID<D9rvA-5Gk-1@gated-at.bofh.it>
In reply to#241387
	On Sat, 16 Oct 2021 12:23:47 -0400 Henning Informed me about
	Re: wpa supplicant not starting - code 1...........

> On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:
> > 
> > 	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me about
> > 	Re: wpa supplicant not starting - code 1...........
> >   
> > > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:  
> > > > 
> > > > 	From my keyboard:
> > > > 
> > > > 	Hello,
> > > > 
> > > > 	If someone has an idea about this error message after
> > > > suspend can you please give me a hint as to what is causing it:
> > > > 
> > > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with
> > > > return code 1
> > > > 
> > > > Since Bullseye went stable on my Dell Inspiron laptop I have had
> > > > some problems. The above is the latest. It happens randomly and
> > > > there is no way of duplicating it.
> > > > 
> > > > I have googled this, but tried some of the suggestions without
> > > > getting wpa supplicant to work again except by rebooting the
> > > > laptop?
> > > > 
> > > > Can someone tell me what "code 1" is please?
> > > >     
> > > 
> > > 
> > > You clearly hacked together something unusual there. To being
> > > helped, you have to provide more information.
> > > Is there any log entry?
> > > Please post the pre-up script.
> > > Is there a particular reason why you configured the wifi this way?
> > > 
> > > -H  
> > 
> > 
> > Absolutely standard vanilla install and use from Bulleye when it was
> > testing. It happened a couple of random times in testing as well.
> > But that was testing, so just rebooted.
> > 
> > No hacking done at all. Some mention on the web:
> >   
> 
> > https://forums.debian.net/viewtopic.php?f=5&t=145175
> >  
> 
> Well,
> that is wifi configuration in /e/n/i
> Can you please then post the stanza for your wifi?
> 
> The code 1 is pretty generic.
> /etc/wpa_supplicant/ifupdown.sh pretty much
> throws an exit code 1 for all unsuccessful cases.
> 
> 
> > Not in any way applicable
> > 
> > Looked for fresher information, didn't find it.
> > 
> > Think it might be hardware.  
> 
> That might be. I do have frequently trouble with an old
> powerbook pro. I think it is the power management causing
> trouble.
> 
> > 
> > Have had other hardware issues, so think this Dell laptop might be a
> > lemon. Ce la vie  
> 
> Have you ever tried to use the network manager?
> For that you have to comment out the stanza for your
> wifi in /e/n/i
> 
> 
> > 
> > Thanks for your input.
> > 
> > PS, has worked since I rebooted just after making this inquiry.
> > 
> -- 
> Henning Follmann           | hfollmann@itcfollmann.com
> 

	Hello Henning.

	I have no idea what an e/n/i is. Am one of those unfortunates
	that fixes a motor, removes the worn part, takes it to a spare
	parts seller and shows them, because I have no idea what they
	are called. Brings home the new one and fixes the motor.

I left school at 14 years of age. Am old now and memory is not all that
good. Googled e/n/i can't discover what it means.

I have tried network manager about 15 years or more, ago. Didn't like
it and never touched it again. Then for a short, full of problems time,
the other one as well. Don't recall its name. Dropped that as well.

Anyway, I haven't had the wpa-supplicant problem again, so maybe it was
just a momentary glitch. I am always bemused by errors on my computer,
because I think that something which is all about mathematics should
just work. 2 and 2 can only make 4, not 5, not 6 or anything else? I
obviously don't understand the coding in the programs where the human
error must enter the works.

So thanks for your help, but I can't complete what you ask.

Just have to get on.

Charlie
-- 
	Registered Linux User:- 329524

	***********************************************

	There is no treasure in the deep mountains; he who has no
	desire for it finds it. ..ZEN SAYING

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#241445

From"Andrew M.A. Cater" <amacater@einval.com>
Date2021-10-18 12:00 +0200
Message-ID<D9xB0-TF-3@gated-at.bofh.it>
In reply to#241441
On Mon, Oct 18, 2021 at 02:23:17PM +1100, Charlie wrote:
> 
> 	On Sat, 16 Oct 2021 12:23:47 -0400 Henning Informed me about
> 	Re: wpa supplicant not starting - code 1...........
> 
> > On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:
> > > 
> > > 	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me about
> > > 	Re: wpa supplicant not starting - code 1...........
> > >   
> > > > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:  
> > > > > 
> > > > > 	From my keyboard:
> > > > > 
> > > > > 	Hello,
> > > > > 
> > > > > 	If someone has an idea about this error message after
> > > > > suspend can you please give me a hint as to what is causing it:
> > > > > 
> > > > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with
> > > > > return code 1
> > > > > 
> > > > > Since Bullseye went stable on my Dell Inspiron laptop I have had
> > > > > some problems. The above is the latest. It happens randomly and
> > > > > there is no way of duplicating it.
> > > > > 
> > > > > I have googled this, but tried some of the suggestions without
> > > > > getting wpa supplicant to work again except by rebooting the
> > > > > laptop?
> > > > > 
> > > > > Can someone tell me what "code 1" is please?
> > > > >     
> > > > 
> > > > 
> > > > You clearly hacked together something unusual there. To being
> > > > helped, you have to provide more information.
> > > > Is there any log entry?
> > > > Please post the pre-up script.
> > > > Is there a particular reason why you configured the wifi this way?
> > > > 
> > > > -H  
> > > 
> > > 
> > > Absolutely standard vanilla install and use from Bulleye when it was
> > > testing. It happened a couple of random times in testing as well.
> > > But that was testing, so just rebooted.
> > > 
> > > No hacking done at all. Some mention on the web:
> > >   
> > 
> > > https://forums.debian.net/viewtopic.php?f=5&t=145175
> > >  
> > 
> > Well,
> > that is wifi configuration in /e/n/i
> > Can you please then post the stanza for your wifi?
> > 
> > The code 1 is pretty generic.
> > /etc/wpa_supplicant/ifupdown.sh pretty much
> > throws an exit code 1 for all unsuccessful cases.
> > 
> > 
> > > Not in any way applicable
> > > 
> > > Looked for fresher information, didn't find it.
> > > 
> > > Think it might be hardware.  
> > 
> > That might be. I do have frequently trouble with an old
> > powerbook pro. I think it is the power management causing
> > trouble.
> > 
> > > 
> > > Have had other hardware issues, so think this Dell laptop might be a
> > > lemon. Ce la vie  
> > 
> > Have you ever tried to use the network manager?
> > For that you have to comment out the stanza for your
> > wifi in /e/n/i
> > 
> > 
> > > 
> > > Thanks for your input.
> > > 
> > > PS, has worked since I rebooted just after making this inquiry.
> > > 
> > -- 
> > Henning Follmann           | hfollmann@itcfollmann.com
> > 
> 
> 	Hello Henning.
> 
> 	I have no idea what an e/n/i is. Am one of those unfortunates
> 	that fixes a motor, removes the worn part, takes it to a spare
> 	parts seller and shows them, because I have no idea what they
> 	are called. Brings home the new one and fixes the motor.
> 
> I left school at 14 years of age. Am old now and memory is not all that
> good. Googled e/n/i can't discover what it means.
> 
> I have tried network manager about 15 years or more, ago. Didn't like
> it and never touched it again. Then for a short, full of problems time,
> the other one as well. Don't recall its name. Dropped that as well.
> 
> Anyway, I haven't had the wpa-supplicant problem again, so maybe it was
> just a momentary glitch. I am always bemused by errors on my computer,
> because I think that something which is all about mathematics should
> just work. 2 and 2 can only make 4, not 5, not 6 or anything else? I
> obviously don't understand the coding in the programs where the human
> error must enter the works.
> 
> So thanks for your help, but I can't complete what you ask.

/etc/network/interfaces 

The place where networking is largely set up.

You may find that things have changed with setting up networking as you've
moved from one release of Debian to the next.

All the very best, as ever,

Andy Cater


> 
> Just have to get on.
> 
> Charlie
> -- 
> 	Registered Linux User:- 329524
> 
> 	***********************************************
> 
> 	There is no treasure in the deep mountains; he who has no
> 	desire for it finds it. ..ZEN SAYING
> 
> 	***********************************************
> 	Debian GNU/Linux - Magic indeed.
> 
> 	-----------------------------------------------------
> 

[toc] | [prev] | [next] | [standalone]


#241452

FromCharlie <taoquester@gmail.com>
Date2021-10-18 14:50 +0200
Message-ID<D9Afw-2G4-5@gated-at.bofh.it>
In reply to#241445
	On Mon, 18 Oct 2021 09:54:50 +0000 Andrew Informed me about Re:
	wpa supplicant not starting - code 1...........

> On Mon, Oct 18, 2021 at 02:23:17PM +1100, Charlie wrote:
> > 
> > 	On Sat, 16 Oct 2021 12:23:47 -0400 Henning Informed me about
> > 	Re: wpa supplicant not starting - code 1...........
> >   
> > > On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:  
> > > > 
> > > > 	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me
> > > > about Re: wpa supplicant not starting - code 1...........
> > > >     
> > > > > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:    
> > > > > > 
> > > > > > 	From my keyboard:
> > > > > > 
> > > > > > 	Hello,
> > > > > > 
> > > > > > 	If someone has an idea about this error message
> > > > > > after suspend can you please give me a hint as to what is
> > > > > > causing it:
> > > > > > 
> > > > > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > > > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited
> > > > > > with return code 1
> > > > > > 
> > > > > > Since Bullseye went stable on my Dell Inspiron laptop I
> > > > > > have had some problems. The above is the latest. It happens
> > > > > > randomly and there is no way of duplicating it.
> > > > > > 
> > > > > > I have googled this, but tried some of the suggestions
> > > > > > without getting wpa supplicant to work again except by
> > > > > > rebooting the laptop?
> > > > > > 
> > > > > > Can someone tell me what "code 1" is please?
> > > > > >       
> > > > > 
> > > > > 
> > > > > You clearly hacked together something unusual there. To being
> > > > > helped, you have to provide more information.
> > > > > Is there any log entry?
> > > > > Please post the pre-up script.
> > > > > Is there a particular reason why you configured the wifi this
> > > > > way?
> > > > > 
> > > > > -H    
> > > > 
> > > > 
> > > > Absolutely standard vanilla install and use from Bulleye when
> > > > it was testing. It happened a couple of random times in testing
> > > > as well. But that was testing, so just rebooted.
> > > > 
> > > > No hacking done at all. Some mention on the web:
> > > >     
> > >   
> > > > https://forums.debian.net/viewtopic.php?f=5&t=145175
> > > >    
> > > 
> > > Well,
> > > that is wifi configuration in /e/n/i
> > > Can you please then post the stanza for your wifi?
> > > 
> > > The code 1 is pretty generic.
> > > /etc/wpa_supplicant/ifupdown.sh pretty much
> > > throws an exit code 1 for all unsuccessful cases.
> > > 
> > >   
> > > > Not in any way applicable
> > > > 
> > > > Looked for fresher information, didn't find it.
> > > > 
> > > > Think it might be hardware.    
> > > 
> > > That might be. I do have frequently trouble with an old
> > > powerbook pro. I think it is the power management causing
> > > trouble.
> > >   
> > > > 
> > > > Have had other hardware issues, so think this Dell laptop might
> > > > be a lemon. Ce la vie    
> > > 
> > > Have you ever tried to use the network manager?
> > > For that you have to comment out the stanza for your
> > > wifi in /e/n/i
> > > 
> > >   
> > > > 
> > > > Thanks for your input.
> > > > 
> > > > PS, has worked since I rebooted just after making this inquiry.
> > > >   
> > > -- 
> > > Henning Follmann           | hfollmann@itcfollmann.com
> > >   
> > 
> > 	Hello Henning.
> > 
> > 	I have no idea what an e/n/i is. Am one of those
> > unfortunates that fixes a motor, removes the worn part, takes it to
> > a spare parts seller and shows them, because I have no idea what
> > they are called. Brings home the new one and fixes the motor.
> > 
> > I left school at 14 years of age. Am old now and memory is not all
> > that good. Googled e/n/i can't discover what it means.
> > 
> > I have tried network manager about 15 years or more, ago. Didn't
> > like it and never touched it again. Then for a short, full of
> > problems time, the other one as well. Don't recall its name.
> > Dropped that as well.
> > 
> > Anyway, I haven't had the wpa-supplicant problem again, so maybe it
> > was just a momentary glitch. I am always bemused by errors on my
> > computer, because I think that something which is all about
> > mathematics should just work. 2 and 2 can only make 4, not 5, not 6
> > or anything else? I obviously don't understand the coding in the
> > programs where the human error must enter the works.
> > 
> > So thanks for your help, but I can't complete what you ask.  
> 
> /etc/network/interfaces 
> 
> The place where networking is largely set up.
> 
> You may find that things have changed with setting up networking as
> you've moved from one release of Debian to the next.
> 
> All the very best, as ever,
> 
> Andy Cater

Thanks Andy,

I know that file:

[quote]

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto enp1s0
iface enp1s0 inet dhcp

# Wildlife
# auto wlp2s0
iface wlp2s0 inet dhcp
	wpa-ssid *********
 	wpa-psk *************

# Wildlife Belkin
# iface wlp2s0 inet dhcp
# 	wpa-ssid ***************
# 	wpa-psk **************

[end quote]

Thanks for clearing that up for me Andy

Stay well,
Charlie
-- 
	Registered Linux User:- 329524

	***********************************************

	Only one who bursts with enthusiasm Do I instruct; Only one who
	bubbles with excitement Do I enlighten. If I hold up one corner
	and you do not Come back with the other three, I do not
	continue the lesson. -----Confucius

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#241455

FromCharlie <taoquester@gmail.com>
Date2021-10-18 15:20 +0200
Message-ID<D9AIy-36D-3@gated-at.bofh.it>
In reply to#241445
	On Mon, 18 Oct 2021 09:54:50 +0000 Andrew Informed me about Re:
	wpa supplicant not starting - code 1...........

> On Mon, Oct 18, 2021 at 02:23:17PM +1100, Charlie wrote:
> > 
> > 	On Sat, 16 Oct 2021 12:23:47 -0400 Henning Informed me about
> > 	Re: wpa supplicant not starting - code 1...........
> >   
> > > On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:  
> > > > 
> > > > 	On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me
> > > > about Re: wpa supplicant not starting - code 1...........
> > > >     
> > > > > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:    
> > > > > > 
> > > > > > 	From my keyboard:
> > > > > > 
> > > > > > 	Hello,
> > > > > > 
> > > > > > 	If someone has an idea about this error message
> > > > > > after suspend can you please give me a hint as to what is
> > > > > > causing it:
> > > > > > 
> > > > > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > > > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited
> > > > > > with return code 1
> > > > > > 
> > > > > > Since Bullseye went stable on my Dell Inspiron laptop I
> > > > > > have had some problems. The above is the latest. It happens
> > > > > > randomly and there is no way of duplicating it.
> > > > > > 
> > > > > > I have googled this, but tried some of the suggestions
> > > > > > without getting wpa supplicant to work again except by
> > > > > > rebooting the laptop?
> > > > > > 
> > > > > > Can someone tell me what "code 1" is please?
> > > > > >       
> > > > > 
> > > > > 
> > > > > You clearly hacked together something unusual there. To being
> > > > > helped, you have to provide more information.
> > > > > Is there any log entry?
> > > > > Please post the pre-up script.
> > > > > Is there a particular reason why you configured the wifi this
> > > > > way?
> > > > > 
> > > > > -H    
> > > > 
> > > > 
> > > > Absolutely standard vanilla install and use from Bulleye when
> > > > it was testing. It happened a couple of random times in testing
> > > > as well. But that was testing, so just rebooted.
> > > > 
> > > > No hacking done at all. Some mention on the web:
> > > >     
> > >   
> > > > https://forums.debian.net/viewtopic.php?f=5&t=145175
> > > >    
> > > 
> > > Well,
> > > that is wifi configuration in /e/n/i
> > > Can you please then post the stanza for your wifi?
> > > 
> > > The code 1 is pretty generic.
> > > /etc/wpa_supplicant/ifupdown.sh pretty much
> > > throws an exit code 1 for all unsuccessful cases.
> > > 
> > >   
> > > > Not in any way applicable
> > > > 
> > > > Looked for fresher information, didn't find it.
> > > > 
> > > > Think it might be hardware.    
> > > 
> > > That might be. I do have frequently trouble with an old
> > > powerbook pro. I think it is the power management causing
> > > trouble.
> > >   
> > > > 
> > > > Have had other hardware issues, so think this Dell laptop might
> > > > be a lemon. Ce la vie    
> > > 
> > > Have you ever tried to use the network manager?
> > > For that you have to comment out the stanza for your
> > > wifi in /e/n/i
> > > 
> > >   
> > > > 
> > > > Thanks for your input.
> > > > 
> > > > PS, has worked since I rebooted just after making this inquiry.
> > > >   
> > > -- 
> > > Henning Follmann           | hfollmann@itcfollmann.com
> > >   
> > 
> > 	Hello Henning.
> > 
> > 	I have no idea what an e/n/i is. Am one of those
> > unfortunates that fixes a motor, removes the worn part, takes it to
> > a spare parts seller and shows them, because I have no idea what
> > they are called. Brings home the new one and fixes the motor.
> > 
> > I left school at 14 years of age. Am old now and memory is not all
> > that good. Googled e/n/i can't discover what it means.
> > 
> > I have tried network manager about 15 years or more, ago. Didn't
> > like it and never touched it again. Then for a short, full of
> > problems time, the other one as well. Don't recall its name.
> > Dropped that as well.
> > 
> > Anyway, I haven't had the wpa-supplicant problem again, so maybe it
> > was just a momentary glitch. I am always bemused by errors on my
> > computer, because I think that something which is all about
> > mathematics should just work. 2 and 2 can only make 4, not 5, not 6
> > or anything else? I obviously don't understand the coding in the
> > programs where the human error must enter the works.
> > 
> > So thanks for your help, but I can't complete what you ask.  
> 
> /etc/network/interfaces 
> 
> The place where networking is largely set up.
> 
> You may find that things have changed with setting up networking as
> you've moved from one release of Debian to the next.
> 
> All the very best, as ever,
> 
> Andy Cater

Thanks Andy,

I know that file:

[quote]

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto enp1s0
iface enp1s0 inet dhcp

# Wildlife
# auto wlp2s0
iface wlp2s0 inet dhcp
	wpa-ssid *********
 	wpa-psk *************

# Wildlife Belkin
# iface wlp2s0 inet dhcp
# 	wpa-ssid ***************
# 	wpa-psk **************

[end quote]

Thanks for clearing that up for me Andy

Stay well,
Charlie
-- 
	Registered Linux User:- 329524

	***********************************************

	Only one who bursts with enthusiasm Do I instruct; Only one who
	bubbles with excitement Do I enlighten. If I hold up one corner
	and you do not Come back with the other three, I do not
	continue the lesson. -----Confucius

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#241449

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2021-10-18 13:30 +0200
Message-ID<D9z08-1R6-9@gated-at.bofh.it>
In reply to#241441
On Mon, Oct 18, 2021 at 02:23:17PM +1100, Charlie wrote:
> 
[...]

> 
> 	Hello Henning.
> 
> 	I have no idea what an e/n/i is. Am one of those unfortunates
> 	that fixes a motor, removes the worn part, takes it to a spare
> 	parts seller and shows them, because I have no idea what they
> 	are called. Brings home the new one and fixes the motor.
> 
> I left school at 14 years of age. Am old now and memory is not all that
> good. Googled e/n/i can't discover what it means.

It mainly means that I am a lazy bastard, and for somebody who complains
all the time when people are not more explanatory in their posts,
a hypocrite too.

/e/n/i = /etc/network/interfaces



> 
> I have tried network manager about 15 years or more, ago. Didn't like
> it and never touched it again. Then for a short, full of problems time,
> the other one as well. Don't recall its name. Dropped that as well.

Yes, understandable, Network-Manager had and has its problems.
But it has come a long way. It is worth looking at.

> 
> Anyway, I haven't had the wpa-supplicant problem again, so maybe it was
> just a momentary glitch. I am always bemused by errors on my computer,
> because I think that something which is all about mathematics should
> just work. 2 and 2 can only make 4, not 5, not 6 or anything else? I
> obviously don't understand the coding in the programs where the human
> error must enter the works.
> 
> So thanks for your help, but I can't complete what you ask.
> 
> Just have to get on.

Sure, if it works, there is no reason to invest more time
into this (at most annoyance).


> 
> Charlie
> --


-H

-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#241451

FromCharlie <taoquester@gmail.com>
Date2021-10-18 14:50 +0200
Message-ID<D9Afw-2G4-3@gated-at.bofh.it>
In reply to#241449
	On Mon, 18 Oct 2021 07:29:36 -0400 Henning Informed me about
	Re: wpa supplicant not starting - code 1...........

> On Mon, Oct 18, 2021 at 02:23:17PM +1100, Charlie wrote:
> >   
> [...]
> 
> > 
> > 	Hello Henning.
> > 
> > 	I have no idea what an e/n/i is. Am one of those
> > unfortunates that fixes a motor, removes the worn part, takes it to
> > a spare parts seller and shows them, because I have no idea what
> > they are called. Brings home the new one and fixes the motor.
> > 
> > I left school at 14 years of age. Am old now and memory is not all
> > that good. Googled e/n/i can't discover what it means.  
> 
> It mainly means that I am a lazy bastard, and for somebody who
> complains all the time when people are not more explanatory in their
> posts, a hypocrite too.
> 
> /e/n/i = /etc/network/interfaces
> 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto enp1s0
iface enp1s0 inet dhcp

# Wildlife
# auto wlp2s0
iface wlp2s0 inet dhcp
	wpa-ssid *********
 	wpa-psk *************

# Wildlife Belkin
# iface wlp2s0 inet dhcp
# 	wpa-ssid ***************
# 	wpa-psk **************

[end quote]

I have thought about commenting out the whole of:

# The primary network interface
# auto enp1s0
iface enp1s0 inet dhcp

However, if it slows down connecting to the net to leave it like this,
its hardly noticeable and quick to just bring it up if
wifi/wpa-supplicant doesn't work.

 As you say an annoyance when it doesn't do what one expects.
> > 
> > I have tried network manager about 15 years or more, ago. Didn't
> > like it and never touched it again. Then for a short, full of
> > problems time, the other one as well. Don't recall its name.
> > Dropped that as well.  
> 
> Yes, understandable, Network-Manager had and has its problems.
> But it has come a long way. It is worth looking at.
> 
> > 
> > Anyway, I haven't had the wpa-supplicant problem again, so maybe it
> > was just a momentary glitch. I am always bemused by errors on my
> > computer, because I think that something which is all about
> > mathematics should just work. 2 and 2 can only make 4, not 5, not 6
> > or anything else? I obviously don't understand the coding in the
> > programs where the human error must enter the works.
> > 
> > So thanks for your help, but I can't complete what you ask.
> > 
> > Just have to get on.  
> 
> Sure, if it works, there is no reason to invest more time
> into this (at most annoyance).
> 
> 
> > 
> > Charlie
> > --  
> 
> 
> -H
> 
> -- 
> Henning Follmann           | hfollmann@itcfollmann.com
> 


-- 
	Registered Linux User:- 329524

	***********************************************

	I scarcely remember counting upon any Happiness—I look not for
	it if it be not in the present hour—nothing startles me beyond
	the Moment. The setting sun will always set me to rights—or if
	a Sparrow come before my Window I take part in its existence
	and pick about the Gravel. -------John Keats

	***********************************************
	Debian GNU/Linux - Magic indeed.

	-----------------------------------------------------

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web