ssh connection fails when wireless is left idle - Raspberry Pi Forums
hi - can point me in right direction here. i've been using raspberry pi headless node, i've got ssh & xtightvnc working. when ethernet plugged in, don't have issues remotely logging in client linux machine.
when raspberry pi connected wifi, bets off. after fresh reboot, can use either xtightvnc or ssh if leave sit idle, trying ssh gives following message:
right after message, can remotely log in if plug in ethernet (but kind of defeats purpose of wireless). @ point, if "ifconfig" message:
i'm not sure if issue ssh daemon or wifi card. if ping raspberry pi, response; i'm inclined think still on network. plus, i've added "ifconfig wlan0 up" crontab (executing every minute).
note both raspberry pi , client linux machine within same local network - don't think there's firewall issues going on.
running wheezy image raspberry pi os. ran update , reinstalled ssh still seem have same problem. attached wireless dongle "edimax ew-7811un 150 mbps wireless 11n nano ". not sure other specs worth mentioning....
have suggestions?
when raspberry pi connected wifi, bets off. after fresh reboot, can use either xtightvnc or ssh if leave sit idle, trying ssh gives following message:
code: select all
ssh: connect host 192.168.2.78 port 22: connection refusedcode: select all
eth0 link encap:ethernet hwaddr b8:27:eb:26:f1:ea inet addr:192.168.2.77 bcast:192.168.2.255 mask:255.255.255.0 broadcast running multicast mtu:1500 metric:1 rx packets:322 errors:0 dropped:0 overruns:0 frame:0 tx packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:32126 (31.3 kib) tx bytes:100 (100.0 b) lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 loopback running mtu:16436 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 rx bytes:0 (0.0 b) tx bytes:0 (0.0 b) wlan0 link encap:ethernet hwaddr 80:1f:02:a2:b4:10 inet addr:192.168.2.78 bcast:192.168.2.255 mask:255.255.255.0 broadcast running multicast mtu:1500 metric:1 rx packets:8514 errors:0 dropped:12243 overruns:0 frame:0 tx packets:950 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:2027590 (1.9 mib) tx bytes:215759 (210.7 kib)note both raspberry pi , client linux machine within same local network - don't think there's firewall issues going on.
running wheezy image raspberry pi os. ran update , reinstalled ssh still seem have same problem. attached wireless dongle "edimax ew-7811un 150 mbps wireless 11n nano ". not sure other specs worth mentioning....
have suggestions?
when ssh stops responding, run dmesg , check logs in /var/logs/daemon.log , see if errors come up
raspberrypi
Comments
Post a Comment