LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-20-2006, 10:50 PM   #1
badal1982
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
HWTO connect to internet with my Linux Enterprize Pc using Broadband connection


Hi,

a)I've installed Linux Enterprize(ws) on my pc.

b)I've configured /etc/sysconfig/network-scripts/ifcfg- eth2.

c)I've also configured /etc/sysconfig/networking/devices/ifcfg-eth2.route.

d)I've configured /etc/resolve.conf.

e)I can ping my gateway.

But It cann't open any URL.
 
Old 12-21-2006, 12:14 AM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
what about default gateway?
is it set to the ip of the remote system on the other side of the broadband modem?
[ or to your router's ip ]
is the default network interface really eth2? it is usually eth0
your isp is most likely using dhcp, your nic config has to invoke dhcp to get an ip number.
[ unless you are paying extra to get a static ip from them. ]


I was actually pleasantly suprised when I read your question, most people seem to think they have to configure the modem itself not the network card, so you are leaps and bounds ahead of the game
 
Old 12-21-2006, 06:23 PM   #3
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Check your name resolution with the dig command. You should get a return like below:

Code:
[root@john-fc6 rules.d]# dig linuxquestions.org

; <<>> DiG 9.3.3rc3 <<>> linuxquestions.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7140
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;linuxquestions.org.            IN      A

;; ANSWER SECTION:
linuxquestions.org.     14400   IN      A       64.179.4.146

;; AUTHORITY SECTION:
linuxquestions.org.     6744    IN      NS      ns2.linuxquestions.org.
linuxquestions.org.     6744    IN      NS      ns1.linuxquestions.net.
linuxquestions.org.     6744    IN      NS      ns1.linuxquestions.org.

;; ADDITIONAL SECTION:
ns1.linuxquestions.net. 132965  IN      A       64.179.4.150
ns1.linuxquestions.org. 11870   IN      A       207.44.183.31
ns2.linuxquestions.org. 11870   IN      A       67.15.187.221

;; Query time: 60 msec
;; SERVER: 172.16.0.105#53(172.16.0.105)
;; WHEN: Thu Dec 21 19:19:48 2006
;; MSG SIZE  rcvd: 172

[root@john-fc6 rules.d]#
The part that you are looking for is on line 4 where it says NOERROR. If you get NXDOMAIN then either you are not resolving or not getting past your gateway. To check if you are getting past the gateway try pinging one of the public address above associated with ns?.linuxquestions.org.

hth
 
Old 12-21-2006, 08:12 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
A broadband modem may need to be provisioned before you can use it. If it is connected to a new device ( with a new MAC address ) the process needs to be repeated. Usually this can by done by pointing your browser to your modem, or the url of your ISP.

Is this a cable modem or a dsl modem. Being that you didn't mention ppoe, I assume it's a cable modem.

You stated the items you configured. You might want to post the contents of /etc/resolv.conf and the route command so we can verify that your configurations were correct. Also the output of ifconfig would be helpful. The "eth2" item begs the question on what eth0 and eth1 are used for.
 
  


Reply



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
i'm not able to connect broadband internet at my fedora core 3 system vishwarup Linux - Networking 2 09-04-2006 11:17 PM
How to connect to Broadband internet on USB modem in slack 10.2 dark* Slackware 4 01-08-2006 09:30 AM
Broadband Internet connection in Xandros rayraven Linux - Networking 1 11-01-2005 10:36 AM
Configuring network to connect internet using broadband senab Linux - Newbie 3 09-13-2004 04:21 AM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:28 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
Open Source Consulting | Domain Registration