Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview

    Reply
    Page 73 of 125 | Prev | 63   71     72   73   74     75   83 | Next | Last
    mautz | # 721 | 2019-11-14, 21:19 | Report

    What's the output of ifconfig, when the phone is connected via USB?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mautz For This Useful Post:
    edp17, juiceme

     
    edp17 | # 722 | 2019-11-14, 21:21 | Report

    Originally Posted by mautz View Post
    What's the output of ifconfig, when the phone is connected via USB?
    Code:
    ifconfig
    enp0s29u1u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.2.20  netmask 255.255.255.0  broadcast 192.168.2.255
            inet6 fe80::ca60:7701:f7f0:40cf  prefixlen 64  scopeid 0x20<link>
            ether 4e:09:fb:0e:f3:5a  txqueuelen 1000  (Ethernet)
            RX packets 2  bytes 656 (656.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 51  bytes 8717 (8.7 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    enp17s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 84:2b:2b:80:6e:3d  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 3241  bytes 301291 (301.2 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 3241  bytes 301291 (301.2 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlp18s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.1.86  netmask 255.255.255.0  broadcast 192.168.1.255
            inet6 2a00:23c4:6697:9800:3386:413b:33eb:e9a7  prefixlen 64  scopeid 0x0<global>
            inet6 2a00:23c4:6697:9800:d584:5ba9:3733:61ba  prefixlen 64  scopeid 0x0<global>
            inet6 fdaa:bbcc:ddee:0:d584:5ba9:3733:61ba  prefixlen 64  scopeid 0x0<global>
            inet6 fdaa:bbcc:ddee:0:9b49:3166:84b:52e0  prefixlen 64  scopeid 0x0<global>
            inet6 fe80::56b6:b68e:a450:3b3f  prefixlen 64  scopeid 0x20<link>
            ether 5c:ac:4c:7f:17:0c  txqueuelen 1000  (Ethernet)
            RX packets 29913  bytes 29938016 (29.9 MB)
            RX errors 0  dropped 0  overruns 0  frame 195558
            TX packets 24044  bytes 3392690 (3.3 MB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 17
    There is no 192.168.2.15

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to edp17 For This Useful Post:
    juiceme, mautz

     
    mautz | # 723 | 2019-11-14, 21:26 | Report

    Ok, the problem is that you alreay have a connection in the IP range the phone can be connected to when using USB. The telnet IP is 192.168.2.15, but you are already connected to a network which uses the same IP range via enp0s29u1u1, which should be wired connection. So, when you telnet 192.168.2.15 it uses the ethernet connection, which surely cannot connect. Can yu disable the ethernet connection, and restart the phone? You should get a network device with USB in its name and you should be able to connect.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mautz For This Useful Post:
    edp17, juiceme

     
    edp17 | # 724 | 2019-11-14, 21:27 | Report

    Probably I need to change something in the kernel config and recompile, but I don't know what change to what value.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to edp17 For This Useful Post:
    juiceme

     
    juiceme | # 725 | 2019-11-14, 21:30 | Report

    Your network setup seems correct, enp0s29u1u1 is the ip over usb interface and it is correctly configured.

    You should use command "telnet 192.168.2.15 2323", there's no colon in the command.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to juiceme For This Useful Post:
    edp17, mautz

     
    edp17 | # 726 | 2019-11-14, 21:31 | Report

    Originally Posted by mautz View Post
    Ok, the problem is that you alreay have a connection in the IP range the phone can be connected to when using USB. The telnet IP is 192.168.2.15, but you are already connected to a network which uses the same IP range via enp0s29u1u1, which should be wired connection. So, when you telnet 192.168.2.15 it uses the ethernet connection, which surely cannot connect. Can yu disable the ethernet connection, and restart the phone? You should get a network device with USB in its name and you should be able to connect.
    I don't really understand this as there is no wired connection is used in my PC. Only the phone plugged in via usb and the main. Plus two other usb memory sticks. Nothing more. So I am not sure about that enp0s29u1u1.
    How can I disable the ethernet connection?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to edp17 For This Useful Post:
    juiceme

     
    juiceme | # 727 | 2019-11-14, 21:32 | Report

    Originally Posted by mautz View Post
    Ok, the problem is that you alreay have a connection in the IP range the phone can be connected to when using USB. The telnet IP is 192.168.2.15, but you are already connected to a network which uses the same IP range via enp0s29u1u1, which should be wired connection. So, when you telnet 192.168.2.15 it uses the ethernet connection, which surely cannot connect. Can yu disable the ethernet connection, and restart the phone? You should get a network device with USB in its name and you should be able to connect.
    No need for that, the networks are /24 so it's OK

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to juiceme For This Useful Post:
    edp17

     
    edp17 | # 728 | 2019-11-14, 21:35 | Report

    Originally Posted by juiceme View Post
    Your network setup seems correct, enp0s29u1u1 is the ip over usb interface and it is correctly configured.

    You should use command "telnet 192.168.2.15 2323", there's no colon in the command.
    Hi juiceme!

    YES. This was it!

    (I disabled enp0s29u1u1 but when I unplugged the phone and plugged back it it appeared again. So, enp0s29u1u1 is the phone!)

    Now I got:
    Code:
    telnet 192.168.2.15 2323
    Trying 192.168.2.15...
    Connected to 192.168.2.15.
    Escape character is '^]'.
    
    Welcome to the Mer/SailfishOS Boat loader debug init system.
    
    Log so far is in /init.log
    
    To make post-switch_root halt before starting systemd, perform:
      touch /init_enter_debug2
    (When run post-switch_root, telnet is on port 2323, not 23)
    
    sh-3.2#

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to edp17 For This Useful Post:
    juiceme

     
    edp17 | # 729 | 2019-11-14, 21:36 | Report

    I am very rubish with any network stuff.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to edp17 For This Useful Post:
    juiceme

     
    mautz | # 730 | 2019-11-14, 21:37 | Report

    @juiceme

    Thank you!

    @edp17

    Maybe you could share your image?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mautz For This Useful Post:
    edp17, juiceme

     
    Page 73 of 125 | Prev | 63   71     72   73   74     75   83 | Next | Last
vBulletin® Version 3.8.8
Normal Logout