Guide network manager howto

Status
Not open for further replies.
Hi all,
Recently I got a message in my in-box asking for my help in setting up network. While I tried to reply him, his box was full. And this query is not the first while I have explained it in the past. So in order to avoid this kind of scenario in the future, hopefully I give you the smallest article I have written (yet) ;)

The message :-

Yaar, i'm having some trouble configuring my lan card setting in linux for internet...i'm on Sify broadband..
n these are my settings from windows...

PC IP :10.15.29.80

Subnet Mask :255.255.255.0

Gateway :10.15.29.1

Primary DNS :202.144.44.6

Secondary DNS :202.122.118.4

Outgoing Mail Server : asmtp.sifybroadband.com

Outgoing Mail Server Port : Port 587

Incoming Mail Server : imap.sify.com

Incoming Mail Server Port : Port 110
now whr do i enter these details in network configuration...by default, it chooses dhcp, but i change it to static ip as i'm using one...then i enter the IP address, subnet mask, and gateway...but whr do i enter primary and secondary dns? Also, whr do i configure the ports for incoming and outgoing mail server??
Also, aftr entering the details, how do i ping the server? sorry, i'm new to using terminal commands...so cant make it to work..it always says, network unreachable...please tell me the exact commands to configure lan settings in the terminal...
thanks in advance.

My short answer follows :-

While this is pretty easy & straight forward you haven't told me which distro. you are using. You don't need to do any terminal commands, all this can be achieved on the GUI itself. I'm going to assume that you have the network Manager applet installed. You could just say gksudo network-admin to see if you have NM applet installed.
Couple of links about network manager .

NetworkManager - Wikipedia, the free encyclopedia
NetworkManager - Linux Networking made Easy

A screenie of NM to help you :-



If you have then then have do yourself a favor, take a nice cuppa tea and 5 mins. & you will be done. Use the network-manager applet either NM-GNOME or NM-KDE Go to the 4th tab which says DNS & enter your primary DNS & secondary DNS links there. You can enter upto 4 DNS entries IIRC. The point here it might not be intuitive after each entry, press the enter button on the kb & then click add to go on the next entry. I'm telling this from the DSL perspective, I did read you need to do something slightly different if you have a cable DOSIS modem, I haven't had access to cable modem so don't know how good/bad or accurate the instructions were.

As far as ping is concerned, you could either use the network-tools package which is in system > Network-Tools 2nd tab there is ping there, make no. of requests & it will tell you how good your connection is.

If you want to do it the old way if you have an older distribution then the nameserver/DNS server would be in /etc/network/resolv.conf if you are on a more recent distribution it most likely is in /etc/resolv.conf just need to add couple of entries saying

nameserver 61.1.96.69
nameserver 61.1.96.71

Similarly, if you want to ping from the CLI its

ping -c5 yahoo.com or whichever site you want to ping.

That's all there is to it.

That's all for now, see you guys another time ;)
 
  • Like
Reactions: 1 person
Ohh very nice guide will help few members here who are tempting to get linux but can't figure configuring their network ;:) Reps added :D
 
Status
Not open for further replies.