Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 326 when executing #3

Open
vtacquet opened this issue May 17, 2021 · 4 comments
Open

error 326 when executing #3

vtacquet opened this issue May 17, 2021 · 4 comments

Comments

@vtacquet
Copy link

npx tasmota-installer flash
===========================
Checking if you already set a tasmota Device in DIY AP Mode, by searching for a ITED-XXXX wifi network nearby....
===========================
Trying to find ITEAD wifi network
ITEAD wifi network found: ITEAD-10011882e3. Trying to connect...
node:child_process:326
ex = new Error('Command failed: ' + cmd + '\n' + stderr);
^

Error: Command failed: /usr/sbin/networksetup -setairportnetwork en1 ITEAD-10011882e3 12345678

at ChildProcess.exithandler (node:child_process:326:12)
at ChildProcess.emit (node:events:365:28)
at maybeClose (node:internal/child_process:1067:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {

killed: false,
code: 10,
signal: null,
cmd: '/usr/sbin/networksetup -setairportnetwork en1 ITEAD-10011882e3 12345678'
}

might be the wrong network device (en1 vs en0)

networksetup -listnetworkserviceorder
An asterisk (*) denotes that a network service is disabled.
(1) USB Controls
(Hardware Port: USB Controls, Device: usbmodemABC1234567892)

(2) USB 10/100/1000 LAN
(Hardware Port: USB 10/100/1000 LAN, Device: en9)

(3) USB 10/100/1000 LAN 2
(Hardware Port: USB 10/100/1000 LAN, Device: en8)

(4) Wi-Fi
(Hardware Port: Wi-Fi, Device: en0)

@gdespirito
Copy link
Member

Hi! What operating system are you using?

@vtacquet
Copy link
Author

Hi! What operating system are you using?

macOS Big Sur 11.2.3 on a MacBook Pro (15" 2016)

@gdespirito
Copy link
Member

Oh, I also use Big Sur, but on a Mac Mini M1 and the wifi network was en1. I thought on Mac O will be always the same.

By the way, can you try using the command but without wifi configuration?

npx tasmota-installer --nwc 

@vtacquet
Copy link
Author

Well, I have no more devices to flash for now, but will test it again when I have new ones. Thanks for checking it out !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants