Cisco 1760 router wont load past rommon - boot

after reset to factory defaults("write erase") and writing command "write memory" (by a mistake...just wanted to save config....and forgot that on cisco its "copy running-config startup-config"). Router wont load past rommon now(i see in console error messages):
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
But i can manually boot it past that by typing in terminal(via console):
rommonX> BOOT=flash:c1700-adventerprisek9-mz.123-14.T7.bin
rommonX> sync
rommonX> i
Router is Cisco 1760, IOS ver is
Cisco IOS Software, C1700 Software (C1700-ADVENTERPRISEK9-M), Version 12.3(14)T7

It can either be the flow control on your console app or the actual registers you are using. The registers are kinda like boot settings and if it is set to bypass the stored settings it could possibly go into rommon mode.
router(config)# config-register 0x2102
0x2142 will cause it to bypass the NVRAM settings
hope this helps

Related

How to disable quarkus dev mode?

After a CLI application exits, on prod profile, i'd like it to go back to the shell instead of re-prompting the dev mode ("Press [space] to restart, [e] to edit command line args...")
Also would not need the "Press [h] for more options>" on startup.
Would it be possible to get quarkus "dev mode" totally out of the way in prod?
Description:
Add a configuration value/switch to disable the GRPC server in dev mode
At the moment there is no way to disable starting of the GRPC server in dev mode. For instance if only the client is used it is weird to have to assign a random port to the GRPC server to solve port collision for instance from a real GRPC server. So I don't really know if this is an actual feature request or a small bug.
Implementation ideas:
Have a configuration value which disables the starting of the server, e.g.:
quarkus.grpc.server.enable

Cannot connect to NSMachBootstrapServer from plugin

I'm fairly new to macOS development. I decided to create a CoreMedia DAL plugin to try to create a virtual camera and learn more about the Objective C ecosystem.
There are two components to the application:
The bundle plugin that gets installed into the /Library/CoreMediaIO/Plug-Ins/DAL/ directory and emulates a hardware device
A simple server that serves video frames from an actual hardware device to the plugin. The idea is that this server will apply filtering/compositing to the frame data before forwarding it onto the virtual camera.
I have successfully created a virtual device that just serves a static image. But to communicate from the plugin → server to get the dynamics frames, I'm using Mach ports (I know they're deprecated).
The server is running an NSMachBootstrapServer instance which has registered a service "com.vcamera.server". The plugin is referencing this service as it runs with the following code.
NSPort * port = [NSMachBootstrapServer sharedInstance] portForName:#"com.vcamera.server";
Problem
When I start an application that uses the virtual camera plugin (e.g. OBS in my case), the plugin prints that it successfully finds the registered server Mach port (the server port is not nil) but it cannot actually send data to it. The NSPortMessage instance sendBeforeDate fails with a timeout. For the life of me, I can't figure out why the Mach IPC doesn't transfer data when it processes that a service has registered on the port.
What I've tried
To isolate the issue, I created two distinct client and server applications that are NOT plugins by compiling directly with GCC. I was able to reproduce the timeout from the client to the server when I did not codesign the binaries, but once I did a simple codesign using my Apple developer account the two binaries were able to communicate.
But what's strange is that the OBS application that loads the virtual camera plugin is clearly codesigned but the connection from the plugin to the server does not complete successfully. Also, I read online that any application that loads virtual camera plugins needs to have the "Disable Library Validation" entitlement, but I confirmed that it was available in the application property list with this command.
codesign -d --entitlements :- /Applications/OBS.app
A few questions:
Is there anything obvious that's sticking out that I'm doing wrong?
Am I fundamentally misunderstanding the permissioning that's necessary to do Mach IPC?
Do bundle plugins need to be signed somehow or does the application (OBS in this case) itself need to have its code signature changed to match my developer ID?
I'd really appreciate any assistance that you can give! More than happy to give more information.

CredentialProvider not loaded in console session of Windows

I have a CredentialProvider created using the Windows template code for CredentialProvider, which is used to login user in Windows OS. It is working properly in most of the systems. But it is failing in a particular system, running Windows Server 2016 on Amazon Web Services(AWS), when running in console session. In same system, credentialprovider is working for RDP sessions. In other system running Windows Server 2016, CredentialProvider is working in all session(console and RDP).
Reason for it failing in this particular system is that my CredentialProvider is not loaded in console session, while it is properly loaded in RDP sessions. While in other system, where it is working, CredentialProvider is loaded properly in all sessions.
Can anybody please help me know possible reason for CredentialProvider not loaded in console session, and the way to handle it?
In Windows 10 and windows server 2016, there is change in architecture due to which in below cases Credential providers are loaded only after Legal Disclaimer is bypassed.
When policy of "Do not require CTRL+ALT+DEL" is disabled which results in compulsion of pressing CTRL+ALT+DEL to get out of lock screen.
When lock screen is disabled. This can be configured following steps provided in https://www.cnet.com/how-to/how-to-disable-the-windows-10-lock-screen/.
In case if Legal Disclaimer is not configured, above issue is not faced.
In case of RDP(lock case), as legal disclaimer is not shown, it works well.

Start/Stop in Spring STS boot dashboard

I’m having an issue with the spring boot dashboard. When I start an app the icon show the loading icon and never reaches the green up icon though the app does start and accepts requests. When I stop the app it takes a couple of minutes to stop.
I have access to another machine where the dashboard behaves as expected.
I’m using the getting started rest service app (gs-rest-service-complete) targeting spring boot 1.4.3.release with no modifications. I’m using sts 3.8.3.
I’m experiencing the issue on OSX El Capitan 10.11.6
My jdk version is 1.8.0_112
I've found a couple of similar questions but the suggestions don't resolve my issue.
This one relates to bad entry in hosts file - mine is ok (Spring Boot Dashboard projects never finish starting)
This one suggests switching life-cycle-bean support off, but I want to know how to use run the dashboard with it enabled. The response to this question also requests a sample app, as stated I'm using the gs-rest-service-complete sample app (STS Spring Boot Dashboard Doesn't Recognize Successful Start)
What might be causing this problem?
It sounds like the machine where it doesn't work might have some kind of firewall stopping the JMX connections. These connections are made via sockets. Firewall type software sometimes prevents the connections. If you know of firewall type software running on your machine you could try disabling it or (less drastically) trying to reconfigure it so it allows connections between different processes running on your machine.

"an error occurred in the application server (Not found)" message in Android app

I've been handed a Genexus KB to make an SD app for it. But each time i want to try it i get a "an error occurred in the application server (Not found)" each time i've ran it in a real device (connected in the internal network thorugh) or in an Android Emulator (Andy).
I've setted the KB to point to a local DB stored in my computer and i've tried different ways to try it and it keeps with no luck.
What else should I do?
PS: when i run the web version of it, there's no problem.
Altight people, first of all thanks for the help you gave me!
Secondly #fpanizza that link you gave me was very useful, I could use CatLog with android emulator Andy (after installing Andy Rootkit) and I found out that my app wasn't reaching REST services in the server which leads me to #Franklin, who was right to let me know that it had to do with REST services and I've found out later that i didn't had installed HTTP Activation at one of the WCF Services at the .Net Framework 4.5 Advanced Services, which allowed to reach REST services, and now it worked.
You can try setting the server URL with the IP of your server.
Is probable that the local host is trying to access itself, the android device.
Service URL property: http://wiki.genexus.com/commwiki/servlet/hwikibypageid?21146
Update
I would do what fpanizza suggests on the comment.
Another troubleshooting idea that may bring some light into problem would be to try to access the rest services from a web navigator on the emulator. The idea would be to validate that the emulator/device can "see" the server. Testing outside the app will help understand if the problem is in the app or the server or the connection device - server.
Thank you #Juan.
For better understanding here I enclose the image.
Control Panel > All Control Panel Items > Programs and Features > Turn Windows features on or off

Resources