LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-27-2009, 06:33 AM   #1
Green-EyE
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 0
LAN and Internet Access Problem (Fedora 10)


Hi people
I want to update my Fedora 10 using YUM.I´m using dhcp configuration on my LAN but the notebook is not acess the internet also I´ve tried static IP configuration and still not access the internet.Well, it only connects to the LAN when I check the Network Manager option .I cannot reply ping from the gateway.Is not my LAN configuration problem because I teste the same cable with another desktop running Fedora 10 and worked fine. I´ve configured the "/etc/sysconfig/network-scripts/ifcfg-eth0" file manually still not access the internet.I found another file at "/etc/Network Manager/ifcfg-eth0" but NO SUCCESS AT ALL.

AT THIS POINT I DO NOT KNOW WHAT ELSE TO DO. PLEASE HELP ME


NOTE: I used to access the internet from other LAN so is not also my Network card Drive or Hardware problem I hope.

Last edited by Green-EyE; 10-27-2009 at 06:38 AM.
 
Old 10-27-2009, 08:13 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Well, not sure how Network manager might interfere (I turned mine off the moment I installed FC10) but you can try this to manually configure the eth0 interface.

As root, do:

Code:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 10.0.0.8 netmask 255.255.255.0 broadcast 10.254.255.255 up
/sbin/route del default
/sbin/route add default gw 10.0.0.2 eth0
where

- 10.0.0.8 is the IP you want to assign to the machine
- 10.254.255.255 is broadcast IP (i. e. if you choose to make your IP 192.168.0.1, broadcast would become 192.254.255.255)
- 10.0.0.2 is the IP address of your gateway / router (if you have one)

Note that the 10.0.0.2 line is optional, if you do not want that machine to have a route to the gateway / router, simply omit that line. This is necessary (at least in my setup here) so that my machine can have internet connectivity.

You can of course place the above lines (suitably edited for your situation) into

/etc/rc.local

so that they will get executed each time the system boots, ensuring that it always comes up with networking up and running.

Other than that, to get the system to surf the net, you just need to put your DNS servers into

/etc/resolv.conf

i. e.

/etc/resolv.conf:
Code:
options timeout:0
nameserver 169.125.255.103
nameserver 169.251.255.134
nameserver 169.71.17.235
nameserver 169.17.15.34
After you've done the above you should have at least some success, or at worst different or new error messages...

Last edited by rylan76; 03-19-2010 at 04:22 AM.
 
Old 11-04-2009, 05:05 AM   #3
Green-EyE
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Original Poster
Rep: Reputation: 0
thankx rylan76

I´ve followed your suggestions, and now I can "ping" to the my gateway (192.168.10.1), my DNS server (192.168.20.1)and outside my LAN, but I still can´t navegate thru da web.I have MySql ,PHP and Apache installed and I can go using the localhost (127.0.0.1).

Any Ideias?????
 
  


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
Problem with Internet Access in Fedora core 6 Gayathri.P Linux - Newbie 1 02-12-2008 03:09 AM
can't access internet, but lan is ok jcor Linux - Networking 2 11-09-2007 10:55 AM
No internet access, only LAN? GSG9Elite Linux - Networking 3 08-27-2007 07:20 PM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM
Internet access through Windows XP LAN fredrikg Linux - Networking 3 09-04-2003 07:06 PM

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

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