LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH problem (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-problem-937595/)

kzaarouri 04-01-2012 06:51 PM

SSH problem
 
Hi.
I have a router, and my host(ubuntu) is wired to it and my device (beagleboard xm) is also wired to it.

I set up the device's static ip and dns and gateway the same of my network so I can get an internet connection on the device. I used this tutorial: http://www.gigamegablog.com/2010/12/...g-a-static-ip/

But now I need the dhclient to run (so internet can work) but also every once in a while i need to do:
ifdown usb0 and
ifup usb0
or else, I wont be able to ssh to my device, (connection refused)

I think somehow the dhcp client is resetting my ip address or something..
Help please!

suicidaleggroll 04-01-2012 06:57 PM

If you've set it up with a static IP, then dhclient should not be running, you're not using dhcp


All times are GMT -5. The time now is 09:37 PM.