Re4son / RPi-Tweaks

GNU General Public License v3.0
215 stars 55 forks source link

Can't connect over ssh and can't pair device #22

Open seyo-IV opened 3 years ago

seyo-IV commented 3 years ago

Hi i have a problem with the pi-tail. The AP is set up, raspi does connect to my hotspot. But when I try to ssh I get a timeout. I do ssh as root or as Kali it doesn't matter.

Also i have edited the pi-tailbt.conf and pasted my bt Mac. I don't see it when it boots and can't pair devices.

seyo-IV commented 3 years ago

I also noticed that my pi is getting an ipv6 address instars of ipv4.

seyo-IV commented 3 years ago

My solution was this. ssh kali@fe80::ba27:ebff:fee4:a836%wlan0

But I still have the problem with Bluetooth...

seyo-IV commented 3 years ago

I also noticed I don't have internet

seyo-IV commented 3 years ago

For some reason my address of wlan0 is 192.168.167.144 osntead of 192.168.43...

seyo-IV commented 3 years ago

Ok solution Nr 2 is:

Edit interfaces under /boot/interfaces And replace the address with the desired address, for me it was 192.168.167.254

And replace default gateway with the IP of your smartphone, for me it was 192.168.167.144. And that's it.

seyo-IV commented 3 years ago

When I try to manually start bt I get

ConditionPathIsDirectory=/sys/class/bluetooth was not met

satyanvesi commented 2 years ago

Not an expert,but i edit the interfaces in boot partition,i changed all static to dhcp and deleted gateway,static ip,mask lines. my setup is raspberry pi zero and pi-tail image 2021.3. my understanding is that my smart phone hotspot assigns a different ip range and raspberry pi has different range,so doing this dhcp assigns ip address according to hotspot and i able to ssh in pi-tail.

javacom commented 2 years ago

You have to use dhcp for mobile hotspot