How do i setup Kali Linux while in text mode [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am a newbie at Linux, in fact this is the first time i'm using linux.
Having installed Kali Linux i keep getting the text mode display, a youtube tutorial shows that i need a display manager and how to set it up, but i can't run
sudo apt-get update
or
sudo apt-get install
gdm3 because i am not connected to the net ( a step i skipped while setting up due to ignorance).
Please how do i set up a WIFI connection or install a usb modem in text mode?
Thanks. I'm stuck at black n white

Try to enable the WiFi by running:
nmcli r wifi on

Just edit /etc/network/interfaces and write:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid {ssid}
wpa-psk {password}
After that write and close file and use command:
sudo dhclient wlan0
Replace {ssid} and {password} with your respective WiFi SSID and password.

Related

how to disable dnsmasq service in CentOS 8 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am install kubernetes v1.18 in CentOS 8, but the coredns start failed, tell me the port 53 is in using, and I using this command to find which app using the port:
lsof -i:53
then I found dnsmasq service are using this port, how to disable or close the auto start the dnsmasq service in CentOS 8? I am trying to kill the process but next time it still started, then using this command but not works:
systemctl disable dnsmasq
besides systemctl disable dnsmasq,
sudo sed -i 's/^dns=dnsmasq/#&/' /etc/NetworkManager/NetworkManager.conf
then restart the networking services
sudo service network-manager restart
sudo service networking restart
after that kill dnsmasq
sudo killall dnsmasq

How to install jot command on Win10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How to install jot command on the Win10 because I use Git Bash to run a xxx.sh and show a exception as following:
jot: command not found
How can I solve this?
jot (seen here) is a BSD command.
So unless you can get it sources (usr.bin/jot/jot.c) and somehow recompile it for mingw, I don't see it available either on Linux or as an exe on Windows.
Update Nov. 2020: DimP adds in the comments:
For anyone looking for an answer on Debian etc. environments, Ubuntu has Athena-jot:
sudo apt-get update sudo apt-get install athena-jot

Connect to Raspberry Pi through SSH without Port Forwarding [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have a raspberry pi laptop with a raspberry pi 3 running Jasmine, and was wondering if I could connect to it through SSH no matter what WiFi network the Raspberry pi was connected to.
Example: I leave my Pi Laptop at McDonald's, connected to their free WiFi, I then go home, and on my chromebook I SSH into my Pi Laptop.
And I need to do this without port forwarding since I don't have access to McDonalds WiFi settings or most other network's settings, so I can't port forward my Pi Laptop.
I was in your same shoes 4 years ago. I finally decided to use a VPN solution. The best and most reliable for me was Hamachi (now owned by logmein). It might still be free.
https://secure.logmein.com/labs/#HamachiforLinux
I haven't added any new system in a while but here were the commands I typed.
sudo wget https://secure.logmein.com/labs/logmein-hamachi_2.1.0.86-1_armel.deb
sudo apt-get update
sudo apt-get install --fix-missing lsb lsb-core
sudo dpkg --force-architecture --force-depends -i logmein-hamachi_2.1.0.86-1_armel.deb
sudo hamachi login
sudo hamachi join xxx-xxx-xxx yourkey
sudo hamachi go-online xxx-xxx-xxx
Also install and add hamachi on your computer.
Now if as long as your Pi and your computer have internet access you will be able to reach it.
I realize this post is old, but thought I might have some useful info.
To connect to multiple pis on different networks without port forwarding I use the service: https://www.remot3.it/web/index.html
You can make a free account on their website. Then, in the terminal of the pis, you can run the commands:
sudo apt-get update
sudo apt-get install connectd
sudo connectd
Then follow the steps in the installer and you can view and control all your devices (as long as they have a route to the internet, or even cellular). You can also follow this video once you have an account/the installer: https://www.youtube.com/watch?v=rfr5Ox17S6U
Full disclosure: I'm actually an intern at remote.it this summer, but I thought it might be useful for you.

Using IPEGA bluetooth gamepad with Retropie [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm trying to configure my Ipega PG-9025 with Retropie with no succeed. I made some progress following this link (https://askubuntu.com/questions/608386/using-ipega-bluetooth-gamepad-with-steam-linux) but it only works at Emulation Station menu...
The gamepad stops working in every emulation system and also gives me some problems pairing and reconnecting my device.
Has someone any other advice? Any other try?
Thank you very much
Finally I found a solution: I installed the last Retropie 3.0 BETA version. It has the bluetooth manager integrated and you will need only some few steps to configure your Ipega PG-9025:
1) First time you'll need to pair your Ipega with Raspberry (once is done, no need to do this anymore).
Check if your dongle is correctly connected:
$ hcitool dev
Get your adapter number (e.g. hci0)
$ hciconfig
Scan your bluetooth Ipega device:
$ hcitool scan
Pair your device using the MAC number scanned previously:
$ sudo bluez-simple-agent hci# xx:xx:xx:xx:xx:xx
After pairing connect your controller:
$ sudo bluez-test-input connect xx:xx:xx:xx:xx:xx
You will need to trust this device to allow auto-connection after a reboot:
$ sudo bluez-test-device trusted xx:xx:xx:xx:xx:xx yes
2) Check if your controller is in the input devices and responds correctly:
Verify there is an input file in e.g. /dev/input/js0
$ ls /dev/input
You can also try your device using the following command:
$ jstest /dev/input/js0
3) Now you can configure it running the retropie_setup.sh script:
cd RetroPie-Setup/
sudo ./retropie_setup.sh
In the menu, select these options and follow the instructions:
SETUP (only if you already have run one of the installations above)
317 Register RetroArch controller
And that's all, if you need to use Neo Geo system you will need an extra configuration explained here: https://github.com/petrockblog/RetroPie-Setup/wiki/Neo-Geo#controls
It's just test your device (jstest /dev/input/js0) and set the button numbers in the correct config file.
Here my Ipega PG-9025 and Nintendo64 demo running in Retropie 3.0 BETA: https://www.youtube.com/watch?v=DmvQi0w0Tec
Great tutorial helped a lot.
I had to start bluetoothd deamon for all this to work
sudo bluetoothd
Some ppl had problems if thay had sixad service runing and paired with ps3 controler
sudo service sixad stop

Why ntpd service is not started automatically after reboot? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
After I installed ntpd via yum I run the command systemctl enable ntpd.service and rebooted the computer. After I got the shell prompt I run systemctl -a | grep ntp and I got ntpd.service loaded inactive dead. If I start it manually using systemctl start ntpd.service it works fine. Why is that? How can I ensure the ntpd.service will be up and running after reboot?
This appears to be an issue with fedora, there is a service named "chrony" which prevents ntpd service to start after boot. After removing chrony with yum, ntpd service is started after boot. For more details you can check this.
UPDATE: You can also disable the chronyd that runs on port 123 and then ntpd will start:
sudo systemctl disable chronyd
sudo systemctl start ntpd

Resources