http___www.itsolutionskb.com_hr_tag_networking__1.xml
1.1 2.1 3.1 4.1 5.1 6.1 7.1 8.1 9.1 10.1 11.1
You will need to configure four settings on your linux distribution from command line or a bash script with execute permissions to be able to get a network connectivity with a static ip address including the gateway and dns to get access to the Internet. The four main parts you are the IP Address, Subnet Mask, Gateway Address and DNS Server(s). To accomblish this task create a bash file called staticip.sh with the following code: #!/bin/bash ifconfig eth0 192.168.1.100/24 # Configure static ip & subnet mask route add default gw 192.168.1.1 # Set the Default Gateway echo nameserver 192.168.1.1 > /etc/resolv.conf # Add DNS Server To give execute permissions: chmod +x staticip.sh To verify that everything went well you can ping google.com or an internal network address. Now each time you want to use a static ip address just execute the bash script or add the script to linux boot which will be covered in another article.
1.1 1.2 2.1 3.1 3.2
Ovaj članak će opisati kako se može daljinski ponovno, shutdown, log off ili čak prekinuti isključenje sustava u našim lokalnim / Network strojeva pomoću alata Remote Shutdown (Shutdown.exe). Možemo koristiti alat Remote Shutdown sa GUI ili iz naredbenog retka ... Morat ćete konfigurirati četiri postavke na vašem linux distribuciju iz naredbenog retka ili bash pismu s izvršavati dozvole moći dobiti mrežnog povezivanja s statičku IP adresu, uključujući gateway i DNS kako bi dobili pristup Internetu. U ovom postu ću vam pokazati kako da port naprijed jedan port s interneta na internoj mreži. Možete jednostavno koristiti Cisco ASA GUI Appliance putem web pregledniku kako bi se stvorio statički NAT i pristupnu vladavine, ali za one koji trebaju to učiniti iz ...