On Thursday 17 February 2005 14:36, Michael Hahn wrote:
> From: "Derek Jennings" <[EMAIL PROTECTED]>
>
> > Can you try choosing a static address just to eliminate any issue with
> > the DHCP server?  Pick a unique address on the same subnet as the router.
>
> There
>
> > should not be any need to alter your router configuration. It will not
>
> care
>
> > if you use a static address.
> > With a static address can you 'ping' the router?
> > (ping xxx.xxx.xxx.xxx  where xxx.xxx.xxx.xxx is the IP address of the
>
> router.
>
> > Ctl C will stop the pings)
>
> Ok, setup the static IP address, tried to ping the router, and got this
> message:
> connect: Network is unreachable

After setting the static address did ifconfig show the new address?
What address did you use? What is the routers IP address?
Only the last 3 digits of the address should be different.

Does ifconfig show the connection status as 'UP' ?
If not does 'ifup eth1' make a difference?
Do the little lights on the ethernet socket light up?
(There is usually a light on each side of the socket, one indicates the cable 
is plugged in OK, and the other indicates the speed of the link. There will 
be corresponding lights on your router, either on the socket or its front 
panel.)

Next edit the file /etc/sysconfig/network-scripts/ifcfg-eth1 ( or ifcfg-eth0) 
and ensure it contains the lines
MII_NOT_SUPPORTED=yes
ONBOOT=yes

(That file can only be edited by root user. To become root user hit
Alt+F2 and enter 'kdesu konqueror' in the box. That will open up a copy of 
konqueror file manager as root user.)

Finally take a look at the file /etc/sysconfig/network  what is in it?
It should contain the lines
NETWORKING=yes
GATEWAY=xxx.xxx.xxx.xxx   (your routers IP address)
GATEWAYDEV=eth1         (assuming eth1 is connected to the router)
then 'service network restart' to apply the changes.

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to