LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2013, 10:43 AM   #1
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Rep: Reputation: Disabled
How to configure the Airtel Broadband connection in Redhat linux 5


Dear All,
I am using airtel Broadband connection at my home. I can able to browse the internet via windows but the thing is i am able to connect the internet via linux redhat 5. after connecting the LAN cable i am getting the IP address with that IP Address i am able ping with my Windows system which is connected in the same network and i am able to access my linux ftp files from windows PC. I think the we need make the changes in the below configuration file(/etc/ppp/resolv.conf) can some one help me to do the configuration on Linux.
 
Old 03-10-2013, 12:24 PM   #2
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
first of all how you connected the modem/router, is it connected directly to Linux box or via Switch/hub in network
can you ping the default gateway ...?
you need to provide more details about how you are connected!

ifconfig -a
 
Old 03-11-2013, 03:46 AM   #3
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
I connected with the Wireless ADSL Modem via LAN cable. I can able to ping with the Default gateway, the thing is i am not able to connected with the internet.
 
Old 03-11-2013, 01:00 PM   #4
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
edit the file
vi /etc/resolv.conf as root in that file add lines

nameserver XX.XX.XX.XX (ip address of dns server provided by isp)
nameserver XX.XX.XX.XX (alternate dns by isp)

you did not provide the output of ifconfig -a and netstat -rn
without giving proper info we can not help!
 
Old 03-15-2013, 12:31 PM   #5
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
Dear Zafar,
Please find the required details and help me out in this to resolve the issue.


[root@Server ~]# netstat -rn

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

vi /etc/resolv.conf

nameserver 103.8.46.5
nameserver 121.242.190.210

[root@Server ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1B:FC3:96:61
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fed3:9661/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1796 (1.7 KiB) TX bytes:11526 (11.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1912 errors:0 dropped:0 overruns:0 frame:0
TX packets:1912 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2851444 (2.7 MiB) TX bytes:2851444 (2.7 MiB)

peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2386 (2.3 KiB) TX bytes:20554 (20.0 KiB)
Interrupt:22 Base address:0xc00

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth2 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth3 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11526 (11.2 KiB) TX bytes:1796 (1.7 KiB)

vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9944 (9.7 KiB) TX bytes:0 (0.0 b)
 
Old 03-15-2013, 01:20 PM   #6
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
can you ping those nameservers in resolv.conf file
access the router/modem config page and verify the DNS servers.
or add nameserver 192.168.1.1 to your resolv.conf file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure bsnl broadband connection in fedora 7 bhavanipraveen Linux - Networking 4 04-28-2011 05:03 AM
Unable to configure broadband connection. probal31 Linux - Newbie 1 03-06-2010 02:15 PM
Configure Airtel GPRS internet in linux via cable sandeeprhce5 Linux - Server 0 01-03-2009 01:17 AM
i have pppd connection problem with nokia 3220 i use airtel gprs to connect internet muralichandran Linux - Newbie 1 05-28-2008 10:54 AM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration