How can I make wifi access point on Banana pro? P [closed] - banana-pi

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 7 years ago.
Improve this question
I have installed bananian OS on Banana pro. Now I want to make wifi access point on banana pro.
Can anyone guide me how to do this?

Load the WiFi Driver
Run the following command to load the WiFi driver at boot time.
root#bananapi ~ # nano /etc/modules
# add the wifi driver
ap6210 op_mode=2
Adding Internet Access
While your WiFi users can connect to your BananaPro, they can’t do much else except to run apps on the BananaPro. Assuming you have your eth0 port connected to a network that has internet access, you can give them access to the Internet. All it requires is enabling IPv4 forwarding to allow traffic to pass between the eth0 and wlan0 ports.
echo 1 > /proc/sys/net/ipv4/ip_forward
To make this permanent, edit the /etc/sysctl file and un-comment the line:
net.ipv4.ip_forward = 1
Reference for adding connection

Related

Cannot ssh and ping into my CentOS VirtualBox [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 donwloaded the virtualbox image from this website:
https://www.osboxes.org/centos/#centos-782003-info
I uses CentOS 7.8.2003
I am able to start the VirtualBox but I cannot ssh into it. Then, I realized that I also cannot ping to the IP address. I already configure the network to Bridge.
Do I need to configure something on CentOS Virtual Box for me to be able to ssh into it from the Host machine? Thank you very much in advance.
You should probably post this on Superuser or Serverfault.
Anyway, I see you have 192.168.0.30 on your host machine, try configuring 192.168.0.31 on interface enp0s3 on your VM and restart the network.
You should be able to ping now.

how can I get common dev ports like 5000 and 8000 to work with tailscale? [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 have tailscale up and running on the raspberry pi. Its incredibly easy to use and SSH with.
Just having one problem now, the IP address that it assigns me doesn't share the results of localhost:5000 or localhost:8000 with the other computers on my new tailscale local-type network. However, it shares localhost:80 just fine and of course :22 and the VNC port I guess.
Those pretty common ports for development, and I'm not really versed opening/forwarding/closing ports, which is the whole reason I'm using tailscale.
Can someone point me in the right direction as to how to get these ports to work on my other connected machines?
As it turns out, I was lacking a fundamental understanding of networking. There was nothing for me to change with tailscale or zerotier (or ports/nmap, router, ISP etc).
I had to serve my content on 0.0.0.0 instead of localhost.
This helped me out:
What is the difference between 0.0.0.0, 127.0.0.1 and localhost?

how to connect raspbian strech over SSH [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 4 years ago.
Improve this question
I just upgraded the ssd card to 2018-11-13-raspbian-stretch-lite. Hence, no screen, no keyboard, just headless. With the version before I used SSH to acess the raspberrypi 3. But now i have trouble. SSH is disabled by default. Could be overcome by writing an empty file named ssh into / . Fine, should be easy, but it isn't. I tried to mount the ssd-card in a card reader from a linux computer. This would allow to write the required empty file with cat /dev/null > /mnt/rasp/ssh , but it doesn't work, because the device is mounted read only indepent of how I try to mount for read-write!
Has anybody an Idea how to open the ssh, maybe over USB-Telnet, or what ever?
You have to create a file called ssh in the boot partition, not the root partition.
You can also create a file called wpa_supplicant in the same place and your RasPi will join your wifi network.
You'll probably be able to ssh into it with:
ssh pi#raspberrypi.local
If not, look in your router's "DHCP clients" table or use nmap to get its IP address. Or install the fing app in your smartphone and it'll tell you the IP addresses and host/OS of all your network clients.

VM Network settings for a Wireless Connection of a Laptop [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 4 years ago.
Improve this question
I have an Apache Web Server installed on Ubuntu 16.04 in a VM, the problem I'm having is that my server doesn't seem to have its own IP address. I tried using hostname -I but only a blank line appears, while ifconfig shows 127.0.0.1 and 10.0.0.2.
The problem I suspect is that it's related to the network settings of my VM since when I imported it to the computer laboratory at school, the commands hostname -I and ifconfig showed an IP address like 192.xxx.x.xx, I tried searching around but I can't find similar problems where the host machine is connected to a router via wireless connection. What can I do?
EDIT:
VM software being used is Oracle VM VirtualBox Manager
Network Settings:
Because "Bridged Adapter" is used the router acts as DHCP server.
There are 2 solutions if you want to access a server located at VM from host without network connected:
Set adapter as Internal network see details
Note: in this case Internet cannot be accessed through this interface.
You would probably like to add another Bridged or NAT adapter to acceesss external network
or NAT details (how to setup)

Reverse tunneling [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 want to visit my xampp localhost from my server ip. my broadband internet provider does not allow me to forward any port so i need to do reverse tunneling. so if some one visit 216.158.xxx.xxx:27272 (my vps ip is 216.158.xxx.xxx) he/she will see my pc contents of 127.0.0.1:27272
i m using putty on my pc and centos 7 on my vps server.
i try to configure putty by going to ssh tunnel
source:27272
destination: 127.0.0.1:27272
its not working
i have set GatewayPorts yes on my vps
EDIT: I have fixed this problem
You have to open the port 27272 on your VPS. If it has a static IP-address configuring the firewall might be enough. This gives everybody public access.