Unable to Host Network Game on Linux Raspbian (Raspberry Pi 4)

  • I have been unable to host a Triple A Game Hosted on a Raspberry Pi, Running Raspbian (32bit).

    The error the other party is getting is InvalidAgumentException IP Address fd79:c439:aa34:0:a5c5:2cb3:e747:ef93%eth0 once they connect to me

    (I gave him a IPV4 address to connect to, and the error he got was the IP Above). I suspect it connected to my game to get that value, as it's the same internal ipv6 on our network, with the extra characters %eth0 at the end of it

    I am unsure how it get's this information on linux, but wondering if I can work around this issue. Thank you.

  • 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:0f:3b:ed brd ff:ff:ff:ff:ff:ff
    inet brd scope global dynamic noprefixroute eth0
    valid_lft 40720sec preferred_lft 33826sec
    inet6 fd79:c439:aa34::740/128 scope global noprefixroute
    valid_lft forever preferred_lft forever
    inet6 fd79:c439:aa34:0:a5c5:2cb3:e747:ef93/64 scope global mngtmpaddr noprefixroute
    valid_lft forever preferred_lft forever
    inet6 fe80::bb96:8fce:da8d:cfb2/64 scope link
    valid_lft forever preferred_lft forever
    (Output of ip addr), that fd79 one is given from the router (openwrt), but currently our internet provide only offers a ipv4 address

    using ip addr del fd79:c439:aa34:0:a5c5:2cb3:e747:ef93/64 dev eth0 (and the other ones), then gave me a normal ipv4 lan IP in the address field (does not have %eth0), and also allows users to connect. Seems to be passing the address along to the other party, and adding %eth0 on it if it's a ipv6 address (causing the InvalidArgumentException)

  • Admin

    Interesting. Would you be able to provide a Stacktrace (the whole error message) so we can dig into this?

Log in to reply