Linux-Networking Digest #135, Volume #11         Wed, 12 May 99 23:13:48 EDT

Contents:
  Mounting Root Filesystem over NFS (Tobias Wolf)
  Re: Out of memory for pump ??? (Christopher Mahmood)
  Re: ipmasqadm trouble ("Rick Speegle")
  Re: I have a PCI NE200 card but......(loadlin) (Vidar Andresen)
  Fetchmail and Netscape (Chris Walsh)
  diald problems with samba and traceroute ([EMAIL PROTECTED])
  Re: Dial Up Server in Linux? (Clifford Kite)
  NT and Linux in one box ([EMAIL PROTECTED])
  Re: Samba and printing. (Nitin Mule)
  Re: Reboot linux 5.2 box from telnet connection ("Richard Miller")
  Re: Reboot linux 5.2 box from telnet connection ("Richard Miller")
  Re: Firewall Antivirus Software (bryan)
  Re: Tape Backup software (Johannes Niess)
  Re: NIS Problems (L J Bayuk)
  Re: Red Hat 6.0 upgrade - TAR PROBLEM (bryan)
  @home and RedHat6 setup...help! ("[KK]AkShun")
  Re: 3c509 and SoundBlaster Conflicts (Mircea)
  Re: Reboot linux 5.2 box from telnet connection ("Ian")
  Re: Reliable (!) nic for 2.2 kernel? (Leslie Mikesell)
  linux ipchains with NT server ("Jay Williams")
  Re: Using Linux as router (please help) ("Ian")
  Using Linux as router (please help) ("Aaron")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Tobias Wolf)
Subject: Mounting Root Filesystem over NFS
Date: 12 May 1999 21:48:51 GMT

Hi !

I have a problem with my discless Workstation.
It gets it Kernel, Hostname and IP-Adress with
BootP from the Server.
The Kernel start correctly, but when it comes to
mount its Root-Filesystem from the Server it only
says : NFS-Server 192.168.1.1 not responding, still
       trying.

I compiled the Kernel for the Workstation with
Root-Device=/dev/nfs and
used the netboot-package to build the bootimage.

While booting the Workstation I monitor the
traffic with tcpdump.

The Workstation doesn�t seem to send a request
to the Server and I didn�t know what I have
forgotten or done wrong.

Any hints ?

Tobias

------------------------------

From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: Out of memory for pump ???
Date: 12 May 1999 04:37:59 -0700

you'll get a better response in .misc
-ckm

------------------------------

From: "Rick Speegle" <[EMAIL PROTECTED]>
Subject: Re: ipmasqadm trouble
Date: Wed, 12 May 1999 20:26:21 -0400

I'm no expert but.....the following worked for me:

ipchains -A forward -j MASQ

ipmasqadm portfw -a -P tcp -L local IP port -R redirect IP port

I tried identifying a source and desitnation IP in the ipchains forward
chain and couldn't get it to work.  I know this isn't the most secure
solution, but it worked.  Good luck!

Rick Speegle
=============================
Chris Szilagyi <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'm going crazy trying to figure out how to use ipmasqadm
> portfw and ipchains.  Basically, all i am trying to do is
> set up a filtering firewall, that will filter incoming
> requests (only allow connections from my local network) on
> port 143 (imap) and send them through to the mail server (on
> the inside of my firewall at address 192.168.2.2).  I have a
> 2.2.5 kernel (red hat 6.0), I have ip forwarding on, the
> module ip_masq_portfw.o inserted, and i have ip masquerading
> working going out to the internet from the internal network,
> using:
>
> ipchains -A forward -j MASQ -s 192.168.2.0/24 -d 0/0
>
> This works like a charm.
>
> Now when i try to use ipmasqadm portfw to direct incoming
> connections to port 143 of my mail server (ip 192.168.2.2),
> the connection to the port times out. I tried the entry:
>
> ipmasqadm portfw -a -P tcp -L {outside firewall address} 143
> -R 192.168.2.2 143
>
> but when i try to connect to the firewall at port 143, it
> does nothing and sits, like it can't go through.
>
> I've read all over the place and i can't find any info on
> how to use the ipmasqadm portfw and ipchains utilities
> together to do this.  If anybody can shed a little light on
> how to use them, or point me in the right direction, or show
> me which rules i need to do the above, i'd appreciate it!
>
> Thanks,
> Chris
>



------------------------------

From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: I have a PCI NE200 card but......(loadlin)
Date: Wed, 12 May 1999 23:25:15 +0200

In article <7hbprk$sd2$[EMAIL PROTECTED]>,
"John Smith" <[EMAIL PROTECTED]> wrote:

>The only little problem that I'm facing is that I'm using an UMSDOS system
>(Linux is on a W95 partition) and I use Loadlin to boot the kernel. Is there
>a way to add extra parameters to the loadlin command line so that my PCI and
>ISA cards work fine?

Yes. (ripped off an old S.u.S.E)

      C:\loadlin\loadlin @C:\loadlin\linux.par root=/dev/hda1 rw

And C:\loadlin\linux.par (modified):


     C:\loadlin\zimage  # file name of kernel image
     root=/dev/xxx        # root file system, this will be overwritten
                          # by LINUX.BAT, when started with correct value
     ro                   # root-fs will be mounted readonly
                          # (may be changed by LINUX.BAT)
     # here may be your chosen keymap params
     # CD-dependent kernel_params

     ether=5,0x280,eth0 ether=10,0x300,eth1

     # may be a mem= param follows
[...]

So the '@' in loadlin command-line insert a file with params.  On the
commandline above, if the 'root=/dev/hda1 rw' where left out, loadlin
would have used the param file 'root=/dev/xxx' and 'ro'.


Mvh Vidar Andresen


------------------------------

From: Chris Walsh <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Fetchmail and Netscape
Date: Thu, 13 May 1999 01:18:14 GMT

I currently have my email setup so that fetchmail retrieves my email
from my POP3 server and I then retrieve it in Netscape using "MoveMail"
for reading and filing. The problem is that if I read my email through
any other client, such as mail or pine, Netscape will no longer retrieve
it. Since I'd like to be able to check and read my mail remotely with
telnet, is there any way I can solve this problem? Any help would be
appreciated.

Chris.

--
Chris Walsh
[EMAIL PROTECTED]
http://members.home.com/cfwalsh/home.html
ICQ: 8519570

"It's tough to make predictions - especially about the future."
 - Yogi Berra




------------------------------

From: [EMAIL PROTECTED]
Subject: diald problems with samba and traceroute
Date: Wed, 12 May 1999 23:14:09 GMT

Folks,

First the particulars:

        RH 6.0
        kernel 2.2.5-15
        ppp-2.3.7-2
        samba-2.0.3-8
                (in otherwords, an out-of-the-box RH 6.0 machine)
        diald16-config-0.16.5a-2
        IP Masquerading
        LAN (AAN? apartment area network) with other Linux and 
                WinTel machines
        And a 56Kb dial up to ISP

With out diald running, everything works just fine.  i.e. when I run
pppd by hand there are no problems with samba or IP masquerading.

But, when I run diald, samba does not work at all on the diald server
machine.  Also, when I do a traceroute to anything, on the LAN or over
the ppp connection, it just gives me a bunch of * * * .  I *can* ping
the machine that I can't traceroute to.  On the other machines on my
LAN both samba and traceroute work correctly.  This problem is only on
the box I'm running diald on.  And, as stated before, when I turn off
diald these problems go away.


Route table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
199.70.88.168   *               255.255.255.255 UH    0      0      0 ppp0
199.70.88.168   *               255.255.255.255 UH    0      0      0 ppp0
192.168.0.1     *               255.255.255.255 UH    0      0        0  eth0
192.168.0.2     *               255.255.255.255 UH    0      0        0 sl0
192.168.0.2     *               255.255.255.255 UH    1      0        0 sl0
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 ppp0
default         *               0.0.0.0         U     1      0        0 sl0


/sbin/ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:08:C7:7C:B0:BA  
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:325 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0x1020 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:12.79.189.98  P-t-P:199.70.88.168  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2664 errors:1 dropped:0 overruns:0 frame:1
          TX packets:2640 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

sl0       Link encap:Serial Line IP  
          inet addr:192.168.0.1  P-t-P:192.168.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 



Any Ideas?

I think I saw an article on this earlier, but my news server purged
them before I got a chance to read them, so if this is an old
question, already answered, my apologies.


Thanks Much,

John Harris


[EMAIL PROTECTED]



------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Dial Up Server in Linux?
Date: 12 May 1999 18:03:43 -0500

Ankit Jain ([EMAIL PROTECTED]) wrote:
: I recently installed RH ver 5.2. I would like to know if it comes with a
: dial-up server and if s how to configure it. If not is there any free
: dial-up server available for linux.

Here's a link that might help:

http://www.swcp.com/~jgentry/dialin2.html

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* The wealth of a nation is created by the productive labor of its
 * citizens. */

------------------------------

From: [EMAIL PROTECTED]
Subject: NT and Linux in one box
Date: Thu, 13 May 1999 00:14:28 GMT

I am new to Linux and trying to set it up for the first time.

I have a 5 gig HD divided into 2 partitions. Installed NT the first
and then installed Linux on the second. problems in order..

1. LILO boots.. need to make NT boot.

2. NT is on FAT not NTFS and need to find a way for Linux to recognize
the 1st partition.

3. I have an NT Server on another machine. Need to know how to make
Linux client for the NT ie. connect Linux to NT server. 

4. I am using the NE2000 PCI drivers for the NIC card that were listed
in the list. I have D-Lynk and need to install the drivers for it. It
came with  the Linux drivers on the disk but Iam unable to install
them. The floppy is in Fat format Tried to mount the floppy but it
gave error. what is an easier way to install the  driver for the
Ethernet card.

5. How can test the NIC card

------------------------------

From: Nitin Mule <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.admin,comp.os.linux.misc
Subject: Re: Samba and printing.
Date: Thu, 13 May 1999 00:09:18 GMT

Hi,

If you want to load all the printers, add this to your [global] section.
Specify appropriate values for your system.

 printing = bsd
 load printers = yes
 printcap name = /etc/printcap

Does the spool directory /usr/spool/lp1 exist and has correct
permissions set? Add browseable=yes to your [printers] section. I'm not
sure what the defaults are. But it's always better to be more explicit.

HTH,
Nitin.

Brian Seitz wrote:
> 
> Hi, I am tring to get a guest usable printer working on a Samba server on Linux with 
>a Windows NT as a client.  The Linux machine will come up on the NT machine while 
>browsing the network, but I cannot find the printer to add to the NT machine.
> 
> This is what smb.conf looks like:
>       1 [global]
>       2           log file = /var/log/samba-log.%m
>       3           lock directory = /var/lock/samba
>       4           share modes = yes
>       5
>       6 [homes]
>       7           comment = Home Directories
>       8           browseable = yes
>       9           read only = no
>      10           create mode = 0750
>      11
>      12 [tmp]
>      13           comment = Temporary file space
>      14           path = /tmp
>      15           read only = no
>      16           public = yes
>      17
>      18 [printers]
>      19                     path = /usr/spool/lp1
>      20                     writable = no
>      21                     public = yes
>      22                     guest ok = yes
>      23                     printable = yes
> 
> This is what the log file looks like each time the server is started:
> 
>      15 [1999/05/12 13:33:34, 1] smbd/files.c:file_init(219)
>      16   file_init: Information only: requested 10000 open files, 246 are available.
>      17 [1999/05/12 13:33:34, 0] smbd/server.c:main(669)
>      18   standard input is not a socket, assuming -D option
> 
> I'd appreciate any help in getting the NT machine to see the Linux printer, thanks.

------------------------------

From: "Richard Miller" <[EMAIL PROTECTED]>
Subject: Re: Reboot linux 5.2 box from telnet connection
Date: Wed, 12 May 1999 20:12:54 -0500

OK, maybe this is stranger than I thought and may indicate a deeper issue.
I can see the reboot command when I do 'ls' but when I try to run it I get
an error that says the command is not there.  As far as writing the smb.conf
file vi gives no error, it just doesn't write it.  I can edit and write the
file from the linux box just not any of the workstations.  The old file is
left when I re-load it.  As I said I'm new to this OS and this IS very
confusing behavior.  From your reply, I take it that my connection should
make no difference to linux if I have su'd to root.  BTW I cannot log onto
the linux box as root but must su to root.

Ian <[EMAIL PROTECTED]> wrote in message
news:7haqs3$21ev5$[EMAIL PROTECTED]...
> You should have all root privs if you've su'd to root.
>
> To reboot:-
> > reboot
>
> Or is that to complex ;-)
>
> If you can't write a .conf file from vi try doing a forced write:-
> :w!
>
> Or check the privs on the file to see if it's writable
> ls -la
> -r--r--r--  Not writable file
> -rw-r--r-- Writable by owner
> etc
>
> man chmod to find out how to change the file privs
>
> Ian
>
> Richard Miller wrote in message ...
> >Is there anyway to reboot a redhat 5.2 linux box from a telnet
connection?
> >Actually, I would like to log on as root and do all maintenance from my
> >client.  This is just a small home network with two win98 clients and the
> >linux server so security and control is not an issue.  I want to put the
> >server in the basement but don't want to go down there just to reboot or
do
> >system maintenance (since I'm new to linux I'm doing a lot of both right
> >now<g>).  I can su to root but still don't have full privileges from the
> >telnet connection (can't write some .conf files, etc).  Thanks.  Richard
> >
> >
>
>



------------------------------

From: "Richard Miller" <[EMAIL PROTECTED]>
Subject: Re: Reboot linux 5.2 box from telnet connection
Date: Wed, 12 May 1999 20:14:27 -0500

No nfs systems here.  Also, shutdown does not work from telnet connection.
Bill Unruh <[EMAIL PROTECTED]> wrote in message
news:7haven$6af$[EMAIL PROTECTED]...
> In <WJ5_2.4150$[EMAIL PROTECTED]> "Richard Miller"
<[EMAIL PROTECTED]> writes:
>
> ]Is there anyway to reboot a redhat 5.2 linux box from a telnet
connection?
> ]Actually, I would like to log on as root and do all maintenance from my
> ]client.  This is just a small home network with two win98 clients and the
> ]linux server so security and control is not an issue.  I want to put the
> ]server in the basement but don't want to go down there just to reboot or
do
> ]system maintenance (since I'm new to linux I'm doing a lot of both right
> ]now<g>).  I can su to root but still don't have full privileges from the
> ]telnet connection (can't write some .conf files, etc).  Thanks.  Richard
>
> Your last sentence makes no sense. If you are root, you are root. (Note
that if you
> have some nfs mounted filessystems which were not mountd to allow root
access, then
> yes, you may have trouble, but it would also be true fromt eh console)
>
> Anyway
> shutdown -r now
> reboot
> will both reboot the machine.
>
>
>



------------------------------

From: bryan <[EMAIL PROTECTED]>
Subject: Re: Firewall Antivirus Software
Date: Thu, 13 May 1999 02:06:41 GMT

linux doesn't have viruses.  not in the usual M$ sense, at least.

are you asking if linux will scan traffic for M$ viruses (that pass
thru the linux box)?

I seriously doubt it.

Bob Bailey <[EMAIL PROTECTED]> wrote:
: Hi,

: We have a linux box that we use as or firewall and we are looking for an
: antivirus software package that will scan all traffic passing through it.
: Would like to hear any suggestions, or concerns about any antivirus
: software.

: Thank You
: Bob



-- 
Bryan

------------------------------

From: [EMAIL PROTECTED] (Johannes Niess)
Crossposted-To: 
comp.os.linux.misc,comp.os.linux.setup,hk.comp.os.linux,tw.bbs.comp.linux
Subject: Re: Tape Backup software
Date: Thu, 13 May 1999 03:51:57 GMT

[EMAIL PROTECTED] (Michael Perry) wrote:

>On Tue, 11 May 1999 08:21:06 +0200, Wolfgang Ganzert 
><[EMAIL PROTECTED]> wrote:
>>For the KDE window environment there is the kdat program. It allows
>>multiple tars on a single tape and has a GUI which is easy to use. On my
>>systems it does not run stable but maybe this is because I'm using KDE
>>1.0. Maybe with 1.1 the problem is fixed, I don't known.
>>
>>Wolfgang
>>
>>Ron Flory wrote:
>>
>>> > I'm looking for a very easy & good DAT tape backup software.
>>> > Any idea?
>>>
>>>  depends how fancy it needs to be.  'cat file.tar.gz > /dev/st0' works
>>> fine for me.
>>>
>>> ron
>>
>I would also sugggest taking a look at the taper program which is freely
>available.  It ships with SuSE I believe and is also offered as an rpm file
>at the rpm archive sites.  I have also used xbru and bru and they work quite
>well with my Exabyte 8mm tape drive.

On my last look into taper (some months ago) it was still considered
beta and could not work with tapes over 2 GB. It was unreliable, too.

Amanda is my backup program of choice. It is GPL, with a very helpfull
mailing list, it handles dozends of client computers with a lot of
operating systems (Linux, other Unixes, Windows via Samba), it
distributes your load (one tape might contain a level 0 from one disk
and a level 2 from another), output of a self check is mailed and it
handles tape changers. And Idiot can handle it after setup.

Volunteers for writing a GUI will get a lot of help.

I don't know about a missing feature and it is very reliable. Why
spend money for a backup program with less features?

You can find eveything about it at www.amanda.org

Johannes Niess


------------------------------

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NIS Problems
Date: 13 May 1999 01:26:16 GMT

[EMAIL PROTECTED] wrote:
>I'm having trouble setting up a NIS server.  It's at home, and I'm at
>work, so I don't have the exact error messages, but I can explain what's
>happening.  I'm trying to build the NIS databases following the
>NIS-HOWTO, and I'm running /usr/lib/yp/ypinit -m.  rpcinfo shows ypserv
>running.  It says that it is entering the directory /var/yp/nis.domain
>and running make, and then says there is no rule for make in
>/var/yp/ypservers.  It looks like this relates to the Makefile under the
>make all: section, because if I removed ypservers from the list, it will
>give me an error on the next listing under make all:.  Anybody have any
>idea what the problem is?  It tells me that make failed, so try building
>the database by hand, but I don't know how to do that.  I tried running
>makedbm with the same switches that the Makefile has, but that doesn't
>look like it does anything.

Don't start ypserv until after the master NIS database is built.

Start over with no nis.domain directory. Running ypinit -m should
first prompt you for server host names. You will only have the
one. At this point it builds the source for the ypservers map by
creating a file /var/yp/ypservers (at least my version does).
Did it get this far?

If your error message happened later in make with "no rule to
make ypservers" or something, I suspect something went wrong
early in ypinit and it didn't create the source file.
By the way, ypinit is a shell script so you should be able
just look at it to see how it works.
Good luck.

------------------------------

From: bryan <[EMAIL PROTECTED]>
Subject: Re: Red Hat 6.0 upgrade - TAR PROBLEM
Date: Thu, 13 May 1999 02:08:55 GMT

Brian K. Murphy <[EMAIL PROTECTED]> wrote:
: I upgraded from 5.2 to 6.0 yesterday.  Should have waited :).  When I tried
: to upgrade it wasn't really successful.  Things booted, but that was about
: it ..no apache, no squid, no secure server.  So last night I wiped it all
: clean (after tarring the important files) and started over.  I got the
: system back up with squid running, basic apache running.  But I still have
: two basic problems:

: 1.  When I went to untar the files it spewed out a half dozen files and then
: said "Skipping to next file header" and quit...........now all my files are
: off in never never land somewhere.  I still have the original tar file by
: the way.  I did a simple "tar xvf www.tar" to do this.  Files were not
: compressed...any help..PLEASE!!

sounds like a blocksize problem.  when trying to de-tar from an SGI dat tape (they use 
some UNGODLY large blocksize, like 256K), I got the same behavior.  I would get 
several files out, then 'skipping' message.

where did you tar to?  if tape, try setting the blocksize to 'variable':

        % mt setblk 0

-- 
Bryan

------------------------------

From: "[KK]AkShun" <[EMAIL PROTECTED]>
Subject: @home and RedHat6 setup...help!
Date: Thu, 13 May 1999 01:36:55 GMT

cant seem to get it to work, went to http://metalab.unc.edu/mdw/, no info
there.

could someone please tell me how to set it up




------------------------------

From: Mircea <[EMAIL PROTECTED]>
Subject: Re: 3c509 and SoundBlaster Conflicts
Date: Wed, 12 May 1999 22:26:38 -0400

To see the interrupts:
cat /proc/interrupts
About your card, I don't know what to say. I also use a 3c509, actually
I'm using it right now, I disabled the PnP stuff with the DOS utility,
and it lives happily at 0x300, irq10. You might also want to try, as a
desperate measure, to re-enable the PnP, and try to make it work by
using the utilities in the isapnp package (pnpdump and isapnp). See the
man pages, including the one for isapnp.conf (/etc/isapnp.conf). Good
luck.

MST


Jebediah wrote:
> 
> Howdy. I recently got Red Hat 6.0 running on my box and ran into a very
> bothersome prob.  It seems that Linux and Winders both like to ignore
> the SoundBlaster I have on IRQ 5 and instead double put the 3Com 3c509
> ethernet card that I have on the same IRQ.  I have both working in
> Winders [big surprise, I know] but I still have problems in Linux.  When
> the ethernet is on IRQ 5 it will not detect the card.  When I tried IRQ
> 11 which is what it is in in Winders it did not detect either.  When I
> tried the default for the 3c509 [IRQ 10, IO 0x300]  it detected but
> still failed, although this time much quicker.  Later I tried IRQ 9
> which was said to be free in Windows and it failed to detect in Linux.
> I know the card is not in Plug N Prey.
> 
> The SB is very picky and will only go onto certain IRQs, 5 is the only
> one available on my machine.  I would also try putting my mouse in USB
> mode to free up IRQ 12, but I know it won't fly in Linux.
> 
> Is there any way to view IRQ listings in Linux?  If I could view the
> listing I am hoping I could find a free slot to get my ethernet in.  If
> my ethernet is detected, how do I configure it again?  I am kinda new at
> this so please bear with my ignorance.  Thanks in advance.

------------------------------

From: "Ian" <[EMAIL PROTECTED]>
Subject: Re: Reboot linux 5.2 box from telnet connection
Date: Thu, 13 May 1999 14:23:23 +1200


Richard Miller wrote in message ...
>OK, maybe this is stranger than I thought and may indicate a deeper issue.
>I can see the reboot command when I do 'ls' but when I try to run it I get
>an error that says the command is not there.

Any command MUST be in your path. Most people have the current directory in
their path (.) but as root this can be a bad thing. Imagine cd'ing to a
directory that has an executable file in it called cd that does nothing. How
do you leave the directory?

To execute a command that is in the current directory, but not in your path,
try preceeding the filename with a dot and a slash. ie: ./filename

>  As far as writing the smb.conf
>file vi gives no error, it just doesn't write it.  I can edit and write the
>file from the linux box just not any of the workstations.  The old file is
>left when I re-load it.  As I said I'm new to this OS and this IS very
>confusing behavior.  From your reply, I take it that my connection should
>make no difference to linux if I have su'd to root.

Some programs, while up, will hold a lock on a file. Sometimes this may not
be obvious. Many times I've edited a file, saved it, bounced a process and
found no difference. The original file was unchanged. I don't believe I have
ever had this problem with smb.conf. It's more a Winblow thing.

Try copying the file elsewhere, modify changed version, save it, then copy
it back over the original file.

To eliminate the su thing, log on at the console as another user, su to
root, edit the file. I would however expect this to work.

What command are you using to write the changes to file? I'm getting
confused. What editor are you using?

>  BTW I cannot log onto
>the linux box as root but must su to root.


This is a security feature. Stops people from getting straight to root from
outside.

Ian



------------------------------

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.development.system
Subject: Re: Reliable (!) nic for 2.2 kernel?
Date: 12 May 1999 21:38:46 -0500

In article <[EMAIL PROTECTED]>,
Johan Kullstam  <[EMAIL PROTECTED]> wrote:
>> 
>> >> sounds like a single mode hub (choose 1: 10 or 100, and everyone on
>> >> the hub MUST speak that speed.  right?)
>> >
>> >yes.  exactly.
>> >
>> [...]
>> >i only have 2 computers.  they are both in 100/full duplex mode.
>> 
>> If you are using a hub you have to use half duplex.  Full duplex
>> only works with switches.
>
>ok thanks!  i didn't know that.

As others have pointed out there are some things that are called
hubs that really aren't shared media repeaters, but anything
that allows the possibility of collisions requires half duplex
operation and that is the case for normal hubs where all
ports operate at the same speed.  

>does full duplex mode work with a direct cross-over cable?

Yes, both sides are allowed to transmit at the same time
in this configuration.
 
 Les Mikesell
   [EMAIL PROTECTED]

------------------------------

From: "Jay Williams" <[EMAIL PROTECTED]>
Subject: linux ipchains with NT server
Date: Wed, 12 May 1999 20:52:58 -0400

I have a linux machine setup to act as as my gateway to the internet on a
peer to peer network environment. We recently added an NT server to the
network. The machines still access the internet just fine as well as the
exchange server running on the NT machine. My problem is this, when my ADSL
internet connection was lost, I obviously could not access the internet, but
I can not access the exchange server either. although I can still access the
server exchange is running on. This happens whether I am using outlook for
internet mail and exchange mail or if I am just using outlook for exchange
mail. I have the win9 and win wkstation (machines accessing the internet and
using outlook) set up to use the linux machine as my gateway using ipchains,
etc.



------------------------------

From: "Ian" <[EMAIL PROTECTED]>
Subject: Re: Using Linux as router (please help)
Date: Thu, 13 May 1999 13:45:51 +1200

Install linux on a bxox with a modem.

Install diald or pppd for autodialing

setup ip-masq

get your routing right

And bob's your auntie.

Ian

Aaron wrote in message <7hd8cv$1i0$[EMAIL PROTECTED]>...
>i have 3 win 98 boxes and want get internet access through a linux box.
>How do i do this
>
>thanks in advance
>[EMAIL PROTECTED]
>
>



------------------------------

From: "Aaron" <[EMAIL PROTECTED]>
Subject: Using Linux as router (please help)
Date: Wed, 12 May 1999 21:06:23 -0400

i have 3 win 98 boxes and want get internet access through a linux box.
How do i do this

thanks in advance
[EMAIL PROTECTED]



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to