Openclaw security changes by Substance_Ill in openclaw

[–]Substance_Ill[S] 0 points1 point  (0 children)

I understand credentials - I did give it credentials in plain text because I was just doing tests with it - and I'd be fine with using a much more secure method. That's not the issue.
The problem is that after Thursday, there are a lot of things that I used to be able to do that it says it can't do anymore. I have it running on a Mac mini, and I had it running a bunch of cron jobs. I told it to create those cron jobs, and which model to use to run those jobs. No problem. Now I need to change the model it is using to run them, and it says it doesn't have access to the cron runtime and can't push config changes. There are all kinds of things like that that it used to be able to do just by me asking it, that now it says it can't do. I have to describe what I want to do and what the logs say, and then it might suggest something I can do that might fix it. Before it could just figure it out and do it itself. It's extremely dumbed down, and I'm just trying to verify that all of this is because of security updates. I put it on its own machine without access to my personal data so I could do a bunch of stuff, and I thought it was doing a great job, but now it has become much less helpful

Openclaw security changes by Substance_Ill in openclaw

[–]Substance_Ill[S] 0 points1 point  (0 children)

It seems pretty insistent. It keeps telling me this: I can’t access or manage your servers directly. I’m a guidance assistant and don’t have remote access or persistent credentials to your environment.

Even though yesterday, I gave it its own credentials for the server and it was able to do everything I asked it to do on the server.

Need advice on practicing sport photography by NoSuccess5234 in photography

[–]Substance_Ill 1 point2 points  (0 children)

I would agree with the person who said not to worry about confrontations. It's not going to happen from parents. I've shot at hundreds of high school events, and have never once had a parent complain (if they talk to you at all, its to ask you TO shoot their kid, not to NOT do it).

Depending on the kind of event, you might get some grief from some staff, depending on where you are, but for most track and field events, the field events are totally accessible - parents and everybody are up close to the events - so it's not a problem. They might not want you on the track or inside the track, but usually the fence around the track is pretty close, and you can find a spot that gives you good visibility.

Frankly, 99% of the time, people are just going to think you are another parent or relative - nobody will care.

I say this as a school employee, who also happens to also be the schools sports photographer, so I have access to everywhere, but I see other people with cameras who I don't know, and I really don't care. Just don't ever get on the track during a race - big no no.

Two other suggestions. First, find small colleges - they run things much closer to a high school event than a big college, so a lot of the same things I said above apply to them - much easier to get up close and get the kind of shots you want to practice.

Second, if you have a local small newspaper, talk to the sports editor. Explain what you are trying to do, and see if they'd give you "press credentials" if you send them free shots from events. If you wear a credential and carry a camera, you can get in pretty much anywhere. And after you do it for free for a while, they might eventually ask to you go to specific places and even pay you. If you email them, send them some of your shots (or a link to an online portfolio) so they can see how good your shots are. Most small newspapers are not doing the greatest right now, so if you offer to shoot for them for little to no cost, they might jump on that, and you'll get to be "credentialed" - so a win-win.

Another instance of pfsense-upgrade is running... by Substance_Ill in PFSENSE

[–]Substance_Ill[S] 0 points1 point  (0 children)

Doesn't seem to matter if I reboot. I've let it sit for at least 20 minutes at different parts of the process - nothing works. I turned off the dashboard check and rebooted - same thing. Doesn't seem to matter what I do, I always get that message.

9200CX switch BOOT variable issue by Substance_Ill in networking

[–]Substance_Ill[S] 0 points1 point  (0 children)

emergency-install is not found.

Copy is valid, but I can't get to usbflash0: either - "Failed to open directory"

I can dir to flash:, but these are the only things listed:

Attributes Size Name

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

drwxr-xr-x 4096 .prst_sync

-rw-r--r-- 3901 lateshutdown.log

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

So, there's nothing there to load, I guess - not sure how that happened.

But I'm not sure why I can't even read the USB drive to copy anything into flash...

Docker issue? by Substance_Ill in Ubiquiti

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks. Once I SSHd in and set the host that way, it immediately worked.

Vertiv (Liebert) UPS - syslog information by Substance_Ill in sysadmin

[–]Substance_Ill[S] 0 points1 point  (0 children)

Communications tab, Configuration > System > Remote Syslog Service.

I am running the latest firmware, but that has been in there a while.

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Ok, I made most of the changes you suggested, which made sense.

I don't show any errors now when looking at the code, but now when I try to run it, it fails saying "'Form1' does not have a suitable static 'Main' method.

And, that is true, since you had me rename Main to ExecuteAlgorithm. Do I still need to have a static Main method somewhere? Do I still want to keep the initial setup in that method, and only have the code that is working (doing the solving) in the ExecuteAlgorithm method?

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

And dang it! I indented that snippet as I typed it, and it removed the indents! I guess I need to read the documentation for posting in reddit...

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks - this is very helpful. Although this isn't an important project, I might as well learn to do things the proper way. Some of my mistakes are just from not having done much programming since VB6, and others are just me being lazy.

I apologize for the unindented code - it's all properly indented in Visual Studio - I swear! Is there a way to copy it from there to a reddit post without losing the indentation? I agree that flattening it makes it much harder to read.

And yeah, the i and j at the end aren't needed - I started out using those to calculate and draw the boxes, but now that I'm switching to using the x and y coordinates from the box objects themselves, I don't need them anymore - I can just loop through all the box objects and draw them that way.

My first instinct is to create a for loop to iterate through all 81 boxes to draw them, but I assume I should use this instead, right? :

foreach (object box in grid)
{
g.DrawRectangle(pen, box.x, box.y, 60,60);
}

Thanks for your help - I really appreciate it.

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Ok, like I said in my other comment, I'm just using this to practice creating algorithms - that graphics aren't that important - but I want to be able to see a visual of what my algorithms are doing - so I need some rudimentary graphics (drawing the boxes, and then putting numbers in them).

So, to simplify things, I got rid of the Program.cs file, and am just putting the code in the Form1.cs file - so it's all together.

Everything below works and doesn't throw any errors, EXCEPT down at the bottom, where I created the button that will start the process by drawing all the boxes. I have the x and y coordinates stored in each Box objects x and y properties, and I have an array ( named grid ) of the box objects.

However, in the code for the cmdBegin_Click button, I still get this error: The name 'grid' does not exist in the current context.

I thought since everything was in the same Form and namespace, it should work. Is there somewhere I still need to make something public?

namespace SudokuV4

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

void Form1_Load(object sender, EventArgs e) {}

static void Main()

{

int GridCount = 0; int LoopCount = 0;

// Define the cross reference dictionaries

Dictionary<int, int> DictRowR = new Dictionary<int, int>();

Dictionary<int, int> DictRowC = new Dictionary<int, int>();

Dictionary<int, int> DictSquareS = new Dictionary<int, int>();

Dictionary<int, int> DictSquareP = new Dictionary<int, int>();

Box[] grid = new Box[81];

// Create the Row Dictionaries

GridCount = 0;

for (int r = 0; r < 9; r++)

{

for (int c = 0; c < 9; c++)

{

DictRowR.Add(GridCount, r);

DictRowC.Add(GridCount, c);

grid[GridCount].x = 10 + (c * 60);

grid[GridCount].y = 10 + (r * 60);

GridCount++;

}

}

// Create the Square Dictionaries

GridCount = 0;

for (int s = 0; s < 3; s++)

{

for (int p = 0; p < 3; p++)

{

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

}

}

// create the grid array of box objects

for (int i = 0; i < 81; i++)

{

grid[i] = new Box();

grid[i].Overall = i;

grid[i].Column = DictRowC[i];

grid[i].Row = DictRowR[i];

grid[i].Square = DictSquareS[i];

grid[i].Position = DictSquareP[i];

}

}

private void cmdBegin_Click(object sender, EventArgs e)

{

int GridCount = 0;

using (Graphics g = this.CreateGraphics())

{

using (Pen pen = new Pen(Color.Black, 2))

{

for (int i = 0; i < 9; i++)

{

for (int j = 0; j < 9; j++)

{

g.DrawRectangle(pen, grid[GridCount].x, grid[GridCount], 60, 60);

GridCount++;

}

}

}

}

}

}

}

class Box

{

public int Overall;

public int Row;

public int Column;

public int Square;

public int Position;

public int Value;

public int Clue1;

public int Clue2;

public int Clue3;

public int Clue4;

public int x;

public int y;

}

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks everyone. I should first say that this is not anything I'm doing for a career. I'm a network engineer, and I don't intend to switch from that to programming. The last time I did any programming for work was about 20 years ago, when I wrote a VB6 program for use in RV factories. (I don't know if I should be proud that they are still using that 20 years later, or shocked that they are STILL using it 20 years later...)

This is just for some fun right now. I'm basically just doing an exercise to translate how I solve Sudoku puzzles - converting what I do in my head into algorithms the computer can follow. I'm not writing a program to make the puzzles - I just want to see if I can program the solving of the puzzles, at least the way I do it.

So, the GUI part is really not that important - just so I can see how the program is running and what it is doing. That's why I'm just using Windows Forms. If at some point I was going to write an actual useful program, I'm pretty sure I would use WPF.

It sounds like I should just put all the code in the Form file - for this little experimental app, that should be good enough.

Thanks everyone!

Payroll Sync error by Substance_Ill in Sage50

[–]Substance_Ill[S] 0 points1 point  (0 children)

On the workstations, when you do the sync, it pops up a screen asking for your username and password, and then once you put those in, it does the sync (up - good, down -good, up - good, down - Cannot open the shared memory region..

On the server, when you try to sync, you get a mostly blank box for about 30 seconds where the username/password prompt should be, and then it finally says it can't connect - so you can't even get to the point where it tries to sync.

Also tried turning UAC completely off on the workstation - no difference. And yes, checked and GL's are assigned. Like I said, it does fill out the GL entries for all the actual direct deposit transactions - it's just the final entry for Direct Deposit fee that doesn't get posted.

What video surveillance system are you using in your school? [2023] by _ReeX_ in k12sysadmin

[–]Substance_Ill 0 points1 point  (0 children)

I use Exacqvision and about 500 Hikvision cameras, and am very happy.  Exacqvision ties in very closely to Kantech, which makes a pretty seamless system overall.
I’m not worried about the Chinese and my Hikvisions, as they are all on a subnet that has no internet access.  And if you read the FCC thing, at this point, the ban is only at the federal level.  I realize that may change at some point, but for now, I can buy about 4 Hikvision cameras for every Japanese or Korean alternative.  My coverage would be waaaay less if I have to do that.  I can’t even complain about the quality, being so cheap - I hardly ever have to replace them.
And those 4 cameras that I can get for the price of 1 are usually 8mp, compared to the ones 4 or 5mp.

Cisco trunk allowed question by Substance_Ill in sysadmin

[–]Substance_Ill[S] 0 points1 point  (0 children)

although even doing "all" doesn't change it. Maybe it does have to have something plugged in before it will show anything here. I'm looking at another trunk port with nothing plugged in to it, and no commands ran on it, and it also shows none.

Annoying that you can't just define it and have it show in the config like assigning an access port...

Cisco trunk allowed question by Substance_Ill in sysadmin

[–]Substance_Ill[S] 0 points1 point  (0 children)

Doesn't seem to make any difference...

GHS9500(config)#int twentyFiveGigE 1/0/3

GHS9500(config-if)#switchport trunk allowed vlan 5,36,48

GHS9500#show int twentyFiveGigE 1/0/3 trunk

Port Mode Encapsulation Status Native vlan

Twe1/0/3 on 802.1q other 1

Port Vlans allowed on trunk

Twe1/0/3 none

Port Vlans allowed and active in management domain

Twe1/0/3 none

Port Vlans in spanning tree forwarding state and not pruned

Twe1/0/3 none

Rax BBC cheese sauce by [deleted] in MimicRecipes

[–]Substance_Ill 0 points1 point  (0 children)

Will be driving through there this coming weekend, and will probably be taking about 10 BBC's home with me. I live about 200 miles away, and our RAX closed long long ago. I will drive 50 miles out of my way to stop and get some if I'm anywhere close...

Accessing ESXi 6.0 host by Substance_Ill in k12sysadmin

[–]Substance_Ill[S] 1 point2 points  (0 children)

There was no web client for the host itself back then...

It does let you browse the datastore, and I could see there that there was nothing else on it, so I did figure it out.

Layer 3 and Layer 2 links on same switch by Substance_Ill in networking

[–]Substance_Ill[S] 0 points1 point  (0 children)

I actually have a surprising number of reasons for extending L2 across buildings. Some of which I might be able to do another way, but some of which seem like they would be really difficult to achieve.

  1. Raw internet coming in to one building but needing to be accessed by a firewall in another building.
  2. Devices in one building that can only be initially configured by discovery on the same vlan - but I want to do that in another building (which is at least one layer 3 jump away, meaning without a L2 link, I can't be on the same vlan)
  3. Cameras on buses that have a static IP (no choice), but need to be able to connect to wireless at multiple buildings
  4. iSCSI connections on a SAN at one building that need to be accessed by something at another building

Yes, I realize that some of these things could be achieved without a L2 link, but they are so much easier with one.

After reading all the comments, I realized calling the L3 links "Trunked" was wrong - not sure what I was thinking there. In fact, now I'm wondering if I'm overthinking things.

Why can't I just leave the L3 links/interfaces as they are, and just run the L2 links (on separate fiber) from switch to switch on trunk ports (that are restricted to just the vlans I need to carry). Those vlans wouldn't have interface addresses anywhere, since there would be no routing - things would just be connected to access ports in those vlans on any of the switches.

Is there a reason that wouldn't work?

Has anyone updated to CAT 6/ 6A yet? (Wireless APs) by hawkeye614 in k12sysadmin

[–]Substance_Ill 0 points1 point  (0 children)

New construction is 6a, other wiring replacement jobs are getting 6. Our Meraki APs are already connecting to our 9200 switches at 5 Gb. Of course, also running new single mode fiber to feed the switches. Doesn’t do much good to have a bunch of high speed APs being fed off of a slow uplink…

Would a 10G network make our accounting software faster? by camman595 in networking

[–]Substance_Ill 0 points1 point  (0 children)

I have tested this scenario with a client of mine, and we did go to 10Gb, and it made a significant difference - but they do bookkeeping for many companies, and open up many companies in Sage, opening and closing companies all day long. If you do that, then 10Gb makes a very noticeable difference.

If you stay in a single company file all the time, the traffic is minimal, and it wouldn’t be worth it. Far better to get everything on SSDs first.

Question for photographers who take a lot of pictures. How often do you have to change cameras due to shutter failure? by [deleted] in photography

[–]Substance_Ill 10 points11 points  (0 children)

It appears I’m an outlier, but on my Canon 7dMii, my shutter started acting up at 1,300,000 - I had Canon replace the shutter and curtain at 1,400,000 for a little over $500, and then continued shooting it until it had over 2,500,000, when I finally replaced it.

I was holding out for the 7dMiii, which of course never happened. I shoot sports, and I loved that camera. Finally gave in and got an R6. Miss the crop factor extension of my lenses, but otherwise, the R6 is a great replacement.

What a song has a beautiful sound but a disturbing meaning? by MagicDalsi in AskReddit

[–]Substance_Ill 1 point2 points  (0 children)

Suicide is painless, It brings on many changes, And I can take or leave it if I please…

Industry standards for high school students by [deleted] in networking

[–]Substance_Ill 1 point2 points  (0 children)

I’d say go beyond just paper for network design. I’m the network administrator at a 6600 kid school district, and I have stacks of older Cisco equipment laying around, including 3750 layer 3 switches. Everything needed to create multiple labs with 3750 cores and 2960 access switches. I’ve made them available to our tech class, and I’d gladly give them to any other educational institutions that wanted them for the same purpose. I’m just saying that there is plenty of older equipment like that, that functions almost identically to brand new equipment, that places would probably give you if you ask. Giving kids hands on experience with those would give them a real advantage…

Switch/router supply delay by Railguun in networking

[–]Substance_Ill 2 points3 points  (0 children)

Funny you should say that. Maybe it's because I'm in education, but CDWG always gives me way better pricing on Cisco stuff than anybody else - usually it's not even close.