Go to advanced search

by suneetagera
Fri Dec 11, 2015 6:51 am
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

So funnily, the problem is only when the laptop is connected to wifi and rPi to the ethernet port. Wierd. Not normal indeed. If both devices are on the same subnet (sharing the same subnet mask) they should be able to communicate. Depending on your skills you could try troubleshoot using tcpdump or...
by suneetagera
Fri Dec 11, 2015 4:23 am
Forum: Python
Topic: Help on email at bootup
Replies: 3
Views: 1013

Re: Help on email at bootup

Faced the same issue, saw the resolution .... changed my code accordingly. Works great. Thanks.
by suneetagera
Fri Dec 11, 2015 3:48 am
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

I got my wifi usb adapter today. Plugged it in the rPi, configured it, connected the laptop to the wifi and tried to login from my laptop using putty. Worked like a charm.

So funnily, the problem is only when the laptop is connected to wifi and rPi to the ethernet port. Wierd.
by suneetagera
Wed Dec 09, 2015 1:56 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

And Bingo! It worked when both the pi and the laptop were connected to the router. So it was indeed some setting on the wifi which prevented the ssh to work. Crazy but true. Need to investigate that. P.S. I have ordered a Wifi USB adapter which should come any time soon, after which I will test if p...
by suneetagera
Wed Dec 09, 2015 1:01 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

You know what, I have got an idea. Maybe I should try connecting my laptop using another ethernet cable to the router and see I can ssh using putty. If yes, its got some setting with the wifi.

But I can only try this after half an hour coz my wife is hogging the TV (my monitor) now :cry:
by suneetagera
Wed Dec 09, 2015 12:54 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

Can you ping the rpi from the Windows box? No I cannot, nor can I ping from Windows box from the rpi. In both cases 100% loss of packets. No need to look further. One of the two device is segregated from the other for some reason. It's not a ssh problem buth rather a networking problem. How are the...
by suneetagera
Wed Dec 09, 2015 12:13 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

I forgot to mention that looking at the auth.log i found two areas of concern. Not sure if it really is a matter of concern. sshd[2237]: debug1: Bind to port 22 on 0.0.0.0 sshd[2237]: debug1: Server listening on 0.0.0.0 at port 22 sshd[2237]: socket: address family not supported by protocol Does the...
by suneetagera
Wed Dec 09, 2015 12:06 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

Can you ping the rpi from the Windows box? No I cannot, nor can I ping from Windows box from the rpi. In both cases 100% loss of packets. Try to look into auth.log to see any abnormalities. I checked auth.log before and after trying a failed connection over putty. [img] auth-log.jpg [/img] You can ...
by suneetagera
Tue Dec 08, 2015 5:26 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

Is your Window box on the same subnet? What is its IP? nmap show 22 port as open on localhost. Can you also try this command: sudo netstat -ltnp and sudo grep sshd /var/log/auth.log Hi Yes, the windows laptop is conencted to the wifi of the same router to which the pi is connected. The windows box ...
by suneetagera
Tue Dec 08, 2015 4:44 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

Oh dear, looks the images did not load in the previous reply. Hi I tried your suggestions. Below are the outputs of the commands. https://www.dropbox.com/s/8kb7sr7r7gi635z/ifconfig.jpg?dl=0 https://www.dropbox.com/s/elm8xg6s431q4dp/nmap.jpg?dl=0 https://www.dropbox.com/s/5hjof45mu09yed7/ssh.jpg?dl=0...
by suneetagera
Tue Dec 08, 2015 4:27 pm
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Re: Internet working over ethernet; SSH not working

try ssh-ing from the pi to the pi try posting some details like; ifconfig nmap -p 22 127.0.0.1 ssh 127.0.0.1 Hi I tried your suggestions. Below are the outputs of the commands. https://www.dropbox.com/s/8kb7sr7r7gi635z/ifconfig.jpg?dl=0 https://www.dropbox.com/s/elm8xg6s431q4dp/nmap.jpg?dl=0 https:...
by suneetagera
Mon Dec 07, 2015 10:35 am
Forum: Troubleshooting
Topic: Internet working over ethernet; SSH not working
Replies: 16
Views: 2643

Internet working over ethernet; SSH not working

Hi All, I recently updated and upgraded the OS on my Pi using commands "sudo apt-get update/upgrade". Since then I am not able to ssh to my pi. The pi is connected to the router/modem using a network ethernet cable, is able to get an IP address, can connect to the internet (which is how I did the up...

Go to advanced search