LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2003, 11:16 PM   #1
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
Samba question


I do \\192.168.2.255 and I get the error

"Windows cannot find 192.168.2.255. Make sure you typed the name correctly, and then try again.

I try \\192.168.2.100 but Windows cannot find anything....

can anyone help me?
 
Old 12-21-2003, 12:36 AM   #2
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
that's not really a linux question.

ping 192.168.2.255

and see if the winbox can see it.

also try 192.168.2.100

check windows help command reference for ping functionality as far as pinging broadcast addresses.
 
Old 12-21-2003, 12:57 AM   #3
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
hey it's linux related...that's linux problem enough for me
 
Old 12-21-2003, 12:58 AM   #4
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
The pings time out
 
Old 12-21-2003, 10:36 AM   #5
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
uh anyone else able to help?
 
Old 12-21-2003, 04:04 PM   #6
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
if windows cannot ping either address, it means you need to redo the network, verify linux ip, verify networking is up and running, try to ping the winbox from linux, check for firewall settings on either side, check the cables.. and if it doesn't work, post the results of each thing you've tried..
 
Old 12-21-2003, 09:04 PM   #7
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
192.168.2.255 in this scenario is more than likely not a valid host IP. If your netmask is 255.255.255.0 then either you are pinging the wrong IP or the IP you set on the Linux box is invalid...
 
Old 12-21-2003, 09:10 PM   #8
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
alright then..you're most likely right..so how do I fix it?
 
Old 12-21-2003, 10:06 PM   #9
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
ifconfig eth0 inet 192.168.2.10

and then try to ping it from the windows box...just make sure that 192.168.1.10 is not already taken
 
Old 12-21-2003, 10:12 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Did you setup a firewall on that interface?

Maybe it's blocking all traffic.
 
Old 12-22-2003, 08:41 AM   #11
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
yeah I think it might be a firewall..how do I fix that too?
 
Old 12-22-2003, 12:31 PM   #12
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jcookeman
ifconfig eth0 inet 192.168.2.10

and then try to ping it from the windows box...just make sure that 192.168.1.10 is not already taken
when I type in that command it says unknown host.
 
Old 12-22-2003, 06:33 PM   #13
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
man ifconfig

ifconfig eth0 (ip)
Quote:

jcookeman

192.168.2.255 in this scenario is more than likely not a valid host IP
the .255 means broadcast, it should ping every address from x.x.x.0 to x.x.x.254


Quote:
marklar
when I type in that command it says unknown host.
when you type the ifconfig command i'm assuming?..
try it without the inet part, and see what happens, if it doesn't error, send the output of
ifconfig
 
Old 12-22-2003, 07:37 PM   #14
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
when it doesn't error I get a list of ips
 
Old 12-22-2003, 10:12 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
There probably should not be a firewall on your internal interface unless you don't trust someone on the inside. However if it's the interface on the internet you should not be opening those ports to it either.

[david@zeus david]$ cat /etc/services |grep netbios
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp

[david@zeus david]$ cat /etc/services |grep microsoft
microsoft-ds 445/tcp
microsoft-ds 445/udp


[david@zeus david]$ cat /etc/services |grep printer
printer 515/tcp spooler # line printer spooler
printer 515/udp spooler # line printer spooler



Last edited by DavidPhillips; 12-22-2003 at 10:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Samba question Ryknow215 Linux - General 3 02-23-2004 06:11 PM
A Samba Question? gsmonk Linux - Networking 2 08-20-2003 09:14 AM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
samba question godwin_73 Programming 4 12-20-2001 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration