mdpai
Junior Member level 2
Hi,
I have some lack of knowledge in what i'm trying to achieve. I'm planning to do a simple project with my two identical microcontrollers board.
I have a micro-controller that i want it to act like a gate between my network (the server) and my printer. I want to do something like pushing a button than the server is authorized to send the file to the printer. But the problem is I have access to only a single ethernet port. So I'm thinking to buy 2 port ethernet and put them to my microcontroller board, then connect the microcontroller to the network (the server) and connect the printer to the microcontroller. Is this possible? What I should do with the ethernet ports. Do I need to buy something else or I just need to program my microcontroller with a some code.
P/S : my microcontroller has linux embedded in it. I attached a possible schema that I think I want to achieve.
I'll explain here what exactly I want to achieve:
The situation:
printer A attached to my board A in room A.
printer B attached to my board B in room B.
Both of my board connected to the network.
A person in room C want to print a file. He sends the print jobs to a server.
So what i'm planning is; that person can go to any printer he wants (in room A or B), than he put some passwords (let say my board have keyboard and lcd screen too), than the microcontroller checks with the server if that person have print jobs and send the print jobs to the specific printer.
I'm still searching for the correct microcontroller because actually I'm confused, if the server sends a file to print to the printer, it has to go through my microcontroller (I think so). So, do I need a big memory for the microcontroller?
I have some lack of knowledge in what i'm trying to achieve. I'm planning to do a simple project with my two identical microcontrollers board.
I have a micro-controller that i want it to act like a gate between my network (the server) and my printer. I want to do something like pushing a button than the server is authorized to send the file to the printer. But the problem is I have access to only a single ethernet port. So I'm thinking to buy 2 port ethernet and put them to my microcontroller board, then connect the microcontroller to the network (the server) and connect the printer to the microcontroller. Is this possible? What I should do with the ethernet ports. Do I need to buy something else or I just need to program my microcontroller with a some code.
P/S : my microcontroller has linux embedded in it. I attached a possible schema that I think I want to achieve.
I'll explain here what exactly I want to achieve:
The situation:
printer A attached to my board A in room A.
printer B attached to my board B in room B.
Both of my board connected to the network.
A person in room C want to print a file. He sends the print jobs to a server.
So what i'm planning is; that person can go to any printer he wants (in room A or B), than he put some passwords (let say my board have keyboard and lcd screen too), than the microcontroller checks with the server if that person have print jobs and send the print jobs to the specific printer.
I'm still searching for the correct microcontroller because actually I'm confused, if the server sends a file to print to the printer, it has to go through my microcontroller (I think so). So, do I need a big memory for the microcontroller?