Hi Massimiliano,
For 1, are you using the gateway sample? What is the software version running?
If I remember correctly, the gateway sample connect automatically.
For 2, are you trying to send AT cmd over TCP/IP (Ethernet)?
If so, you may implement it using OAT.
Hope it helps.
Thx