Skip to main content

Cisco Devnet - How to Make a Splash Page ft. Meraki, Trial and Error, and Many Helpful Programmers

If you haven't looked at Cisco DevNet, it's a really hoppin' resource for hands on work.

(Who says 'hoppin' resource'?)

I'm working from two articles to:

  • Use Meraki
  • Make a captive portal - That thing that says 'Adhere by our T&C' when you try to log in to use public Wi-Fi with your VPN (You are using a VPN, right?)
Articles: 1 , 2


Copying from git in cmd worked well (Somehow, I couldn't do it in Git Bash)

However;


The immediate following is from the 'Setting up your workstation for this computer' section of the instructions.
  1. Clone the repository and change into the new folder.
    $ git clone https://github.com/CiscoDevNet/meraki-code
    $ cd ~/meraki-code/meraki-captive-portal-python 
     

There is no folder called meraki-captive-portal-python. There's an actual python executable. I could make the folder, but there's no telling if something was intended to be in said folder.

Looking at the list of files, it's...just not there? Well, let's see what we can do instead.

The next bit of instructions tell us to go to \meraki-code\meraki-captive-portal\sample-captive-portal, which exists, so good for us!

We run the program. Next line starts with a command that's not recognized by windows apparently. This thread says use 'git bash', and then the cmd line says something interesting.



It doesn't help, but it is a nice feature!

Take a look at the instructions again; here. Under Windows. Whatever runs 'source', I don't have installed, so cmd doesn't know what I'm on about. Oddly, I do have git bash but it's still not working.

I may have found a different way to activate the demo captive portal;

dir /s command shows a list of every folder within the Meraki-code directory and their contents.

Take a moment to revisit the instructions again from four lines up. Go on!


I opened the 'Requirements.txt' file; It was a list of programs. "You told me what I need," I thought, "Now, about using it...? Hey, what about that code..."


You can just install things that are a list if you use the appropriate parameters. Technology is amazing.

After a long week of chipping away, surely, we should be able to proceed:


The comments are strangely placed...thank you very much to everyone on Twitter / Slackchat who helped.

Despite installing Flask , the flask module wasn't imported.


It's installed for Python 3 (Somehow), but not Python 2, and this must be working in a Python 2 environment. So, how do we change this to a Python 3 environment?



After approaching Twitter with the problem and getting some help:


Turns out the Mission codes aren't designed to be run at home:
Is there an etiquette when it comes to embedding tweets of others? The changing media landscape, man...gotta love it.

So I moved over to the 'sample' side. Had to move the source path from it's home in a hidden file path with this guide.

It still didn't find it. So I ran the next code in the list, and...


This is great news; I know this screen. It's saying "Hey, you're opening a port on your machine. Since it's so high level, we give you the benefit of the doubt that you're doing this on purpose. Be careful."

I allow private access;


The favicon is the tiny image in the address bar. I go to http://localhost:5004/click and...

🎉🎆🎇



CONCLUSION:

There are files you copy that are 'Mission' aren't intended for home use.

With the appropriate parameters, you can install a list of programs that are in a .txt file. Always be mindful of where the files come from!

Don't stop! It took me a week to do this but I didn't give up!

In a test environment, it's okay to skip some lines, because who knows what may happen. Working in tech is never a straightforward process, and you're going to have to reach out, ask for help.

I learned how to move environment variables.



EMPLOYERS: This shows persistence! Sometimes you have to take a break, but don't stop!

Comments

Popular posts from this blog

Azure Networking Options - Core Cloud Services

I have done a lot of AWS things on here. Time to give Azure some attention. After all, since employers don't think Cisco or COMPTIA certifications are important, maybe Microsoft ones are?

First, let's really think about why these are the two biggest cloud services providers in the world:

They've been doing internet things for a long time.Amazon launched in 1995, a virtual bookstore.
Microsoft, well, you know. 

They've lived, breathed, and frankly, created, infrastructure that we use today, that they're selling to us today. Of course the Store of Everything and the Company of Everything would encourage us to put everything in their hands.

Also: Azure has a lot less silly names for modules. Important. I appreciate straightforwardness.


I said 'a lot less', not '100% sensible names'

Microsoft has a clear set of Azure Fundamentals that anyone can interact with. Let's talk about networking basics, basically to say, again, "Hi, employers, I have an …

The Updated "What I'm Looking For In A Role" Post (2020)

Thank you for wanting to help with my job search! Here are some parameters.


Ideal:
Part time remote, text based support. It's a little far fetched, but the positions do exist. I enjoy having the flexibility to take on temporary projects from time to time!
Feel free to suggest something full time (still remote) that can fit within the below criteria;


Skills:

AzureCisco routing and switching.Technical writing.UX critiques [See Here]

Volunteering:
Find me on Jumpstart and CareerVillage.
Jobs:
Networking SysAdmin IT SupportTechnical Consulting

I'm not super interested in hardcore Cybersecurity.
Location:
Remote is ideal, however, it's all a case-by-case basis. Temporary (7 days or less) jobs are fine, otherwise, I am not interested in living or working in Panama City, FL or the surrounding areas. Destin is okay.
East Coast preferred.Deep South is a no. Central/South FL is okayCompany I do not have a Security Clearance.
Size:
Preferably under 1000 people worldwide.Multimedia conglomerate…

Grace Hopper Celebration 2019 (GHC19)

From Aicha Evans' speech at the Keynote.
September 6th - I receive an email from Anita B Organization, saying "We read your application, we like your website, and here's a free ticket to GHC 2019 in Orlando, Florida!"


After a few more questions, it seemed everything was on the up and up, and so I accepted - and that's what this post is about!

For those who don't know, Grace Hopper Celebration is the largest gathering of Women in Technology in the world.

On a personal note, This is the first trip I've taken without my parents. Sure, they've left me behind to go on vacations, but I've never left them. I was totally worried! But you know what happened?

I met a lot of cool people in Orlando, learned a lot of neat things, and had a blast just walking around airports for upwards of 8 hours.

New Delta Sky Club on Wikimedia I really, really love airports! And I survived.

I know in the past, I've wormed my way out of jobs despite being interested simpl…