I tried to ignore but it seems our logo is look like very short and thick private part. I do not mind this much. Server board with compressed dong on top is very funny in my opinion but some people maybe think it is offensive? I do not know but maybe add more cloud or put middle thing sideways to avoid negative impact? I fear sensitive people maybe not want to join after seeing big bar with inflated tire in top row.
Today i will show you how to make a network with cat 5 cable.
You need:
Step 1:
You put 1 network card in all pc or do nothing if it have onboard lan already.
Step 2:
Install linux on the bad/old pc. Any linux is ok i think but dont install gui. It just waste resource.
Step 3:
Take 1 cat 5 cable and connect the bad/old pc to uplink on your switch.
Step 4:
Take other 2 cat 5 cables and connect shiny pcs to normal switch port.
Step 5:
Boot bad pc and issue this command in root terminal:
Step 6:
Your network is very dumb so you must configure IP address of all pc now. For bad pc issue this command in root terminal (if you ignored advice to use onboard lan and still put extra network it maybe is different device so you must use eth1 or look at ifconfig output to see which has cable connected):
For good pcs it depend on your OS but be sure you choose 192.168.0.x but not with x as used by other pc in your network and put 192.168.0.1 for gateway.
Step 7:
You are done and your network is ready.
Advanced (maybe for next tutorial):
You need:
- 3x cat 5 cable with ethernet plug
- 1x switch
- 1x bad/old pc
- 2x new/shiny pc
- 3x network card or onboard lan (100mbit)
Step 1:
You put 1 network card in all pc or do nothing if it have onboard lan already.
Step 2:
Install linux on the bad/old pc. Any linux is ok i think but dont install gui. It just waste resource.
Step 3:
Take 1 cat 5 cable and connect the bad/old pc to uplink on your switch.
Step 4:
Take other 2 cat 5 cables and connect shiny pcs to normal switch port.
Step 5:
Boot bad pc and issue this command in root terminal:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
Step 6:
Your network is very dumb so you must configure IP address of all pc now. For bad pc issue this command in root terminal (if you ignored advice to use onboard lan and still put extra network it maybe is different device so you must use eth1 or look at ifconfig output to see which has cable connected):
Code:
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
Step 7:
You are done and your network is ready.
Advanced (maybe for next tutorial):
- Make startup scripts and firewall
- Setup up internet and nat on your bad pc (router!)
- Give your network dns and dhcp (make it is less dumb) so you can have hostnames and not need to give ip by hand anymore
- Use nicer ips. rfc1918 is boring... better to have secret service network!!
Internet science research
Internet is a complicated thing. It is very fascinating how it works or who is in charge but often it is hard to understand so we need science to find out and explain. Some day i found this article that is very enlightning and easy to understand so i want to share with you this link. I think this research is very good.
http://gizmodo.com/1728316152
Science is great and now we know! Have a day nice and post comment what you think
Internet is a complicated thing. It is very fascinating how it works or who is in charge but often it is hard to understand so we need science to find out and explain. Some day i found this article that is very enlightning and easy to understand so i want to share with you this link. I think this research is very good.
http://gizmodo.com/1728316152
Science is great and now we know! Have a day nice and post comment what you think



What is not allowed in offers
- Credit card or debit card verification
- earning Links in thread like adfl.y
- VPS trials which are shorter than 4 days
- phone verification
- Sites with nulled/removed copyright software.
- VPS specification
- For how much time the offered VPS will be there
- What we have to do for getting VPS
Blacklisted Free VPS Providers
- Gratisvps.net
- 5jelly.com
- Guhat
- Fortacloud.co
- freevpshosting.net
- 3jelly
- Chunkhost (closed free VPS)
- onhosti
- Yocats
- VPSforHire
- VPS hit
- SubNetWeb (Reason why SubNetWeb are in this list is here )
- Dexbweb / SharkHost / LAMBDEN (Reason why they are in this list is here )
Have I missed any ?
Then Comment below
Maybe i want to make some site like http://www.icanhascheezeburger.com/ but i think it has bad design. Pictures are to small and so much junk that you dont need. Also it is very pale. I like colors like green and red but not white so maybe i can improve there to be better competition. I dont know yet but it can be. Do you guys think i am right or what would you improve? Any suggestion?
Posted by: catfan - 09-12-2015, 08:17 PM - Forum: Scripting & Programming
- No Replies
cat is a popular command in unix. It has nothing to do with the animal but only maybe the inventors liked writing the name lots of times per day (many people do i think). I dont know but it is possible because they could have called it dog but did not do it. Also many people use cat and in over 40 years noone has tried renaming it to dog or anything else. Only Bill Gates made a cheap copy named type that is worse. Maybe he is alergic to some hair and dont want to be reminded. I dont know but it can be and enough with history now. Here is some useful example of how to use cat:
Basic usage (print some file):
Inform yourself about your CPU:
Write a file without any editor:
Continue write a file without any editor:
Look at garbage (and maybe break terminal):
Get information about your OS:
Inspect your harddisk (only on linux as root and not recommended):
Show every file on your system:
Print message of the day:
If you know some other good usage please post because i like this command very much!
Basic usage (print some file):
Code:
cat /path/to/file
Inform yourself about your CPU:
Code:
cat /proc/cpuinfo
Write a file without any editor:
Code:
cat > /path/to/file
Continue write a file without any editor:
Code:
cat >> /path/to/file
Look at garbage (and maybe break terminal):
Code:
cat /dev/urandom
Get information about your OS:
Code:
cat /etc/issue /proc/version
Inspect your harddisk (only on linux as root and not recommended):
Code:
cat $( fdisk -l | grep 'Linux$' | sed 's/ .*//' )
Show every file on your system:
Code:
find / -type f -exec cat {} \;
Print message of the day:
Code:
cat /etc/motd
If you know some other good usage please post because i like this command very much!
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash
To run a speedtest simply type the command
Code:
speedtest
Run it as root and be happy

Removal
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash -s - --remove
HE IPv6 Tunnel for OpenVZ Containers
Want to have IPv6 on your VPS but your hosting company doesn't provide one? Want to be future proof your server or let IPv6 users access your website over IPv6? Then read my guide! This will teach you how to use the HE tunnel on your OpenVZ container without contacting your host for IPv6 IPs!
NOTE: Refer to https://freevps.us/thread-16343-post-188...#pid188783 for systemd Distros (CentOS 7/Debian 8/ETC.)
Requirements:
TUN/TAP Adapter Enabled
iproute
gcc
Almost any Linux OS
First, you need to register on Hurricane Electric (Obviously).
URL: https://tunnelbroker.net/register.php
![[Image: 9a7dcdcb0798d5e3e73b53e87eefd91f.png]](http://i.gyazo.com/9a7dcdcb0798d5e3e73b53e87eefd91f.png)
Once you are finished registering, you can move now on to the next step.
Then, Lets start creating our tunnel.
URL: https://tunnelbroker.net/new_tunnel.php
First, Input your Server IP Address in the text box.
![[Image: 3f009a67ca0b4b26871ea4420db78ce0.png]](http://i.gyazo.com/3f009a67ca0b4b26871ea4420db78ce0.png)
Next, Find the Tunnel Server that is closest to the location of your OpenVZ server.
(I'd recommend you to ping it, then ping the others and find the one with the lowest latency)
![[Image: f14a48a2bb30b44b1ac626932c7a81dd.png]](http://i.gyazo.com/f14a48a2bb30b44b1ac626932c7a81dd.png)
Next, the most exciting part, the part where we connect it!
All the Info we need from that page is:
Server IPv4 Address
[font=arial, sans-serif]Client IPv4 Address[/font]
[font=arial, sans-serif][font=arial, sans-serif]Client IPv6 Address[/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]Routed /64[/font][/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]
[/font][/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]We need to compile and install a tiny program that we will use to tunnel[/font][/font][/font]
Lets Create the Init.d script!
Paste it in there with the require info
Then press CTRL+X then press "y" then press enter
An example of the settings would be here
Then we should make it executable then run the service!
Now we have IPv6 on our server!
Now lets verify it using
if you see a device called "tb" you followed this guide right!
Lets try pinging an IPv6 Server!
If it successfully ran, You really have IPv6 now!
Now, on to adding IPv6 to Nginx
Nginx:
We just need to add this to our server block
A typical example for the server block would be
Apache Users: I intentionally didn't add this because I don't use Apache lol
Thanks to 4810
I used some of his guides as a "template" (Not literally) for making this
Want to have IPv6 on your VPS but your hosting company doesn't provide one? Want to be future proof your server or let IPv6 users access your website over IPv6? Then read my guide! This will teach you how to use the HE tunnel on your OpenVZ container without contacting your host for IPv6 IPs!
NOTE: Refer to https://freevps.us/thread-16343-post-188...#pid188783 for systemd Distros (CentOS 7/Debian 8/ETC.)
Requirements:
TUN/TAP Adapter Enabled
iproute
gcc
Almost any Linux OS
First, you need to register on Hurricane Electric (Obviously).
URL: https://tunnelbroker.net/register.php
![[Image: 9a7dcdcb0798d5e3e73b53e87eefd91f.png]](http://i.gyazo.com/9a7dcdcb0798d5e3e73b53e87eefd91f.png)
Once you are finished registering, you can move now on to the next step.
Then, Lets start creating our tunnel.
URL: https://tunnelbroker.net/new_tunnel.php
First, Input your Server IP Address in the text box.
![[Image: 3f009a67ca0b4b26871ea4420db78ce0.png]](http://i.gyazo.com/3f009a67ca0b4b26871ea4420db78ce0.png)
Next, Find the Tunnel Server that is closest to the location of your OpenVZ server.
(I'd recommend you to ping it, then ping the others and find the one with the lowest latency)
![[Image: f14a48a2bb30b44b1ac626932c7a81dd.png]](http://i.gyazo.com/f14a48a2bb30b44b1ac626932c7a81dd.png)
Next, the most exciting part, the part where we connect it!
All the Info we need from that page is:
Server IPv4 Address
[font=arial, sans-serif]Client IPv4 Address[/font]
[font=arial, sans-serif][font=arial, sans-serif]Client IPv6 Address[/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]Routed /64[/font][/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]
![[Image: a1bf1d370425f687813c431e8dbb7f22.png]](http://i.gyazo.com/a1bf1d370425f687813c431e8dbb7f22.png)
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]We need to compile and install a tiny program that we will use to tunnel[/font][/font][/font]
Code:
cd ~ #Lets Go to our home Dir
wget https://tb-tun.googlecode.com/files/tb-tun_r18.tar.gz #Lets get the source code!
tar -xvf tb-tun_r18.tar.gz #Why not extract it?
gcc tb_userspace.c -l pthread -o tb_userspace #Compile it!
mv tb_userspace /usr/bin/tb_userspace #Move it over to the bin folder
chmod +x /usr/bin/tb_userspace #Make it executable of course!. How would it run if it wasnt?
Code:
nano /etc/init.d/ipv6hetb
Code:
#!/bin/bash
touch /var/lock/ipv6hetb
#Variables
SERVER_IP4_ADDR="0.0.0.0" #Server IP From Hurricane Electric
CLIENT_IP4_ADDR="0.0.0.0" #Your server IPv4 Address
CLIENT_IP6_ADDR="::/64" #Client IPv6 Address from Hurricane Electric
ROUTED_IP6_ADDR="::/64" #Your Routed IPv6 From Hurricane Electric
case "$1" in
start)
echo "Starting ipv6hetb "
setsid tb_userspace tb $SERVER_IP4_ADDR $CLIENT_IP4_ADDR sit > /dev/null 2>&1 &
sleep 3s
ifconfig tb up
ifconfig tb inet6 add $CLIENT_IP6_ADDR
ifconfig tb inet6 add $ROUTED_IP6_ADDR
ifconfig tb mtu 1480
route -A inet6 add ::/0 dev tb
route -A inet6 del ::/0 dev venet0
;;
stop)
echo "Stopping ipv6hetb"
ifconfig tb down
route -A inet6 del ::/0 dev tb
killall tb_userspace
;;
*)
echo "Usage: /etc/init.d/ipv6hetb {start|stop}"
exit 1
;;
esac
exit 0
An example of the settings would be here
Spoiler Expand
Then we should make it executable then run the service!
Code:
chmod +x /etc/init.d/ipv6hetb
service ipv6hetb start
Now we have IPv6 on our server!
Now lets verify it using
Code:
ifconfig
Lets try pinging an IPv6 Server!
Code:
ping6 -c 4 google.com
Now, on to adding IPv6 to Nginx
Nginx:
We just need to add this to our server block
Code:
listen [::]:80;
listen [::]:443 ssl; #if you use SSL
A typical example for the server block would be
Spoiler Expand
Apache Users: I intentionally didn't add this because I don't use Apache lol
Thanks to 4810
I used some of his guides as a "template" (Not literally) for making this
Well most of you should already know this.
https://freevps.us
Longest running post2host platform free vps
https://freevps.us
Longest running post2host platform free vps

Welcome, Guest |
You have to register before you can post on our site. |
Search Forums |
(Advanced Search) |
Forum Statistics |
» Members: 2,271 » Latest member: orzpainter » Forum threads: 3,092 » Forum posts: 34,815 Full Statistics |
Online Users |
There are currently 288 online users. » 0 Member(s) | 285 Guest(s) Bing, Google, Facebook |