November 25, 2024, 01:51:38 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: windows-linux Lan help please  (Read 6362 times)

Offline stathis

  • New Member
  • Posts: 1
windows-linux Lan help please
« on: September 12, 2004, 08:15:44 AM »
I;m trying to connect a linux box to a windows 98.
I;m sure i have hosts routes resolv and all things ok.
when i ping the other box it doesn;t respond .
When i;m ruuning ethereal it seems that the two boxes are talking to each other, the win box sends some smb , netbios and ipx protocols packets .
I have not configured samba ,is it nessesary to have it configured if i don;t want to do file sharing??
The boxes don;t respond to eachother what is wrong .
MY route table
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

I am not running firewall on win box
A ping from win box just fails.The ping from linux doesn;t fail just seems not to respond but i said what shows the ethereal (and u are right they are broadcast packets from win identifying itsself).
I have only one ether card per box and i connect them with cable with RJ45 plugs -directly no hub no switch- last my ifconfig is:
eth0 Link encap:Ethernet HWaddr 00:05:5D:33:C2:26
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:240 (240.0 b)
Interrupt:11 Base address:0xbf00

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:656 errors:0 dropped:0 overruns:0 frame:0
TX packets:656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33000 (32.2 Kb) TX bytes:33000 (32.2 Kb)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
windows-linux Lan help please
« Reply #1 on: September 12, 2004, 09:16:37 AM »
have u used cross over cable or simple ?

Offline alexcd

  • New Member
  • Posts: 1
Red Hat Lan Windows 98 SE share Internet
« Reply #2 on: September 27, 2004, 09:44:32 PM »
Hi

I have 2 PC's connected with a switch. The one is a machine running windows 98 SE. This machine is connected to Internet with a USB ADSL.

Another machine is Linux red hat 6.2. I can do ping from windows to linux and vice versa.

I can see the windows machine from linux using samba.

However I am not able to connect to Internet. I have installed Internet Connection Sharing windows 98 but Linux can not access to Internet via Lan.

Do you suggest something for me?

Alex

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
windows-linux Lan help please
« Reply #3 on: September 28, 2004, 05:27:48 AM »
To stathis,

    I will answer firstly ur question 4 samba. U DONT need to install Samba if u don't any file sharing. If u really want to, u may use winscp since u have two machines.

    And lastly regarding ur problem, i do agree with Ricky as ethereal do see both pc communicating. Try to ping each other and see if it's ok. If no response, that's not good.


And to alexcd,

             please check ur routing table. Type the "route" command into ur console and please show the output to us? 10x :) this will tell whether ur Linux is routing the right direction.