<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Networking on Amit Agarwal Linux Blog</title>
    <link>/categories/networking/</link>
    <description>Recent content in Networking on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 10 May 2025 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/categories/networking/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Exploring AI Models with ZapGPT: A Simplified Approach</title>
      <link>/2025/05/11/2025-05-11-ZapGPT/</link>
      <pubDate>Sat, 10 May 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/05/11/2025-05-11-ZapGPT/</guid>
      <description>&lt;h1 id=&#34;zapgpt---introduction&#34;&gt;zapgpt - Introduction&lt;/h1&gt;
&lt;p&gt;In the rapidly evolving landscape of artificial intelligence, experimenting with different models can be daunting. &lt;strong&gt;ZapGPT&lt;/strong&gt; simplifies this process, allowing users to easily switch between models, customize system prompts, and monitor usage effectively.&lt;/p&gt;
&lt;p&gt;By using API, not only can you save a lot of bucks, you can get the flexibility
that you wanted.&lt;/p&gt;
&lt;h2 id=&#34;-key-features-of-zapgpt&#34;&gt;🚀 Key Features of ZapGPT&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Provider Flexibility&lt;/strong&gt;: Currently select from OpenAI or OpenRouter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model Flexibility&lt;/strong&gt;: Easily switch between various AI models to find the best fit for your needs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom System Prompts&lt;/strong&gt;: Add and modify system prompts to tailor the AI&amp;rsquo;s responses.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Usage Tracking&lt;/strong&gt;: Monitor usage statistics to optimize your interactions and manage resources effectively.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;-getting-started&#34;&gt;🛠️ Getting Started&lt;/h2&gt;
&lt;p&gt;To get started with ZapGPT, follow these simple steps:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Anonymous AI Chat with different models</title>
      <link>/2024/12/31/2024-12-31-Anonymous_AI_Chat_with_different_models/</link>
      <pubDate>Tue, 31 Dec 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/12/31/2024-12-31-Anonymous_AI_Chat_with_different_models/</guid>
      <description>&lt;p&gt;If you ever wished that you did not have to login or could use AI chat with
anonymity, then you are in luck and right place, read on.&lt;/p&gt;
&lt;p&gt;Head over to &lt;a href=&#34;https://duckduckgo.com&#34;&gt;DuckDuckGo search&lt;/a&gt;. Click on the
Hamburger menu in the right hand top side. In the drop down, select
&lt;em&gt;AI Chat&lt;/em&gt;, you will see it somewhere in middle of the menu.&lt;/p&gt;
&lt;p&gt;Now, you can click &amp;ldquo;Get Started&amp;rdquo; (after reading the information on the page).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>What&#39;s New in Nmap: A Look at the Latest Features</title>
      <link>/2024/10/27/2024-10-27-nmap_new_features/</link>
      <pubDate>Sun, 27 Oct 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/10/27/2024-10-27-nmap_new_features/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Nmap&lt;/strong&gt; (Network Mapper) tool has long been a favorite among cybersecurity
professionals and network administrators for its robust scanning capabilities.
Whether you&amp;rsquo;re performing a network inventory, managing service upgrades, or
simply checking for potential vulnerabilities, Nmap is an indispensable tool.&lt;/p&gt;
&lt;p&gt;With the latest release (v7.95) released on 2024/April/23, Nmap continues to
evolve, adding new features, improving performance, and expanding its
capabilities. In this post, we&amp;rsquo;ll take a look at the most notable changes and
enhancements that come with the latest version.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Short url to full url</title>
      <link>/2024/06/17/2024-06-19-short-url-to-full-url/</link>
      <pubDate>Wed, 19 Jun 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/06/17/2024-06-19-short-url-to-full-url/</guid>
      <description>&lt;p&gt;Most of the Social sites will shorten the links. There are a lot of ways to check the url before you go to the url and get phished :)&lt;/p&gt;
&lt;p&gt;For example, for &lt;strong&gt;bitly&lt;/strong&gt; you can just add a &amp;lsquo;+&amp;rsquo; at the end of the url. For example, you can enter the following in url bar &lt;code&gt;https://bit.ly/2KEOXNx+&lt;/code&gt; and see the details of the where the url takes you. This is just a  example url that I got from google but you get the idea.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Run X11 applications on docker or podman</title>
      <link>/2024/03/30/2024-03-30-x11docker/</link>
      <pubDate>Fri, 29 Mar 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/03/30/2024-03-30-x11docker/</guid>
      <description>&lt;p&gt;Found &lt;a href=&#34;https://github.com/mviereck/x11docker&#34;&gt;x11docker&lt;/a&gt; project in github. This is
a very nice project if you are trying to run GUI applications in dockers. It takes the
hassle out and helps you run the GUI applications very easily in docker.&lt;/p&gt;
&lt;p&gt;Whats more, if you are on Fedora, you are in luck. You can install this tool with&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo dnf install x11docker
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;and if you are not on Fedora, then head over to their github.
Some other distributions also have it packaged but otherwise also it
is very simple to install.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Show Local IP</title>
      <link>/2023/12/24/2023-12-24-show-local-ip/</link>
      <pubDate>Sat, 23 Dec 2023 00:00:00 +0530</pubDate>
      
      <guid>/2023/12/24/2023-12-24-show-local-ip/</guid>
      <description>&lt;h1 id=&#34;show-local-ip&#34;&gt;Show local IP&lt;/h1&gt;
&lt;p&gt;You can see the local IP of the machine with the command - &lt;code&gt;ip a&lt;/code&gt;. However if you have to use the address in
some variable in a scrit. It becomes little tricky, something like&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Show the interfaces in one line with &amp;lsquo;-o&amp;rsquo;&lt;/li&gt;
&lt;li&gt;Show only IPv4 address&amp;rsquo;s with &amp;lsquo;-4&amp;rsquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and the command looks like&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip -4 -o a show dev eth0&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;awk &lt;span class=&#34;s1&#34;&gt;&amp;#39;{gsub(/\/.*/,&amp;#34;&amp;#34;,$4);print $4}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Replace &lt;em&gt;eth0&lt;/em&gt; with then correct interface name.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Openvpn files to nmcli connection</title>
      <link>/2022/11/12/2022-11-12-openvpn-to-nmcli/</link>
      <pubDate>Sat, 12 Nov 2022 00:00:00 +0530</pubDate>
      
      <guid>/2022/11/12/2022-11-12-openvpn-to-nmcli/</guid>
      <description>&lt;h1 id=&#34;openvpn-files-to-nmcli-connection&#34;&gt;Openvpn files to nmcli connection&lt;/h1&gt;
&lt;p&gt;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 :)&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;nmcli connection import &lt;span class=&#34;nb&#34;&gt;type&lt;/span&gt; openvpn file test.ovpn
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;nmcli connection modify &lt;span class=&#34;nb&#34;&gt;test&lt;/span&gt; vpn.secrets &lt;span class=&#34;s1&#34;&gt;&amp;#39;password=mypass&amp;#39;&lt;/span&gt; vpn.user-name &lt;span class=&#34;s1&#34;&gt;&amp;#39;username&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You will need to modify few things in above command&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
