Closed Zibri closed 4 years ago
Hi,
I have the same issue, it doesn't get one automatically. I found out you either have to select 'Link-Local Only' through your network manager interface, under IPV4 settings of your connection. Or simply force it by command line with:
sudo ifconfig enp0sXXXX 169.254.154.241
For some reason, they also have an issue with the interface brought up on the PS classic since it seems to change at every reboot. The IP address 169.254.154.241 seems to be the one it gets every time when using Link-Local Only, so I'm using the same through the command line.
Then you can connect as usual with ssh or telnet:
ssh root@169.254.215.100
yes, I knew that. I just reported it so they can fix that. It's annoying.
it seems nobody cares though
I can definitely relate to that. I've only been facing this issue since yesterday and I already find it very annoying. :-D
Anyway, here's a small script I made to help with connecting to the PSC:
#!/bin/bash
IFACE_FORMAT='enp0s'
# Assuming there's only one device with that name format
INTERFACE=`ls -1 /sys/class/net/ | grep $IFACE_FORMAT`
sudo ifconfig $INTERFACE 169.254.154.241
ssh root@169.254.215.100
on Ubuntu 17.10 I get this:
and
Does not get any IP.