hacks and tips and tricks
|what it is||what it does|
|ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up||brings interface eth0 up with ip of 192.168.1.10 and netmask of 255.255.255.0, you may still have to add a route if you run route and you don’t see a last entry like “default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0” with 192.168.1.1 being the gateway in this example|
|route add default gw 192.168.1.1 eth0||you need a default route to tell your box where to send all the packets that get routed (hopefully) outside the machine, this generates one, change your ip to suit your application|
||updates your crontab editor|
Write a comment
You need to login to post comments!