Tiny Core Extensions > TCE Talk

configuration of Tiny Core, as DHCP server and client DHCP

<< < (9/10) > >>

Misalf:

--- Quote from: amonel on January 13, 2017, 05:57:30 PM ---cat /opt/bootsync.ch
/etc/hosts
/usr/bin/sethostname box
/etc/resolv.conf

--- End quote ---

Sorry, this doesn't make sense to me.

I suggest you read this
http://tinycorelinux.net/book.html
to get an understanding how Core Linux works.

amonel:
Hello,
Do you have the same documentation in French?
I ask a lot of questions, it's true
I had never worked on Linux distributions.
please,
Thanks

amonel:
Good evening,

On tiny core,
There is a command to get an ip address from a dhcp server ??

thanks,

Misalf:
The documentation is English only, I'm afraid.

Core Linux tries to get an IP via DHCP for ethernet at boot by default unless the  nodhcp  boot code is used.

To get an IP assigned via DHCP after boot, you can use something like this:

--- Code: ---#!/bin/sh

[ "`id -u`" -eq 0 ] || { echo "Must be root." ; exit 1 ; }

pkill udhcpc
udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid


--- End code ---
You could safe it as, for example,  /opt/eth0-dhcp.sh  and it needs to be run with  sudo .

Or use the  Network  GUI tool.

amonel:
Thanks,

On tiny core,
There is a command to configure an ipv6 address

thanks,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version