WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: IPv6 DHCP client in Tiny Core (Install a tcz located on Tiny Core)  (Read 6249 times)

Offline Stephane

  • Newbie
  • *
  • Posts: 3
Hi,

I am fairly new to Tiny Core and I would like to install isc-dhcp package to Tiny Core-5.2 in order to have an IPv6 dhcp client. The isc-dhcp package seems to be only available in http://distro.ibiblio.org/tinycorelinux/3.x/tcz/ and I cannot install it from Internet with 5.2.

I would like to know if it is possilbe to download this package from Internet and install it directly on Tiny Core-5.2.

Finally if this is possible, I would like to know if this solution is still applicable with Tiny Core-5.2

Edit the "/etc/init.d/dhcp.sh" file and commmented out the line with 'udhcpc' and added two new lines after it:

/usr/local/sbin/dhclient    -sf /usr/local/sbin/dhclient-script $DEVICE >/dev/null 2>&1 &
/usr/local/sbin/dhclient -6 -sf /usr/local/sbin/dhclient-script $DEVICE >/dev/null 2>&1 &

as described in the following link:

http://vinsworldcom.blogspot.ca/2012/12/testing-dhcpv6.html

Thanks for your help
Stephane

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: IPv6 DHCP client in Tiny Core (Install a tcz located on Tiny Core)
« Reply #1 on: March 31, 2014, 04:19:29 PM »
According to dhcp-doc, the dhcp.tcz package supplies a dhcp client for IPv4 and IPV6.

Offline Stephane

  • Newbie
  • *
  • Posts: 3
Re: IPv6 DHCP client in Tiny Core (Install a tcz located on Tiny Core)
« Reply #2 on: April 09, 2014, 04:58:23 PM »
Hi,

This is absolutely correct, dhcp.tcz package supplies a dhcp client for IPv4 and IPV6 and the instructions from

newbielink:http://vinsworldcom.blogspot.ca/2012/12/testing-dhcpv6.html [nonactive]

are still valid.

Thanks for your help
Stephane

Offline rupadhye

  • Newbie
  • *
  • Posts: 1
Re: IPv6 DHCP client in Tiny Core (Install a tcz located on Tiny Core)
« Reply #3 on: September 08, 2016, 02:49:49 PM »
Is this still work? I am trying to get Openstack DHCP server assign IPv6 address to tc-linux VM without any luck. However, I could see that the dhclient starts at the time of boot.

tc@box:~$ ps -ef | grep dhc
 1646 root     {dhcp.sh} /bin/sh /etc/init.d/dhcp.sh
 1686 root     /usr/local/sbin/dhclient -6 -sf /usr/local/sbin/dhclient-script eth0
 2041 root     /usr/local/sbin/dhclient -sf /usr/local/sbin/dhclient-script eth0
 2074 tc       grep dhc
tc@box:~$

Any pointers?