LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2003, 08:52 AM   #16
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15

The hostname of the PC? I don't think I gave it one
 
Old 07-05-2003, 08:59 AM   #17
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Ok

Ok I figure out the hostname. But I never set a password so I have no idea what to put in that field.
 
Old 07-05-2003, 09:00 AM   #18
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.7a]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)

Server Comment
--------- -------
LOCALHOST Samba Server

Workgroup Master
--------- -------
MYGROUP LOCALHOST
 
Old 07-05-2003, 12:09 PM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Good, samba is working.
However localhost isn't a good name

As root edit the /etc/sysconfig/network file and change the hostname to anything you want.

To make things easier change the workgroup name in the /etc/samba/smb.conf file to match the windows workgroup name. And restart samba.

On the windows side in network neighborhood do you see the linux box?
 
Old 07-05-2003, 12:21 PM   #20
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Nope I don't see the linux box
 
Old 07-05-2003, 02:47 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Open up a DOS prompt box and try the following command
net view
and
net view \\hostname (i.e. the hostname of the linux computer)

Did you change the hostname of the linux PC yet?
 
Old 07-05-2003, 04:58 PM   #22
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
yeah I changed the hostname of the linux box.

when I run those two commands it can't find anyhing.

btw if you wanna do this via aim to make it faster my sn is Hockey77777
 
Old 07-06-2003, 11:43 AM   #23
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
and then.......
 
Old 07-06-2003, 03:54 PM   #24
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Can you ping the linux box from the windows box?

ping <ipaddress> or
ping <hostname>

If you don't know the linux IP address then the command is
/sbin/ifconfig eth0

If you have a firewall running it might be blocking smb traffic. To turn it off until reboot.

iptables -F

or

under system setting-security level, this gui tool will launch redhat-config-security-securitylevel
 
Old 07-06-2003, 05:50 PM   #25
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
eth0 Link encap:Ethernet HWaddr 00:03:6D:1E:F1:87
inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:493 errors:0 dropped:0 overruns:0 frame:0
TX packets:485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:309711 (302.4 Kb) TX bytes:67939 (66.3 Kb)
Interrupt:5 Base address:0x6000
 
Old 07-06-2003, 05:56 PM   #26
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\JRB>ping 192.168.2.101

Pinging 192.168.2.101 with 32 bytes of data:

Reply from 192.168.2.101: bytes=32 time<1ms TTL=64
Reply from 192.168.2.101: bytes=32 time<1ms TTL=64
Reply from 192.168.2.101: bytes=32 time<1ms TTL=64
Reply from 192.168.2.101: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.2.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\JRB>
 
Old 07-06-2003, 07:13 PM   #27
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You can also try this from windows

net view \\192.168.2.101
 
Old 07-07-2003, 05:15 PM   #28
Marklar
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
nothing
 
Old 07-08-2003, 05:15 PM   #29
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
If you have a firewall running either turn it off or flush the iptables as posted above and try the net command again.
 
  


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
networking mifan Mandriva 3 08-18-2005 08:52 AM
new to networking essoft478 Linux - Networking 2 12-18-2004 04:20 PM
networking thornton Linux - Networking 1 07-10-2004 01:00 AM
Random Networking to Non-Networking o-o Ne0BDP Slackware 3 07-08-2004 01:18 AM
networking garr71 Linux - Networking 2 11-29-2001 12:21 AM

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

All times are GMT -5. The time now is 03:42 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