276

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Królik napisał/a:

No i dupa, snapshot wybuchł na innych routerach,przez co zablokowali asrocka. Nie mam nic z tej architektury, więc nawet nie mam jak zobaczyć o co biega. Zwłaszcza, że bug nie jest oczywisty.

Mógłbyś napisać trochę jaśniej? wink nie bardzo rozumiem wink

277

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Nie bardzo rozumiem Twoją instrukcję dodania tego. Nie potrafię jeszcze tak szybko myśleć odnośnie kompilacji smile

Co do wersji mam taką

root@OpenWrt:~# ffmpeg
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8.4.0 (OpenWrt GCC 8.4.0 r15350-b9389186b0)
  configuration: --enable-cross-compile --cross-prefix=x86_64-openwrt-linux-musl- --arch=x86_64 --cpu= --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-lto --disable-x86asm --enable-gnutls --enable-libopus --enable-hardcoded-tables --enable-libmp3lame --enable-gpl --enable-libx264
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


i jak zwykle oczywiście Cezary miał rację smile Nagrywa smile

Teraz jak zmusić go aby nagrywał słabszą jakością? Ten parametr zadziała przy rtsp -b:v 1000k?

ffmpeg -use_wallclock_as_timestamps 1 -i rtsp://admin:@10.10.10.2:554/h264/ch1 -vcodec copy -acodec copy -map 0 -b:v 1000k -f segment -strftime 1 -segment_time 300 -reset_timestamps 1 -segment_format mkv /mnt/sdc1/publiczny/"%Y-%m-%d_%H_%M_%S".mkv

278

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Mam w domu akurat takie FUTRO i skompilowałem obraz z zaznaczeniem wszystkiego w 'libffmpeg-custom', nadal nie nagrywa. Chyba, że coś źle kompiluję..

279

(3 odpowiedzi, napisanych Inne)

Niestety nie ma takiego wyboru. jest tylko kilka opcji ale z HDMI

280

(3 odpowiedzi, napisanych Inne)

Witam
Zrobiłem sobie odpowiednią instalkę i zainstalowałem minta 20.1
Problem miałem z bluetooth ale już działa.

Niestety nie potrafię uruchomić na nim dźwięku.

xxx@xxx:~$ sudo lshw
[sudo] password for xxx:            
xxx                         
    description: Hand Held Computer
    product: 60073 (LENOVO_MT_60073_BU_MIDH_FM_1051L)
    vendor: LENOVO
    version: 1051L
    serial: HA0A35RQ
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
    configuration: boot=normal chassis=handheld family=YOGATablet2 sku=LENOVO_MT_60073_BU_MIDH_FM_1051L uuid=DC76D445-C351-474F-8BF4-D5D37B19EB10
  *-core
       description: Motherboard
       product: INVALID
       vendor: LENOVO
       physical id: 0
       version: SDK9A6N2HVWIN
       serial: HA0A35RQ
       slot: Type2 - Board Chassis Location
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: 01WT17WW
          date: 08/01/2014
          size: 64KiB
          capacity: 3MiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int9keyboard int14serial int17printer int10video acpi usb zipboot biosbootspecification netboot
     *-cpu
          description: CPU
          product: Intel(R) Atom(TM) CPU  Z3745  @ 1.33GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Atom(TM) CPU  Z3745  @ 1.33GHz
          slot: CPU 1
          size: 630MHz
          capacity: 1866MHz
          width: 64 bits
          clock: 133MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat md_clear cpufreq
          configuration: cores=4 enabledcores=4 threads=1
        *-cache:0
             description: L1 cache
             physical id: 8
             slot: Unknown
             size: 32KiB
             capacity: 32KiB
             capabilities: synchronous internal write-back instruction
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 9
             slot: Unknown
             size: 1MiB
             capacity: 1MiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
     *-cache
          description: L1 cache
          physical id: 7
          slot: Unknown
          size: 24KiB
          capacity: 24KiB
          capabilities: synchronous internal write-back data
          configuration: level=1
     *-memory
          description: System Memory
          physical id: 14
          slot: System board or motherboard
          size: 2GiB
        *-bank:0
             description: SODIMM DDR3 Synchronous 1066 MHz (0,9 ns)
             product: To be filled by O.E.M
             vendor: To be filled by O.E.M
             physical id: 0
             serial: To be filled by O.E.M
             slot: DIMM0
             size: 2GiB
             width: 32 bits
             clock: 1066MHz (0.9ns)
        *-bank:1
             description: SODIMM [empty]
             physical id: 1
             slot: DIMM1
             width: 32 bits
     *-pci
          description: Host bridge
          product: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0d
          width: 32 bits
          clock: 33MHz
          configuration: driver=iosf_mbi_pci
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0d
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:43 memory:90000000-903fffff memory:80000000-8fffffff ioport:1000(size=8) memory:c0000-dffff
        *-usb
             description: USB controller
             product: Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 0d
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:39 memory:90800000-9080ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.10.0-051000-generic xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.10
                capabilities: usb-2.00
                configuration: driver=hub slots=6 speed=480Mbit/s
              *-usb
                   description: Communication device
                   product: XMM7160 MBIM
                   vendor: Comneon
                   physical id: 3
                   bus info: usb@1:3
                   version: 17.30
                   serial: 865021028074276
                   capabilities: usb-2.00
                   configuration: driver=cdc_mbim maxpower=100mA speed=480Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.10.0-051000-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.10
                capabilities: usb-3.00
                configuration: driver=hub slots=1 speed=5000Mbit/s
        *-generic
             description: Encryption controller
             product: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 0d
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_txe latency=0
             resources: irq:45 memory:90700000-907fffff memory:90600000-906fffff
        *-isa
             description: ISA bridge
             product: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 0d
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
     *-pnp00:00
          product: PnP device PNP0b00
          physical id: 1
          capabilities: pnp
          configuration: driver=rtc_cmos
     *-pnp00:01
          product: PnP device PNP0c02
          physical id: 2
          capabilities: pnp
          configuration: driver=system
     *-pnp00:02
          product: PnP device PNP0501
          physical id: 3
          capabilities: pnp
          configuration: driver=serial
  *-battery
       description: Lithium Ion Battery
       product: SR Real Battery
       vendor: Intel SR 1
       physical id: 1
       version: Date
       serial: 123456789
       slot: I2C2
       configuration: voltage=3,8V
  *-power UNCLAIMED
       description: OEM_Define1
       product: OEM_Define5
       vendor: OEM_Define2
       physical id: 2
       version: OEM_Define6
       serial: OEM_Define3
       capacity: 42mWh
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 3
       bus info: usb@1:3
       logical name: wwan0
       serial: 16:73:83:b4:4d:c4
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_mbim driverversion=5.10.0-051000-generic firmware=CDC MBIM link=no multicast=yes
  *-network:1
       description: Wireless interface
       physical id: 4
       logical name: wlan0
       serial: 00:90:4c:cc:11:33
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmfmac driverversion=6.10.197.71 firmware=01-882d2634 ip=4.4.4.105 multicast=yes wireless=IEEE 802.11
xxx@xxx:~$ 

Ktoś miałby ochotę mi pomóc?

Dodam, że po hdmi dżwięk jest.

281

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Urządzenie musi mieć 2 no w sumie 3 rzeczy. Wireguard, ffmpeg, i sambę. A ten Xpenology ma wireguarda?

282

(9 odpowiedzi, napisanych Inne)

Ja praktycznie nie oglądam TV i za tuner 2k czy 1k nie zapłacę nawet jakby witał mnie po pracy smile
Ten tuner zepsułem sam choć do tej pory nie mam pojęcia co mu się stało i jak. Radiator dostał hotem lekko a pamięć jest niewidoczna. Dziwne. Jeśli procek zobaczy pamięć to zaprogramowanie jej to każdy soft już chyba potrafi.

283

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Ta kamera raczej nie obsługuje mjpeg. Skompiluję sobie obraz pod x86. Tam ma być tylko nagrywanie, nic więcej aa no i wireguard.

284

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Tak, mam zainstalowane.

285

(9 odpowiedzi, napisanych Inne)

Pamięci kupiłem sobie 2 od chinoli. Jeszcze nie próbowałem wlutować.

Ktoś tu z forum pisał do mnie na pw w sprawie tunera ale kontakt jakoś się urwał...

Gdyby komuś się chciało to mam już nowy tuner i mógłbym zrobić jakieś kopie itp.

W nowym układ partycji wygląda tak

 root@zgemmah9twin:~# df -i
Filesystem              Inodes      Used Available Use% Mounted on
/dev/mmcblk0p23         350880    104710    246170  30% /
devtmpfs                107871       309    107562   0% /dev
tmpfs                   107941         3    107938   0% /media
/dev/mmcblk0p4               0         0         0   0% /boot
tmpfs                   107941        71    107870   0% /var/volatile
/dev/sda1             30531584     20723  30510861   0% /media/hdd
root@zgemmah9twin:~#

Może ktoś coś doradzi przed lutowaniem wink

286

(64 odpowiedzi, napisanych Oprogramowanie / Software)

Mam kolejny problem sad
Jakiś czas temu zmieniłem kamerę.
Na Futro mam zainstalowany obraz Cezarego.
Przy próbie nagrania z kamery wyskakuje taki błąd

root@OpenWrt:~# ping 10.10.10.2
PING 10.10.10.2 (10.10.10.2): 56 data bytes
64 bytes from 10.10.10.2: seq=0 ttl=63 time=33.300 ms
64 bytes from 10.10.10.2: seq=1 ttl=63 time=39.007 ms
64 bytes from 10.10.10.2: seq=2 ttl=63 time=39.518 ms
64 bytes from 10.10.10.2: seq=3 ttl=63 time=32.740 ms
64 bytes from 10.10.10.2: seq=4 ttl=63 time=34.694 ms
64 bytes from 10.10.10.2: seq=5 ttl=63 time=32.205 ms
64 bytes from 10.10.10.2: seq=6 ttl=63 time=35.809 ms
64 bytes from 10.10.10.2: seq=7 ttl=63 time=33.728 ms
64 bytes from 10.10.10.2: seq=8 ttl=63 time=32.592 ms
64 bytes from 10.10.10.2: seq=9 ttl=63 time=36.866 ms
^C
--- 10.10.10.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 32.205/35.045/39.518 ms
root@OpenWrt:~# ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp://admin:@10.10.10.2:554/h264/ch1" -an  -b:v 1000k -f segment -strftime 1 -segment_time 300 -reset_timestamps 1 -segment_format mkv /mnt/sdc1/prywatny/cam2/"%Y-%m-%d_%H_%M_%S".
mkv
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7.5.0 (OpenWrt GCC 7.5.0 r11267-b14eeccdfe)
  configuration: --enable-cross-compile --cross-prefix=x86_64-openwrt-linux-musl- --arch=x86_64 --cpu= --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-lto --enable-x86asm --enable-avresample --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=hevc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-muxer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --disable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-libopus --enable-hardcoded-tables --enable-libmp3lame
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
[h264_v4l2m2m @ 0x7f6576086840] Could not find a valid device
[h264_v4l2m2m @ 0x7f6576086840] can't configure decoder
[rtsp @ 0x7f6575b60520] Failed to open codec in avformat_find_stream_info
[rtsp @ 0x7f6575b60520] UDP timeout, retrying with TCP
[h264_v4l2m2m @ 0x7f6576086840] Could not find a valid device
[h264_v4l2m2m @ 0x7f6576086840] can't configure decoder
[rtsp @ 0x7f6575b60520] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://admin:@10.10.10.2:554/h264/ch1':
  Metadata:
    title           : RTSP Session
  Duration: N/A, start: 1608925622.310744, bitrate: N/A
    Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[h264_v4l2m2m @ 0x7f657463c500] Could not find a valid device
[h264_v4l2m2m @ 0x7f657463c500] can't configure decoder
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_v4l2m2m) -> mpeg4 (native))
Error while opening decoder for input stream #0:0 : Invalid argument
root@OpenWrt:~# 

Próbując z minta idzie bez problemu

xxx@xxx:~$ ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp://admin:@10.10.10.2:554/h264/ch1" -an  -b:v 1000k -f segment -strftime 1 -segment_time 300 -reset_timestamps 1 -segment_format mkv /home/xxx/record/"%Y-%m-%d_%H_%M_%S".mkv
ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[rtsp @ 0x558136fe8ac0] UDP timeout, retrying with TCP
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://admin:@10.10.10.2:554/h264/ch1':
  Metadata:
    title           : RTSP Session
  Duration: N/A, start: 1608925808.038589, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 2304x1296, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x55813704d340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55813704d340] profile High, level 5.0
[libx264 @ 0x55813704d340] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[segment @ 0x55813704fc00] Opening '/home/xxx/record/2020-12-25_20_50_08.mkv' for writing
Output #0, segment, to '/home/xxx/record/%Y-%m-%d_%H_%M_%S.mkv':
  Metadata:
    title           : RTSP Session
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 2304x1296, q=-1--1, 1000 kb/s, 25 fps, 1k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.91.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/1000000 buffer size: 0 vbv_delay: N/A
[h264 @ 0x55813704d780] Increasing reorder buffer to 1itrate=N/A dup=49 drop=60 speed=0.934x    
[h264 @ 0x55813715e2c0] concealing 2348 DC, 2348 AC, 2348 MV errors in I frame
rtsp://admin:@10.10.10.2:554/h264/ch1: corrupt decoded frame in stream 0
frame= 2000 fps= 25 q=-1.0 Lsize=N/A time=00:01:19.88 bitrate=N/A dup=102 drop=87 speed=0.994x    
video:9690kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x55813704d340] frame I:8     Avg QP:24.38  size:278486
[libx264 @ 0x55813704d340] frame P:1079  Avg QP:30.56  size:  6684
[libx264 @ 0x55813704d340] frame B:913   Avg QP:40.92  size:   528
[libx264 @ 0x55813704d340] consecutive B-frames: 32.2% 10.8% 30.0% 27.0%
[libx264 @ 0x55813704d340] mb I  I16..4: 11.8% 28.5% 59.6%
[libx264 @ 0x55813704d340] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  8.5%  0.5%  1.1%  0.0%  0.0%    skip:89.8%
[libx264 @ 0x55813704d340] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  6.1%  0.0%  0.0%  direct: 0.0%  skip:93.9%  L0:39.8% L1:60.1% BI: 0.2%
[libx264 @ 0x55813704d340] final ratefactor: 30.11
[libx264 @ 0x55813704d340] 8x8 transform intra:30.2% inter:29.3%
[libx264 @ 0x55813704d340] coded y,uvDC,uvAC intra: 74.1% 0.1% 0.0% inter: 1.8% 0.0% 0.0%
[libx264 @ 0x55813704d340] i16 v,h,dc,p: 45% 19% 17% 19%
[libx264 @ 0x55813704d340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 22% 21%  3%  5%  4%  5%  3%  5%
[libx264 @ 0x55813704d340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 16% 11%  4%  6%  7%  5%  5%  5%
[libx264 @ 0x55813704d340] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x55813704d340] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55813704d340] ref P L0: 90.5%  4.0%  3.5%  2.1%
[libx264 @ 0x55813704d340] ref B L0: 84.2% 15.4%  0.4%
[libx264 @ 0x55813704d340] ref B L1: 96.7%  3.3%
[libx264 @ 0x55813704d340] kb/s:992.16
Exiting normally, received signal 2.
xxx@xxx:~$ 

Czy na openwrt da się to jakoś ruszyć?

287

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Niestety.
Królik zastanawiał się czy w ori sofcie nie było tego przypadkiem. Miałem odpalony to sprawdziłem od razu.

Czy wersje taką snapshot skoro jest oficjalna to mogę sobie kompilować dodając do niej swoje rzeczy?

288

(20 odpowiedzi, napisanych Oprogramowanie / Software)

Kiedyś ten wpis Cezarego mi pomógł mimo, że wszystko było dobrze to Windows nie widział dysku i nie dało się połączyć. WinSCP oczywiście widział dysk prawidłowo.

W cmd wpisałem i dysk od razu był widoczny mimo, że nigdy wcześniej żadnych haseł nie robiłem.

 Jeżeli nastąpi zmiana w loginie/haśle na sambie, trzeba zresetować pamięć haseł w Windows (XP, Vista) - w przeciwnym wypadku można otrzymać komunikat "Nie dostępny" lub podobne. Aby zresetować pamięć haseł należy wykonać polecenie "net use * /del /yes"

289

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Wszystko działa. Wersja jądra w tych obrazach to .85. Z mojego softu wróciłem do ori i na szybko ustawiłem wifi, nie ma do wyboru vht160, ustawiłem na auto. Test sieci i spokojnie 550Mb leciało. Na tyn snapshocie to identycznie jak na moim obrazie ~300Mb. Może kiedyś sterowniki będą lepsze smile
Po powrocie do stock zauważyłem jeden mały problem. Router nie przyjmuje loginu i hasła (admin, admin) dopiero po ręcznym resecie wszystko jest ok. Podejrzewam, że to dlatego bo przy pierwszym uruchomieniu na ori sofcie trzeba podać nowe hasło dla admina i nie da się wprowadzić 'admin'

Można byłoby to w sumie gdzieś dopisać czy coś w instrukcji flashowania może.

https://www.dropbox.com/s/zjwutv18enc3j6z/Przechwycenie%20obrazu%20ekranu_2020-12-24_08-17-20.png?dl=1
https://www.dropbox.com/s/skj48mgxyubbwzi/Przechwycenie%20obrazu%20ekranu_2020-12-24_08-20-07.png?dl=1
https://www.dropbox.com/s/o3bby9fu4eek5fm/Przechwycenie%20obrazu%20ekranu_2020-12-24_08-20-36.png?dl=1


A tu już mój obraz smile

BusyBox v1.31.1 () built-in shell (ash)

 --------------------------------------------------------------------------
 |                                                                        |
 |      ╭━━━┳━━━┳━━━╮╱╱╱╱╱╭╮╱╭━━━╮╭╮╭━━━╮    ╭━━━┳━━━┳━━━━┳━━━┳━━━╮       |
 |      ┃╭━╮┃╭━╮┃╭━╮┃╱╱╱╱╱┃┃╱┃╭━╮┣╯┃┃╭━╮┃    ┃╭━╮┃╭━╮┃╭╮╭╮┃╭━╮┃╭━╮┃       |
 |      ┃┃╱┃┃╰━━┫╰━╯┣━━┳━━┫┃╭┫┃╱╰┻╮┃┃┃┃┃┃    ┃┃╱┃┃╰━━╋╯┃┃╰┫┃╱┃┃╰━╯┃       |
 |      ┃╰━╯┣━━╮┃╭╮╭┫╭╮┃╭━┫╰╯┫┃╭━╮┃┃┃┃┃┃┃    ┃┃╱┃┣━━╮┃╱┃┃╱┃╰━╯┃╭━━╯       |
 |      ┃╭━╮┃╰━╯┃┃┃╰┫╰╯┃╰━┫╭╮┫╰┻━┣╯╰┫╰━╯┃    ┃╰━╯┃╰━╯┃╱┃┃╱┃╭━╮┃┃          |
 |      ╰╯╱╰┻━━━┻╯╰━┻━━┻━━┻╯╰┻━━━┻━━┻━━━╯    ╰━━━┻━━━╯╱╰╯╱╰╯╱╰┻╯          |
 |                                                                        |
 --------------------------------------------------------------------------
 | Machine: ASRock G10                                                    |
 | Uptime: 0d, 02:15:55                                                   |
 | Load: 0.01 0.04 0.14                                                   |
 | Flash: total: 8.4MB, free: 7.8MB, used: 1%                             |
 | Memory: total: 466.7MB, free: 309.8MB, used: 33%                       |
 | Leases: 12                                                             |
 | lan: static, 4.4.4.1                                                   |
 | wan: dhcp, xxxxxxxxxxxxx                                               |
 | wan6: dhcpv6, ?                                                        |
 | wg0: wireguard, 10.10.10.1                                             |
 | vpn: none, ?                                                           |
 | guest: static, 172.16.0.1                                              |
 | radio1: lan, mode: ap, ssid: SINIAK, channel: 2, conn: 11              |
 | radio0: lan, mode: ap, ssid: Za Hajs Matki Baluj, channel: 48, conn: 4 |
 --------------------------------------------------------------------------

290

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Pewnie, ale później bo jeszcze dziś zdalnie tyram a g10 jako główny router jest smile

291

(270 odpowiedzi, napisanych Sprzęt / Hardware)

To chyba teraz już z górki smile
Ciekawe czy Cezary pod ten model kiedyś będzie robił kompilację? smile
Ja tego drugiego szukałem z 10 min, wisiał na olx i za 170 zł z darmową wysyłką go kupiłem.
Mam 2x Wndr4300, R6220, MiR3G to chyba coś sprzedam a te dwa sobie zostawię smile

Albo w sumie to zostawię wszystkie big_smile ja jestem "przyda się" smile

292

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Królik przekazał bardzo dobre wieści smile na 99% będzie wsparcie smile
https://github.com/openwrt/openwrt/pull/3259

293

(84 odpowiedzi, napisanych Sprzęt / Hardware)

A Tobie port com jakiś się pojawił? Czasami jak z automatu pobierze sterowniki to portu com brak. Dopiero jak ręcznie sterowniki zainstalujesz to com wskoczy.

294

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Nowa wersja skompilowana (jakoś długo szło, prawie 50min) i sysupgrade -n działa
Jak na razie wifi bez zmian. Muszę poszukać jakiegoś kanału lepszego i trochę się tym pobawić.


https://www.dropbox.com/s/cvllt76wqcdb9kp/83.png?dl=1

295

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Czyli żadna aktualizacja tego nie naprawi? smile No cóż wyciśniemy wszystko co ma na 80 smile

296

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Proszę

 root@OpenWrt:~# iw list
Wiphy phy1
    wiphy index: 1
    max # scan SSIDs: 16
    max scan IEs length: 195 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    max # scan plans: 1
    max scan plan interval: -1
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Device supports AP-side u-APSD.
    Available Antennas: TX 0xf RX 0xf
    Configured Antennas: TX 0xf RX 0xf
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * monitor
         * mesh point
         * P2P-client
         * P2P-GO
         * P2P-device
    Band 1:
        Capabilities: 0x19ef
            RX LDPC
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 7935 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-31
        VHT Capabilities (0x339b79b2):
            Max MPDU length: 11454
            Supported Channel Width: neither 160 nor 80+80
            RX LDPC
            short GI (80 MHz)
            TX STBC
            SU Beamformer
            SU Beamformee
            MU Beamformer
            MU Beamformee
            RX antenna pattern consistency
            TX antenna pattern consistency
        VHT RX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: MCS 0-9
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT RX highest supported: 0 Mbps
        VHT TX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: MCS 0-9
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT TX highest supported: 0 Mbps
        Frequencies:
            * 2412 MHz [1] (30.0 dBm)
            * 2417 MHz [2] (30.0 dBm)
            * 2422 MHz [3] (30.0 dBm)
            * 2427 MHz [4] (30.0 dBm)
            * 2432 MHz [5] (30.0 dBm)
            * 2437 MHz [6] (30.0 dBm)
            * 2442 MHz [7] (30.0 dBm)
            * 2447 MHz [8] (30.0 dBm)
            * 2452 MHz [9] (30.0 dBm)
            * 2457 MHz [10] (30.0 dBm)
            * 2462 MHz [11] (30.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)
    valid interface combinations:
         * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
           total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

    HT Capability overrides:
         * MCS: ff ff ff ff ff ff ff ff ff ff
         * maximum A-MSDU length
         * supported channel width
         * short GI for 40 MHz
         * max A-MPDU length exponent
         * min MPDU start spacing
    Maximum associated stations in AP mode: 32
    Supported extended features:
        * [ VHT_IBSS ]: VHT-IBSS
        * [ RRM ]: RRM
        * [ SET_SCAN_DWELL ]: scan dwell setting
        * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
        * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
        * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
        * [ AQL ]: Airtime Queue Limits (AQL)
        * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
        * [ DEL_IBSS_STA ]: deletion of IBSS station support
        * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
        * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
Wiphy phy0
    wiphy index: 0
    max # scan SSIDs: 16
    max scan IEs length: 199 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    max # scan plans: 1
    max scan plan interval: -1
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Device supports AP-side u-APSD.
    Available Antennas: TX 0xf RX 0xf
    Configured Antennas: TX 0xf RX 0xf
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * monitor
         * mesh point
         * P2P-client
         * P2P-GO
         * P2P-device
    Band 2:
        Capabilities: 0x19ef
            RX LDPC
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 7935 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-31
        VHT Capabilities (0x339b79b2):
            Max MPDU length: 11454
            Supported Channel Width: neither 160 nor 80+80
            RX LDPC
            short GI (80 MHz)
            TX STBC
            SU Beamformer
            SU Beamformee
            MU Beamformer
            MU Beamformee
            RX antenna pattern consistency
            TX antenna pattern consistency
        VHT RX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: MCS 0-9
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT RX highest supported: 0 Mbps
        VHT TX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: MCS 0-9
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT TX highest supported: 0 Mbps
        Frequencies:
            * 5180 MHz [36] (24.0 dBm)
            * 5200 MHz [40] (24.0 dBm)
            * 5220 MHz [44] (24.0 dBm)
            * 5240 MHz [48] (24.0 dBm)
            * 5260 MHz [52] (24.0 dBm) (radar detection)
            * 5280 MHz [56] (24.0 dBm) (radar detection)
            * 5300 MHz [60] (24.0 dBm) (radar detection)
            * 5320 MHz [64] (24.0 dBm) (radar detection)
            * 5500 MHz [100] (24.0 dBm) (radar detection)
            * 5520 MHz [104] (24.0 dBm) (radar detection)
            * 5540 MHz [108] (24.0 dBm) (radar detection)
            * 5560 MHz [112] (24.0 dBm) (radar detection)
            * 5580 MHz [116] (24.0 dBm) (radar detection)
            * 5600 MHz [120] (24.0 dBm) (radar detection)
            * 5620 MHz [124] (24.0 dBm) (radar detection)
            * 5640 MHz [128] (24.0 dBm) (radar detection)
            * 5660 MHz [132] (24.0 dBm) (radar detection)
            * 5680 MHz [136] (24.0 dBm) (radar detection)
            * 5700 MHz [140] (24.0 dBm) (radar detection)
            * 5720 MHz [144] (24.0 dBm) (radar detection)
            * 5745 MHz [149] (30.0 dBm)
            * 5765 MHz [153] (30.0 dBm)
            * 5785 MHz [157] (30.0 dBm)
            * 5805 MHz [161] (30.0 dBm)
            * 5825 MHz [165] (30.0 dBm)
            * 5845 MHz [169] (disabled)
            * 5865 MHz [173] (disabled)
    valid interface combinations:
         * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
           total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

    HT Capability overrides:
         * MCS: ff ff ff ff ff ff ff ff ff ff
         * maximum A-MSDU length
         * supported channel width
         * short GI for 40 MHz
         * max A-MPDU length exponent
         * min MPDU start spacing
    Maximum associated stations in AP mode: 32
    Supported extended features:
        * [ VHT_IBSS ]: VHT-IBSS
        * [ RRM ]: RRM
        * [ SET_SCAN_DWELL ]: scan dwell setting
        * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
        * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
        * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
        * [ AQL ]: Airtime Queue Limits (AQL)
        * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
        * [ DEL_IBSS_STA ]: deletion of IBSS station support
        * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
        * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
root@OpenWrt:~# 

Właśnie kompiluję nowszą wersję bo Królik zrobił aktualizację.

297

(270 odpowiedzi, napisanych Sprzęt / Hardware)

iw info ? coś takiego

root@OpenWrt:~# iw info
Usage:    iw [options] command
Options:
    --debug        enable netlink debugging
    --version    show version (5.8)
Commands:
    dev <devname> station set <MAC address> txpwr <auto|limit> [<tx power dBm>]
        Set Tx power for this station.

    dev <devname> station set <MAC address> airtime_weight <weight>
        Set airtime weight for this station.

    dev <devname> station set <MAC address> vlan <ifindex>
        Set an AP VLAN for this station.

    dev <devname> station get <MAC address>
        Get information for a specific station.

    dev <devname> station del <MAC address> [subtype <subtype>] [reason-code <code>]
        Remove the given station entry (use with caution!)
        Example subtype values: 0xA (disassociation), 0xC (deauthentication)

    dev <devname> station dump [-v]
        List all stations known, e.g. the AP on managed interfaces

    dev <devname> disconnect
        Disconnect from the current network.

    dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465] [mfp:req/opt/no]
        Join the network with the given SSID (and frequency, BSSID).
        With -w, wait for the connect to finish or fail.

    dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
        Authenticate with the given network.
        

    event [-t|-r] [-f]
        Monitor events from the kernel.
        -t - print timestamp
        -r - print relative timestamp
        -f - print full frame for auth/assoc etc.

    phy <phyname> hwsim getps 
        

    phy <phyname> hwsim setps <value>
        

    phy <phyname> hwsim stopqueues 
        

    phy <phyname> hwsim wakequeues 
        

    dev <devname> ibss leave
        Leave the current IBSS cell.

    dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
        Join the IBSS cell with the given SSID, if it doesn't exist create
        it on the given frequency. When fixed frequency is requested, don't
        join/create a cell on a different frequency. When a fixed BSSID is
        requested use that BSSID and do not adopt another cell's BSSID even
        if it has higher TSF and the same SSID. If an IBSS is created, create
        it with the specified basic-rates, multicast-rate and beacon-interval.

    phy <phyname> info
        Show capabilities for the specified wireless device.

    list
        List all wireless devices and their capabilities.

    phy
    features 
        

    phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] [addr <mac-addr>]
        Add a new virtual interface with the given configuration.
        Valid interface types are: managed, ibss, monitor, mesh, wds.
        
        The flags are only used for monitor interfaces, valid flags are:
        none:     no special flags
        fcsfail:  show frames with FCS errors
        control:  show control frames
        otherbss: show frames from other BSSes
        cook:     use cooked mode
        active:   use active mode (ACK incoming unicast packets)
        mumimo-groupid <GROUP_ID>: use MUMIMO according to a group id
        mumimo-follow-mac <MAC_ADDRESS>: use MUMIMO according to a MAC address
        
        The mesh_id is used only for mesh mode.

    dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] [addr <mac-addr>]
    dev <devname> del
        Remove this virtual interface

    dev <devname> info
        Show information for this interface.

    dev
        List all network interfaces for wireless hardware.

    help [command]
        Print usage for all or a specific command, e.g.
        "help wowlan" or "help wowlan enable".

    dev <devname> link
        Print information about the current link, if any.

    dev <devname> mesh join <mesh ID> [[freq <freq in MHz> <NOHT|HT20|HT40+|HT40-|80MHz>] [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>] [beacon-interval <time in TUs>] [dtim-period <value>] [vendor_sync on|off] [<param>=<value>]*
        Join a mesh with the given mesh ID with frequency, basic-rates,
        mcast-rate and mesh parameters. Basic-rates are applied only if
        frequency is provided.

    dev <devname> mesh leave
        Leave a mesh.

    dev <devname> mpath probe <destination MAC address> frame <frame>
        Inject ethernet frame to given peer overriding the next hop
        lookup from mpath table.
        .Example: iw dev wlan0 mpath probe xx:xx:xx:xx:xx:xx frame 01:xx:xx:00
        

    dev <devname> mpath get <MAC address>
        Get information on mesh path to the given node.

    dev <devname> mpath del <MAC address>
        Remove the mesh path to the given node.

    dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
        Create a new mesh path (instead of relying on automatic discovery).

    dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
        Set an existing mesh path's next hop.

    dev <devname> mpath dump
        List known mesh paths.

    dev <devname> mpp get <MAC address>
        Get information on mesh proxy path to the given node.

    dev <devname> mpp dump
        List known mesh proxy paths.

    phy <phyname> channels
        Show available channels.

    reg set <ISO/IEC 3166-1 alpha2>
        Notify the kernel about the current regulatory domain.

    reg get
        Print out the kernel's current regulatory domain information.

    phy <phyname> reg get
        Print out the devices' current regulatory domain information.

    reg reload
        Reload the kernel's regulatory database.

    dev <devname> scan [-u] [freq <freq>*] [duration <dur>] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force,duration-mandatory] [randomise[=<addr>/<mask>]] [ssid <ssid>*|passive]
        Scan on the given frequencies and probe for the given SSIDs
        (or wildcard if not given) unless passive scanning is requested.
        If -u is specified print unknown data in the scan results.
        Specified (vendor) IEs must be well-formed.

    dev <devname> scan dump [-u]
        Dump the current scan results. If -u is specified, print unknown
        data in scan results.

    dev <devname> scan trigger [freq <freq>*] [duration <dur>] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force,duration-mandatory] [randomise[=<addr>/<mask>]] [ssid <ssid>*|passive]
        Trigger a scan on the given frequencies with probing for the given
        SSIDs (or wildcard if not given) unless passive scanning is requested.
        Duration(in TUs), if specified, will be used to set dwell times.
        

    dev <devname> scan abort 
        Abort ongoing scan

    dev <devname> get mesh_param [<param>]
        Retrieve mesh parameter (run command without any to see available ones).

    phy <phyname> get txq 
        Get TXQ parameters.

    dev <devname> get power_save <param>
        Retrieve power save state.

    dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
        Sets up the specified rate masks.
        Not passing any arguments would clear the existing mask (if any).

    dev <devname> set monitor <flag>*
        Set monitor flags. Valid flags are:
        none:     no special flags
        fcsfail:  show frames with FCS errors
        control:  show control frames
        otherbss: show frames from other BSSes
        cook:     use cooked mode
        active:   use active mode (ACK incoming unicast packets)
        mumimo-groupid <GROUP_ID>: use MUMIMO according to a group id
        mumimo-follow-mac <MAC_ADDRESS>: use MUMIMO according to a MAC address

    dev <devname> set meshid <meshid>
    dev <devname> set type <type>
        Set interface type/mode.
        Valid interface types are: managed, ibss, monitor, mesh, wds.

    dev <devname> set 4addr <on|off>
        Set interface 4addr (WDS) mode.

    dev <devname> set noack_map <map>
        Set the NoAck map for the TIDs. (0x0009 = BE, 0x0006 = BK, 0x0030 = VI, 0x00C0 = VO)

    dev <devname> set mcast_rate <rate in Mbps>
        Set the multicast bitrate.

    dev <devname> set mesh_param <param>=<value> [<param>=<value>]*
        Set mesh parameter (run command without any to see available ones).

    phy <phyname> set name <new name>
        Rename this wireless device.

    phy <phyname> set freq <freq> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
    phy <phyname> set freq <control freq> [5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]]
        Set frequency/channel the hardware is using, including HT
        configuration.

    dev <devname> set freq <freq> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
    dev <devname> set freq <control freq> [5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]]
    phy <phyname> set channel <channel> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
    dev <devname> set channel <channel> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
    phy <phyname> set frag <fragmentation threshold|off>
        Set fragmentation threshold.

    phy <phyname> set rts <rts threshold|off>
        Set rts threshold.

    phy <phyname> set retry [short <limit>] [long <limit>]
        Set retry limit.

    phy <phyname> set netns { <pid> | name <nsname> }
        Put this wireless device into a different network namespace:
            <pid>    - change network namespace by process id
            <nsname> - change network namespace by name from /var/run/netns
                       or by absolute path (man ip-netns)
        

    phy <phyname> set coverage <coverage class>
        Set coverage class (1 for every 3 usec of air propagation time).
        Valid values: 0 - 255.

    phy <phyname> set distance <auto|distance>
        Enable ACK timeout estimation algorithm (dynack) or set appropriate
        coverage class for given link distance in meters.
        To disable dynack set valid value for coverage class.
        Valid values: 0 - 114750

    phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
        Specify transmit power level and setting type.

    dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
        Specify transmit power level and setting type.

    phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
        Set a bitmap of allowed antennas to use for TX and RX.
        The driver may reject antenna configurations it cannot support.

    phy <phyname> set txq limit <packets> | memory_limit <bytes> | quantum <bytes>
        Set TXQ parameters. The limit and memory_limit are global queue limits
        for the whole phy. The quantum is the DRR scheduler quantum setting.
        Valid values: 1 - 2**32

    phy <phyname> set antenna_gain <antenna gain in dBm>
        Specify antenna gain.

    dev <devname> set power_save <on|off>
        Set power save state to on or off.

    dev <devname> survey dump
        List all gathered channel survey data


Commands that use the netdev ('dev') can also be given the
'wdev' instead to identify the device.

You can omit the 'phy' or 'dev' if the identification is unique,
e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

Do NOT screenscrape this tool, we don't consider its output stable.

root@OpenWrt:~# 

298

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Coś takiego mam

root@OpenWrt:~# iw dev
phy#1
    Interface wlan1
        ifindex 14
        wdev 0x100000002
        addr 74:da:38:6a:49:32
        ssid SINIAK
        type AP
        channel 2 (2417 MHz), width: 40 MHz, center1: 2427 MHz
        txpower 30.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt    hashcol    tx-bytes    tx-packets
            0    0    390    0    0    0    0    85109        390
phy#0
    Interface wlan0
        ifindex 13
        wdev 0x2
        addr 74:da:38:6a:49:33
        type AP
        txpower 0.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt    hashcol    tx-bytes    tx-packets
            0    0    0    0    0    0    0    0        0

Przy włączonym 80 mam tak

phy#1
    Interface wlan1
        ifindex 17
        wdev 0x100000003
        addr 74:da:38:6a:49:32
        ssid SINIAK
        type AP
        channel 2 (2417 MHz), width: 40 MHz, center1: 2427 MHz
        txpower 30.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt    hashcol    tx-bytes    tx-packets
            0    0    292    0    0    0    0    62060        292
phy#0
    Interface wlan0
        ifindex 16
        wdev 0x3
        addr 74:da:38:6a:49:33
        ssid Za Hajs Matki Baluj
        type AP
        channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
        txpower 24.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt    hashcol    tx-bytes    tx-packets
            0    0    221    0    0    0    0    50164        221

299

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Niestety nie mam wyboru 160 przy zmianie kraju. Gdy wstawię ręcznie vht160 do konfiguracji to radio nie startuje.

300

(270 odpowiedzi, napisanych Sprzęt / Hardware)

Da się to na tym g10 jakoś przetestować?