How to Access Raspberry Pi Directly through the Ethernet Port of PC

The Raspberry pi is a single board minicomputer which has only the essential hardware included so as to meet the goal of low cost. The board is Raspberry pi board runs on ARM11 processor but is available at extremely cheap price. The board is designed with an intention of providing computer education to the remote schools where the PCs are not very commonly used. The idea behind the design is to use the TV screen as the display unit for the Raspberry pi board and hence converting the normal TV into a computer. The board is hence provided with a RCA connector which can be used to connect it directly to a TV screen which is based on PAL and NTSC standard. The board also has a HDMI connector output which can be used to connect the board to a HD TV, but there is no VGA connector assuming that there is no PC or PC monitor in the place where the Raspberry pi is used.How to Access Raspberry Pi Directly through the Ethernet Port of PC

There are situations in which the person using the Raspberry pi has a PC screen but not a HD display device. In such situations one can use remote login to access the Raspberry pi and view the TUI (Text User Interface) on the PC screen. Using a PC to do remote login has other advantages as there is no power adaptor required as  one can power up the Raspberry pi using the USB port of the PC itself and can use the keyboard of the PC to access the TUI. This article discusses how to do remote login in the case where windows is running on the PC and the Ubuntu is installed on Raspberry pi board.

The only additional hardware required to do the remote login is a “cross-over LAN cable” which comes with connectors at both the end and an internal crossover connection between connectors at b

oth the end.

The remote login can be easily done when there is a router available and the user can access the details of the devices connected to the router. All that required is to connect the one end of the LAN cable to the Ethernet port of the Raspberry pi and the other end to the connector slot of the router. Access the router and find out the IP of the connected devices. The Raspberry pi board will appear in the list with a name of “raspberrypi”. Note the IP and try to login using any remote login software for windows.

In most of the cases there won’t be any router available especially in outdoor conditions with a laptop. In such conditions one has to make a direct connection with the PC and the Raspberry pi. But inside the Ubuntu running in the Raspberry pi board the internet settings are not configured to enable a direct connection with the PC using LAN cable. One has to download server software which will provide an IP to the Raspberry pi board and help the PC to establish a connection with the raspberry pi board. The step-by-step connection process is explained in the following section.

Step: 1 Provide an IP to the windows

The software that can be used with windows7 is DHCP server software which can act as a server for the incoming connections. Before using this software there are few settings to be done in the windows to enable the connection. Go to the control panel > network and internet > network and sharing center > change adapter settings. Right click on the ‘Local Area connection’ and select ‘properties’.

Select the Internet protocol version 4 (IPV4) and click on the ‘properties’ button.

Now provide an IP and subnet mask for the windows. The IP used in this project is “” and the subnet mask as “”.

Now click OK and it is always better to reboot the system.How to Access Raspberry Pi Directly through the Ethernet Port of PC schematic

Step: 2 Connect the Raspberry pi

Once the booting process of the windows is completed, connect the Raspberry pi board to the Ethernet port of the PC. Connect a USB data cable to the Raspberry pi’s power port and the other end to the USB port of the PC. Wait for a while and an “Unidentified network” will appear in the “currently connected to” list usually present in the task bar.

Step: 3 Run the DHCP server software

Unzip the downloaded zip file of the DHCP server software into a folder. Find the executable file “dhcpwiz.exe” inside the folder and run it. Select the network adaptor as the ‘Local Area Connection’ as shown in the following snapshot.


For more detail: How to Access Raspberry Pi Directly through the Ethernet Port of PC

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Scroll to Top