Skip to main content

Setting up LAN with BSNL router AN 1020-21

An abstract overview for building a LAN is presented here, you can use the essence of article to build LAN with any other router you can lay your hands on. That said don't confuse modem with router, most routers are modem but a modem simply can't be router*

Post is written in the hope that reader is equipped with basic knowledge about connecting line to splitter to router to device you want to use. It is assumed the your modem is configured for both wireless and ethernet access.

My work requires that I interact daily with servers using putty or such terminal emulator, gradually I loved doing work the *nix way. This made me install Cygwin in almost every machine I use, thanks to MobaXTerm I need not do that anymore :) Off story on to TODO.

1. Connect the machines you want to use to Router
That's all! Your router takes care of establishing (W)LAN

Surprisingly simple to establish LAN, but the hard part is knowing how to use the systems connected in the network. Here is the network topology in my home

Topology | Click to enlarge
If you have the habit of naming your computers you are almost saved. I have the habit, my phone is called owl, my laptop is beast, old machine that runs lubuntu is called delta (I have no idea why I gave such names). If you have given names to your machine try pinging them with names.

C:\Users\nemo>ping delta

Pinging delta.local.lan [192.168.1.3] with 32 bytes of data:
Reply from 192.168.1.3: bytes=32 time=2ms TTL=64
Reply from 192.168.1.3: bytes=32 time=2ms TTL=64
Reply from 192.168.1.3: bytes=32 time=1ms TTL=64
Reply from 192.168.1.3: bytes=32 time=2ms TTL=64

Ping statistics for 192.168.1.3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\nemo>ping -a localhost

Pinging beast [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms


Yes,Yes you are awesome, the second ping was target at localhost with request to resolved domain name at it turned out to be beast, cool ways to prove you know commands duh...

What to do when you haven't named, or have named but no response?

1. Go to Router admin page
Mostly:- http://192.168.1.1/
{
For BSNL unless you have not tinkered,
Username : admin
Password : admin
}
2. Locate the DNS Host listing page
{
http://192.168.1.1/webconfig/dnsrelay/dnsrelay.html
}
3. Verify if your device is connected, oh yes there will be a domain name by default if you haven't overridden you can see it here.


DNS listing | Click to enlarge











You might ask... why were you talking about putty. well as I told already I have lubuntu installed in my old machine which I intend to use for stupidity ;) I have installed open-ssh-server on it and now I'll be able to connect to it via any terminal emulator

Normally domain name is enough to connect, if your tool finds it difficult use domain_name.local.lan . Here I'm going to connect to delta from beast with MobaXTerm Personal.

┌────────────────────────────────────────────────────────────────────┐
     │                • MobaXterm Personal Edition v7.7 •                 │
     │            (X server, SSH client and GNU/Cygwin tools)             │
     │                                                                    │
     │ ➤ Your computer drives are accessible through the /drives path     │
     │ ➤ Your DISPLAY is set to 192.168.1.16:2.0                          │
     │ ➤ When using SSH, your remote DISPLAY is automatically forwarded   │
     │ ➤ Each command status is specified by a special symbol (✔ or ✘)    │
     │                                                                    │
     │ • Important:                                                       │
     │ This is MobaXterm Personal Edition. The Professional edition       │
     │ allows you to customize MobaXterm for your company: you can add    │
     │ your own logo, your parameters, your welcome message and generate  │
     │ either an MSI installation package or a portable executable.       │
     │ We can also modify MobaXterm or develop the plugins you need.      │
     │ For more information: http://mobaxterm.mobatek.net/versions.php    │
     └────────────────────────────────────────────────────────────────────┘

[2016-05-08 23:27.23]  ~
[nemo.beast] ➤ ssh shiva@delta
Warning: Permanently added 'delta' (RSA) to the list of known hosts.
shiva@delta's password:
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.19.0-25-generic i686)

 * Documentation:  https://help.ubuntu.com/

241 packages can be updated.
0 updates are security updates.

Last login: Sun May  8 22:15:20 2016 from beast.local.lan
shiva@delta:~$



See ya!

*
Modem : Connects you to Internet. Think like connects 1 device to internet
Router : Connects all the devices connected to it to Internet. Think about Wifi modem as we casually call it. It is router.

You can ask what is the difference. Think like this, you and your dad are connect to your home wifi. Your dad is paying bills late night (bcoz dad's are responsible figure). You are having nasty chat with your friend(s) . If router doesn't do the job correctly the snapchat picture aimed at you might be received in your dad's device... imagine he'd be paying LIC premium and seeing naked mole rat instead of Receipt "Payment is successful" :D

Technically router takes care of delivering response to correct device which made the request by establishing LAN internally :)

Comments

Popular this month

Puththu kovilum Putho tilesum, as they are built

Its the grand Aadi season here in Tamil Nadu wherever you go you'd be followed by awful noise from no mercy speakers masqueraded as a devotional song. Yes, this is the first post dedicated to it. Hindu is not a religion but it's idealism, a way to unite people, that's perfectly constructed by assuming separate task to every God, no single God worship. Hindus moved from nature worship to idol worship, but that doesn't mean that we don't have nature worship we have created an idol for them and continued to worship them in a different form. Snake is a beautiful reptile, I have made friend with few too... Our ancestor found the natural law, 'every living creature on earth is important for the ecosystem to be balanced'. Maybe to make sure snakes are not killed fearing their venom they made them as God too! Not just idol snakes, they are worshipped as they are at their  conquered (from rats and termite)   nest or  puthu . Puthu...

Up and Close with Sudalai Madan: The Encounter

Night of 13th April all the preparations for the rituals were done in the temple, Sudalaimadan swamy was decorated with flowers, fruits and coconuts; the dedications reached above his chest. My cousin Sudalai Muthu, senior priest of the shrine reached home by late-night got blessings of his father Late Shanmugam Sundaram also previous head priest and blessed the family members in room dedicated for God, then started towards the temple. People have already gathered in huge numbers and were waiting for the Sudalaimada Swamy's arrival at Temple. Different rituals were offered by people to the Lord in order to get the blessings. As it is believed Sudaimada Swamy, the son of Lord Siva used to consume meat in Kailash for this reason he is sent to earth, where he can satisfy his earthy hunger thereby not polluting Kailash. Sree Aaladi Padmanabha Sudalaimada Swamy Temple, Kumarapuram Offering meat to Sudalaimadan is the most important and watchful event of the festival. Many devotees off...

Acid rain in Chennai

Don't panic it is not literal acid but a metaphorical one. Probably Poes Garden, maybe Gopalapuram I can't imagine any other area in Chennai to be drained. So why is this? every time? we pray for rain and when it comes we are always unprepared, even for moderate showers our roads are flooded. Is it because Chennai is an old city and its infrastructure not enough for information age or is that because of the vote bank politics? By now you'd have guessed what I quoted as 'Acid rain', it is that one created by the broadcasting network. Nowadays every political party is having its own network, you do the math and imagine the amount of 'Angel and Demon' perspective we are exposed to. From every network that is with the ruling party, we are shown the 'Angel face' emergency number, disaster recovery team, ambulance gushing thru flood, evacuation and so on. Other side which clearly outnumbers the ruling party in 4:1 ratio shows us flood, death, dengue, sew...

RJ Balaji in as Vadacurry

Vadacurry is a perfect entertainment package – comedy, a romantic song, an item number, punch, villian, hero, noble cause – as we know, it is a masala movie. Movie revolves around lead male played by Jai and his immediate needs – getting Smart phone, the way he chooses to fullfill his need brings the neccesarily components to push the movie into vibration mode Director Saravana Rajan’s made the movie lighter enough to remove any sort of thrill from the movie, a team which has wide range of experience in providing laughter made this comedy-thriller into comdey-drama. The movie starts with RJ Balaji saying “my name is vadacurry, but I don’t have much to do here (ref. movie is titled as Vadacurry)”. Director gives Jai enough importance that almost any other character in the movie has little role to play, but when you leave the theater you know why its Vadacurry, without RJ Balaji movie might be rusty. Not a star cast unless you are going to consider Jei and Swathi as stars, whom I...

Up and Close with Sudalai Madan: Warm up

Hollywood is just a movie industry for most people, but for some like me, it is the inspiration and life guide. I have watched many movies from all genres - action, thriller, comedy, drama, romance, but what I loved is a controversial subjects.  Mikael Håfström's 1408 was in my mind, when I travelled down south to my native for the holy annual festival, 'Sudalaimada Swamy Kodai'. I always keep track of what I do at what time when I'm away from home in my diary. I caught this habit after maintaining the track diary when we make the pilgrimage to Sabarimala every year. Back view of our Sudalaimada Swamy temple I travelled with Athai and Chitapa to Thirunelveli by train; festival takes place at summer, to keep his elder sister comfortable my uncle booked an AC room near Nellai railway junction we stopped by dropped luggage and refreshed. I was happy he was there, someone who can guess what will be running in my mind. We reached Kumarapuram after going to Udhayathur so...