Skip to main content
deleted 618 characters in body; edited title
Source Link

SOLVED Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. (As it turned out, there was only a problem with my pi's address. It didn't matter what my computer's address was.)

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Update: Changed the IP address to 192.168.1.101 and it works like a charm. The bottom of my dhcpcd.conf file is as follows:

interface eth0
static ip_address=192.168.1.101/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.201/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

which I got from here

SOLVED Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. (As it turned out, there was only a problem with my pi's address. It didn't matter what my computer's address was.)

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Update: Changed the IP address to 192.168.1.101 and it works like a charm. The bottom of my dhcpcd.conf file is as follows:

interface eth0
static ip_address=192.168.1.101/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.201/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

which I got from here

Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection.

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Found solution, cleaned up question a bit
Source Link

SOLVED Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at(As it againturned out, but cursory googling suggests this isthere was only a harmless quirk of Ubuntuproblem with my pi's address. It didn't matter what my computer's address was.)

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?

I can post the ssh -vvvv output if necessary but it's long, so please just let me know.

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Update: Changed the IP address to 192.168.1.101 and it works like a charm. The bottom of my dhcpcd.conf file is as follows:

interface eth0
static ip_address=192.168.1.101/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.201/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

which I got from here

Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at it again, but cursory googling suggests this is a harmless quirk of Ubuntu.

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?

I can post the ssh -vvvv output if necessary but it's long, so please just let me know.

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

SOLVED Cannot ssh pi 3 from Ubuntu via ethernet, but can from Windows 7 partition

I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. (As it turned out, there was only a problem with my pi's address. It didn't matter what my computer's address was.)

Is there something I am doing wrong with my ethernet connection or what?

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Update: Changed the IP address to 192.168.1.101 and it works like a charm. The bottom of my dhcpcd.conf file is as follows:

interface eth0
static ip_address=192.168.1.101/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.201/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

which I got from here

Fixed ambiguity
Source Link

I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at it again, but cursory googling suggests this is a harmless quirk of Ubuntu.

Anyway. I can ping the pi, and when I ssh to [email protected] it successfully connects and requests the username, but when I give it the password it says permission denied. I can ssh over puTTY in Windows 7, but I've tried this on Ubuntu using the command line and Linux puTTY and no dice.

$ ifconfig

eno1      Link encap:Ethernet  HWaddr 5c:26:0a:5f:46:22  
          inet addr:169.254.0.2  Bcast:169.254.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f48c:b007:86a1:20ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:477 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6347 (6.3 KB)  TX bytes:69932 (69.9 KB)
          Interrupt:20 Memory:e2d00000-e2d20000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:36094 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36094 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:3093674 (3.0 MB)  TX bytes:3093674 (3.0 MB

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?

I can post the ssh -vvvv output if necessary but it's long, so please just let me know.

Update: After changing the IP address to 192.168.1.23, ssh does not workconnect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at it again, but cursory googling suggests this is a harmless quirk of Ubuntu.

Anyway. I can ping the pi, and when I ssh to [email protected] it successfully connects and requests the username, but when I give it the password it says permission denied. I can ssh over puTTY in Windows 7, but I've tried this on Ubuntu using the command line and Linux puTTY and no dice.

$ ifconfig

eno1      Link encap:Ethernet  HWaddr 5c:26:0a:5f:46:22  
          inet addr:169.254.0.2  Bcast:169.254.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f48c:b007:86a1:20ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:477 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6347 (6.3 KB)  TX bytes:69932 (69.9 KB)
          Interrupt:20 Memory:e2d00000-e2d20000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:36094 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36094 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:3093674 (3.0 MB)  TX bytes:3093674 (3.0 MB

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?

I can post the ssh -vvvv output if necessary but it's long, so please just let me know.

Update: After changing the IP address to 192.168.1.23, ssh does not work from either partition, Windows or Linux.

I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My Pi's static IP is 169.254.0.2. The Ubuntu Ethernet connection I have for it has the same static IP and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at it again, but cursory googling suggests this is a harmless quirk of Ubuntu.

Anyway. I can ping the pi, and when I ssh to [email protected] it successfully connects and requests the username, but when I give it the password it says permission denied. I can ssh over puTTY in Windows 7, but I've tried this on Ubuntu using the command line and Linux puTTY and no dice.

$ ifconfig

eno1      Link encap:Ethernet  HWaddr 5c:26:0a:5f:46:22  
          inet addr:169.254.0.2  Bcast:169.254.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f48c:b007:86a1:20ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:477 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6347 (6.3 KB)  TX bytes:69932 (69.9 KB)
          Interrupt:20 Memory:e2d00000-e2d20000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:36094 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36094 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:3093674 (3.0 MB)  TX bytes:3093674 (3.0 MB

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?

I can post the ssh -vvvv output if necessary but it's long, so please just let me know.

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

added 117 characters in body
Source Link
Loading
Source Link
Loading