Click to See Complete Forum and Search --> : network problem on mandrake 8.0 ...


bdg1983
09-10-2001, 11:27 PM
Please help me !

I'm having trouble setting up network connectivity on my mandrake 8.0 box.
The box in question is a client in a NAT (network address translation)
network, which means it's given automatically an ip at boot by the server.
My server's ip is 192.168.0.1, while my linux box's is usually 192.168.0.3.
I've been fiddling around for 2-3 hours with the network settings to make it
work, to no avail....

At boot, and also after executing "dmesg" , the following message is shown:

eth0: Setting half-duplex based on auto-negociated partner ability 0000.


here is the output from the commands :

netstat -nr :

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt IFace
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 0


ifconfig -a :

eth0 : Link encap: Ethernet HWAddr 00:00:21:F7:10:FC
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:8125 errors:0 dropped:0 overuns:0 frame:0
TX packets:6035 errors:0 dropped:0 overuns:0 carrier:0
collisions:0 txqueuelen:100
RX Bytes: 2379515 (2.2Mb) TX Bytes: 276140 (2.6Mb)
Interrupt 11 Base address: 0xf000

lo : Link encap : Local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36 errors:0 dropped:0 overuns:0 frame:0
TX packets:36 errors:0 dropped:0 overuns:0 carrier:0
RX Bytes: 2520(2.4 kb) TX Bytes: 2520 (2.4 kb)


thanks,
jules

Taizong
09-10-2001, 11:31 PM
Just to test..

when you ifconfig, are you seeing an IP?

try typing:

route add default eth0

bdg1983
09-10-2001, 11:37 PM
I haven't tried your route command yet, but it seems there are no ip assigned to my computer. There's this utility in kde2 that tries to connect to the internet, but although it fails everytime, it shows up and down activity (0 to 2 kb max).

One really weird thing is that this install was through ftp !!

bdg1983
09-11-2001, 05:05 PM
The server works fine accessing the internet, the client accesses also the
internet fine when booting in w2k (just doesn't in linux).
btw I've checked out the file /etc/dhcpc/dhcpc-eth0.conf and it say its IP
is 192.168.0.3 , the gateway 192.168.0.1 (which is all good!)

What I can't understand is why, if I have an ip, i can't access the internet
?
I've tried the route command (route add gw 192.168.0.1 dev eth0) , it says
it 'can't find host'.

Someone please help i'm going nuts......

error27
09-12-2001, 08:16 AM
did you tell the computer that you were going to use a static ip address?

if so then it probably is not running dhcpcd (or whatever your dhcp client is) type: "ps aux | grep dhcp" to find out.

This is a fairly primitive way to do things but you can set your ip using:

/sbin/ifconfig eth0 inet 192.168.0.3

but try the dhcp thing first... and post again.

g'luck. :)

[ 12 September 2001: Message edited by: error27 ]

bdg1983
09-12-2001, 05:29 PM
I did the ps command, and saw two entries, I presume one for the dhcpcd server itself and the other for grep.
So the dhcpcd server is running, and previously stated, gives me an ip of 192.168.0.3. Now can someone explain to me why, if I have an ip, don't I have internet access ??
What else is there to do?

Taizong
09-12-2001, 05:37 PM
How is that network setup? I.E. cable modem, DSL, standard ethernet, etc. You have a proxy/firewall/router?

You try going into linuxconf just to double check all the settings?

Choozo
09-12-2001, 05:45 PM
Just a shot in the dark here ...... have you checked that the server you are 'going through' allows internet access for the IP you have been assigned?
This server probably acts as an firewall/router too, and can be set up to deny internet access for a certain range of IPs, or specific IPs.

Hope that helps? :)

bdg1983
09-12-2001, 05:59 PM
My network consists of my internet server, which as two network cards. One feeds to the cable modem, the other to the hub. This cpu is running w2kpro, and as dhcp server Sygate Home Network (www.sybergen.com)

My box is connected to the hub. My box is dual boot (w2kpro and mandrake). The internet works fine in w2kpro (the nic is set as dhcp, auto-get ip), I get ip 192.168.0.3.

Although Linux seems to be configured the same way, the internet doesn't work. I've checked if the dhcpcd client is running, it is. I checked the log dhcpcd, and it says it obtained ip 192.168.0.3, with a gateway of 192.168.0.1 (which is all correct).
In mandrake's "Connect to internet" graphical utility, it fails, but it shows up/down activity !

btw if anybody wants to chat right now on msn, my email is julessotheby@hotmail.com

bdg1983
09-12-2001, 06:00 PM
forgot to mention, I run blackice firewall on my net server (this really shouldnt be the problem)

bdg1983
09-12-2001, 08:43 PM
Are you stumped at this problem?