P1S Lan mode not working with Windows 11

Hi,

I wanted to switch from Cloud to LAN Mode on my P1S but it does not work. The Printer is not showing up in den Device list in Orca or Bambu Studio. I am in the same Network, i am even in the same Wifi. I can ping the printer and my local Firewall is disabled but it is still not showing up. I think i has something to do with ssdp in my Windows 11 installation. I tried using the “bambu-ssdp-discovery.py” python Script. With that the printer shortly shows up in the list and i can even enter the access code. But right after that one of two things happen. The printer directly disappears again or orca crashes (and the printer is also gone again).

I am a little lost and hope for some help.

BR
Sebastian

P1S LAN mode never worked for me from the get go. I gave up and just use cloud even I really hate cloud.

Well, if in the future BBL cut me off from using cloud, I would just buy a handful of SD cards and transfer the print like a caveman.

This is why I have to make my voice heard that I want a working offline solution.

Just want to share my experience.

1 Like

It always worked for me, may be a network plugin issue.

When you go LAN only mode on your printer, make a note of the access code you will need it to connect bambu studio to your printer.

Close Bambu Studio, go to directory C:\Users\your_user_name\AppData\Roaming\BambuStudio , and delete the plugins folder.

Launch bambu studio and the plugin will reinstall. Wait a couple of seconds and the printer should show up when you click “no printer” on the left panel in the “device” tab.

1 Like

Hey and thanks!

i tried that without success. I still think the autodiscovery is not working in my network. I now found da different Script. Its called “bambulab-discover.ps1”. With that, the Printer shows up as well but Orca does not crash. I can try to add the printer, get asked for the access code and then it shows up for some time as “online”. But then i get the following error and its gone again:

“Connect P1S failed! [SN:000000000000000, code=-1]”

Btw. Orca and Bambu Studio are freshly installed and i also did a factory reset on the Printer.

Since LAN Mode is working for you, would you mind sending me your bambu studio config? Just randomly change the Printers serial and the access code etc. Maybe i can find something in there that will make it work?! I was hoping that it will put the IP etc. in the config after it was added.

Thank you and best regards
Sebastian

Sure I can do that but not sure it will really help though. What I’ve done is to set a fixed IP to the printer MAC address in my router settings so that it never changes. I did this to keep same config for FTP and MQTT access but it may help your issue.

Some things to try:

  1. Log out of your Bambu account in Orca and then see if the printer shows up and the access code works.

  2. Make sure Windows firewall is disabled for “domain”, “public” and “private”.

  3. Open %appdata%\OrcaSlicer\OrcaSlicer.conf and see if the access code listed in it matches the one on the printer

1 Like

This is also how my wifi is configured in Win11:

  • Connect automatically when in range: ON
  • Private network: ON Public: OFF
  • Random Hardware Addresses: OFF
  • Metered Connection: OFF
  • IP Assignment: Automatic
  • DNS Servers Assignment: Automatic

i had some success now. I found a slightly different discovery spoofing script. After running that one, both orca and studio are able to see the printer and connect. Everything seems to work…until i close the apps and start them again. Then the printer is gone again. I have to run the script again and then connect again.

i also tried connecting via IP and access code in Bambu Studio. That does not work (btw. why is that feature missing in Orca?). That is strange since the connection after spoofing is working (at least during the runtime of the app). It does not seem to cache the IP etc. highly annoying if i have to run the script anytime i want to slice something. I even checked the Printer S/N and Access code in the orca and studio config.

1 Like

Is the IP correct in both Studio and Orca conf files?

I was hoping to find that in the config files, but there is none. I added the printer (after the spoofing), closed studio / orca and had a look into the configs. No entry with the printers IP. Only the serial number and the access code was there.

Will check back later for details but in the meantime - when you say ‘my local Firewall is disabled’, what exactly do you mean - local firewall at the router level or Windows Firewall? If not the latter - try temporarily disabling Windows firewall and see if it gets you somewhere.

Either case, here’s a list of ports and accesses needed from your PC/phone and your printer (set in LAN-only mode) in order for them to successfully communicate: Orca Slicer or die! - #270 by zwerko

It’s here in my config file:

“header”: “BambuStudio 01.09.07.52”,
“homepage”: {
“online_clicked”: “1”
},
“ip_address”: {
“01P09A3XXXXXXXX”: “192.1XX.XX.XX”
},
“liveview”: {
“auto_stop_liveview”: true
},

Interesting, I will try to set that manually.

Question: how did you add the printer? Through access code and ip or through auto discovery? If with code and Ip that could be the reason, why there is an ip in your config since I can get it working only through auto discovery and not with code and ip.

Regarding the ports. They are all open and I can telnet to each one. Since I am also able to connect through spoofing the auto discovery stuff, the ports are not the problem.

I have no idea why the access with ip and port is not working

Firstly, I have Win 10 and the P1S set up in LAN only mode following the steps below.

First, the configuration for the Wifi on the printer was reset.

→ Menu - Settings - WLAN - Forget

After successful confirmation, switched off the printer.

Set up the network manually on the printer using the following instructions.

After switching on, select LAN-ONLY mode in the menu.

Make a note of the access code.

After starting the Orca-Slicer, the printer appears after a short time. When selecting it for the first time, the access code still had to be entered.

Translated with DeepL.com (free version)

I know all that, but that is not working (see everything above your post)

Add the printer on the network or add the printer in Orca and Studio? For the printer I forced the Wifi network through SD card as the printer wifi reception is really poor. You could try that as well.

First make sure you have a SSID that transmits only on 2.4G, 5G will not work.

Create a “user_wifi.cfg” file at the root of your SD card, in text editor and add the following 2 lines in the file:
ssid:your wifi 2.4G SSID
password:your wifi 2.4G key

Switch off the printer, insert the SD card, switch on the printer, it will force this only network at boot

For printer discovery in Orca and Studio, I use auto discovery, did not see other option

FWIW, my key is WPA/WPA2 TKIP

Edit: did not see Hamsterberg had proposed the same

As last resort you can try to start from scratch by uninstalling and reinstalling Orca and Studio, it may clear any remaining issues.

The printer is on the network. That ist not the problem. I can ping it, I can Telnet to every port. The problem is adding it to studio / orca. It’s only working with spoofing the discovery packets and then it’s only working as long as the app is running. If I restart it, the printer is gone again. Adding it with ip and access code is not working at all. So in general the connection is working but not as it should be.

I already reinstalled orca and studio a couple of times.

Is your Windows firewall perhaps not configured correctly?

There is no windows firewall and as mentioned I am able to connect if I jump through hoops but not just with ip and access code. So even if there was an firewall it would be open or there would be not connection at all.

After some more digging through reddit etc. i found the reason for the auto discovery not working. My Wifi NIC was set to “public network” which is the recommended setting by windows. With that, the SSDP requests are blocked or whatever. I now set it to “private network” and bambu studio instantly sees the printer. I found this info nowhere in the bambu documentation.

Is there any way to get bambu studio to directly connect to my printer after the startup is done? After a restart of the app i have to go to devices then it says “no printer”. I then have to go to the list (where my printer now finally shows up) and have to click on it. If found no setting like “always connect to this printer”.

The Connection with IP and access code is still not working.

BR