26

(4 odpowiedzi, napisanych Oprogramowanie / Software)

Od siebie dodam,że pomimo skromnych parametrów froga spokojnie postawisz wiregarda na dockerze.

staszek.kamionek napisał/a:

Dobrze, w takim razie kupię na spróbowanie, najwyżej parę groszy się zmarnuje ;p
Myślę, że pod wieczór przysiądę do routera i się co nieco już pobawię.

Gościu od mikrusa uruchomił niedawno nowy projekt mikrus frog.
Jest to mały VPS prawie za darmo (jednorazowa opłata 5 zł) i tak jak na mikrusie dostajesz trzy porty tcp/udp na wspólym ipv4 na których
postawisz openvpn, wireguarda itd.
Mam, postawiłem wireguarda, działa.
Reasumując za jedno piwo możesz mieć swojego vpn-a

https://frog.mikr.us/
https://mrugalski.notion.site/mrugalski … f12e96ae1f

Królik napisał/a:

Dostajesz kilka portów na wspólnym ipv4. Do serwera vpn wystarczy.

Dokładnie tak.
Do tego jeśli wybierzesz Ubuntu 20.04 to w którymś z folderów znajdują się gotowe skrypty do instalacji różnych usług m.in. openvpn, wiregard itd.
Mikrus za 35 zł nie porywa parametrami, ale do vpn-a spokojnie wystarczy.

Naprawdę tani vps....?
Ja mam mikrusa za 35 zł na rok! i na nim wireguarda.
https://mikr.us/

Ja mam światłowód od play-a z tym samym routerem.
Żeby podmienić na swój z OpenWrt musiałem sklonować adres MAC Kaona

31

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Ale to powienien po prostu nie zrobić obrazu a nie że się wywalił.

Ja też tak myślałem....zresztą w poradniku Twoim piszesz o tym,a tu taki dziwny komunikat który sugeruje, że masz za mało miejsca na dysku.
Trochę mi to krwi napsuło smile

32

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Sprawa się wyjaśniła dla mnie.Problemem był tailscale którego chciałem wkompilować w obraz i jeśli dobrze rozumiem obraz był za duży i stąd info o braku miejsca.Tailscale skompilpwany jako moduł i nie ma problemu.

33

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Jakaś enigma

openwrt on  openwrt-22.03 [+]  df -h
System plików  rozm. użyte dost. %uż. zamont. na
dev             3,9G     0  3,9G   0% /dev
run             3,9G  9,5M  3,9G   1% /run
/dev/sda2        20G   11G  8,5G  55% /
tmpfs           3,9G     0  3,9G   0% /dev/shm
tmpfs           3,9G     0  3,9G   0% /tmp
/dev/sda3       445G   59G  364G  14% /home
/dev/sda1       511M  312K  511M   1% /boot/efi
tmpfs           787M   48K  787M   1% /run/user/1000

34

(82 odpowiedzi, napisanych Oprogramowanie / Software)

384 gb wolnego miejsca

35

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Help smile
Log z make -j1 V=s

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
    compressed data, compressed metadata, compressed fragments,
    no xattrs, compressed ids
    duplicates are removed
Filesystem size 96094.76 Kbytes (93.84 Mbytes)
    27.08% of uncompressed filesystem size (354833.28 Kbytes)
Inode table size 18888 bytes (18.45 Kbytes)
    23.31% of uncompressed inode table size (81029 bytes)
Directory table size 21514 bytes (21.01 Kbytes)
    42.20% of uncompressed directory table size (50984 bytes)
Number of duplicate files found 280
Number of inodes 2200
Number of files 1650
Number of fragments 64
Number of symbolic links  436
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 113
Number of ids (unique uids + gids) 1
Number of uids 1
    root (0)
Number of gids 1
    root (0)
/home/roman/Openwrt/openwrt/staging_dir/host/bin/make_ext4fs -L rootfs -l 109051904 -b 4096 -m 0 -J -T 1674932894 /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/root.ext4 /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/root-x86/
Creating filesystem with parameters:
    Size: 109051904
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6656
    Inode size: 256
    Journal blocks: 0
    Label: rootfs
    Blocks: 26624
    Block groups: 1
    Reserved blocks: 0
    Reserved block group size: 7
error: ext4_allocate_best_fit_partial: failed to allocate 3794 blocks, out of space?
make[5]: *** [/home/roman/Openwrt/openwrt/include/image.mk:335: /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/root.ext4] Error 1
make[5]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux/x86/image'
make[4]: *** [Makefile:21: install] Error 2
make[4]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux/x86'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux'
time: target/linux/install#660.35#15.73#293.81
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/roman/Openwrt/openwrt'
make[1]: *** [target/Makefile:24: /home/roman/Openwrt/openwrt/staging_dir/target-x86_64_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/roman/Openwrt/openwrt'
make: *** [/home/roman/Openwrt/openwrt/include/toplevel.mk:230: world] Błąd 2 

36

(95 odpowiedzi, napisanych Oprogramowanie / Software)

miguelos napisał/a:

A dla tych co nie maja sprzetu
Openwrt <-VPN, np. wireguard-> VMka w cloudzie + docker

Oracle cloud daje darmowe nawet 4VMki na arm (for ever)
https://www.oracle.com/cloud/free/

Próbuję się zarejestrować, ale za Chiny Ludowe moja fizyczna karta Visa z mbanku nie przechodzi weryfikacji....też tak macie?

37

(2 odpowiedzi, napisanych Inne)

Rzuć okiem na DWService.

38

(636 odpowiedzi, napisanych Sprzęt / Hardware)

onken napisał/a:

A jak inni operatorzy ? Np Tmobile ?

Nie wiem jak  w T-mobile....bo mam światło w play-u smile
Play daje ont w "standardzie" i do tego router Kaon AR2140
Żeby podpiąć swój router w konfiguracji musisz sklonować adres mac kaona i śmiga.

39

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Dziękuję poszło jak po maśle.

40

(82 odpowiedzi, napisanych Oprogramowanie / Software)

Jak zwykle potrzebuję pomocy smile

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kmod-crypto-kpp for kmod-crypto-lib-curve25519
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-lib-curve25519 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-crypto-lib-curve25519.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-wireguard:
 *     kmod-crypto-kpp
 * opkg_install_cmd: Cannot install package kmod-wireguard.
make[2]: *** [package/Makefile:70: package/install] Error 255 

41

(95 odpowiedzi, napisanych Oprogramowanie / Software)

Próbuje zainstalowć dockera na Fujitsu Futro s720 (soft: openwrt-22.03-snapshot-r19881-353e468f47-x86-64-generic-ext4-combined.img) i dostaję takie coś:

 root@OpenWrt:~# opkg install docker dockerd
Installing docker (20.10.18-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/x86_64/packages/docker_20.10.18-1_x86_64.ipk
Installing dockerd (20.10.18-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/x86_64/packages/dockerd_20.10.18-1_x86_64.ipk
Configuring docker.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-crypto-acompress
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-acompress found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-lzo
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-lzo found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-zlib-inflate
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-inflate found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-zlib-deflate
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-deflate found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-raid6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-raid6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-xor
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-xor found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-lib-zstd
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zstd found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-fs-btrfs
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-btrfs found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-nf-ipt
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipt found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-nft-compat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-compat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-extra
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-extra found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-nf-ipt6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipt6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ip6tables
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ip6tables found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-nf-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-conntrack
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-conntrack found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-nat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-br-netfilter
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-br-netfilter found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-ipt-physdev
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-physdev found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-nf-ipvs
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipvs found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524) for kmod-veth
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-veth found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for dockerd:
 *     kernel (= 5.10.154-1-b5656daf1040a34ee2f682b2e3cd2524)
 * opkg_install_cmd: Cannot install package dockerd.

Nie dają, ominąłem problem instalując zerotier na routerze i sprzętach.

Parę miesięcy temu i parę postów wyżej przymierzałem się do światłowodu od orange i w końcu mam światło od Play wink
Był wybór dostawcy, tak więc wziąłem fioletowych i nie jest to play z UPC tylko bodajże  z programu Polska Cyfrowa.
Zrobili instalację w mieszkaniu, dają moduł ont i router Kaon AR2140 (wifi 6, usb 3.0).
Jak podpiąć swój router z OpenWrt?
Trzeba utworzyć Vlan 35, metoda połączenia IPoE (brak loginu i hasła jak w przypadku Orange) i trzeba sklonować adres mac routera od isp, jest na pudełku i w gui rotera.
Mój /etc/config/network  na Netgear R6220 wygląda tak:

 config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option packet_steering '1'
    option ula_prefix 'fd1c:6935:0e2d::/48'

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'lan1'
    list ports 'lan2'
    list ports 'lan3'
    list ports 'lan4'

config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan'
    option device 'wan.35'
    option proto 'dhcp'
    option dns '8.8.8.8 8.8.4.4'
    option peerdns '0'
    option macaddr '00:11:22:33:44:55'

config interface 'wan6'
    option device 'wan'
    option proto 'dhcpv6'

config device
    option type '8021q'
    option ifname 'wan'
    option vid '35'
    option name 'wan.35' 

Wziąłem do 300 mb/s i tak śmiga.

Ok, tak zrobię przy pierwszym podłączeniu.
Dziękuję za pomoc!

Racja...dodałem
set network.wan.device="wan.35"
Mam nadzieję, że skrypt jest ok i po dwóch latach combo r6200+e3372 hilink wejdę na wyższy poziom ewolucji smile

Zakładająć, że dane do połączenia są poprawne, da radę taki skrypt?

 #!/bin/sh
sleep 20
uci -q batch << EOF

set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
set system.@system[0].zonename='Europe/Warsaw'
set system.ntp=timeserver
set system.ntp.enabled='1'
commit system

add network device
set network.@device[-1].type="8021q"
set network.@device[-1].ifname="wan"
set network.@device[-1].vid="35"
set network.@device[-1].name="wan.35"

set network.wan.proto="pppoe"
set network.wan.username="bez_kontroli-blablabla@neostrada.pl"
set network.wan.password="xxxxxx"
set network.wan.dns="8.8.8.8 8.8.4.4"
set network.wan.peerdns="0"
commit network

set wireless.@wifi-device[0].disabled=0
set wireless.@wifi-device[0].country=PL
set wireless.@wifi-device[0].channel=13
set wireless.@wifi-device[0].htmode=HT40
set wireless.@wifi-iface[0].ssid=Netgear_R6220
set wireless.@wifi-iface[0].encryption=psk2
set wireless.@wifi-iface[0].key=xxxxxxxx

set wireless.@wifi-device[1].disabled=0
set wireless.@wifi-device[1].country=PL
set wireless.@wifi-device[1].channel=44
set wireless.@wifi-device[1].htmode=VHT80
set wireless.@wifi-iface[1].ssid=Netgear_R6220
set wireless.@wifi-iface[1].encryption=psk2
set wireless.@wifi-iface[1].key=xxxxxxxx
commit wireless

set firewall.@defaults[0].flow_offloading=1
set firewall.@defaults[0].flow_offloading_hw=1
commit firewall

EOF

ifup wan

exit 0 

Komendy mają być w cudzysłowiu na końcu, czy mogą być bez?

Ponieważ chcę zrobić skrypt konfiguracyjny, dodać do /files/uci-defaults i po kompilacji mieć gotowca który ustawi mi wszystko i zaoszczędzi mnóstwo czasu wklepując komendy z palca.

Na sucho edtytowałem plik network dodając sekcję
config device
        option type '8021q'
        option ifname 'wan'
        option vid '35'
        option name 'wan.35
przez kopiuj/wklej.
Zapwne da się zrobić to samo poprzez komendy uci.
Cezary podasz przykład?

Vlan 35 ogarnąłem według Twojego poradnika, teraz ćwiczę na sucho konfig pod światłowód na Netgear R6220, by po wizycie instalatora nie dostać nerwicy przy podłączaniu własnego routera smile
Czy te komendy są poprawne i ustawię sposób łączenia, login i hasło, wymuszę używanie dns-ów od Google?

uci set network.wan.proto="pppoe"
uci set network.wan.username="bez_kontroli-blablabla@neostrada.pl
uci set network.wan.password="xxxxxx"
uci set network.wan.dns="8.8.8.8 8.8.4.4"
uci set network.wan.peerdns=0
uci commit network
ifup wan

W konsekwencji plik network w /etc/config/ będzie wyglądał tak??

     config interface 'wan'
        option proto 'pppoe'
        option username 'bez_kontroli-blablabla@neostrada.pl
        option password 'xxxxxx'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option device 'wan.35'

    config device
        option type '8021q'
        option ifname 'wan'
        option vid '35'
        option name 'wan.35'

Ma ktoś przykładową konfigurację światła od Orange dla Netgeara R6220 (OpenWrt 22.03)??
Mam na myśli wpisy w /etc/config/network.
Z góry dziękuję.