Re: Network Not Working!
Peter Ludwig <khan@one.net.au> writes:
> I installed Debian telling it that I was on a network (the home network,
> two machines, nothing fancy), and yet I seem to be unable to talk to the
> other machine.
>
> This is the response I get from SMBCLIENT :
> Added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file
> or directory
This is generally harmless, and you can ignore it for now.
> error connecting to 192.168.0.11:139 (No route to host)
Trying to use 192.168.0.xxx is asking for trouble, in my opinion. Try
setting Linux and Windows to 192.168.1.<something>. The files to
modify are /etc/init.d/network, /etc/hostname and /etc/hosts. The
hosts file could look something like:
-----
127.0.0.1 localhost
192.168.1.1 linux linux.kahnnet # I'm just making up the domain.
192.168.1.2 win95 win95.kahnnet
-----
It should look the same in "C:\WINDOWS\HOSTS" too. Also on Win95, set
the default gateway to your Linux box.
Things to try now:
On Linux:
`netstat -rn', `/sbin/ifconfig', `ping 192.168.1.1', `ping 192.168.1.2',
`ping win95'.
$ telnet win95
Trying 192.168.1.2...
telnet: Unable to connect to remote host: Connection refused
$ smbclient -L win95 -I 192.168.1.2
[...]
$ smbclient -L win95
[... should be the same]
On Win95:
C:\>PING 192.168.1.1
Start->Find->Computer "LINUX"
Start->Run "telnet 192.168.1.1"
The output of these commands would be useful.
--
Carey Evans http://home.clear.net.nz/pages/c.evans/
"The risk of U.S. national security resting in the hands of adults who play
with children's toys during office hours is left as an exercise to the reader."
- Bruce Martin in RISKS
Reply to: