05-13-2015
I am not using any dhcp server here, I am assigning it statically.
same thing works for Redhat client but we are facing the issue on fedora OS
PHP Code:
inet6 addr: 7878:12::10/64 Scope:Global
Its correct I.P,
is there anything which I need to enable..?
9 More Discussions You Might Find Interesting
1. AIX
Hi Every1,
I want to configure IPv6 on AIX and want to communicate between IPv4 machine IP and IPv6 machine. Is it possible? (2 Replies)
Discussion started by: Shrek
2 Replies
2. SuSE
Hi gurus,
In a few month, we must enable IPv6 on our Linux Server!
Should we reinstall the Linux machine to enable IPv6 or could we just make some change in configuration's files?
Could Linux run simultaneous IPv4 and IPv6?
Thanks in advance for our help our ideas?
Best regards,
nm (3 Replies)
Discussion started by: hiddenshadow
3 Replies
3. Shell Programming and Scripting
I have perl script that I use to check and ping a list of ip,
The problem is, I didnt understand how to ping ipv6 on perl,
Could I use Ping::External??And how could I get the ping result (reply or not)?
This is my code
#!/usr/bin/perl --
use Net::Ping;
use Data::Validate::IP;
use... (3 Replies)
Discussion started by: franzramadhan
3 Replies
4. Shell Programming and Scripting
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies
5. Shell Programming and Scripting
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies
6. Solaris
I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance.
I have got... (12 Replies)
Discussion started by: jpolachak
12 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
8. Programming
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
9. UNIX for Beginners Questions & Answers
I'm running a Linux OS that uses Debian as it's base. A commercial vpn is installed that uses OpenVPN. For some reason, I can't get ipv6 to tunnel properly .... and Ipleak.net shows that my location is being unmasked by ipv6.
I've tried kernel commands at boot, I've tried sysctl.conf commands.... (2 Replies)
Discussion started by: benc
2 Replies
LEARN ABOUT PHP
imagecreatetruecolor
IMAGECREATETRUECOLOR(3) 1 IMAGECREATETRUECOLOR(3)
imagecreatetruecolor - Create a new true color image
SYNOPSIS
resource imagecreatetruecolor (int $width, int $height)
DESCRIPTION
imagecreatetruecolor(3) returns an image identifier representing a black image of the specified size.
Depending on your PHP and GD versions this function is defined or not. With PHP 4.0.6 through 4.1.x this function always exists if the GD
module is loaded, but calling it without GD2 being installed PHP will issue a fatal error and exit. With PHP 4.2.x this behaviour is dif-
ferent in issuing a warning instead of an error. Other versions only define this function, if the correct GD version is installed.
PARAMETERS
o $width
- Image width.
o $height
- Image height.
RETURN VALUES
Returns an image resource identifier on success, FALSE on errors.
EXAMPLES
Example #1
Creating a new GD image stream and outputting an image.
<?php
header ('Content-Type: image/png');
$im = @imagecreatetruecolor(120, 20)
or die('Cannot Initialize new GD image stream');
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color);
imagepng($im);
imagedestroy($im);
?>
The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : Creating a new GD image stream and
outputting an image.
NOTES
Note
This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
SEE ALSO
imagedestroy(3), imagecreate(3).
PHP Documentation Group IMAGECREATETRUECOLOR(3)