1

Temat: Nie można się zalogować - ssh

Witam,
Już drugi raz zdarzyło mi się że nie mogę się zalogować na ruter.
Próbowałem przez ssh oraz przez przeglądarkę internetowa.
Przez putty łączy się i nagle komunikat connection software abort - cos w ten deseń.
Przez przegladarkę - nie da się wejść na stronę 192.168.1.1

A stało się to tak że kopiowałem pliki przez FTP, przeszło ok 2GB po czym TotalComander zaczął rzucać komunikatami
o błędzie połączenia. Nie szło się zalogować też FTP, SCP. Ale internet był.

Po ok 10 godzinach sprawdzam czy można się zalogować - bez zmian. Ten sam błąd. No to jedyne co mogłem zrobić to kliknąć przycisk od zasilania. Po tym już wszystko wróciło do normy.

Poniżej ostatni fragment z loga

Jan  1 01:00:44 kernel: [   44.650000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:44 kernel: [   44.660000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:44 kernel: [   44.660000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:46 kernel: [   46.660000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:47 usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:49 kernel: [   49.080000] device wlan0 entered promiscuous mode
Jan  1 01:00:49 kernel: [   49.300000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:49 kernel: [   49.310000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:51 kernel: [   51.310000] br-lan: port 2(wlan0) entered forwarding state
Aug  3 20:00:02 usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Aug  3 20:00:02 usb-modeswitch: 1-1.2:1.0: Manufacturer=ADATA Product=ADATA_USB_Flash_Drive Serial=23401181500301C0
Aug  3 20:00:03 sysinit: Loading defaults
Aug  3 20:00:03 sysinit: Loading synflood protection
Aug  3 20:00:03 sysinit: Adding custom chains
Aug  3 20:00:03 usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:00:03 usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/12d1:14fe for mode switching
Aug  3 20:00:03 usb_modeswitch: switching device 12d1:14fe on 001/004
Aug  3 20:00:04 sysinit: Loading zones
Aug  3 20:00:04 kernel: [   55.020000] usb 1-1.1: USB disconnect, device number 4
Aug  3 20:00:04 sysinit: Loading forwardings
Aug  3 20:00:04 sysinit: Loading rules
Aug  3 20:00:04 sysinit: Loading redirects
Aug  3 20:00:04 sysinit: Loading includes
Aug  3 20:00:06 sysinit: Optimizing conntrack
Aug  3 20:00:06 sysinit: Loading interfaces
Aug  3 20:00:06 firewall: adding lan (br-lan) to zone lan
Aug  3 20:00:07 dropbear[1879]: Running in background
Aug  3 20:00:08 httpd_gargoyle[1910]: started as root without requesting chroot(), warning only
Aug  3 20:00:08 httpd_gargoyle[1910]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Aug  3 20:00:08 kernel: [   59.840000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:08 kernel: [   59.840000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:09 kernel: [   59.960000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:09 dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Aug  3 20:00:09 dnsmasq: Allowing 127.0.0.0/8 responses
Aug  3 20:00:12 dnsmasq[1979]: started, version 2.62 cachesize 150
Aug  3 20:00:12 dnsmasq[1979]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Aug  3 20:00:12 dnsmasq-dhcp[1979]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Aug  3 20:00:12 dnsmasq[1979]: using local addresses only for domain lan
Aug  3 20:00:12 dnsmasq[1979]: reading /tmp/resolv.conf.auto
Aug  3 20:00:12 dnsmasq[1979]: using nameserver 208.67.220.220#53
Aug  3 20:00:12 dnsmasq[1979]: using nameserver 208.67.222.222#53
Aug  3 20:00:12 dnsmasq[1979]: using local addresses only for domain lan
Aug  3 20:00:12 dnsmasq[1979]: read /etc/hosts - 2 addresses
Aug  3 20:00:12 dnsmasq-dhcp[1979]: read /etc/ethers - 0 addresses
Aug  3 20:00:13 syslog: error starting threads: errno 89 (Function not implemented)
Aug  3 20:00:13 sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Aug  3 20:00:13 sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Aug  3 20:00:13 sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Aug  3 20:00:13 sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Aug  3 20:00:14 sysinit: ERROR: No valid dynamic DNS service configurations defined
Aug  3 20:00:14 sysinit: (Did you specify correct configuration file path?)
Aug  3 20:00:16 kernel: [   67.550000] usb 1-1.1: new high-speed USB device number 5 using ehci-platform
Aug  3 20:00:16 kernel: [   67.660000] option 1-1.1:1.0: GSM modem (1-port) converter detected
Aug  3 20:00:16 kernel: [   67.670000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Aug  3 20:00:16 kernel: [   67.680000] usb 1-1.1: MAC-Address: 0x58:0x2c:0x80:0x13:0x92:0x63
Aug  3 20:00:16 kernel: [   67.680000] cdc_ncm 1-1.1:1.1: wwan0: register 'cdc_ncm' at usb-ehci-platform-1.1, Mobile Broadband Network Device, 58:2c:80:13:92:63
Aug  3 20:00:16 kernel: [   67.700000] option 1-1.1:1.2: GSM modem (1-port) converter detected
Aug  3 20:00:16 kernel: [   67.700000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Aug  3 20:00:16 kernel: [   67.710000] option 1-1.1:1.3: GSM modem (1-port) converter detected
Aug  3 20:00:16 kernel: [   67.720000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Aug  3 20:00:16 kernel: [   67.730000] scsi3 : usb-storage 1-1.1:1.4
Aug  3 20:00:16 kernel: [   67.740000] scsi4 : usb-storage 1-1.1:1.5
Aug  3 20:00:17 kernel: [   68.740000] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Aug  3 20:00:17 kernel: [   68.750000] scsi 4:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Aug  3 20:00:17 kernel: [   68.760000] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Aug  3 20:00:24 upnp daemon: external interface not found, not starting
Aug  3 20:00:34 usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:00:37 kernel: [   88.850000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:37 kernel: [   88.850000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:37 kernel: [   88.890000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:39 kernel: [   90.440000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:39 kernel: [   90.440000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:39 kernel: [   90.490000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:39 root: vsftpd init: mounted = 0
Aug  3 20:00:39 sysinit: ERROR: No drives attached, no directories to share!
Aug  3 20:00:42 kernel: [   93.510000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:42 kernel: [   93.520000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:42 kernel: [   93.580000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:44 sysinit: Daemon PID 2734
Aug  3 20:00:45 sysinit: setting up led USB1
Aug  3 20:00:45 sysinit: setting up led USB2
Aug  3 20:00:45 sysinit: setting up led WLAN2G
Aug  3 20:00:45 kernel: [   96.830000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:45 kernel: [   96.830000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:45 kernel: [   96.890000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:48 kernel: [   99.590000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:48 kernel: [   99.590000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:48 kernel: [   99.660000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:51 kernel: [  102.280000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:51 kernel: [  102.280000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:51 kernel: [  102.370000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:53 kernel: [  103.940000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:53 kernel: [  103.950000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:53 kernel: [  104.020000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:53 kernel: [  104.140000] head: sending ioctl 540d to a partition!
Aug  3 20:00:53 kernel: [  104.140000] head: sending ioctl 540d to a partition!
Aug  3 20:00:56 kernel: [  106.980000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:56 kernel: [  106.980000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:56 kernel: [  107.040000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:00:56 kernel: [  107.230000] head: sending ioctl 540d to a partition!
Aug  3 20:00:56 kernel: [  107.240000] head: sending ioctl 540d to a partition!
Aug  3 20:00:57 hostapd: wlan0: STA 00:19:d2:b0:80:de IEEE 802.11: authenticated
Aug  3 20:00:57 hostapd: wlan0: STA 00:19:d2:b0:80:de IEEE 802.11: associated (aid 1)
Aug  3 20:00:57 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: pairwise key handshake completed (RSN)
Aug  3 20:00:57 dnsmasq-dhcp[1979]: DHCPREQUEST(br-lan) 192.168.1.102 00:19:d2:b0:80:de 
Aug  3 20:00:57 dnsmasq-dhcp[1979]: DHCPACK(br-lan) 192.168.1.102 00:19:d2:b0:80:de JARO-PC
Aug  3 20:00:59 kernel: [  109.990000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:59 kernel: [  109.990000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:00:59 kernel: [  110.050000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:00 dnsmasq-dhcp[1979]: DHCPINFORM(br-lan) 192.168.1.102 00:19:d2:b0:80:de 
Aug  3 20:01:00 dnsmasq-dhcp[1979]: DHCPACK(br-lan) 192.168.1.102 00:19:d2:b0:80:de JARO-PC
Aug  3 20:01:00 kernel: [  111.610000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:00 kernel: [  111.610000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:00 kernel: [  111.670000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:09 kernel: [  120.220000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:09 kernel: [  120.220000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:09 kernel: [  120.260000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:10 usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:12 usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:12 usb-modeswitch: 1-1.1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:13 usb-modeswitch: 1-1.1:1.3: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:13 usb-modeswitch: 1-1.1:1.4: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:13 usb-modeswitch: 1-1.1:1.5: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Aug  3 20:01:14 kernel: [  125.640000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:14 kernel: [  125.640000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:14 kernel: [  125.690000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:15 kernel: [  126.600000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:15 kernel: [  126.600000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:15 kernel: [  126.640000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:16 pppd[3976]: pppd 2.4.5 started by root, uid 0
Aug  3 20:01:16 kernel: [  127.710000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:16 kernel: [  127.720000] disktype: sending ioctl 5305 to a partition!
Aug  3 20:01:16 kernel: [  127.760000] Adding 308688k swap on /dev/sda2.  Priority:-1 extents:1 across:308688k 
Aug  3 20:01:17 chat[4008]: abort on (BUSY)
Aug  3 20:01:17 chat[4008]: abort on (NO CARRIER)
Aug  3 20:01:17 chat[4008]: abort on (ERROR)
Aug  3 20:01:17 chat[4008]: report (CONNECT)
Aug  3 20:01:17 chat[4008]: timeout set to 10 seconds
Aug  3 20:01:17 chat[4008]: send (AT&F^M)
Aug  3 20:01:17 chat[4008]: expect (OK)
Aug  3 20:01:17 chat[4008]: AT&F^M^M
Aug  3 20:01:17 chat[4008]: OK
Aug  3 20:01:17 chat[4008]:  -- got it
Aug  3 20:01:17 chat[4008]: send (ATE1^M)
Aug  3 20:01:17 chat[4008]: expect (OK)
Aug  3 20:01:17 chat[4008]: ^M
Aug  3 20:01:17 chat[4008]: ATE1^M^M
Aug  3 20:01:17 chat[4008]: OK
Aug  3 20:01:17 chat[4008]:  -- got it
Aug  3 20:01:17 chat[4008]: send (AT+CGDCONT=1,"IP","darmowy"^M)
Aug  3 20:01:17 chat[4008]: timeout set to 30 seconds
Aug  3 20:01:17 chat[4008]: expect (OK)
Aug  3 20:01:17 chat[4008]: ^M
Aug  3 20:01:17 chat[4008]: AT+CGDCONT=1,"IP","darmowy"^M^M
Aug  3 20:01:17 chat[4008]: OK
Aug  3 20:01:17 chat[4008]:  -- got it
Aug  3 20:01:17 chat[4008]: send (ATD*99***1#^M)
Aug  3 20:01:17 chat[4008]: expect (CONNECT)
Aug  3 20:01:17 chat[4008]: ^M
Aug  3 20:01:17 chat[4008]: ATD*99***1#^M^M
Aug  3 20:01:17 chat[4008]: CONNECT
Aug  3 20:01:17 chat[4008]:  -- got it
Aug  3 20:01:17 chat[4008]: send ( ^M)
Aug  3 20:01:17 pppd[3976]: Serial connection established.
Aug  3 20:01:17 pppd[3976]: Using interface 3g-wan
Aug  3 20:01:17 pppd[3976]: Connect: 3g-wan <--> /dev/ttyUSB0
Aug  3 20:01:21 pppd[3976]: Could not determine remote IP address: defaulting to 10.64.64.64
Aug  3 20:01:21 pppd[3976]: local  IP address 93.154.152.26
Aug  3 20:01:21 pppd[3976]: remote IP address 10.64.64.64
Aug  3 20:01:21 pppd[3976]: primary   DNS address 193.41.112.14
Aug  3 20:01:21 pppd[3976]: secondary DNS address 193.41.112.18
Aug  3 20:01:21 netifd: Interface 'wan' is now up
Aug  3 20:01:22 firewall: adding wan (3g-wan) to zone wan
Aug  3 20:01:25 dnsmasq[1979]: reading /tmp/resolv.conf.auto
Aug  3 20:01:25 dnsmasq[1979]: using nameserver 208.67.220.220#53
Aug  3 20:01:25 dnsmasq[1979]: using nameserver 208.67.222.222#53
Aug  3 20:01:25 dnsmasq[1979]: using nameserver 208.67.220.220#53
Aug  3 20:01:25 dnsmasq[1979]: using nameserver 208.67.222.222#53
Aug  3 20:01:25 dnsmasq[1979]: using local addresses only for domain lan
Aug  3 20:01:27 kernel: [  138.420000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
Aug  3 20:01:27 kernel: [  138.430000]                old minutes west=0, new minutes west=-120
Aug  4 11:55:43 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: group key handshake completed (RSN)
Aug  4 11:55:46 kernel: [  147.520000] IMQ driver unloaded successfully.
Aug  4 11:55:46 kernel: [  147.560000]     Hooked IMQ after mangle on INPUT
Aug  4 11:55:46 kernel: [  147.570000]     Hooked IMQ after mangle on FORWARD
Aug  4 11:55:46 kernel: [  147.570000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Aug  4 11:56:09 miniupnpd: adding firewall rules for 3g-wan to zone wan
Aug  4 11:56:09 miniupnpd[5341]: could not open lease file: /var/upnp.leases
Aug  4 11:56:09 miniupnpd[5341]: HTTP listening on port 5000
Aug  4 11:56:09 miniupnpd[5341]: Listening for NAT-PMP traffic on port 5351
Aug  4 11:56:19 dnsmasq-dhcp[1979]: DHCPINFORM(br-lan) 192.168.1.102 00:19:d2:b0:80:de 
Aug  4 11:56:19 dnsmasq-dhcp[1979]: DHCPACK(br-lan) 192.168.1.102 00:19:d2:b0:80:de JARO-PC
Aug  4 11:58:18 dropbear[5355]: Child connection from 192.168.1.102:1036
Aug  4 11:58:20 dropbear[5355]: Password auth succeeded for 'root' from 192.168.1.102:1036
WDR3600, ADATA S102 PRO 32GB, extroot, ver. Gargoyle 1.12.0.2

2 (edytowany przez mirej 2013-08-09 13:35:32)

Odp: Nie można się zalogować - ssh

Po ostatniej aktualizacji Magei, też utraciłem możliwość połączenia się bezpośrednio z konsoli.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
af:4b:e6:17:a?????????:c0:9c:80:b????.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:1
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).

Putty linuxowe działa.

3

Odp: Nie można się zalogować - ssh

Przecież Ci napisał dlaczego - zaktualizowałeś system a łączysz się do tego samego ip dla którego już sobie zapamiętał odcisk klucza, więc teraz się buntuje że pod tym adresem ma inny host niż się spodziewał i prosi o naprawdę tego faktu.]

Dlaczego nie przeczytałeś tego komunikatu?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.