Link to home
Start Free TrialLog in
Avatar of magento
magento

asked on

unix ssh down

I ran the below command and after few mins its stuck and i was unable to connect to my ssh . Please advice how to fix it.

pi@raspberrypi /etc/network $ sudo /etc/init.d/networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/b8:27:eb:88:c5:23
Sending on   LPF/eth0/b8:27:eb:88:c5:23

Thanks
Avatar of Surrano
Surrano
Flag of Hungary image

Does it respond to ping?
Can you use wireshark or another tool on the same network segment (same switch) in promiscuous mode, i.e. capture all packets, not only those intended to the observer?
Can you connect physically to raspberrypi and check:
- /var/log/syslog
- /etc/ssh/sshd_config
- ifconfig -a
- uname -a
- /etc/issue

Hint: you have an SD card as storage, right? If you can't repair the network, you can:
- save all these symptoms to the sd card
- shutdown pi
- insert the sd card to your notebook/desktop and send the symptoms from there.
Avatar of magento
magento

ASKER

Ah..i have broken everything ?

I cant ping from another ssh server.

Thanks
SOLUTION
Avatar of Surrano
Surrano
Flag of Hungary image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of magento

ASKER

Thanks both of you.
@Gerwin: oops, I forgot HDMI :) forced myself to do quite some brainstorming :)