251

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Zgadza się, ale do crona dodałem wykonanie skryptu i sprawdzałem samo uruchomienie skryptu (które zestawia tunel), czy istnieje w procesach (ps) - samego procesu nie było, dlatego pytam o ten internet, czy może nieć wpływ na samo działanie crona w tym momencie i tym samym próbę ustanowienia tunelu... Wiem, że bez internetu to ciężko by było zestawić tunel smile
Wydaje mi się, że nawet bez internetu, ale proces/skrypt powinien się wykonać, nie uważasz, w końcu to cron jest za to odpowiedzialny - no chyba że się mylę?

252

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Czy to możliwe, że przy braku internetu (odpięty kabelek internetowy - IP statyczne) cron nie zestawia/wykonuje tunelu/skryptu? Wczoraj odpiąłem internet, zalogowałem się na router wykonałem ps i nigdzie nie było utworzonego tunelu, mimo że ponownie wykonałem restart/enable/start cron-a. Dzisiaj podpiąłem go pod neta i tunel się zestawia - cron działa prawidłowo.

253

(7 odpowiedzi, napisanych Oprogramowanie / Software)

A czy backup robi backup skryptów np z /bin/? Właśnie przeglądam pliczek zrzucony przez router i niestety tego nie widzę. Są odpowiednie dyrektywy np w cronie ale niestety chyba nic poza tym...

254

(7 odpowiedzi, napisanych Oprogramowanie / Software)

O kurcze, przepraszam moje przeoczenie, ostatnio skupiłem się wyłącznie na konsoli. A ten backup działa tylko na konkretnym routerku, czy mogę dany backup przeżucić na inny router i z niższej wersji Gargulca na wyższą?

255

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Czy istnieje jakiś skrypt na Backup & Restore ustawień routera dla Gargoyle? Spotkałem się z opisem dla Tomato, http://openlinksys.info/forum/viewthread.php?thread_id=10902 to dlaczego by nie było czegoś takiego dla OpenWRT?

256

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Może i głupie pytanie, ale z kąt wiesz że przez sonixb smile ? Po czym to wywnioskowałeś, szukając rozwiązania na forach o tematyce Linuksa wiele wątków wskazywało na inny sterownik, ot taki mały przykład jednego z for:

Trust Spacecam 120 (120 SpaceC@m)
9.04,9.10
0c45:600d
gspca,sn9c102
Skype 2.1.0.47 : works out of the box. lsusb reports: Microdia TwinkleCam USB camera

Czy uważasz, że na innym hubie kamera może być prawidłowo wykrywana? Czym to jest spowodowane, napięciem? W tym momencie bez extroota (hub + pendrive) nie jestem w stanie nawet jej uruchomić, wiec hub jest wymagany.

I co z dotychczasowym extrootem, jest do uratowania (tryb failsafe), co mogło zostać tam namieszane Twoim zdaniem, że router nie chciał się uruchomić?

257

(14 odpowiedzi, napisanych Oprogramowanie / Software)

logread:

Jan  1 01:00:48 Gargoyle user.notice 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:48 Gargoyle kern.info kernel: [   48.400000] br-lan: port 2(wlan0) entered forwarding state
Jan 15 12:00:02 Gargoyle user.info sysinit: Loading defaults
Jan 15 12:00:03 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB_camera Serial=?

cat /proc/bus/usb/devices

root@Gargoyle:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0c45 ProdID=600d Rev= 1.01
S:  Product=USB camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 4 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 5 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 680 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 800 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 7 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 900 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 8 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
root@Gargoyle:~#

Kamera została wykryta, co teraz? Nic nie zainstaluję bo nie mam miejsca - pendrive z extrootem.

258

(14 odpowiedzi, napisanych Oprogramowanie / Software)

No właśnie, ale jaki modem?

root@Gargoyle:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
root@Gargoyle:~#

Ps. dioda na kamerze cały czas świeci światłem ciągłym.

259

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Kamera Trust WB-1100G

Debian wykrywa ją jako: Microdia TwinkleCam USB Camera ID: 0c45:600d

Szukałem na internecie jaki sterownik ją obsługuje i waham się pomiędzy:
sn9c102, a kmod-video-gspca-spca5xx (tylko, który jak już).

Postępując wg. instrukcji:

Cezary napisał/a:

Jeżeli nie wiemy przez co kamera USB jest obsługiwana - należy zainstalować wszystkie dostępne pakiety zawierające kmod-video- w nazwie.

wykonałem:

# opkg update
# opkg install kmod-usb-core kmod-usb2 kmod-video-core
# opkg install kmod-video-gspca-core kmod-video-gspca-(od 500 do 561)
# opkg install kmod-video-sn9c102

następnie podpiąłem kamerkę. Sprawdzam jej dostępność:

# ls -al /dev/video*

i polecenie nic nie zwraca.

Przy podłączonej kamerce wykonuje restart routera i ...... router uruchamia się i po ok 30sek następuje jego restart i tak w nieskończoność (nie ma możliwości zalogować się na router po SSH czy web gui). Obecnie odpiąłem pendrive z extrootem i przy podłączonej kamerce otrzymuję następujący wynik polecenia dmesg:

root@Gargoyle:~# dmesg
[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #29 Fri Dec 7 18:00:25 CET 2012
[    0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9130 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802f5cb0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WRT160NL console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28976k/32768k available (2227k kernel code, 3792k reserved, 421k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[    0.100000] MIPS: machine is Linksys WRT160NL
[    0.610000] bio: create slab <bio-0> at 0
[    0.620000] Switching to clocksource MIPS
[    0.630000] NET: Registered protocol family 2
[    0.630000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.630000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.640000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.640000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.650000] TCP reno registered
[    0.650000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.660000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.670000] NET: Registered protocol family 1
[    0.670000] PCI: CLS 0 bytes, default 32
[    0.690000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.690000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.700000] msgmni has been set to 56
[    0.710000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.710000] io scheduler noop registered
[    0.720000] io scheduler deadline registered (default)
[    0.720000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.760000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.760000] console [ttyS0] enabled, bootconsole disabled
[    0.780000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.780000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.790000] 6 wrt160nl partitions found on MTD device spi0.0
[    0.790000] Creating 6 MTD partitions on "spi0.0":
[    0.800000] 0x000000000000-0x000000040000 : "u-boot"
[    0.810000] 0x000000040000-0x000000190000 : "kernel"
[    0.810000] 0x000000190000-0x0000007e0000 : "rootfs"
[    0.820000] mtd: partition "rootfs" set to be root filesystem
[    0.820000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=140000
[    0.830000] 0x0000006a0000-0x0000007e0000 : "rootfs_data"
[    0.840000] 0x0000007e0000-0x0000007f0000 : "nvram"
[    0.850000] 0x0000007f0000-0x000000800000 : "art"
[    0.850000] 0x000000040000-0x0000007e0000 : "firmware"
[    0.870000] ag71xx_mdio: probed
[    0.870000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.190000] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
[    1.200000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=00008306, driver=Realtek RTL8306S]
[    1.210000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.510000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=00008306, driver=Realtek RTL8306S]
[    1.520000] TCP cubic registered
[    1.530000] NET: Registered protocol family 17
[    1.530000] Bridge firewalling registered
[    1.540000] Ebtables v2.0 registered
[    1.540000] 8021q: 802.1Q VLAN Support v1.8
[    1.550000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.560000] Freeing unused kernel memory: 216k freed
[    4.210000] Registered led device: wrt160nl:blue:power
[    4.210000] Registered led device: wrt160nl:amber:wps
[    4.210000] Registered led device: wrt160nl:blue:wps
[    4.210000] Registered led device: wrt160nl:blue:wlan
[    5.210000] ar71xx: pll_reg 0xb8050014: 0x13000a44
[    5.210000] eth0: link up (100Mbps/Full duplex)
[    7.540000] JFFS2 notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (1 unchecked, 1 orphan) and 53 of xref (0 dead, 24 orphan) found.
[    8.450000] SCSI subsystem initialized
[    8.690000] usbcore: registered new interface driver usbfs
[    8.690000] usbcore: registered new interface driver hub
[    8.700000] usbcore: registered new device driver usb
[    9.290000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.300000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    9.310000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    9.340000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    9.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    9.360000] hub 1-0:1.0: USB hub found
[    9.370000] hub 1-0:1.0: 1 port detected
[    9.430000] Initializing USB Mass Storage driver...
[    9.440000] usbcore: registered new interface driver usb-storage
[    9.450000] USB Mass Storage support registered.
[    9.700000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    9.850000] hub 1-1:1.0: USB hub found
[    9.850000] hub 1-1:1.0: 4 ports detected
[   30.400000] eth0: link down
[   31.280000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   31.290000] Backport based on wireless-testing.git master-2012-09-07
[   31.300000] compat.git: wireless-testing.git
[   31.460000] cfg80211: Calling CRDA to update world regulatory domain
[   31.470000] cfg80211: World regulatory domain updated:
[   31.480000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   31.480000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   31.490000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   31.500000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   31.510000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   31.520000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.830000] ath: EEPROM regdomain: 0x0
[   32.830000] ath: EEPROM indicates default country code should be used
[   32.830000] ath: doing EEPROM country->regdmn map search
[   32.830000] ath: country maps to regdmn code: 0x3a
[   32.830000] ath: Country alpha2 being used: US
[   32.830000] ath: Regpair used: 0x3a
[   32.830000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   32.830000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2122 RF Rev:a2 mem=0xb80c0000, irq=2
[   32.850000] cfg80211: Calling CRDA for country: US
[   32.850000] cfg80211: Regulatory domain changed to country: US
[   32.860000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   32.860000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   32.870000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   32.880000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.890000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.900000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.900000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   33.150000] RPC: Registered named UNIX socket transport module.
[   33.150000] RPC: Registered udp transport module.
[   33.160000] RPC: Registered tcp transport module.
[   33.160000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   33.680000] PPP generic driver version 2.4.2
[   33.830000] tun: Universal TUN/TAP device driver, 1.6
[   33.840000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   34.180000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   34.300000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   34.810000] NET: Registered protocol family 24
[   34.960000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   36.210000] xt_time: kernel timezone is -0000
[   36.740000]  Hooked IMQ after mangle on PREROUTING
[   36.750000]  Hooked IMQ after nat on POSTROUTING
[   36.750000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   36.980000] Netfilter messages via NETLINK v0.30.
[   37.110000] ip_set: protocol 6
[   37.710000] usbcore: registered new interface driver cdc_acm
[   37.710000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   37.840000] usbcore: registered new interface driver usblp
[   37.870000] usbcore: registered new interface driver usbserial
[   37.880000] USB Serial support registered for generic
[   37.890000] usbcore: registered new interface driver usbserial_generic
[   37.890000] usbserial: USB Serial Driver core
[   38.050000] usbcore: registered new interface driver ums-alauda
[   38.080000] usbcore: registered new interface driver ums-cypress
[   38.100000] usbcore: registered new interface driver ums-datafab
[   38.180000] usbcore: registered new interface driver ums-freecom
[   38.200000] usbcore: registered new interface driver ums-isd200
[   38.230000] usbcore: registered new interface driver ums-jumpshot
[   38.250000] usbcore: registered new interface driver ums-karma
[   38.280000] usbcore: registered new interface driver ums-sddr09
[   38.310000] usbcore: registered new interface driver ums-sddr55
[   38.330000] usbcore: registered new interface driver ums-usbat
[   38.460000] USB Serial support registered for GSM modem (1-port)
[   38.470000] usbcore: registered new interface driver option
[   38.470000] option: v0.7.2:USB Driver for GSM modems
[   38.520000] USB Serial support registered for Sierra USB modem
[   38.530000] usbcore: registered new interface driver sierra
[   38.540000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
[   38.680000] fuse init (API version 7.18)
[   42.960000] device eth0 entered promiscuous mode
[   44.530000] cfg80211: Calling CRDA for country: PL
[   44.540000] cfg80211: Regulatory domain changed to country: PL
[   44.540000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   44.550000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   44.560000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   44.570000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   44.580000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[   44.670000] ar71xx: pll_reg 0xb8050014: 0x13000a44
[   44.670000] eth0: link up (100Mbps/Full duplex)
[   44.670000] br-lan: port 1(eth0) entered forwarding state
[   44.680000] br-lan: port 1(eth0) entered forwarding state
[   45.360000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[   45.360000] eth1: link up (100Mbps/Full duplex)
[   46.330000] device wlan0 entered promiscuous mode
[   46.660000] br-lan: port 2(wlan0) entered forwarding state
[   46.660000] br-lan: port 2(wlan0) entered forwarding state
[   46.680000] br-lan: port 1(eth0) entered forwarding state
[   48.660000] br-lan: port 2(wlan0) entered forwarding state
[   82.480000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[   82.490000]                old minutes west=0, new minutes west=-60
[ 7842.110000] usb 1-1.2: new full-speed USB device number 3 using ehci-platform
[ 8818.510000] usb 1-1.2: USB disconnect, device number 3
root@Gargoyle:~#

Wydaje mi się, że Gargoyle (1.5.8.4) wykrywa ją jako modem Sierra:

root@Gargoyle:~# dmesg | grep modem
[   37.710000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   38.460000] USB Serial support registered for GSM modem (1-port)
[   38.470000] option: v0.7.2:USB Driver for GSM modems
[   38.520000] USB Serial support registered for Sierra USB modem
[   38.540000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
root@Gargoyle:~# dmesg | grep usb
[    8.690000] usbcore: registered new interface driver usbfs
[    8.690000] usbcore: registered new interface driver hub
[    8.700000] usbcore: registered new device driver usb
[    9.440000] usbcore: registered new interface driver usb-storage
[    9.700000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   37.710000] usbcore: registered new interface driver cdc_acm
[   37.840000] usbcore: registered new interface driver usblp
[   37.870000] usbcore: registered new interface driver usbserial
[   37.890000] usbcore: registered new interface driver usbserial_generic
[   37.890000] usbserial: USB Serial Driver core
[   38.050000] usbcore: registered new interface driver ums-alauda
[   38.080000] usbcore: registered new interface driver ums-cypress
[   38.100000] usbcore: registered new interface driver ums-datafab
[   38.180000] usbcore: registered new interface driver ums-freecom
[   38.200000] usbcore: registered new interface driver ums-isd200
[   38.230000] usbcore: registered new interface driver ums-jumpshot
[   38.250000] usbcore: registered new interface driver ums-karma
[   38.280000] usbcore: registered new interface driver ums-sddr09
[   38.310000] usbcore: registered new interface driver ums-sddr55
[   38.330000] usbcore: registered new interface driver ums-usbat
[   38.470000] usbcore: registered new interface driver option
[   38.530000] usbcore: registered new interface driver sierra
[ 7842.110000] usb 1-1.2: new full-speed USB device number 3 using ehci-platform
[ 8818.510000] usb 1-1.2: USB disconnect, device number 3
root@Gargoyle:~#

Czy ktoś miał do czynienia z tą kamerką? Na jakim sterowniku działa oraz co zrobić z extrootem (stworzyć nowego hmm ) .?

260

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Zapytam tak z ciekawości: w konfigu /etc/config/dropbear opcja GatewayPorts ma mieć dyrektywę YES czy ON, w poradniku oczywiście widnieje yes ale pozostałe opcje są na on...

261

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Dziękuję, na FF działa, na IE 9 nie, a po wykonaniu "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --explicitly-allowed-ports=6666" Chrome również działa.

262

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Do Putty dodałem w Tunnels drugi tunel i po SSH mogę się połączyć a gdy wpiszę w przeglądarkę:

127.0.0.1:6666        <---- 6666 to Source port w Putty

otrzymuję komunikat:

Strona internetowa jest niedostępna
Strona internetowa pod adresem http://127.0.0.1:6666/ może być tymczasowo niedostępna lub została na stałe przeniesiona pod nowy adres internetowy.
Błąd 312 (net::ERR_UNSAFE_PORT): Nieznany błąd.

Przeglądarka Google Chrome, VPS nasłuchuje na obydwu portach zestawionych z routera (8888, 8889), ustawienia tunelu jak w poście wyżej...

Co to może być?

263

(153 odpowiedzi, napisanych Oprogramowanie / Software)

clrk napisał/a:

Czy mogę wykorzystać reverse tunnel żeby połączyć się z webowym gui routera?
To tylko przykład, jeśli da się ogarnąć to mój alarm też będzie osiągalny. Proszę, pomóżcie.

Cezary napisał/a:

Zamiast na port 22 zrób na port 80 czy 443

Cezary to teraz do zwykłego tunelu SSH który mam, wykonuję drugi tunel o np takiej składni:

# ssh -f -NT -R 8889:localhost:22 użytkownik@adres_serwera
+
# ssh -f -NT -R 8888:localhost:80 użytkownik@adres_serwera

i takich tuneli/połączeń może być kilka (np 5)?

A jak to ma wyglądać w skrypcie dodanym do cron-a:

#!/bin/sh
T="ssh -f -NT -R 8889:localhost:22 użytkownik@adres_serwera -i /root/rsa_secret.txt"
pgrep -f "$T" > /dev/null 2>&1 || $T
T2="ssh -f -NT -R 8888:localhost:80 użytkownik@adres_serwera -i /root/rsa_secret.txt"
pgrep -f "$T2" > /dev/null 2>&1 || $T2

264

(153 odpowiedzi, napisanych Oprogramowanie / Software)

No dobra to co w takim razie zrobić po restarcie serwera VPS? Jak wznowić w tej sytuacji połączenie od strony routera?

Stworzyć skrypt, który cały czas pinguje IP serwera i w razie jego braku restartu tunel od strony routera? Zastanawiam mnie tylko w tym wypadku obciążenie routera... Czy prościej zrobić w cronie restart routera co np 1h.

Co polecasz?

265

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Dzięki, pomogło.

Cezary, zrobiłem sobie jeszcze autoryzacje za pomocą kluczy i ich wymianę,  do tego oczywiście użyłem również cron-a żeby to zautomatyzować (wykonanie skryptu co 5min). Jest tylko jeszcze jeden problem...

Nie jestem dobry w skryptach, ale wydaje mi się, że skrypt który jest u Ciebie na stronie działa tak, że sprawdza czy wykonało się wykonanie pewnej instrukcji i na tym koniec. Gdy danego procesu/instrukcji niema wtedy oczywiście cron czuwa nad jego uruchomieniem - przy czym nie tworzy nowego, zbędnego procesu, gdy istnieje poprzedni.

Co jednak, gdy skrypt się wykonuje, jest spięty tunel i nagle następuje zrestartowanie VPS-a do którego połączenie się odbywało? Gargoyle widzi, że polecenie się wykonuje i tak jakby nie wznawia połączenia...
Działa to oczywiście z drugiej strony, kiedy to router się zrestartuje, wtedy jak najbardziej cron wykona próbę połaczenia z pozytywnym skutkiem...

Jest sposób/skrypt żeby temu zaradzić?

Ps. no chyba nie dodanie do cron-a restartu routera co np 1h?

266

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Chyba już wszystko wiem...

Na VPSie od host1free root na danym węźle loguje się (jak w moim przypadku) na adres 94.249.206.254, ale jak już utworzy się nowego użytkownika to on już loguje się nie na adres IP root-a tylko na 94.249.249.5 pod którym jest dostępne np www oraz jak się okazuje SSH userów.

Teraz otrzymuję taki komunikat:

root@Gargoyle:~# ssh -f -NT -R 8889:localhost:22 test1@94.249.249.5
ssh: Connection to gargoyle@94.249.249.5:22 exited:

Host key mismatch for 94.249.249.5 !
Fingerprint is md5 5f:4b:ee:1c:29:34:22:c0:12:00:71:e1:dc:41:1b:c8
Expected md5 95:18:84:49:7b:25:19:e7:3a:f2:4b:23:09:ed:cf:90
If you know that the host key is correct you can
remove the bad entry from ~/.ssh/known_hosts
root@Gargoyle:~#

jak się domyślam, występuje niezgodność kluczy i należy wygenerować np na Gargoyle nowy klucz i wyeksportować go na VPSa?
Czyli robię wszystko zgodnie z instrukcją o Reverse SSH tunnel i powinno śmigać?

267

(153 odpowiedzi, napisanych Oprogramowanie / Software)

A co myślisz o tej opcji:http://eko.one.pl/forum/viewtopic.php?pid=48814#p48814

Obecnie mój /etc/config/drobbear wygląda następująco:

config dropbear 'global'
           option PasswordAuth 'on'
           option Port '22'
           option max_remote_attempts '10'

Kurcze, już nie mam pomysłów co sprawdzić, gdzie pogrzebać i co wyłączyć żeby to ruszyło...

268

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary a czy to możliwe, żeby np wersje SSH były różne na tyle by jedna uniemożliwiała komunikację z drugą?

Wczoraj trochę posiedziałem i poczytałem i dodałem do konfiguracji sshd_config serwera VPS następujące linijki, które niestety również nie przyniosły żadnych rezultatów:

# tunelowanie portow
AllowTcpForwarding yes
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999
GatewayPorts yes

Odinstalowałem również dla pewności iptables...

Pytam dlatego, że porównując również parametry poszczególnych pakietów, trochę się różnią:

root@Gargoyle:~# ssh
Dropbear client v2011.54
Usage: ssh [options] [user@]host[/port] [command]
Options are:
-p <remoteport>
-l <username>
-t    Allocate a pty
-T    Don't allocate a pty
-N    Don't run a remote command
-f    Run in background after auth
-y    Always accept remote host key if unknown
-s    Request a subsystem (use for sftp)
-i <identityfile>   (multiple allowed)
-A    Enable agent auth forwarding
-L <[listenaddress:]listenport:remotehost:remoteport> Local port forwarding
-g    Allow remote hosts to connect to forwarded ports
-R <[listenaddress:]listenport:remotehost:remoteport> Remote port forwarding
-W <receive_window_buffer> (default 24576, larger may be faster, max 1MB)
-K <keepalive>  (0 is never, default 0)
-I <idle_timeout>  (0 is never, default 0)
-J <proxy_program> Use program pipe rather than TCP connection
root@Gargoyle:~#

root@wojtasvps:/# ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
root@wojtasvps:/#

269

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary, miałbyś czas żeby zestawić taki tunel jakbym Ci podał hasła na PW?

270

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Tak:

root@Gargoyle:~# ssh console-5uomXL@94.249.206.254
console-5uomXL@94.249.206.254's password:
Last login: Fri Jan  4 07:46:31 2013 from ixn59.internetdsl.tpnet.pl
Starting PowerConsole v1.3 <> (c)2012 soluslabs ltd.
please wait...
successfully logged in.
entered into CT 5891
root@wojtasvps:/# mc

root@wojtasvps:/# exit
logout
exited from CT 5891
root@Gargoyle:~#

271

(153 odpowiedzi, napisanych Oprogramowanie / Software)

To ja już nic nie rozumiem... Robię zgodnie z Twoim poradnikiem i nic.... Na routerze wykonuję jedynie:

ssh -f -NT -R 8889:localhost:22 console-5uomXL@94.249.206.254

podaje hasło i tyle? No chyba tutaj nieda się nic zepsuć....? hmm teraz zauważyłem ze nawet jak podam 2x tą komendę to w ps wystąpi drugi raz....

14731 root      1244 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
14732 root      1524 S    -ash
14744 root      1192 S    ssh -f -NT -R 8889:localhost:22 console-5uomXL@94.249.206.254
15209 root         0 SW   [flush-8:0]
15210 root      1496 R    ps

root@Gargoyle:~# ssh -f -NT -R 8889:localhost:22 console-5uomXL@94.249.206.254
console-5uomXL@94.249.206.254's password:
root@Gargoyle:~# ssh: Remote TCP forward request failed (port 8889 -> localhost:22)

root@Gargoyle:~# ps

....
731 root      1244 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
14732 root      1524 S    -ash
14744 root      1192 S    ssh -f -NT -R 8889:localhost:22 console-5uomXL@94.249.206.254
15245 root         0 SW   [flush-8:0]
15246 root      1192 S    ssh -f -NT -R 8889:localhost:22 console-5uomXL@94.249.206.254
15247 root      1496 R    ps
root@Gargoyle:~#

Mimo widocznego błędu: Remote TCP forward request failed 

Na swoim forum VPS=Host1free pisze, że domyślnie żadne porty nie są przez nich blokowane.


A może tunel nie wychodzi z routera....? Chociaż, jak pyta o hasło i je przyjmuje to chyba wychodzi...

272

(153 odpowiedzi, napisanych Oprogramowanie / Software)

netstat -an:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 94.249.249.5:53         0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.2:53            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::53                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
udp        0      0 94.249.249.5:137        0.0.0.0:*
udp        0      0 94.249.249.5:137        0.0.0.0:*
udp        0      0 127.0.0.2:137           0.0.0.0:*
udp        0      0 127.0.0.2:137           0.0.0.0:*
udp        0      0 0.0.0.0:137             0.0.0.0:*
udp        0      0 94.249.249.5:138        0.0.0.0:*
udp        0      0 94.249.249.5:138        0.0.0.0:*
udp        0      0 127.0.0.2:138           0.0.0.0:*
udp        0      0 127.0.0.2:138           0.0.0.0:*
udp        0      0 0.0.0.0:138             0.0.0.0:*
udp        0      0 94.249.249.5:53         0.0.0.0:*
udp        0      0 127.0.0.2:53            0.0.0.0:*
udp        0      0 127.0.0.1:53            0.0.0.0:*
udp6       0      0 :::53                   :::*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     1203263087 /var/run/saslauthd/mux
unix  2      [ ACC ]     STREAM     LISTENING     1203312045 /var/run/sendmail/mta/smcontrol
unix  6      [ ]         DGRAM                    1203261670 /dev/log
unix  2      [ ]         DGRAM                    1203264304
unix  2      [ ]         DGRAM                    1203263806
unix  2      [ ]         DGRAM                    1203263095
unix  2      [ ]         DGRAM                    1203263025

A czy możliwe, że np firewall sprzętowy w firmie blokuje wyjście routerowi?
Motyw też jest tego typu że aby się zalogować na VPSa przez SSH loguję się na 94.249.206.254 a np ftp na 94.249.249.5...
Stąd też ten adres w netstat.
Ps. na 94.249.249.5 nie ma mowy zalogować się loginem i hasłem które dostałem od VPSa po SSH na 94.249.206.254

273

(153 odpowiedzi, napisanych Oprogramowanie / Software)

netstat -a:

root@wojtasvps:/# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:smtp          *:*                     LISTEN
tcp        0      0 localhost:953           *:*                     LISTEN
tcp        0      0 *:microsoft-ds          *:*                     LISTEN
tcp        0      0 localhost:submission    *:*                     LISTEN
tcp        0      0 *:netbios-ssn           *:*                     LISTEN
tcp        0      0 *:www                   *:*                     LISTEN
tcp        0      0 wojtasvps:domain        *:*                     LISTEN
tcp        0      0 127.0.0.2:domain        *:*                     LISTEN
tcp        0      0 localhost:domain        *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp6       0      0 [::]:domain             [::]:*                  LISTEN
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
udp        0      0 wojtasvps:netbios-ns    *:*
udp        0      0 wojtasvps:netbios-ns    *:*
udp        0      0 127.0.0.2:netbios-ns    *:*
udp        0      0 127.0.0.2:netbios-ns    *:*
udp        0      0 *:netbios-ns            *:*
udp        0      0 wojtasvps:netbios-dgm   *:*
udp        0      0 wojtasvps:netbios-dgm   *:*
udp        0      0 127.0.0.2:netbios-dgm   *:*
udp        0      0 127.0.0.2:netbios-dgm   *:*
udp        0      0 *:netbios-dgm           *:*
udp        0      0 wojtasvps:domain        *:*
udp        0      0 127.0.0.2:domain        *:*
udp        0      0 localhost:domain        *:*
udp6       0      0 [::]:domain             [::]:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     1203263087 /var/run/saslauthd/mux
unix  2      [ ACC ]     STREAM     LISTENING     1203312045 /var/run/sendmail/mta/smcontrol
unix  6      [ ]         DGRAM                    1203261670 /dev/log
unix  2      [ ]         DGRAM                    1203264304
unix  2      [ ]         DGRAM                    1203263806
unix  2      [ ]         DGRAM                    1203263095
unix  2      [ ]         DGRAM                    1203263025
root@wojtasvps:/#

274

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Jak mogę to sprawdzić? Port 8889 będzie widoczny wtedy gdy na routerze wykonam zestawienie tunelu czy w VPSie muszę gdzieś go zdefiniować?

Porównałem nasze sshd_config i są identyczne poza dwoma opcjami....
Tak jak mi radziłeś u mnie jest dodane:   AllowTcpForwarding yes oraz mam coś takiego jak AcceptEnv LANG LC_*

Ps. mogę gdzieś zdefiniować by logi z SSH były w oddzielnym pliku zapisywane?

275

(153 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary rzuć okiem na mój sshd_config serwera VPS:

# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768
# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile     %h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes


# tunelowanie portow
AllowTcpForwarding yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

w logach VPSa w /var/log/auth.log nigdzie nie widzę jakiej kolwiek informacji o udanym bądź odrzuconym połączeniu....? Można zrobić by logi z ssh były logowane do oddzielnego pliku?

Masz jakiś pomysł co zrobić by ten tunel ruszył?