LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FC3 installation - Network/internet problems (https://www.linuxquestions.org/questions/linux-networking-3/fc3-installation-network-internet-problems-257709/)

BlueAxon 11-21-2004 05:09 PM

FC3 installation - Network/internet problems
 
Hi..

I got FC3 to installl today.. everything went fine.. but my networking is not working.. first I tried to use static IP address with DNS servers supplied by BrightHouse (cable provider).. I used that setup before and I know it is working.. however, doing the same configuaration on FC3 does not do any goos.. I am not gettigng to any pages... sometimes I see that FireFox is conecting to the website and it will fail 99% of the time once in a while after 5 min wait I can get to the site but no graphics...

well I switched to DHCP.. DHCP is running on my Linksys 4 port router...(not wireless) again my WinXp box works just fine abut my second workstation does not even allow me to activate eth0 since it can;t get IP address..

any suggestions? I really have a basic setup and it is very frustrating not to be able to setup networking in few seconds...

my ifcfg-eth0 is as follows:

DEVICE=eth0
BOOTPROTO=DHCP
ONBOOT=yes
DHCP_Hostname = Axon
USERCTL=no
PEERDNS=yes
IPV6INT=no
IPADDR=192.168.1.101
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
HWADDR=00:01:02:33:00:d5

ifconfig
eth0:
link encap: Ethernet HWAddr 00:01:02:33:005
intet6 addr : fe80::201:2ff:fe33:d5/64 scope:link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39 errors:0 dropped: 0 overruns:937 frame:0
TX packets: 21 errors: 1 dropped:0 overruns:0 carrier :0
collisions:0 txqueuelen: 1000
RX bytes: 25490 TX bytes: 5850
interrupt: 10 base address: 0xd000

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: 5439 erors: 0 droped:0 overruns:0 frame:
TX Packets: 5439 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes 4710042 TX bytes: 4710042

IPtables command - shows policy accept (0 packets, 0 bytes) for INPUR/FORWARD/OUTPUT

basically there is nothing besides columns titles

I need some help..I've already installed FC3 3 times but to no avail

I would appreciate any help

Thanks

pingswept 11-21-2004 06:17 PM

Try assigning an IP manually as root with:

/sbin/ifconfig eth0 192.168.1.100

Then check to see if it worked with ifconfig. If it looks like it worked, try pinging your gateway with:

ping 192.168.1.1

Good luck . . .

BlueAxon 11-21-2004 08:35 PM

thank you for your help..

well I am getting host unreachable when pinging gateway after assigning ip address via ifconfig.. but I also tried to change it to the IP address of the existing WinXP box.. and I got error on Win box that there is conflict in IP address on the network...so there is some hope.. still I have no idea what is going on..

any other suggestions?

thank you


PS it is a fresh install ..and simple network...2 pcs and Linksys router

BlueAxon 11-22-2004 06:25 AM

bump

gani 11-22-2004 10:23 AM

Post your "route -n" output.

In your ifcfg-eth0 try to change BOOTPROTO = static.

Just try this again:

# ifconfig eth0 inet 192.168.1.101 netmask 255.255.255.0

This should give eth0 this ipv4 address.

Then:

# route add default gw 192.168.1.1

BlueAxon 11-22-2004 11:25 AM

Quote:

Originally posted by gani
Post your "route -n" output.

In your ifcfg-eth0 try to change BOOTPROTO = static.

Just try this again:

# ifconfig eth0 inet 192.168.1.101 netmask 255.255.255.0

This should give eth0 this ipv4 address.

Then:

# route add default gw 192.168.1.1

wgen I do route add - I get a message :
SIOCADDR: file exists

my route -n so far has"
Dest>Gateway>Genmask
192.168.1.0>0.0.0.0.>255.255.255.0
169.254.0.0>0.0.0.>255.255.0.0
0.0.0.0>192.168.1.1>0.0.0.0

I do not know what 169.254.0.0 is .. also 192.168.1.0.. ?

thank you

gani 11-22-2004 05:33 PM

lo is not in your routing table.

Quote:

wgen I do route add - I get a message :
SIOCADDR: file exists
Because it is already defined in your ifcfg-eth0.

The only problem that prevented you possibly is your loopback interface "lo" is not present in your routing table.

Did ifconfig eth0 inet has already applied the ipv4 address to eth0?

Please post "ifconfig -a" output at this time.

We can go along with that strange ip (169.254.0.0) later.

scowles 11-22-2004 07:32 PM

Quote:

Originally posted by gani
lo is not in your routing table.
For some reason, FC3 is not adding the 127.0.0.0/8 network route. Why? I don't know, but the "lo" interface is properly defined. So everything should still work fine. At least I'm not seeing any problems.
Quote:

Originally posted by gani
We can go along with that strange ip (169.254.0.0) later.
The 169.254... is the Zero Config stuff. This route can be disabled by adding "NOZEROCONF=Yes" to /etc/sysconfig/network
Quote:

Originally posted by BlueAxon
I do not know what 169.254.0.0 is .. also 192.168.1.0.. ?
The 192.168.1.0 is the network route for eth0. This route is needed and corresponds to the IP address/netmask specifed in your other post.
Quote:

Originally posted by BlueAxon
DEVICE=eth0
BOOTPROTO=DHCP
ONBOOT=yes
DHCP_Hostname = Axon
USERCTL=no
PEERDNS=yes
IPV6INT=no
IPADDR=192.168.1.101
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
HWADDR=00:01:02:33:00:d5

1) DHCP_Hostname - assignment of variables cannot have spaces between the = sign
2) I don't know if it matters, but I do not see the "TYPE=Ethernet" variable in your config file.

BTW: If you want to disable IPv6 (I do), add the following to /etc/modprobe.conf
Code:

alias net-pf-10 off

BlueAxon 11-22-2004 08:11 PM

ok.. here is my info from ifconfig -a
I just skipped eth0

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: 8180 erors: 0 droped:0 overruns:0 frame:
TX Packets: 8180 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes 119118 TX bytes: 23657

sit0
Link encap IPv6-in-IPv4
NOARP MTU:1480 Metric: 1
RX Pockets:0 errors:0 dropped:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes: 0 TX bytes:0

BlueAxon 11-22-2004 08:17 PM

Quote:

Originally posted by scowles
For some reason, FC3 is not adding the 127.0.0.0/8 network route. Why? I don't know, but the "lo" interface is properly defined. So everything should still work fine. At least I'm not seeing any problems.The 169.254... is the Zero Config stuff. This route can be disabled by adding "NOZEROCONF=Yes" to /etc/sysconfig/network
The 192.168.1.0 is the network route for eth0. This route is needed and corresponds to the IP address/netmask specifed in your other post.
1) DHCP_Hostname - assignment of variables cannot have spaces between the = sign
2) I don't know if it matters, but I do not see the "TYPE=Ethernet" variable in your config file.

BTW: If you want to disable IPv6 (I do), add the following to /etc/modprobe.conf
Code:

alias net-pf-10 off

I did changed the IP to static so DHCP is gone

my ifcfg-eth0 has only few lines right now:
DEVICE=eth0
ONBOOT=yes
BOOTPRO=static
IPADDR=192.168.1.102
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

Keith106 11-23-2004 12:28 AM

I have the same or similar problem at:

http://www.linuxquestions.org/questi...16#post1309116

BlueAxon 11-23-2004 09:38 AM

and we both use Linksys... but I also tried to plugin my FC box directly to cable (no Linksys) and use DHCP and got the same result.. I run into at least 8 users with the same problem... I hope someone got a solution :confused:

BlueAxon 11-24-2004 09:52 AM

having problems with FC3 networking.. I put the CD from MEPIS and got networking running in no time.. why so much problems with FC? I even got multiple monitors running on it without any effort

gani 11-24-2004 09:15 PM

I have already read many good comments about MEPIS and most definitely I will try this one in the near future.

When I run Slackware before things gets easier and all the defaults just worked as I expected. Even with OpenBSD I'm running in to many troubles.

gani 11-24-2004 09:20 PM

Quote:

Originally posted by gani
Even with OpenBSD I'm running in to many troubles.
Sorry. I'm not running into many troubles with OpenBSD. Its firewall is great and a secured OS!


All times are GMT -5. The time now is 01:15 PM.