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?
|
show us the output of
# /sbin/ifconfig # cat /etc/resolv.conf |
Output of ifconfig is:
Code:
eth0 Link encap:Ethernet HWaddr 00:13:D3:AE:7C:87 Output of cat /etc/resolv.conf Code:
; generated by /sbin/dhclient-script |
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 |
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...:D Woohhooo!!! Long live linuxquestions!!!:D
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...:D 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...:D |
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 :) |
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...:D |
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 :) |
Ok thanks routers. Later, if got any problem, i just contact u..ehehe.. You banyak terer.
Malaysia Boleh...:D |
hahaha ok , can can , malaysia can :)
|
Anyway, what's your email address so that i can contact personally, if you dont mind...:D
|
check your yahoo mail :)
|
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.
|
All times are GMT -5. The time now is 02:17 PM. |