Jump to content

So i need to write software for a router that we are building for a 1st semester project and I've run into a bit of a hurdle. I need to write some kind of a script which will tell me which devices are currently connected to the wifi network but I have no idea how to do so and google is not helping me at all. Does anyone have some programming experience and know how to do this? We are working with python preferably.

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/
Share on other sites

Link to post
Share on other sites

So i need to write software for a router that we are building for a 1st semester project and I've run into a bit of a hurdle. I need to write some kind of a script which will tell me which devices are currently connected to the wifi network but I have no idea how to do so and google is not helping me at all. Does anyone have some programming experience and know how to do this? We are working with python preferably.

 

I'd guess that this is some kind a rule here, that we don't provide complete solutions.

 

What do you have so far?

Mini-Desktop: NCASE M1 Build Log
Mini-Server: M350 Build Log

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3372091
Share on other sites

Link to post
Share on other sites

I don't really have anything which is why I came here for help, I need someone to help me with a starting position, maybe some articles on how to do this or examples doing something similar. As I said google has been not very helpful so far :( .

Ok, what notes do you have so far? 

 

What language? 

 

What subjects have you currently covered? 

"Use the force Harry" 

                   -Gandalf

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3372147
Share on other sites

Link to post
Share on other sites

We are writing the router configuration page in html/php and importing python scripts which will do the actual functionality that we need of the router. We are expected to find whatever knowledge we need on our own so we have not formally covered any topics so far except for overall programming (workflow and approach to programming). 

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3372158
Share on other sites

Link to post
Share on other sites

What is the original assignment (in english preferably)?

There is no original assignment we just had to choose a project inside networking to do (4 people). We choose to design a router which works to thwart MITM attacks with a focus on public hotspots by individually encrypting communication channels. My task is to design the GUI of the router (arch) and I am adding actual functionality to it at the moment, the whole layout and stuff is already written in html/php. So I need to figure out a way to bring up a "client list" of the network and hoped/plan to do so with a python script but I am completely lost as to how to do it.

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3372172
Share on other sites

Link to post
Share on other sites

We are writing the router configuration page in html/php and importing python scripts which will do the actual functionality that we need of the router. We are expected to find whatever knowledge we need on our own so we have not formally covered any topics so far except for overall programming (workflow and approach to programming). 

http://stackoverflow.com/questions/207234/list-of-ip-addresses-hostnames-from-local-network-in-python

 

I think this also may make life easier: 

 

https://pypi.python.org/pypi/python-nmap/0.1.1

"Use the force Harry" 

                   -Gandalf

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3372191
Share on other sites

Link to post
Share on other sites

There is no original assignment we just had to choose a project inside networking to do (4 people). We choose to design a router which works to thwart MITM attacks with a focus on public hotspots by individually encrypting communication channels. My task is to design the GUI of the router (arch) and I am adding actual functionality to it at the moment, the whole layout and stuff is already written in html/php. So I need to figure out a way to bring up a "client list" of the network and hoped/plan to do so with a python script but I am completely lost as to how to do it.

 

That is already much much better than this ...

 

I need to write some kind of a script which will tell me which devices are currently connected to the wifi network but I have no idea how to do so and google is not helping me at all

:P

Mini-Desktop: NCASE M1 Build Log
Mini-Server: M350 Build Log

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3373323
Share on other sites

Link to post
Share on other sites

You posted this in the wrong section btw, it should have gone here. If this is any example of your observational abilities then no wonder you are finding yourself in a predicament right now.

The single biggest problem in communication is the illusion that it has taken place.

Link to comment
https://linustechtips.com/topic/245661-need-help-programming/#findComment-3383256
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×