Show Local IP

2023-12-23 1 min read Linux Networking
Show local IP You can see the local IP of the machine with the command - ip a. However if you have to use the address in some variable in a scrit. It becomes little tricky, something like Show the interfaces in one line with ‘-o’ Show only IPv4 address’s with ‘-4’ and the command looks like 1 ip -4 -o a show dev eth0|awk '{gsub(/\/.*/,"",$4);print $4}' Replace eth0 with then correct interface name. Continue reading

Openvpn files to nmcli connection

2022-11-12 1 min read Linux Networking
Openvpn files to nmcli connection Many times you get openvpn file and when you want to connect to the VPN server, you have to start the vpn client from the cli. How you wish that this was added to NetworkManager so that you could connect to it with one click. If this is the case, then you can use these commands to do the same ane enjoy :) 1 2 nmcli connection import type openvpn file test. Continue reading

Install a fully functional terminal server capable of accepting connections from RDP(Windows).

2010-12-12 1 min read Fedora
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image by <a href="http://www.flickr.com/photos/82365211@N00/2473197800">kalleboo</a> via Flickr </dd> </dl> Inoformation on xrdp: The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop and Microsoft’s own terminal server / remote desktop clients. 1 <td> <div class="text codecolorer"> &nbsp;sudo yum install xrdp </div> </td> </tr> There is not much configuration needed for this so I will not go into details. Continue reading

Putting Linux on Parental Control

2010-03-16 1 min read Linux
<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category Putting Linux on Parental Control Over the years I?ve witnessed desktop Linux distros evolve dramatically ? change the very core of the way we look at how an operating system interacts with its users. However, I still find plenty of forum posts on the Web stating that Linux as a URL:<a href=" http://c.moreover.com/click/here.pl?r2243375620&w=2390512"> http://c.moreover.com/click/here.pl?r2243375620&w=2390512