Hello i tried to search online how to change my manual ip address for a Static ip address and all attempted failed on me. I even looked in here and saw the same thing as i was seeing online But nothing worked. Can someone please help me out and try to figure this out. Thank you.
Hello and you know what you are right that is my fault and I’m sorry about that. I’m still a little new to the whole linux world and openham plus the networking please forgive me.
This is my setup i currently have. I always wanted to do some home automation around my apartment. But at the time cost was a lot into recently i saw a guy on youtube his channel is call MK-Smarthouse. He teach everyone how how setup there own DIY smarthouse using a Raspberry pi 3 and OpenHabian2 i think it is. So i followed his Instructions and it took me a while to setup because my Internet connection is not so great where I’m at. I mange to get 1 door sensor setup and one light switch setup.
But this is what i came into the problem. Sense my internet is a 3G unlimited air card twice a day i have to reboot my internet connection because it slows down. And when that happens Ip addresses change on my computers, tablets and cellphone. Now the Openhab server i haveto reboot to get the network to come back. So sense i have my door sensor and light sensor on a 192.168.0.240 address my network is a 192.168.0.xxx network that is what it was setup for.
So now to the point sorry for all this i was trying to explain my whole setup. I tried to go into the networking/interfaces and change it from main lan to a static ip address. So i went online and saw it can be done a few ways i tired them and nothing changed i rebooted everything i change something. But nothing changed. And now I’m here.
Hello yes I was trying to post it last night but i had some power outage because of the bad storm we had no power for over 12 hours. I’m sorry about that I tried to post stuff from my phone but it is very hard to copy and paste code on a cellphone. Here is what i did.
I went to https://wiki.debian.org/NetworkConfiguration and found this one
Same thing nothing. On both times i have tired i rebooted to make sure it kicked in. but nothing happens still displayed the same I address into i rebooted my internet card and ip address changed like it was still a dynamic manual address.
Hello I’m now able to change the Ip address to a Static IP address. I watched this video. Youtube video But now I’m not able to ping out keeps saying network unavailable. But yet I’m able to remote putty in and do whatever i need to do now. I can Ping within the network but just not outside of the network.
my router starts at 192.168.0.254 and goes down 253,252,251 Not sure why it is a Verzon setup. But i can go to my laptop and manually change my IP address to 192.168.0.240 subnetmask to 255.255.255.0 gateway 192.168.0.1 and DNS to 192.168.0.1 and i can get online with no problem with that ip address. I can also see that ip address in windows Command line under ipconfig it displays that address.
So there one thing left the gateway and dns. The only problem is i went to that site in your other post and it told me to do
hello sorry that was the example code i did change all information to mine and it didn’t work.
The second one i did in the dhcpcd.conf file did work but did not go out side of my network. I’m guessing i need to address the gateway and DNS. But sense that is different then the old setup. I’m unsure how to do it.