Closed sajjads24 closed 1 year ago
i am manual change file hostapd.conf
`# This configuration file was modified by TorBox
# Please don't change it manually, unless you know what you are doing
# If you delete values (even the ones with #), the TorBox menu will not re-add them again!
# You find a backup of the default file in torbox/etc/hostapd
# IMPORTANT: don't remove or change the "country_code=US" value! Otherwise, the
# 5 GHz 80 MHz settings will most likely crash hostapd!
interface=wlan0 driver=nl80211 ssid=TorBox country_code=US hw_mode=g channel=6 ieee80211n=1 ieee80211ac=1 wmm_enabled=1
macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_passphrase=18121812 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP ` but can not connect wifi with mobile samsung and pc ! how fix and connect wifi ?
The image file contains this configuration. Thus, I don't think it is a configuration error and, therefore, too little information to help you.
For me, also good to know is the following points (after a reboot with failed wifi):
In the meantime, I will set up a test system using the new image file to see if there is an error. Honestly, because I already tested it, it is doubtful that something on the image is corrupt. Nevertheless, one never knows...
Thank you for bringing up this issue. I found three critical errors on the image file and have to redo it in the following hours (I took it offline for the time being). Update 07.01.2023: Now, I also found the reason for these problems: Preparing the image, I'm using pishrink. However, so far, I didn't use the option -p to remove logs, apt archives, dhcp leases and ssh host keys. Using this option the first time with building the TorBox v.0.5.2 image led to these errors.
1. rc-local.service is missing
For an unknown reason, sudo cp etc/systemd/system/rc-local.service /etc/systemd/system/rc-local.service
is missing [here](https://github.com/radio24/TorBox/blob/2888fdfd61d3b0d805119d4b94fba35d8d3c1af5/install/run_install.sh#L879)
A quick fix is the following command:
sudo cp /home/torbox/torbox/etc/systemd/system/rc-local.service /etc/systemd/system/rc-local.service
sudo systemctl daemon-reload
sudo reboot
2. The new version of pishrink purged too much in /var/log
A quick fix is the following command:
sudo mkdir apt exim4 journal nginx openvpn runit tor
3. SSH host key not regenerated without shell login A quick fix is to login locally, which will trigger the regeneration of the SSH host key.
I just uploaded the fixed image using the same URL and updated the SHA256 hash. Feedback would be greatly appreciated.
hi i am install torbox 5.2 on raspberry pi 3 but for first connect with wifi incorrect defualt password : CHANGE-IT now how fix it ? and set new password for wifi ?