Jump to content
Sign in to follow this  
Guest codoblao

Being Frustated on network Mandrake PC

Recommended Posts

Guest codoblao

I tried to ping MDK IP address itself (192.168.0.150 and localhost 127.0.0.1) and found this result :

'ping -c 5 -s sb 192.168.0.150 2>&1

ping 192.168.0.150 (192.168.0.120) 56(84) bytes of data

... 192.168.0.150 ping statistic

5 packet transmitted, 0 received, 100% packet loss, time 3999 ms'

 

does it mean there is something error with the IP configuration ?? because if i compare the ping result from windows machine i will found 0% packet loss if the IP address were correct.

 

I also tried to ping win98 computer in my LAN and i got this result :

'Destination host unreachable'

What should i do with my MDK IP configuration ??? I'm very newb with this OS. Thx :o

Share this post


Link to post
Share on other sites

That means that your networking is not configured correctly. Is localhost (127.0.0.1) still have error?

Try going into Mandrake Control Center and reconfigure networking.

Share this post


Link to post
Share on other sites
Guest codoblao

It's been a week for me to set my MDK 10 Network, i already try all the tutorial from the internet and still not resolve my problem. I can't ping to other PC, even to itself give a bad result.

Well this is my network situation :

PC1 : win2K server (as file and domain server)

IP : 192.168.0.1

host : ns.wtcsu.pri

domain : wtcsu.pri

 

PC2 : winXP Pro (act as gateway to the internet)

IP : 192.168.0.100

host : xp1.wtcsu.pri

domain : wtcsu.pri

 

PC3 : MDK10 (i planned to make this as a Internet server)

IP : 192.168.0.150

host : xlinux.wtcsu.pri

domain : wtcsu.pri

NIC using Dlink DFE-538TX

 

 

between PC1 and PC2 can connect well, but not to/from PC3.

this is my network configuration (from the Simple Mandrake Setup at http://web.otenel.net.uk/~showerail/)

 

ifcfg-eth0 :

DEVICE=eth0

BOOTPROTO=static

IPADDR=192.198.0.150

NETMASK=255.255.255.0

NETWORK=192.168.0.0

BROADCAST=192.168.1.255

ONBOOT = yes

MII_NO_SUPPORTED=yes

 

/etc/resolv.conf

domain wtcsu.pri

search wtcsu.pri

nameserver 192.168.0.1

nameserver 192.168.0.150

nameserver 192.168.0.100

 

/etc/sysconfig/network :

HOSTNAME = xlinux.wtcsu.pri

NETWORKING = yes

GATEWAY = 192.168.0.100

GATEWAYDEV = eth0

 

Also add 'iptables -t nat -D PREROUTING -i eth0 -j loc_dnat' command at the bottom of /etc/rc.d/rc.local file

 

 

already up the eth0 status with ifup eth0 command.

 

this is the result using ifconfig eth0

 

link encap:Ethernet HWADDR 00:50:BA:CB:AC:C8

inet addr:192.168.0.150 Broadcast:192.168.0.255 mask 255.255.255

inet6 addr fe80::250:buff::fech:acc8/64 scope link

up Broadcast running multicast MTU:1500 metric:/

RX Packet :1947 error:0 dropped:0 overruns:0 frame:0

TX Packet :22 error:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueulen low

RX bytes:251079(256.1 kb) TXbyte:1476 (1.4 kb)

Interrupt : 10 Base address:0X5000

 

afteter all these setting been set up then i tried using ping command from Terminal Program

'ping 192.168.0.150' and there is no result at all.

if using 'ping 192.168.0.1 ' i got '..... Destination host unreachable'

 

I don't know is there something wrong with my NIC?? cos i can connected to if using win98 (using different Harddisk). I Realy need Help on this PLZ :wall:

Share this post


Link to post
Share on other sites

Hmm.. this is the line that confuses me.

BROADCAST=192.168.1.255

 

If your IP is 192.168.0.155, why does it broadcast to 192.168.1.x ?

 

Anyway, let's start this from the beginning.

Can you ping localhost (127.0.0.1)?

Is the right driver for network card selected? What does your /etc/modprobe.conf say? What does the command "lsmod" say? The driver for your network card should be rtl8139

Have you tried using dhcp? Just to check whether there is a connection between the mandrake pc and the rest of the network. Don't worry about IP for now, let's check the connection first or whether the network card is actually activated correctly. Static IP will give you an IP no matter whether your network card is activated correctly or not.

Share this post


Link to post
Share on other sites
Hmm.. this is the line that confuses me.

BROADCAST=192.168.1.255

 

If your IP is 192.168.0.155, why does it broadcast to 192.168.1.x ?

 

Sounds wrong because its wrong, the broadcast address for network 192.168.0.0 with netmask 255.255.255.0 is 192.168.0.255

Share this post


Link to post
Share on other sites
Guest codoblao

sorry for misstype , the broadcast is sould be 192.168.0.255

 

this is the lsmod result (I didn't type the harddisk,flopy,and cdrom modul..)

 

modul size used

md5 ...... 1

ipv6 ...... 8

at_packet ...... 0

ipt_t0s . 12

ipt_reject . 4

ipt_log . 6

ipt_state . 24

opt_multiport . 4

ipt_contrack . 0

iptable_filter . 1

iptable_magle . 1

iptable_nat . 0

ipcontrack . 3 ipt_stable,ipt_contrack,iptable_nat

iptables . 9 ipt_t0s,ipt_reject.............etc..

8193too . 0

mii . 1 8193too

via_agp . 1

agp_cart . 1 via_agp

usbcore . 1 lhci_hcd

ext3 . 4

ibd . 1 ext3

 

the module for my LAN card was detect as 8193too (using harddrake )

 

My /etc/modprobe.conf :

alias eth0 8193too

install usb-interface /sbin/modprobe usb-uhci;/bin/true

 

i tried ping 127.0.0.1 from terminal konsole and there is no result, but if i ping from Webmin (using konqueror) i got this :

ping -c 5 -s 56 127.0.0.1 2>&1

ping 127.0.0.01 (127.0.0.1) 59(84)bytes of data

...127.0.0.1 ping statistics

5 packets transmitted, 0 received, 100% packet loss time 4000 ms

 

I haven't tried using DHCP, i will tri it later... but if i use DHCP from where i will get the IP then?? isn't have to get it from DHCP server??

Ok thx for your attention on my problem, i really appreciate it...i'll check this post on Tuesday (today is Friday) coz we have a holliday on MOnday. Thx....

Share this post


Link to post
Share on other sites

Open a terminal (konsole in KDE) :

 

Change to root

 

$su

[enter password if needed]

 

 

Looks like your module is loaded ok with lsmod. When in doubt do it command line I always say:

 

# ifconfig eth0 ${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK} up

 

so based of your data:

 

#ifconfig eth0 192.168.0.150 broadcast 192.168.0.255 netmask 255.255.255.0 up

 

then do:

# route add default gw ${GATEWAY}

 

based of your data:

 

#route add default gw 192.168.0.100

 

#ping -c 3 www.yahoo.com

 

Odd that you have:

/etc/resolv.conf

domain wtcsu.pri

search wtcsu.pri

nameserver 192.168.0.1

nameserver 192.168.0.150

nameserver 192.168.0.100

You are running a DNS all all three computers? Dont you have you DNS from you internet provider? That one is probably the most important one to have. In a DCHP system it is automatically set but in a static network YOU must provide the DNS.

 

If you have your ISP Domain Name Server then just:

 

#nameserver ***.***.***.*** >> /etc/resolv.conf

 

Where the *** are enter the address.

 

If any of yours may be a name sever its PC#2( IP : 192.168.0.100) cause that is your gateway. Can PC #1 reach the internet? To check for a nameserver problem to. Try this

 

#ping -c 3 www.yahoo.com

Does it work? then try:

#ping -c 3 216.109.117.205

 

You just pinged Yahoo - one with the use of a DNS and one without. If the second one worked you need to set a DNS in the hosts file. Also Hope it helps

 

AC

Share this post


Link to post
Share on other sites
Guest codoblao

Now i can ping to my win2k network from MDK machine, and i can browse the file sharing on my win2k network, i also can browse the internet. My Internet using Wnroute pro as a proxy on my XP machine (using port 8080),

now there is some other problem:

1. If i want to use webmin (https://localhost:10000) i got error message that tells me error from winroute proxy, it look like it pass through the proxy server. How to tell the browser not to using proxy on local address??

2. I can not ping from win2k network to the MDK, why??

Share this post


Link to post
Share on other sites
Guest codoblao

Now i can ping to my win2k network from MDK machine, and i can browse the file sharing on my win2k network, i also can browse the internet. My Internet using Wnroute pro as a proxy on my XP machine (using port 8080),

now there is some other problem:

1. If i want to use webmin (https://localhost:10000) i got error message that tells me error from winroute proxy, it look like it pass through the proxy server. How to tell the browser not to using proxy on local address??

2. I can not ping from win2k network to the MDK, why??

Share this post


Link to post
Share on other sites

May want to tell use how you have your network setup. Do you have a hub? if so where? Im guessing your setup is llike:

 

                          INTERNET

                              |

                              |

                    PC2 : winXP Pro

                              |

                              |

              -----------HUB-----------------

              |                                      |

  PC1 : win2K server              PC3 : MDK10

 

Is that your setup?

 

As for webmin :

 

Are your sure its running?

as root:

#/etc/init.d/webmin start

 

Try it to your direct address. From your other post it would be:

 

https://192.168.0.150:10000

 

As to not being able to ping the MDK machine are you trying to ping the name of the machine or ip address? Teh ping problem may be due to the hadware setup of your system Thats whay Im asking the setup config.

Share this post


Link to post
Share on other sites
Guest codoblao

my setup just like what you describe and yes i always login as root. I can browse the share file of MDK from win2K network and so the reverse. When i tried to ping from win2k server to MDK using 'ping xlinux' i got this message

'pinging xlinux[192.168.0.150] with 32 bytes of data'

request timed out....

 

I know it doesn't matter if the ping was failed as long as they can access the share files, i just curious about the ping.

I tried to use webmin from my winxp using https://192.168.0.150:10000 but it failed. Oh yes another question if you don't mind, from my MDK machine i can't access SWAT using 'http://localhosts:901' why?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...