toolforger
Explorer
- Joined
- Aug 8, 2017
- Messages
- 60
Hi all,
I need to recover from a classic networking self-defeat:
- Freenas box and my Linux laptop were connected with a direct Ethernet cable
- Both sides had a static IP address&network mask
- I recorded the address on the Linux side, but for some reason it's not working. (Do I have to set any specific options in Network Manager to make a direct connection work?)
- Normally I'd just hook up a keyboard and monitor, but the only video output is VGA, and - surprise! - I have no VGA monitor available.
Pretty proficient with bash and ssh, but my network lore is pretty rusty - I know what arp etc. are but am not too familiar with them.
Any pointers appreciated!
ANSWER:
The best option seems to be packet sniffing while the box comes up, just record incoming packets and see what IP address they come from.
This is not going to be helpful if the network configuration is broken for some reason. For me, it was because I had installed Freenas using a VM (because no monitor for the real hardware), and the VM driver was different than the driver for the real hardware so the network interface name was different and the network config wouldn't work. Lesson to take home: You cannot install Freenas on a headless box, keyboard and monitor are REQUIRED. (And there's general aversion to do anything about this, with the usual arguments: Too much work for a corner case, there's already feature creep. I.e. this won't change quickly.)
I need to recover from a classic networking self-defeat:
- Freenas box and my Linux laptop were connected with a direct Ethernet cable
- Both sides had a static IP address&network mask
- I recorded the address on the Linux side, but for some reason it's not working. (Do I have to set any specific options in Network Manager to make a direct connection work?)
- Normally I'd just hook up a keyboard and monitor, but the only video output is VGA, and - surprise! - I have no VGA monitor available.
Pretty proficient with bash and ssh, but my network lore is pretty rusty - I know what arp etc. are but am not too familiar with them.
Any pointers appreciated!
ANSWER:
The best option seems to be packet sniffing while the box comes up, just record incoming packets and see what IP address they come from.
This is not going to be helpful if the network configuration is broken for some reason. For me, it was because I had installed Freenas using a VM (because no monitor for the real hardware), and the VM driver was different than the driver for the real hardware so the network interface name was different and the network config wouldn't work. Lesson to take home: You cannot install Freenas on a headless box, keyboard and monitor are REQUIRED. (And there's general aversion to do anything about this, with the usual arguments: Too much work for a corner case, there's already feature creep. I.e. this won't change quickly.)
Last edited: