Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login to UF-Instant???? #24

Open
janner2000 opened this issue Aug 9, 2023 · 15 comments
Open

Login to UF-Instant???? #24

janner2000 opened this issue Aug 9, 2023 · 15 comments

Comments

@janner2000
Copy link

Why can't I login on a brand new UF-Instant SFP Module????
I tried it with SSH or Telnet.
It is also not possible to send or receive a ping to 192.168.1.1.
Did I read it correctly that you first have to flash the module via TTL???
Is there a guide to this, or a suggestion as to how to do it?

Sorry for my bad English, I'm a German user...thanks for your effort

@CurtisSWYu
Copy link

Hi, I am also new here. But did you configure the ip of your computer to 192.168.1.x subnet?

@m0veax
Copy link

m0veax commented Dec 6, 2023

Hey,

how did you tried to connect? Tell us a bit more about your Setup.

I connect to it using a tp-link MC220L and connect per telnet.

I had to start SSH there using following commands:

dropbear -R

After that, i was able to connect using ssh and copy files using scp

@DigitalPals
Copy link

Where you able to use this tool afterwards? I just got a crc error.

Furthermore I tried scp to copy files also, but couldn’t get scp to work. How did you do it?

@m0veax
Copy link

m0veax commented Jan 7, 2024

It does not work with a UFiber-Instant. I documented my thoughts in the first issue here. I‘ll drop you a link to it tomorrow

@m0veax
Copy link

m0veax commented Jan 10, 2024

#1 (comment)

@stephenw10
Copy link

Testing this and I find that my UF-Instant is not listening on telnet or ssh. In fact it appears to only be listening on port 10001 which I assume is the Ubnt discovery service.
Is this something firmware specific? Can it be factory defaulted?
I see some references to resetting if it fails to boot 10 times. So maybe replugging it rapidly >10 times?

@m0veax
Copy link

m0veax commented Jan 16, 2024

How did you discovered the Ports? What’s your setup for connecting?

I‘m using a media converter. Which firmware version are you running?

@stephenw10
Copy link

stephenw10 commented Jan 16, 2024

I'm using it directly in an Intel 10G SFP NIC. It shows as linked locally without any optics connected.
I ran nmap against it from 192.168.1.100. Only 10001 shows as responding.
Attempting to telnet to it is immediately refused.
I did attempt to reset it using 10 replugs but without any idea of the expected timing I could easily have done it wrong.

@m0veax
Copy link

m0veax commented Jan 16, 2024

Hey, I remember I had to fiddle my nmap parameters to see opened ports. What did you used?

if all works out, I will check my bash_history tomorrow. It could have been -sS

@stephenw10
Copy link

stephenw10 commented Jan 16, 2024

I used:

# Nmap 7.94 scan initiated Mon Jan 15 14:17:01 2024 as: /usr/local/bin/nmap -sS -oN /root/nmap.result --append-output 192.168.1.1
Nmap scan report for 192.168.1.1
Host is up (0.0031s latency).
Not shown: 999 closed tcp ports (reset)
PORT      STATE SERVICE
10001/tcp open  scp-config
MAC Address: 74:AC:B9:99:92:xx (Ubiquiti Networks)

# Nmap done at Mon Jan 15 14:17:01 2024 -- 1 IP address (1 host up) scanned in 0.31 seconds

But even if nmap missed it I'd expect telnet to return a prompt on port 23.

@m0veax
Copy link

m0veax commented Jan 17, 2024

Hey,

I just booted the original and made an nmap scan:

# ~>  nmap -sS -p- 192.168.1.1 -T5

Starting Nmap 7.80 ( https://nmap.org ) at 2024-01-17 19:19 CET
Nmap scan report for _gateway (192.168.1.1)
Host is up (0.0033s latency).
Not shown: 65532 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
23/tcp    open  telnet
10001/tcp open  scp-config
MAC Address: XXXXXXXXXX (Unknown)

Could you tell me which FW Version you use?

@stephenw10
Copy link

I have no idea what firmware is running on this or how it's configured. I bought it used to experiment with. So far the experiment is not going well. ;)
However I think I can say it isn't default since port 23 is closed.

@m0veax
Copy link

m0veax commented Jan 17, 2024

@stephenw10
Copy link

Yes, I'll do that if I'm not able to reset it. Do you know if the 10-failed-boots reset mentioned there is a thing? Or any idea what the timing might be to trigger that?

@m0veax
Copy link

m0veax commented Jan 17, 2024

I've never tried it, but it is mentioned here:

https://github.com/stich86/UF-Instant-Mod#factory-reset-after-10-boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants