WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: configuration of Tiny Core, as DHCP server and client DHCP  (Read 22613 times)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 729
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #15 on: January 09, 2017, 02:59:37 PM »
You may see: gzip: short write... at the end of this.
Do you have enough disc space ??

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #16 on: January 09, 2017, 03:33:49 PM »
Yes, what should I do

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #17 on: January 09, 2017, 03:35:08 PM »
Yes I have, what should I do??????

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #18 on: January 11, 2017, 02:36:14 AM »
Hello
How i do to solve the gzip problem,
I also have an error message:
Tce is not writable
Could someone help me?
Thanks,

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #19 on: January 11, 2017, 02:37:42 AM »
Fatal Error:TCE directory is no writable

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14898
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #20 on: January 11, 2017, 03:04:19 AM »
The fact that you get this:
Code: [Select]
$ filetool.sh -bv

home/tc/.xsession
home/tc/.setbackground
...
opt/shutdown.sh
opt/bootlocal.sh
gzip: short write
Done

..would seem to indicate that you were able to write some of your backup to your /tce folder, but then the partition became full.

Unless you deleted some files or increased the partion size on which your /tce folder resides, the partition will still be full, which might then explain the "Fatal Error:TCE directory is not writable" message.

This should show how much free space you have:
Code: [Select]
$ df -h /dev/sda1..where you need to substitute "sda1" with the name of the device you are using.
« Last Edit: January 11, 2017, 03:05:59 AM by Juanito »

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #21 on: January 11, 2017, 10:44:50 AM »
I have another problem,
I reinstall tiny core but when I create a file with the command:

Sudo touch /usr/local/etc/dnsmasq.conf

After rebooting, I lose the dnsmasq.conf file I created.
It can come from what?

Someone can help me?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #22 on: January 11, 2017, 10:58:57 AM »
I have another problem,
I reinstall tiny core but when I create a file with the command:

Sudo touch /usr/local/etc/dnsmasq.conf

After rebooting, I lose the dnsmasq.conf file I created.
It can come from what?

Someone can help me?
Seems like same issue as earlier, You will need to add " usr/local/etc/dnsmasq.conf " to /opt/filetool.lst  then make a backup
otherwise the file will be missing on reboot.

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #23 on: January 11, 2017, 11:17:10 AM »
Hi,

I just do this but I still lose the file at startup,

Cat /opt/filetool.lst
Usr / local / etc / dnsmasq.conf

further
Ls -l / usr / local / etc /
I can't find my  file  dnsmasq.conf

It can come from what?
Please

thanks,

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #24 on: January 11, 2017, 11:33:25 AM »
Hi,
When I put it in
/opt/.filetool.lst

After reboot,
I find my file, now I hope I will run this dnsmasq,
thanks,

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #25 on: January 11, 2017, 11:40:14 AM »
From  http://tinycorelinux.net/7.x/x86/tcz/dnsmasq.tcz.info
Code: [Select]
[...]
Example config file located at /usr/local/etc/dnsmasq.conf.example
dnsmask defaults to /etc/dnsmask.conf. To override the default, use:
dnsmasq --conf-file=/usr/local/etc/dnsmasq.conf
[...]
To prevent further errors, read the info files of extensions carefully (via tce-ab and/or Apps GUI), too.
i.e.
Quote
[...] defaults to /etc/dnsmask.conf. [...]"
Download a copy and keep it handy: Core book ;)

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #26 on: January 11, 2017, 11:56:00 AM »
Hi,
thanks,
I see the doc,
Is what you have a sample configuration already test ???
It will allow me to see my mistakes ???
thanks,

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #27 on: January 11, 2017, 02:41:46 PM »
Hi,
At what level can I find the dnsmasq leases in tiny core to configure my dhcp ??
someone can help me???
Thanks

Offline amonel

  • Newbie
  • *
  • Posts: 29
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #28 on: January 11, 2017, 02:57:07 PM »
Hi,

In the sample file dnsmasq.conf.example
I have the line dhcp-leasefile = /var/lib/misc/dnsmasq.leases

I do not find the file /misc/
Is it possible to bypass it?
Is there another alternative ??

I assume that dnsmasq.leases can be created

Thanks for helping me.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: configuration of Tiny Core, as DHCP server and client DHCP
« Reply #29 on: January 11, 2017, 03:10:14 PM »
Maybe the directory  /var/lib/misc/  needs to be created (it doesn't exist by default) so that  dnsmasq  can create files there?
Download a copy and keep it handy: Core book ;)