LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-23-2021, 12:19 PM   #1
doudootiana
LQ Newbie
 
Registered: May 2021
Posts: 21

Rep: Reputation: Disabled
Clearfog, access ssh to sfp


hy Ladies and gentlemen

I use a Clearfog base board with a Module sfp GPON onu.

This sfp allow a ssh connexion, than i need to collect some informations.

When i plug the sfp in a gigabit sfp Media converter ( tplink mc220l),
i can access to the ssh even if no fiber is connected.

With my Clearfog, i need to plug a Fiber with optical signal to have a ssh access.

For the OS, i use a Custom Linux, build with Buildroot.
For the Kernel, it's a net-next kernel.

I don't manage to find the problem : if it's about the kernel, the interface configuration, the route ip.

If someone has an idea

Here, the part concerning the interface sfp :


Code:
iface eth2 inet static
  address 192.168.1.2
  netmask 255.255.255.0
  gateway 192.168.1.10
  post-up /sbin/ip l s up dev $IFACE
Little inforamtion :
if i remove the command
Code:
post-up /sbin/ip l s up dev $IFACE
, when i wake up the interface
i don't have ssh access.

The gateway is the sfp : 192.168.1.10.

Code:
ip a
5: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1024
    link/ether ea:3e:18:2e:9e:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 scope global eth2
       valid_lft forever preferred_lft forever
Code:
# ethtool eth2
Settings for eth2:
        Supported ports: [ FIBRE ]
        Supported link modes:   2500baseX/Full
                                1000baseX/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: no
In the menuconfig of the kernel, i didn't notice anything who could help.

If someone can help me

Thanks by advance.

Doudoo Tiana.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearfog Linux sfp doudootiana Linux - Hardware 1 10-12-2021 12:52 PM
Clearfog ans sfp gpon ont doudootiana Linux - Hardware 1 07-11-2021 06:57 AM
LXer: Latest ClearFog SBC offers four GbE ports and a 10GbE SFP+ port LXer Syndicated Linux News 0 08-10-2018 02:22 AM
ClearFog Pro PCIe/WiFi Problems on Debian Linux danmartinj Linux - Hardware 0 03-31-2017 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration