Click to See Complete Forum and Search --> : Argh! Network is unreachable - any ideas?


cab
12-03-2000, 01:21 PM
I'm very new to Linux. Have used it but never got the install to run on my home machine. This place has been awesome. I'm hoping that someone out there can give me some ideas based on the below.

I now have Redhat 7 running on my home box. It was no small feat, but i'm learning lots
as i go. Everything is up and running but I can't connect to the net via mediaone. I get the famous
network is unreachable

I think, it's just a matter of getting the gateway setup right. I'm hoping you can give me some pointers. I'll type in a bunch
of info below hoping that gives you ideas. fwiw, the connection path is homepc (cabpc)to linksys router to cable modem to the net.

netstat -r
destination 127.0.0.1
gateway * (should this be there? I expected a number)
genmask 255.0.0.0
flags U
mss 0
Window 0
irtt 0
iface lo (should this be eth0 or something?)

route -add default eth0
siocaddrt: operation not permitted

ifconfig -a (formating is off in below text, typed in by hand)
eth0
link encap: Ethernet hwaddr 00:60:bla,bla
broadcast notrailiers running mtu: 1500 Metric:1
rx packets:0 errors:0 dropped:0 overruns:0 frame:0
tx packest:0 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuelen:100
base address: 0xd800

lo
link encap: local loopback
inet addr: 127.0.0.1 mask 255.0.0.0
up loopback running mtu:3924 metric:1
standard packet info as above.

Network card - 3c509-tx

in Xwindows:
netconf:
Basic host info
hostname cabpc.localdomain
adapter 1
enabled is selected
config mode dhcp
primary name cabpc
ip address 192.168.1.102 (*i've tried putting an ip in, and leaving it blank for dhcp to fill in. above ip is the dhcp assigned ip when running windows)
netmask 255.255.255.0
net device eth0
kernel module 3c59x
Io port blank. (have info from windows if i should put it in)
irq blank (have info from windows if i should put it in)

Nameserver:
DNS usage not selected
default domain ne.mediaone.net
name server 1 mediaone's ns1
name server 2 mediaone's ns 2
name server 3 mediaone's ns 3

Gateways:
Default gateway: 192.168.1.1 (gateway info of my windows sessions. above number is the valid gateway of the linksys router.)
Routing is not enabled
all other routes / gateway info here is left blank

Host name search path
hosts,dns

Control Panel
Network:
Names:
cabpc.localdomain
domain:
mediaone.net
search for hostnames...
blank
nameservers:
mediaone nameservers listed in order

Hosts:
127.0.0.1 cabpc.localdomain local host
192.168.1.101 cablaptop (still running windows)
192.168.1.102 cabpc (home pc running linux)

Interfaces:
lo 127.0.0.1 none yes active
ppo none no inactive
eth0 192.168.1.102 dhcp yes active *
(*first time that has said active in 3 days!)

Routing
Network packet forwarding is not checked
default gateway 192.168.1.1
default gateway device eth0

I can ping myself / the loopback connector. All other pings return the network is unreachable error.

Any ideas where I'm going wrong? I think, I'm oh sooooo close. It took some time to get this far.


Many thanks in advance

Craig

andrzej
12-04-2000, 07:59 AM
What does it say if you (as root!) type:
'ifup eth0'

Andrzej

cab
12-04-2000, 08:37 PM
In response to your ?

ifup eth0
determinig IP information for eth0 ... Operation failed.
failed

thanks for your help

cab
12-04-2000, 09:27 PM
I think I got it!!!!! I'm crossing my eyes, fingers, legs, whatever...

I was reading another post on the board here and someone said that they solved a lot of their problems by making sure the pc bios did not have 'plug and play' enabled. I figured, what the heck, i've tried everything else. My bios did have this enabled by default. I turned it off and rebooted. Bang! It all works!!!! Kudzu picked up my nic and offered to auto configure it. It even picked up my sound blaster live card which had not worked yet. That was later on my to-do list after i got networking to work.

I'm typing this from my linux config thru the router, to the cable modem, and out to the net.!!

WooHoo!

(now lets just hope it stays this way)

Thanks for the help. It does pay to search the other discussions!