How to connect to internet

I have install nomadbsd to my usb stick,I want to connect internet through mobile hot spot but failed.Can I use usb network sharing?How to do that?

You have provided very generic question like “how do I get to airport?”.
Please provide us with more details like where are you going from (what is your network adapter) and where are you you are trying to go to (connect to what mobile hotspot)? What device you are using for hotspot? Is your wifi device on host recognized by system? Some commands used for this is ifconfig, post that output so we can determine if wifi adapter is recognized by system. Good start would be or

I want to surf through my mobile phone’s hotspot.I can connect to the hotspot,but it automatically disconnected a few seconds later.