Huawei B525s-23a mod firmware.
Moderator: Moderatorzy
-
- Początkujący użytkownik forum
- Posty: 16
- Rejestracja: 2009-10-27, 20:00
- Lokalizacja: szczecin
Re: Huawei B525s-23a mod firmware.
-
- Początkujący użytkownik forum
- Posty: 13
- Rejestracja: 2017-07-23, 09:28
Re: Huawei B525s-23a mod firmware.
-
- Początkujący użytkownik forum
- Posty: 5
- Rejestracja: 2018-01-29, 23:08
Re: Huawei B525s-23a mod firmware.
u mnie wywala kilka błędów i ni:garysek pisze:Tak jak napisałem w readme jedyne moje zmiany to:Tak więc jak chcemy coś więcej niż telnet i adb to należy to doinstalować:@garysek mod:
- dodano skrypt /etc/alternative.sh i kolejny busybox /system/bin/busybox-armv7l (konieczny do działania w/w skryptu)
skrypt instaluje i umożliwia korzystanie z repozytorim Entware (i mojego)po zainstalowaniu i reboot dalej łączymy się przez telnet, ale zgłosi się już nowy shell, wtedy:Kod: Zaznacz cały
/etc/alternative install
i możemy podejrzeć listę wszystkich możliwych pakietów do zainstalowaniaKod: Zaznacz cały
opkg update
Do ssh polecam zainstalować pakiecikKod: Zaznacz cały
opkg list
Kod: Zaznacz cały
opkg install huawei-dropbear
Info: Basic packages installation...
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Unknown package 'busybox'
Collected errors:
* opkg_install_cmd: Cannot itnstall package busybox.
Unknown package 'entware-opt'
Collected errors:
* opkg_install_cmd: Cannot install package entware-opt.
failed on '/opt/etc/passwd.1'- No such file or directory
failed on '/opt/etc/group.1' - No such file or directory
failed on '/opt/etc/shells.1' - No such file or directory
entware already enabled
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
Unknown package 'huawei-base'.
Collected errors:
* opkg_install_cmd: Cannot install package huawei-base.
root@p722:/tmp # /opt/bin/opkg update
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
root@p722:/tmp # /opt/bin/opkg list
root@p722:/tmp #
-
- Początkujący użytkownik forum
- Posty: 8
- Rejestracja: 2019-10-05, 11:01
Re: Huawei B525s-23a mod firmware.
Same problem here. Other people that i know have same issues. Maybe the server where the scripts came from are offline at the moment. @garysek have you any advice to override this?c1rca pisze:u mnie wywala kilka błędów i ni:garysek pisze:Tak jak napisałem w readme jedyne moje zmiany to:Tak więc jak chcemy coś więcej niż telnet i adb to należy to doinstalować:@garysek mod:
- dodano skrypt /etc/alternative.sh i kolejny busybox /system/bin/busybox-armv7l (konieczny do działania w/w skryptu)
skrypt instaluje i umożliwia korzystanie z repozytorim Entware (i mojego)po zainstalowaniu i reboot dalej łączymy się przez telnet, ale zgłosi się już nowy shell, wtedy:Kod: Zaznacz cały
/etc/alternative install
i możemy podejrzeć listę wszystkich możliwych pakietów do zainstalowaniaKod: Zaznacz cały
opkg update
Do ssh polecam zainstalować pakiecikKod: Zaznacz cały
opkg list
Kod: Zaznacz cały
opkg install huawei-dropbear
Info: Basic packages installation...
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Unknown package 'busybox'
Collected errors:
* opkg_install_cmd: Cannot itnstall package busybox.
Unknown package 'entware-opt'
Collected errors:
* opkg_install_cmd: Cannot install package entware-opt.
failed on '/opt/etc/passwd.1'- No such file or directory
failed on '/opt/etc/group.1' - No such file or directory
failed on '/opt/etc/shells.1' - No such file or directory
entware already enabled
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
Unknown package 'huawei-base'.
Collected errors:
* opkg_install_cmd: Cannot install package huawei-base.root@p722:/tmp # /opt/bin/opkg update
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
root@p722:/tmp # /opt/bin/opkg list
root@p722:/tmp #
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
Kod: Zaznacz cały
busybox ln -sf /system/bin/busybox-armv7l /bin/wget
mount -o remount,rw /system
wget http://garysek.podlasie.pl:18033/huawei/installer/alternative.sh -O /etc/alternative.sh
/etc/alternative.sh remove
Kod: Zaznacz cały
/etc/alternative.sh install
Kod: Zaznacz cały
Info: Checking for prerequisites and creating folders...
Info: Opkg package manager deployment...
Connecting to bin.entware.net (104.27.177.50:80)
opkg 100% |**********************************************************************************| 131k 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
opkg.conf 100% |**********************************************************************************| 190 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
ld-2.27.so 100% |**********************************************************************************| 135k 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
libc-2.27.so 100% |**********************************************************************************| 1218k 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
libgcc_s.so.1 100% |**********************************************************************************| 50840 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
libpthread-2.27.so 100% |**********************************************************************************| 92648 0:00:00 ETA
Info: Basic packages installation...
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing busybox (1.31.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/busybox_1.31.0-1_armv7-3.2.ipk
Installing libc (2.27-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libc_2.27-8_armv7-3.2.ipk
Installing libgcc (7.4.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libgcc_7.4.0-8_armv7-3.2.ipk
Installing libssp (7.4.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libssp_7.4.0-8_armv7-3.2.ipk
Installing librt (2.27-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/librt_2.27-8_armv7-3.2.ipk
Installing libpthread (2.27-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libpthread_2.27-8_armv7-3.2.ipk
Configuring libgcc.
Configuring libc.
Configuring libpthread.
Configuring libssp.
Configuring librt.
Configuring busybox.
Installing entware-opt (227000-3) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/entware-opt_227000-3_all.ipk
Installing libstdcpp (7.4.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libstdcpp_7.4.0-8_armv7-3.2.ipk
Installing entware-release (1.0-2) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/entware-release_1.0-2_all.ipk
Installing zoneinfo-asia (2019c-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/zoneinfo-asia_2019c-1_armv7-3.2.ipk
Installing zoneinfo-europe (2019c-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/zoneinfo-europe_2019c-1_armv7-3.2.ipk
Installing findutils (4.6.0-4) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/findutils_4.6.0-4_armv7-3.2.ipk
Installing terminfo (6.1-5) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/terminfo_6.1-5_armv7-3.2.ipk
Installing locales (2.27-8) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/locales_2.27-8_armv7-3.2.ipk
Installing grep (3.3-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/grep_3.3-1_armv7-3.2.ipk
Installing libpcre (8.43-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libpcre_8.43-1_armv7-3.2.ipk
Installing opkg (2019-06-14-dcbc142e-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/opkg_2019-06-14-dcbc142e-1_armv7-3.2.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/entware-upgrade_1.0-1_all.ipk
Configuring terminfo.
Configuring libpcre.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive - /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
[error] character map file `UTF-8' not found: No such file or directory
[error] default character map file `ANSI_X3.4-1968' not found: No such file or directory
Adding ru_RU.UTF-8
[error] character map file `UTF-8' not found: No such file or directory
[error] default character map file `ANSI_X3.4-1968' not found: No such file or directory
locale-archive file was not created, not enough memory? Downloading...
checking endianess....
Byte Order: little endian.
Connecting to bin.entware.net (104.27.177.50:80)
locale-archive 100% |**********************************************************************************| 2863k 0:00:00 ETA
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required
Configuring opkg.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring libstdcpp.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
entware enabled
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei/repo/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
Installing huawei-base (2019.08.20) to root...
Downloading http://garysek.podlasie.pl:18033/huawei/repo/huawei-base_2019.08.20_armv7-3.2.ipk
Configuring huawei-base.
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.
This is an alternative Entware installation. We recomend to install and setup Entware version of ssh server
and use it instead of a firmware supplied one. You can install dropbear or openssh as an ssh server
Now you must reboot your system. Do it now (Y/n)? Y
Kod: Zaznacz cały
BusyBox v1.31.0 () built-in shell (ash)
root@B525s-23a:/# opkg update
Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://garysek.podlasie.pl:18033/huawei/repo/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/garysek
root@B525s-23a:/# opkg install huawei-dropbear
Installing huawei-dropbear (2019.78-2-2-h1) to root...
Downloading http://garysek.podlasie.pl:18033/huawei/repo/huawei-dropbear_2019.78-2-2-h1_armv7-3.2.ipk
Configuring huawei-dropbear.
root@B525s-23a:/#
Kod: Zaznacz cały
Using username "root".
BusyBox v1.31.0 () built-in shell (ash)
-----------------------------------------------------------
| Machine: B525s-23a |
| Uptime: 0d, 00:03:21 |
| Load: 19.55 9.94 3.95 |
| Flash: total: 230MB, free: 3.1MB, used: 99% |
| Memory: total: 125.5MB, free: 63.3MB, used: 49% |
-----------------------------------------------------------
=================== WARNING! =====================
There is no root password defined on this device!
Use the passwd command to set up a new password
in order to prevent unauthorized SSH logins.
-----------------------------------------------------------
root@B525s-23a:/#
-
- Początkujący użytkownik forum
- Posty: 8
- Rejestracja: 2019-10-05, 11:01
Re: Huawei B525s-23a mod firmware.
Thank you so much. It works, but you forget to saygarysek pisze:W październiku w repo entware pojawiły się nowsze wersje pakietów i z jakiegoś powodu nowy manager opkg nie działa jak należy na naszych huawei'ach. Na razie proponuję użyć starego:Później normalnie już zainstalować:Kod: Zaznacz cały
busybox ln -sf /system/bin/busybox-armv7l /bin/wget mount -o remount,rw /system wget http://garysek.podlasie.pl:18033/huawei/installer/alternative.sh -O /etc/alternative.sh /etc/alternative.sh remove
Kod: Zaznacz cały
/etc/alternative.sh install
Po restarcie w telnet:Kod: Zaznacz cały
Info: Checking for prerequisites and creating folders... Info: Opkg package manager deployment... Connecting to bin.entware.net (104.27.177.50:80) opkg 100% |**********************************************************************************| 131k 0:00:00 ETA Connecting to bin.entware.net (104.27.177.50:80) opkg.conf 100% |**********************************************************************************| 190 0:00:00 ETA Connecting to bin.entware.net (104.27.177.50:80) ld-2.27.so 100% |**********************************************************************************| 135k 0:00:00 ETA Connecting to bin.entware.net (104.27.177.50:80) libc-2.27.so 100% |**********************************************************************************| 1218k 0:00:00 ETA Connecting to bin.entware.net (104.27.177.50:80) libgcc_s.so.1 100% |**********************************************************************************| 50840 0:00:00 ETA Connecting to bin.entware.net (104.27.177.50:80) libpthread-2.27.so 100% |**********************************************************************************| 92648 0:00:00 ETA Info: Basic packages installation... Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware Installing busybox (1.31.0-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/busybox_1.31.0-1_armv7-3.2.ipk Installing libc (2.27-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libc_2.27-8_armv7-3.2.ipk Installing libgcc (7.4.0-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libgcc_7.4.0-8_armv7-3.2.ipk Installing libssp (7.4.0-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libssp_7.4.0-8_armv7-3.2.ipk Installing librt (2.27-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/librt_2.27-8_armv7-3.2.ipk Installing libpthread (2.27-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libpthread_2.27-8_armv7-3.2.ipk Configuring libgcc. Configuring libc. Configuring libpthread. Configuring libssp. Configuring librt. Configuring busybox. Installing entware-opt (227000-3) to root... Downloading http://bin.entware.net/armv7sf-k3.2/entware-opt_227000-3_all.ipk Installing libstdcpp (7.4.0-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libstdcpp_7.4.0-8_armv7-3.2.ipk Installing entware-release (1.0-2) to root... Downloading http://bin.entware.net/armv7sf-k3.2/entware-release_1.0-2_all.ipk Installing zoneinfo-asia (2019c-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/zoneinfo-asia_2019c-1_armv7-3.2.ipk Installing zoneinfo-europe (2019c-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/zoneinfo-europe_2019c-1_armv7-3.2.ipk Installing findutils (4.6.0-4) to root... Downloading http://bin.entware.net/armv7sf-k3.2/findutils_4.6.0-4_armv7-3.2.ipk Installing terminfo (6.1-5) to root... Downloading http://bin.entware.net/armv7sf-k3.2/terminfo_6.1-5_armv7-3.2.ipk Installing locales (2.27-8) to root... Downloading http://bin.entware.net/armv7sf-k3.2/locales_2.27-8_armv7-3.2.ipk Installing grep (3.3-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/grep_3.3-1_armv7-3.2.ipk Installing libpcre (8.43-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/libpcre_8.43-1_armv7-3.2.ipk Installing opkg (2019-06-14-dcbc142e-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/opkg_2019-06-14-dcbc142e-1_armv7-3.2.ipk Installing entware-upgrade (1.0-1) to root... Downloading http://bin.entware.net/armv7sf-k3.2/entware-upgrade_1.0-1_all.ipk Configuring terminfo. Configuring libpcre. Configuring grep. Configuring locales. Entware uses separate locale-archive file independent from main system Creating locale archive - /opt/usr/lib/locale/locale-archive Adding en_EN.UTF-8 [error] character map file `UTF-8' not found: No such file or directory [error] default character map file `ANSI_X3.4-1968' not found: No such file or directory Adding ru_RU.UTF-8 [error] character map file `UTF-8' not found: No such file or directory [error] default character map file `ANSI_X3.4-1968' not found: No such file or directory locale-archive file was not created, not enough memory? Downloading... checking endianess.... Byte Order: little endian. Connecting to bin.entware.net (104.27.177.50:80) locale-archive 100% |**********************************************************************************| 2863k 0:00:00 ETA You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz You can add new locales to Entware using /opt/bin/localedef.new Configuring entware-upgrade. Upgrade operations are not required Configuring opkg. Configuring zoneinfo-europe. Configuring zoneinfo-asia. Configuring libstdcpp. Configuring entware-release. Configuring findutils. Configuring entware-opt. entware enabled Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware Downloading http://garysek.podlasie.pl:18033/huawei/repo/Packages.gz Updated list of available packages in /opt/var/opkg-lists/garysek Installing huawei-base (2019.08.20) to root... Downloading http://garysek.podlasie.pl:18033/huawei/repo/huawei-base_2019.08.20_armv7-3.2.ipk Configuring huawei-base. Info: Congratulations! Info: If there are no errors above then Entware was successfully initialized. This is an alternative Entware installation. We recomend to install and setup Entware version of ssh server and use it instead of a firmware supplied one. You can install dropbear or openssh as an ssh server Now you must reboot your system. Do it now (Y/n)? Y
I juz normalnie działa dropbear na porcie 22:Kod: Zaznacz cały
BusyBox v1.31.0 () built-in shell (ash) root@B525s-23a:/# opkg update Downloading http://bin.entware.net/armv7sf-k3.2/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware Downloading http://garysek.podlasie.pl:18033/huawei/repo/Packages.gz Updated list of available packages in /opt/var/opkg-lists/garysek root@B525s-23a:/# opkg install huawei-dropbear Installing huawei-dropbear (2019.78-2-2-h1) to root... Downloading http://garysek.podlasie.pl:18033/huawei/repo/huawei-dropbear_2019.78-2-2-h1_armv7-3.2.ipk Configuring huawei-dropbear. root@B525s-23a:/#
Kod: Zaznacz cały
Using username "root". BusyBox v1.31.0 () built-in shell (ash) ----------------------------------------------------------- | Machine: B525s-23a | | Uptime: 0d, 00:03:21 | | Load: 19.55 9.94 3.95 | | Flash: total: 230MB, free: 3.1MB, used: 99% | | Memory: total: 125.5MB, free: 63.3MB, used: 49% | ----------------------------------------------------------- =================== WARNING! ===================== There is no root password defined on this device! Use the passwd command to set up a new password in order to prevent unauthorized SSH logins. ----------------------------------------------------------- root@B525s-23a:/#
Kod: Zaznacz cały
chmod 755 /etc/alternative.sh
Kod: Zaznacz cały
/etc/alternative.sh remove
BTW thank you
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
I didn't forget. This file already exists and has attribute 775, wget will not change this...Mutley pisze:Thank you so much. It works, but you forget to saybefore ofKod: Zaznacz cały
chmod 755 /etc/alternative.sh
Kod: Zaznacz cały
/etc/alternative.sh remove
-
- Początkujący użytkownik forum
- Posty: 16
- Rejestracja: 2009-10-27, 20:00
- Lokalizacja: szczecin
Re: Huawei B525s-23a mod firmware.
dzięki:)
-
- Początkujący użytkownik forum
- Posty: 2
- Rejestracja: 2019-10-19, 17:52
Re: Huawei B525s-23a mod firmware.
posiadam B525 od orange. Czy któryś MOD pozwoli mi na rozgłaszanie dwóch sieci 2,4 i 5 GHz? Póki co w opcjach można ustawić jedno SSID i zaznaczyć 2,4 lub 5 GHz lub oba, ale przy zaznaczeniu 5GHz jeden z laptopów nie widzi sieci - karta wifi nie obsluguje, rozumiem, jednak na pozostałych chciałbym móc korzystać z dobrodziejstw 5GHz. Pomożecie?
-
- Początkujący użytkownik forum
- Posty: 13
- Rejestracja: 2017-07-23, 09:28
Re: Huawei B525s-23a mod firmware.
-
- Początkujący użytkownik forum
- Posty: 13
- Rejestracja: 2017-07-23, 09:28
Re: Huawei B525s-23a mod firmware.
Dlaczego masz problem z tym? Możesz mieć równocześnie dwie działające sieci. To standardowa funkcja tego routerarozp pisze:Cześć,
posiadam B525 od orange. Czy któryś MOD pozwoli mi na rozgłaszanie dwóch sieci 2,4 i 5 GHz? Póki co w opcjach można ustawić jedno SSID i zaznaczyć 2,4 lub 5 GHz lub oba, ale przy zaznaczeniu 5GHz jeden z laptopów nie widzi sieci - karta wifi nie obsluguje, rozumiem, jednak na pozostałych chciałbym móc korzystać z dobrodziejstw 5GHz. Pomożecie?
-
- Początkujący użytkownik forum
- Posty: 2
- Rejestracja: 2019-10-19, 17:52
Re: Huawei B525s-23a mod firmware.
- wojteks
- *** Administrator ***
- Posty: 26137
- Rejestracja: 2007-12-02, 11:51
- Lokalizacja: PL
Re: Huawei B525s-23a mod firmware.
-
- Początkujący użytkownik forum
- Posty: 13
- Rejestracja: 2017-07-23, 09:28
Re: Huawei B525s-23a mod firmware.
Niewykluczone, że obsłużysz wtedy ac, a u przy okazji moduł BT będzie minimum 4.0
-
- Początkujący użytkownik forum
- Posty: 8
- Rejestracja: 2019-10-05, 11:01
Re: Huawei B525s-23a mod firmware.
aaaa ok....i just removed manually the old script e redownload the new so i had to set permission again.garysek pisze:I didn't forget. This file already exists and has attribute 775, wget will not change this...Mutley pisze:Thank you so much. It works, but you forget to saybefore ofKod: Zaznacz cały
chmod 755 /etc/alternative.sh
Kod: Zaznacz cały
/etc/alternative.sh remove
Now i'm struggling with another thing :
i can't set openvpn to start at boot. The button ''enable on boot'' on the jerome's GUI doesn't work. How can i do it?
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
trzeba bylo zrobic z paluszka:
rm -r /online/opt
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
I'll check it.Mutley pisze:i can't set openvpn to start at boot. The button ''enable on boot'' on the jerome's GUI doesn't work. How can i do it?
Widocznie źle odpowiedziałeś na pytanie:pppp pisze:u mnie opcja remove nie zadzialala i install marudzil ze istnieja foldery
Kod: Zaznacz cały
Are you sure you want to delete the entire /online/opt directory (Y/n)?
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
Jesteś w stanie dorobic w gui wybor banda do uploadu?
Bo jak masz np. agregacje 800 + 2100 to jest to tylko dla download. W uploadzie idzie tylko jeden band wybrany z 800 lub 2100 ( w tym przykładzie). Da sie jednak wymusić band do uploadu przez apkę Inspecteur LTE zapewne po jakiś AT commands lub API. Logika wyboru banda do upload jest nieznana. Podejrzewam, ze jest to po prostu mocniejszy band. W praktyce bywa inaczej - słabszy band bywa szybszy w uploadzie.
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
Daj znać jak to zrobić za pomocą komend AT może najpierw, bo ja nie znam sposobu jak to wymusić na modemie.
Tzn. z tego co obserwowałem to upload idzie na podstawowym paśmie, a nie tym doagregowywanym. Można chyba wymusić częstotliwość 800MHz i jak połączy się dodać 2100 - wtedy upload powinien być na 800. Zrobienie tego w odwrotnej kolejności powinno skutkować uploadem na 2100. Jest tylko problem na jak długo, bo po czasie modem i tak zmieni podstawowe pasmo według zaprogramowanego własnego lub operatora algorytmu.
A co do potwierdzenia całkowitego usunięcia /opt - tak, musi to być świadomy wybór użytkownika (shift + y).
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
Ustawienie na pewno modem trzyma do reboota.
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
Instalacja i uruchomienie:
Kod: Zaznacz cały
opkg update
opkg install huawei-ltebase
ltebase set 3
Po tym skrypt co minutę będzie kontrolował pasmo i w razie potrzeby korygował. W przypadku, gdy wybierzemy jakiś niedostępny band co minutę będą chwilowe zaniki netu. Skrypt będzie działał również po restarcie routera, aby go wyłączyć należy dać komendę:
Kod: Zaznacz cały
ltebase unset
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
Sprawdzę
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
Da się to do gui na stałe dodać?
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
-
- Stały użytkownik forum
- Posty: 149
- Rejestracja: 2017-04-03, 19:44
Re: Huawei B525s-23a mod firmware.
Co do gui, to jak będę miał chwilę natchnienia to pokombinuję, ale jakoś słabo mi idzie grzebanie w tej javie... Zbyt często tego raczej nie zmienia się, a z konsoli to tylko jedno polecenie.
Na razie spróbuję dostosować jerome's openvpn GUI do openvpn'a entware, bo ten od niego jakiś ułomny deko jest.
-
- Stały użytkownik forum
- Posty: 72
- Rejestracja: 2018-12-06, 12:47
Re: Huawei B525s-23a mod firmware.
Mialem z tematem problem bo wybieralo mi przewaznie band 800 z karierem 5MHz bo jest silny a olewalo band 2100 z karierem 10MHz.
-
- Początkujący użytkownik forum
- Posty: 4
- Rejestracja: 2019-10-27, 22:12
Re: Huawei B525s-23a mod firmware.
-
- Początkujący użytkownik forum
- Posty: 3
- Rejestracja: 2019-10-28, 12:23
Re: Huawei B525s-23a mod firmware. problem z PPTP
testowałem moda B525s-23a_Update_11.236.01.00.00_M_AT_DB_04.01 oraz B525s-95a_UPDATE_11.187.61.01.1133_DBU
Po pierwszym zainstalowaniu mogę się bez problemów połaczyć z PPTP, następnie po restarcie modemu, tunelu już nie mogę postawić z routerka..
czy mógłbyś sprawdzić co jest z tym tunelem? w /etc/ppp/ nie ma haseł.. są tylko "***" po reboocie
i ppp0 nie wstaje
ew powiedzieć gdzie szukać przyczyny.. normalnie jest demon pppd
-
- Początkujący użytkownik forum
- Posty: 8
- Rejestracja: 2019-10-05, 11:01
Re: Huawei B525s-23a mod firmware.
I have a script that check continuously the vpn tunnelAvengedRobix pisze:Hi everybody .. I set the script for the VPN when it disconnects and works great. But one thing is missing. When the VPN goes offline automatically it does not reconnect .. is it possible to create a script that just tries to force the connection when it is disconnected?
If is up, ok
If goes down, disconnected Internet and when is on again reconnect automatically.
Save that scritp with
nano /etc/checkvpn
Kod: Zaznacz cały
#!/bin/sh
while true; do
set STATUS=`cat /tmp/vpn.status` 2> /dev/null
if (ifconfig | grep P-t-P > /dev/null); then
if [ "$STATUS" != "UP" ]; then
echo "UP" > /tmp/vpn.status
echo 1 > /proc/sys/net/ipv4/ip_forward
fi
else
if [ "$STATUS" != "DOWN" ]; then
echo "DOWN" > /tmp/vpn.status
echo 0 > /proc/sys/net/ipv4/ip_forward
fi
fi
done
Then
Kod: Zaznacz cały
chmod 755 /etc/checkvpn
nano /opt/etc/rc.local
And insert this string at the end of the page
Kod: Zaznacz cały
sh /system/etc/checkvpn &&
exit 0
With this script the router works ONLY with an active vpn.
To came back just put a # at the beginning of the line,
Kod: Zaznacz cały
#sh /system/etc/checkvpn &&
exit 0
Script made on last garysek firmware. With Entware ecc.
I hope this help you.