First, about IP addresses: Since you said you wanted to share the dial-up
connection, I inferred that you wanted to be able to access Internet
services (e.g., run Netscape or IE) on the NT host. To do this, you need it
set up with an IP address. Also, you said you were pinging the NT host at
its IP address -- hard to do that if you haven't assigned one to it (in any
case, ping definitely requires IP addressing). 

Samba is the package that supports NetBeui, but that's just for file and
print services, not Internet services. I've never actually wondered if there
was a way to run Samba to serve clients that don't have IP addresses, though
I'd tend to doubt it (since it runs through inetd and uses the tcp and udp
protocols, it is an Internet service, after all) -- but perhaps someone else
knows for sure. 

You don't say which Linux distribution you are installing, and you don't say
what you chose to install in your custom installation, so it's hard to say
if you should reinstall or not. Since you apparently have dial-up networking
running, I'd guess the IP part of your Linux installation is basically
complete. So you want to see if you have Samba available. Three ways to do this:

1. See if the needed daemons are actually running. To do this, run "ps -ax"
and look for processes named "smbd" and "nmbd".

2. If they aren't actually running, see if they are on your hard disk. The
easy way is with the "which" command, as follows (do this as root):

which smbd
which nmbd

They should be in /usr/sbin, but I don't know if that varies by distribution.

3. If they don't turn up, they may be present but not in the default path.
In that case, look for them with the "find" command, as follows (again, as
root):

find / -name smbd
find / -name nmbd

Now even if smbd and nmbd are present and running, they may not be
configured correctly. The config file is /etc/smb.conf . Read the SMB HowTo
(probably on your system somewhere under /usr/doc, and online at URL
http://metalab.unc.edu/LDP/HOWTO/SMB-HOWTO.html) for the details -- it
includes some VERY SIMPLE example configs that you can use.

As to basic LAN networking, on the Linux side, I and others really can't do
much more than advise you about what to check. This is especially true if
you did a custom install, since that makes it hard for us to make any safe
assumptions about what is and what isn't on your system.

So, in that spirit, let me offer a more complete review of what to check on
the Linux side. (I'm putting the actual wording of commands in quotes
throughout what follows.)

1. If you run "ifconfig", does it report the correct IP
address/netmask/broadcast set for eth0? If not, fix these in whatever
/etc/rc.d/rc* file does networking setup (this varies by distribution). Note
that the IP address for eth0 should be different from the one you use on
your dial-up connection (IP addresses are associated with interfaces, not
with hosts themselves).

2. Can you successfully "ping localhost"?. If not, was there an entry for lo
in the ifconfig output from step 1?

3. What does /proc/interrupts say about IRQ 3, 4 and whatever one the NIC is
on? To check this, enter (as root):
"cd /proc"
"more interrupts"
on a console or in an xterm.

4. What does the command "route -n" report about the routing table? If you
can, run this when you have the dial-up connection active.

At 09:35 PM 2/6/99 +0000, Pankil Richards wrote:
>I think I'm in over my head.
>
>All I would like to do is connect one pc with another and share the printer
>and, if possible, the dial-up connection.
>
>Do I need to have IP addressing?  I know I need it for my ISP dial-up, but why
>would I use it to connect to the other pc?  How do I use NetBeui/Net Bios in
>Linux?  Should I reinstall Linux with the Server option?  (Right now I did a
>Custom installation.)
>
>I tried to see the /proc/interrupts file (to check what IRQ the NIC is using)
>but am unable to open the file.  Through xfm it just gives the "Zzz" and hangs
>when I double-click on /proc through 'root'.  When I open it through 'pankil'
>it just shows a blank file.

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.321.3561 voice     650.322.1209 fax          [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to