OpenCores
URL https://opencores.org/ocsvn/udp_ip__core/udp_ip__core/trunk

Subversion Repositories udp_ip__core

[/] [udp_ip__core/] [trunk/] [JAVA_app/] [setup.sh] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 NikosAl
#! /bin/sh
2
 
3
# This script sets up the basic network configuration and a 'fake' ARP table
4
# entry for the FPGA.
5
# We assume that the FPGA is connected to the ethernet port eth0.
6
# The IP adress of the PC is fixed to 192.168.1.2, the IP of the FPGA
7
# is fixed to 192.168.1.1.
8
# The ARP table entry will cause every packet sent to 192.168.1.1
9
# to be routed to the FPGA.
10
 
11
sudo ifconfig eth0 down
12
 
13
sudo ifconfig eth0 -arp
14
sudo ifconfig eth0 192.168.1.2
15
sudo arp -i eth0 -s 192.168.1.1 FF:FF:FF:FF:FF:FF
16
sudo ifconfig eth0 mtu 9000

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.