LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2006, 09:51 AM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Cannot connect internet in FC5


I've just bought a router to change my old modem. When I'm using XP, i can connect to internet but when using FC5, i cannot. There's no error in FC5 stating that cannot connect to internet. Dunno why. Is there a way to configure internet connection in FC5? Do i have to change my router settings?
 
Old 06-04-2006, 10:17 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
show us the output of

# /sbin/ifconfig

# cat /etc/resolv.conf
 
Old 06-04-2006, 11:39 AM   #3
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Output of ifconfig is:

Code:
eth0      Link encap:Ethernet  HWaddr 00:13:D3:AE:7C:87
                inet addr:192.168.1.3  Bcast:192.168.1.255                             Mask:255.255.255.0
                inet6 addr: fe80::213:d3ff:feae:7c87/64 Scope:Link
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:12 errors:0 dropped:0 overruns:0 frame:0
                TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:1441 (1.4 KiB)  TX bytes:4183 (4.0 KiB)
                Interrupt:17 Base address:0x4000

       
      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:2563 errors:0 dropped:0 overruns:0 frame:0
                TX packets:2563 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:3439920 (3.2 MiB)  TX bytes:3439920 (3.2 MiB)

Output of cat /etc/resolv.conf

Code:
; generated by /sbin/dhclient-script
        nameserver 192.168.1.1
        search localdomain
 
Old 06-05-2006, 01:32 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
jojo

tukar tu

resolv.conf

nameserver 202.188.0.132

save it and try browse internet
-------------------------------

if still cannot proceed this below command

# setup

go to network configuration

add ip 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
dns 202.188.0.132
save and proceed

# /etc/rc.d/init.d/network restart

and check browser again

ps if still cannot then u terjun sungai klang

Last edited by routers; 06-05-2006 at 01:39 AM.
 
Old 06-05-2006, 08:52 AM   #5
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Before u ask me to change the resolv.conf file, i try to surf the net and guess what, i can only surf to linuxquestions.org and i cannot surf to other page than linux questions. Really, really dunno why... Woohhooo!!! Long live linuxquestions!!!

Ok. First thing, i access the /etc/resolv.conf and change my nameserver to nameserver 202.188.0.132. But when i reboot and i access the /etc/resolv.conf, the nameserver change back to 192.168.1.1. Dunno why and i cannot access internet.

So, next i type #setup and go to network configuration.
Then i put like u ask to which is:

add ip 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
dns 202.188.0.132


Then i reboot and wooohoooo!!! I can connect to internet. Thanks a lot router. U helped me. Tak payah terjun to sungai klang eh...

Tapi, i just want to know, what is the problem? Why can't i connect to internet? Cause before this i was at shah alam, and everything works fine. I install FC5 and straight away i can surf the net. I didn't change any configuration or anything. But when in KL, the problem arise?

Maybe cause i just bought a new router...? Just want to know, why u ask me to change the dns to 202.188.0.132?

Is that a different server? Sorry, i dont know anything about networking...

Last edited by jojojo; 06-05-2006 at 08:55 AM.
 
Old 06-05-2006, 09:15 AM   #6
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
hahah lucky u no need terjun , ok here is the story and explanation

first one is why ur address keep changing after reboot the answer is u are using dhcp ( dynamic host configuration protocol )
which is auto assign IP for your host machine by gateway


second , once u touch the ( # setup > netconfig ) mean ur gateway are no longer allowed to assign IP for your host machine , this call static IP assign by U


ok then about the number 202.188.0.132 let me show u what is this

-----------------------------------
[rou@nc ~]$ nslookup 202.188.0.132
Server: 202.188.0.132
Address: 202.188.0.132#53

Non-authoritative answer:
132.0.188.202.in-addr.arpa name = cns1.tm.net.my.
----------------------------------

this is tmnet name server and before that what u have is 192.168.1.1

which is your gateway to act as ur name server ( sometime tipu one )

---
ok la later i pulak terjun sungai klang
 
Old 06-05-2006, 09:29 AM   #7
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Oh ok. Thanks mate. So right now i am connected to the TMNET server to connect to the internet lah...

If i want to connect to other server, i just change the DNS ip right..? How can I know other server IP address that provide connection to internet? Maybe other local server like JARING or anything...eheheh... Is my question right...

Last edited by jojojo; 06-05-2006 at 09:34 AM.
 
Old 06-05-2006, 09:35 AM   #8
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
no need to change anything la johan, but if u go to other place or other ppl network then go back to # setup set it to suite that network environment
mostly change ip and gateway only
 
Old 06-05-2006, 09:40 AM   #9
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Ok thanks routers. Later, if got any problem, i just contact u..ehehe.. You banyak terer.

Malaysia Boleh...
 
Old 06-05-2006, 09:41 AM   #10
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
hahaha ok , can can , malaysia can
 
Old 06-05-2006, 09:51 AM   #11
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Anyway, what's your email address so that i can contact personally, if you dont mind...
 
Old 06-05-2006, 09:56 AM   #12
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
check your yahoo mail
 
Old 06-05-2006, 10:10 AM   #13
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Ok. Neway, just to let u know, i seldom use my yahoo mail account. I always use my gmail. Chek ur email. I've just send you my gmail address.
 
  


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
Unable to connect using browser in FC5 deep_jyotsingh Linux - Software 6 05-20-2006 02:02 PM
FC5 no wireless internet Mikesoft Fedora 1 04-29-2006 05:40 PM
can't connect to internet in fc5 taylorchase Linux - Networking 4 04-10-2006 07:45 PM
Cannot connect to FC5 box on several network services ethics Fedora 2 04-02-2006 03:25 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:16 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