Fedora 6 Network Problems

Associate
Joined
22 Oct 2006
Posts
889
Location
Scotland
Hi,

Installed core 6 works real sweet apart from connecting to the network and web which does not work.

I have an adsl router (netgear) with four other machines connected through it.

I have set up manually.

Address: 192.168.0.XX
Subnet Mask: 255.255.255.0
Gateway: 192.168.0.XX (this being the router setting)

Tried to ping the router but cannot be reached.

Any help appreciated.
 
Run it from a terminal.

alex@nop:~$ ifconfig

And paste the output here.
 
Setup looks OK, assuming that is how your LAN is set up, unreachable straight away usually means a configuration problem though.

Any firewall running, can you ping other machines on the network?

Any other machines listed when you type arp at a terminal, does the output from the ifconfig or route commands tally with your setup?
 
Una said:
Run it from a terminal.

alex@nop:~$ ifconfig

And paste the output here.

Open up terminal type in if config like this:

[rasc@localhost:~] $ ifconfig
bash: command not found.

I am a total newb at this, obvious I know :+)
 
K its obviously not added to your $PATH in fedora.

Try sudo ifconfig or /sbin/ifconfig instead.
 
in a terminal, type:

su followed by the root password
then /sbin/ifconfig

.. and see if there is an entry for "eth0"? You should see something like this:
Code:
[root@mailbkp /]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:04:38:D4:51
          inet addr:10.0.0.9  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::250:4ff:fe38:d451/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5957832 errors:1207 dropped:0 overruns:0 frame:1283
          TX packets:7281734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2402488444 (2.2 GiB)  TX bytes:3137698395 (2.9 GiB)
          Interrupt:5 Base address:0xe400

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

:)
 
riddlermarc said:
in a terminal, type:

su followed by the root password
then /sbin/ifconfig

.. and see if there is an entry for "eth0"? You should see something like this:
Code:
[root@mailbkp /]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:04:38:D4:51
          inet addr:10.0.0.9  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::250:4ff:fe38:d451/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5957832 errors:1207 dropped:0 overruns:0 frame:1283
          TX packets:7281734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2402488444 (2.2 GiB)  TX bytes:3137698395 (2.9 GiB)
          Interrupt:5 Base address:0xe400

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

:)

Okay got that, cannot paste it up as I have no way doing so but it basicaly has the same as you have posted except I have an eth0, eth1 and lo.
 
at the prompt do cat /etc/resolv.conf

and tell us what that returns.

have you set up the right network device with a static address, if you have eth0 and eth1 then you got 2 network connections. Have you not got DHCP off the router?
 
Ive got windows server running, and I can see that, and browse all the server directories, so the network is obviously running. But I just cannot get to the internet.
 
where you did /sbin/ifconfig at the prompt do

cat /etc/resolv.conf

and tell us what that returns.

you should your dns server in there, if there not then add them in, either through the GUI using the network config tool, or on the commad line by using su to get to root then editing the file using either nano, joe, gedit or vi.
 
what output does (as root) /sbin/route give?

You may have to add a default gateway using the route command although we wont know until we check :)
 
wizard91 said:
Moving on I have deactivated eth1 and pinged 192.168.0.1 which gives results but still no connection to the net??

thought he could ping his router^
can you ping :-

83.223.98.170
 
deano said:
thought he could ping his router^
can you ping :-

83.223.98.170

Ping as requested and got:

"Network is unreachable"

Which is strange because I can see all the other machines on the network and browse the server drives.
 
Last edited:
Back
Top Bottom