sed -i “s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g”
here is what i typed in the terminal
sed -i “s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g”
here is what i typed in the terminal
Do you have internet in your Qubes? Or you’re posting on forum from another device?
Most probably you’ve typed / instead of | in command.
sed -i “s| ← here is | and not /
There are three | in the command, check it.
sed -i “s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g”
this is exactly what i typed in the terminal, i do have internet in my qube yes
DId you add the path to the install file at the end?
sed -i "s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g" /path/to/install
yes, i take manually the file and put it in the terminal at the end of the command line
Select the command on this page with mouse, copy it with Ctrl+C, copy the qube clipboard to global clipboard with Ctrl+Shift+C, open the template terminal window, copy from global clipboard to qube clipboard with Ctrl+Shift+V, paste into terminal with Shift+Insert.
Here’s an example of the command execution in my system:
user@host:~$ sed -i "s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g" /tmp/install
user@host:~$ sed -i "s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g"
sed: no input files
user@host:~$ sed -i "s|re wget|re https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget|g"/tmp/install
sed: -e expression #1, char 89: unknown option to `s'
Your error message is printed if I don’t have space between " and path.
if i put a space, nothing happens…
That means that command executed successfully. Now you can try to run the install script.
oh… how do i run it?
The same way as before:
sh /path/to/install
Downloading the driver
/home/user/install: 413: https_proxy=http://127.0.0.1:8082/: not found
Aborting, command failed: https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv https://linux.brostrend.com/rtl88x2bu-dkms.deb
===================================================
ERROR: The driver was NOT successfully installed!
I’ve ended up trying it myself. Run this command and then try to run the install script again:
sed -i 's|https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv "\$@"|sh -c "https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv \"\$@\""|g' /path/to/install
The /path/to/install
file should be the one for which you’ve executed previous sed command.
It worked for me.
i deleted all the install files i had and re downloaded it again and type all the command but its not even install again…
i give up, im obviously not able to do it and waited enough of your time.
I thank you so much again for your patience sincerely…
If you have such a problem with sed commands then you can open the install
file in text editor then manually find and change the string:
wget --no-check-certificate -nv "$@"
to string
sh -c "https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv \"$@\""
thank you, unfortunately im completely lost, so frustrating…
user@debian-11-clone-1:~$ export https_proxy=http://127.0.0.1:8082/
user@debian-11-clone-1:~$ export http_proxy=http://127.0.0.1:8082/
user@debian-11-clone-1:~$ sh ‘/home/user/install’
Root access is required
Package manager is: apt-get
cat: ‘/sys/bus/usb/devices//idVendor’: No such file or directory
cat: '/sys/bus/usb/devices//idProduct’: No such file or directory
Could not detect the adapter!
Please insert the BrosTrend WiFi adapter into a USB slot
and press [Enter] to continue.
If you don’t have the adapter currently, you may type:
(a) to install the 8812au driver for the old AC1L/AC3L models before 2019, or
(b) to install the 88x2bu driver for the new AC1L/AC3L version 2 models, or
(c) to install the 8821cu driver for the AC5L model, or
(d) to install the 8852bu driver for the AX1L/AX4L models, or
(q) to quit without installing a driver
Please type your choice, or [Enter] to autodetect: b
Installing prerequisites
Hit:1 Index of /debian bullseye InRelease
Hit:2 https://updates.signal.org/desktop/apt xenial InRelease
Hit:3 Index of /r4.1/vm/ bullseye InRelease
Hit:4 Index of /debian-security bullseye-security InRelease
Reading package lists… Done
Downloading the driver
/home/user/install: 413: https_proxy=http://127.0.0.1:8082/: not found
Aborting, command failed: https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv https://linux.brostrend.com/rtl88x2bu-dkms.deb
sh ‘/home/user/install’
sh ‘/home/user/install’
sed -i ‘s|https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv “$@”|sh -c “https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv "$@"”|g’/home/user/install’
sh ‘/home/user/install’
sh /home/user/install
sed: -e expression #1, char 228: unknown option to `s’
bash: g/home/user/install: No such file or directory
http://$@: Invalid host name.
wget: missing URL
Usage: wget [OPTION]… [URL]…
Try `wget --help’ for more options.
Root access is required
Package manager is: apt-get
cat: ‘/sys/bus/usb/devices//idVendor’: No such file or directory
cat: '/sys/bus/usb/devices//idProduct’: No such file or directory
Could not detect the adapter!
Please insert the BrosTrend WiFi adapter into a USB slot
and press [Enter] to continue.
If you don’t have the adapter currently, you may type:
(a) to install the 8812au driver for the old AC1L/AC3L models before 2019, or
(b) to install the 88x2bu driver for the new AC1L/AC3L version 2 models, or
(c) to install the 8821cu driver for the AC5L model, or
(d) to install the 8852bu driver for the AX1L/AX4L models, or
(q) to quit without installing a driver
Please type your choice, or [Enter] to autodetect: b
Installing prerequisites
Hit:1 https://updates.signal.org/desktop/apt xenial InRelease
Hit:2 Index of /r4.1/vm/ bullseye InRelease
Hit:3 Index of /debian bullseye InRelease
Hit:4 Index of /debian-security bullseye-security InRelease
Reading package lists… Done
Downloading the driver
/home/user/install: 413: https_proxy=http://127.0.0.1:8082/: not found
Aborting, command failed: https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv https://linux.brostrend.com/rtl88x2bu-dkms.deb
this is after typing exactly all the command lines
You forgot to add the space between ’ and /home/user/install in sed command.
Also I don’t see the escape symbols (\
) in the sed command "\$@"
.
Once again try:
sed -i 's|https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv "\$@"|sh -c "https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --no-check-certificate -nv \\\"\$@\\\""|g' /home/user/install
omg it did worked finally!
drivers have installed, do you know what i need to do now?
Knowing that i cloned my debian template o install the drivers, but how can i see the wifi in sysnet ?