Jump to content
Sign in to follow this  
sathish

Dhcp - change IP

Recommended Posts

Hi, where should I find the dhcpcd.conf file on tinker board r2.0.

I saw /etc/dhcp/dhclient.conf this is different from below.

In raspberry pi it is available on /etc/dhcpcd.conf we can use this file to change IP on raspberry pi easily.

Share this post


Link to post
Share on other sites

hello @sathish

it is not built in the tinker os, if you'd like to use dhcpcd:

sudo apt-get install dhcpcd5

the dhcpcd.con will be locaed in /etc/

alternatively, you can use 

nmcli con mod

to configure the ip network

  • Thanks 1

Share this post


Link to post
Share on other sites
On 4/21/2023 at 6:41 PM, tooz said:

hello @sathish

it is not built in the tinker os, if you'd like to use dhcpcd:


sudo apt-get install dhcpcd5

the dhcpcd.con will be locaed in /etc/

alternatively, you can use 


nmcli con mod

to configure the ip network

Hi tooz, Thanks for your information as per instruction dhcpcd.conf file appeared in /etc after installing through the above command. 

But I am trying to change IP through dhcpcd.conf like raspberry Pi 

Eg.

interface eth0
inform 192.168.1.240
static routers=192.168.1.1
static domain_name_servers=8.8.8.8 4.2.2.2
noipv6

But above method not reflecting on asus tinker board r2.0. 

Share this post


Link to post
Share on other sites

Now above format is working fine for me. The only thing is I'm trying to copy this file through ftp(filezilla) & scp (through python script) but I cant copy files its showing access denied. Copy only working on home directory. 

On 4/24/2023 at 11:20 AM, sathish said:

Hi tooz, Thanks for your information as per instruction dhcpcd.conf file appeared in /etc after installing through the above command. 

But I am trying to change IP through dhcpcd.conf like raspberry Pi 

Eg.

interface eth0
inform 192.168.1.240
static routers=192.168.1.1
static domain_name_servers=8.8.8.8 4.2.2.2
noipv6

But above method not reflecting on asus tinker board r2.0. 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...