0

I used to control my raspberry using VNC or ssh software where it's connected to the same network that my laptop connects to. I was having a small problem, that I need to know the Ip of raspberry each time it connects to the local network, then I decided to set a static IP by adding some line to /etc/network/interfaces

when I reboot the system, it became unable to connect toy local network, and I'm sure that all configuration of static IP are true.

How can I edit inteface file from my laptop if I connect just the SD card? Because SD card looks diffrent when I opened it from laptop (windows 8), And I haven't found /etc/ ....

I'm grateful for any help.

2 Answers2

1

You need to take out the card and put it into another computer, then edit the interfaces file and restore it to what it was before your unfortunate modification.

On any Linux system, that would be easy, as the card just shows up. On a Windows computer that will not work, as the file system you need to edit is an ext4 system, which Windows cannot read. All you can see is the other file system on the card, which is a DOS file system. However, if you install a ext4 driver like ext2fsd on your Windows system, the ext4 file system can be read and written.

Jos
  • 126
  • 3
1

adding some line to /etc/network/interfaces

Looks like you weren't familiar with the config file. Do you maybe remember what did you put into this file?

As for editing the config file, you don't have to do this from another computer, you can use HDMI output and a USB keyboard to log in and re-edit the file.

Jakub
  • 216
  • 1
  • 4