Proxy Settings for Ethernet library

This is my first post here, :sweat_smile: and I am come in my school to arduino programming.
This includes even the first problem, because in my school is a firewall proxy. This can be entered via http proxy (IP in the settings of the browser.
Well then just have to pop into the window (default browser window when a login is done), the login data is entered. These login details are different for each student.
My question is I want an Arduino using Ethernetshild hang on the school network, which I have now in the Ethernet library or what could be changed in the source code,
so the Arduino can dial into the school network with the login data?
Should include the times I think

  • IP of the proxy server
  • Login data (username, password)

include <Ethernet.h>

byte mac = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
byte ip = {192, 10, 1, 4};

void setup ()
Ethernet.begin (mac, ip);
Serial.begin (9600);

delay (1000);

Serial.println (“connecting …”);


void loop ()

Thank you for your help


Do you need to login also if you want to send data in the lan or only if you want to send data outside it?

So it almost a firewall proxy if you want to send out data of course no need to login. This login is only to keep the students out on XX pages to surf etc.: D and to record the webpages. i hope this helps.

regards from germany

Sorry, no answer, it means that it will not work with the proxy log data

one possibility would be pleased

You might try the below to see what password request come from the system. Passwords may require some encription. The system administrator may also have helpful info.

//zoomkat 12-01-11
//simple client test
//for use with IDE 0021
//open serial monitor and send an e to test
//for use with W5100 based ethernet shields

#include <SPI.h>
#include <Ethernet.h>

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //physical mac address
byte ip[] = { 192, 168, 1, 102 }; // ip in lan assigned to arduino
//byte gateway[] = { 192, 168, 1, 1 }; // internet access via router
//byte subnet[] = { 255, 255, 255, 0 }; //subnet mask
byte myserver[] = { 208, 104, 2, 86 }; // zoomkat web page server IP address
Client client(myserver, 80);  // connect to web server using port 80


void setup(){

  Ethernet.begin(mac, ip);
  //Ethernet.begin(mac, ip, gateway, subnet);
  Serial.println("Better client test 12/01/11"); // so I can keep track of what is loaded
  Serial.println("Send an e in serial monitor to test"); // what to do to test

void loop(){
  // check for serial input
  if (Serial.available() > 0) //if something in serial buffer
    byte inChar; // sets inChar as a byte
    inChar =; //gets byte from buffer
    if(inChar == 'e') // checks to see byte is an e
      sendGET(); // call sendGET function below when byte is an e


void sendGET() //client function to send/receive GET request data.
  if (client.connect()) {  //starts client connection, checks for connection
    client.println("GET /~shb/arduino.txt HTTP/1.0"); //download text
    client.println(); //end of get request
  else {
    Serial.println("connection failed"); //error message if no client connect

  while(client.connected() && !client.available()) delay(1); //waits for data
  while (client.connected() || client.available()) { //connected or data available
    char c =; //gets byte from ethernet buffer
    Serial.print(c); //prints byte to serial monitor 

  client.stop(); //stop client



the password is without encryption, how can i now impliment the password and username request in the ethernet code ?


push , nobody an idea. please