I’d like to configure my device as an access point and remote into it. I followed the instructions on:
ps://developer.toradex.com/knowledge-base/networking-with-torizoncore
It does create an AP, but when it assigns an IP to my PC it’s not on the same network.
for example:
ifconfig on my Torizon Device my ip is 192.168.0.15 on uap0 net mask 255.255.255.255
ipconfig on my PC my ip is 169.254.12.139 net mask 255.255.0.0
Obviously, I’m doing something wrong. The goal is to make the torizon device an AP and have my PC connect to it. then ssh into the torizon device.
169.254.12.139 is link local address, which windows assign when DHCP server is not available. Did you follow as well what is suggested in the same instructions starting from
Besides a Wi-Fi access point, you also need to activate a DHCP server in TorizonCore. To do that, …
Then perhaps systemd-networkd isn’t working. You may check it with
systemctl is-active systemd-networkd
Try starting it with systemctl start systemd-networkd. Though I don’t know how network manager may interact with it. From your description clearly DHCP server isn’t working. You may use any one, not necessarily systemd-networkd.
Update:
I ran systemctl is-active systemd-networkd and it said active. I even stoped and started it again, and then reconnected to the AP. Still does not work.
I believe the issue is the Address=192.168.0.15/255.255.255.0 field in your network file. I tried using your network file, and when I checked the log messages for systemd-networkd I saw the following message: