View Full Version : Fedora 8. Connected to my wired network but can't get onto the internet
pnmack79
2007-11-25, 04:39 AM CST
Hello
I'm brand new to Linux and Fedora, I am starting from an XP background.
I installed Fedora 8 and can so far access my Linksys ADSL2MUE Modem, BEFSX41 Gateway/Router & XP pc, but I can't access the internet using Firefox.
I have looked at the system/administration/network... tools but can't fix the problem, partly down to a not very thorough understanding of network settings.
I know I should be using DHCP and that my modem is connected.
Would anyone be willing and able to help walk me through?
Thanks
Anniedog
2007-11-25, 05:16 AM CST
Is this just a firefox issue ? Can you access the internet to update?
pnmack79
2007-11-25, 06:33 AM CST
Thanks Anniedog,
No I can't receive software updates or use the messenger program either so it's internet in general.
Anniedog
2007-11-25, 06:50 AM CST
can you post the contents of /etc/sysconfig/networking/devices/ifcfg-eth0 you should be able to this from the desktop using text editor and copy and paste.
Anniedog
2007-11-25, 07:04 AM CST
In addition you should check: I do not know what firewall your router / modem set up has and you may need to specifically enable permissions for this box. It would appear that you are running a router and a seperate modem. It is quite possible that the problem is there. Nine times out of ten for me it is firewall permissions that block.
Anniedog
2007-11-25, 07:41 AM CST
I have to log off for a while and have not received any more posts from you. It is important that f8 knows where to look for the internet so I addition to checking above. Make sure that the output using the terminal as root:
$ su -
password
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
under default you will see 192.168.0.1 that is the address of my netgear and that is also set in primary DNS in system>administration>network DNS. This tells my f8 box to use this address as the route to the internet. Your set up may be different as my netgear is all in one, your modem maybe on a different address and if so you may need to set the default gateway to some other address. see the man pages for route and setting default.
will be back in an hour or two.
pnmack79
2007-11-25, 08:00 AM CST
ifcfg_eth0 is as follows.
# VIA Technologies, Inc. VT6102 [Rhine-II]
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=yes
PEERDNS=yes
Yes my Modem is the ADSLMUE2 and is the DHCP master at 192.168.1.1.
The router/gateway BEFSX41 is at 192.168.1.2 and functions as a firewall.
I also have this XP pc at 192.168.1.5
and a printer 192.168.1.4.
Fedora machine is getting 192.168.1.3 at the moment.
I have to admit that I don't really understand firewalls well. However i have disabled the network firewall and still not been able to connect to the web. Could it be the builtin software firewall on Fedora? edit, No both firewalls disabled still no internet connection.
Anniedog
2007-11-25, 10:22 AM CST
Your eth0 matches mine.
Try setting your dhcp master to 192.168.1.2. and let me know the result.
pnmack79
2007-11-25, 11:54 AM CST
Great you've fixed it : ). I'm not sure i've got my head round how or why but thanks...
I changed the Modem to 192.168.1.2, set the router address to 192.168.1.10 and now I can connect to the internet.
Oh i may have had the router and the Fedora box set to 192.168.1.3.
Thanks for your help Anniedog.
pnmack79
2007-11-25, 11:59 AM CST
Oh wait... i might have spoken to soon. I definitely just did a search for Hello on google...
but it's gone again. : (
skillet
2007-11-26, 12:19 AM CST
on the windows xp machine... open a command prompt (start > run > cmd) then in the windows type ipconfig /all Near the bottom it should list DNS Servers. Now look at /etc/resolv.conf. The same IP addresses need to be there.
pnmack79
2007-11-26, 02:06 AM CST
Both point to 192.168.1.2.
When I bring up the Connection Information box in Fedora there is a line which says Broadcast Address 192.168.1.255, what does this mean? I know that 255 is outside the range of IP addresses that I have set up for my modem acting as DHCP server.
skillet
2007-11-26, 02:27 AM CST
a broadcast address is a special addresses used by some services to talk to all hosts on your network segment
Anniedog
2007-11-26, 02:55 AM CST
Can you go applications>system tools>terminal enter su - and your root password type in route and post back the result please. you can also test to see whether the connction is being made to other boxes etc using the ping (space)192.168.1.2 for example. Use ctrl +C to stop the ping command. What I was trying to do was see where the problem was. You will have two problems one the local network and other the internet.
skillet
2007-11-26, 03:09 AM CST
He can already access his LAN. He said that in his first post:
I installed Fedora 8 and can so far access my Linksys ADSL2MUE Modem, BEFSX41 Gateway/Router & XP pc, but I can't access the internet using Firefox.
the problem is accessing the internet... is that correct pnmack79?
this is what I would do. ping the default gw and make sure you have connectivity to that:
ping 192.168.1.2
Then try to ping outside your network:
ping google.com
if that doesnt work I would look at the DNS settings of the router/gw and then add that to /etc/resolv.conf
Anniedog
2007-11-26, 03:37 AM CST
Yes I understand that the network was visible and was not the problem. I was trying to take things slowly I understand that we have a new user. But you are taking him in the right direction so I will bow out.I will not be available for a while any way. You really need the results of ping and find out where f8 thinks the gateway is. Problem more likely at router/modem end I believe.
pnmack79
2007-11-26, 05:07 AM CST
I pinged my modem and router fine.
typing route from terminal didn't work but Skillet told me to type netstat -r and this gave a Destination ip of 192.168.1.0 which is the same as the routing table info given by my modem, which works for this PC.
pnmack79
2007-11-26, 05:23 AM CST
i'm away now till 17:00 GMT tomorrow
I think when I come back it will probably be necessary to start from the top because I think I've been tinkering by myself as well as following peoples suggestions... too many variables.
Summary of situation at the moment however:
Linksys modem ADSLMUE2:
ip = 192.168.1.2
DHCP server = yes
connection to the internet established.
Linksys BEFSX41 gateway/router:
static ip = 192.168.1.10
dynamic routing = gateway
XP pc with dynamic ip, connected through Linksys modem = working fine.
Fedora pc (incidentally same motherboard and via chipset & via ethernet device as XP machine).
Can ping Modem, Router, all network clients and google.com. !!! from terminal.
Firefox has shown me the Google search page once, I did a search for 'Hello' and for 'Supercollider' but was unable to navigate away from the page. Then after a short time Firefox was unable to connect again. I can't remember if this was after rebooting or if I changed any settings. But the plus side is that I definitely got through to google and got search results for a brief time.
eth0 settings are:
/system/administration/network
(only one profile) 'eth0' = selected
status = active
device = eth0
nickname = eth0
type = Ethernet
Devices tab/Edit/General tab
Activate device on startup = yes
Allow all users to en/disable = yes
IPv6 = yes
Automatically obtain ip using [dhcp]
Hostname (optional): blank
Automatically obtain DNS info from provider = selected.
Set MTU to = unchecked
Devices tab/Edit/Route tab
Just changed these myself to
Destination network = 192.168.1.0
Subnet = 255.255.255.0
Gateway = 192.168.1.10
Devices tab/Edit/Hardware tab
eth0 (via tech. VT6102 rhine II)
alias = unchecked
bind to MAC = unchecked
system/administration/network/DNS tab
Host = blank
Primary DNS = 192.168.1.2
Secondary DNS = blank
Tertiary = blank
DNS search path = blank
system/administration/network/Hosts tab
all blank
polhen
2007-11-26, 07:27 PM CST
hi !
i have installed fedora 7 on one of my computers...but i cant configure network setup to connect to network and internet...i am connected on the other m/c thru modem and router...
dhcp 192.168.1.1
mask 255.255.255.0
getaway 192.168.1.1
i am recieving an error massage "link not present...check the cables?"
appreciate any help..
regards
pol
pnmack79
2007-11-27, 08:55 AM CST
I'm back if anyone's about wanting to help : )
polhen
2007-11-27, 06:01 PM CST
hi !
i am still waiting for somebody to help me resolve the problem with connecting to network and internet...
i have done some working on it and it looks like fedora does not recognize my router...
what steps should i take... to rectify this problem...?
thanks for attention....
regards
pol
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.