Linux-Networking Digest #648, Volume #10         Sat, 27 Mar 99 11:13:36 EST

Contents:
  a few newbie problems (Dionysus)
  Re: Can a regular user activate and deactivate dialup connection? (Coffee)
  Re: Different IP in one network (DEBUGger)
  Re: Min Computer hardware when using Linux (Greg Weeks)
  Re: Newbie struggling with Samba (Sean Fancey)
  Re: Help on PPP dial-up ([EMAIL PROTECTED])
  Re: Diald question (Frank Hahn)
  Re: need a hub to connect 2 machines w/ ethernet? ("D. C. Sessions")
  Re: Link linux and win95 using null parallel cable ("Larry G. Griffin")
  hostname prob + sendmail hangs machine (yaniv levy)
  Re: Newbie struggling with Samba (Darren Greer)
  Re: Copy over net... (Robbert Muller)
  Yet another two nic problem ([EMAIL PROTECTED])
  Re: Newbie struggling with Samba (Sean Fancey)
  Newbie struggling with Samba ("Antonio")
  Re: Newbie struggling with Samba (Darren Greer)

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

From: [EMAIL PROTECTED] (Dionysus)
Subject: a few newbie problems
Date: Sat, 27 Mar 1999 14:01:37 GMT

ok....so ive just begun using linux as a way of getting away from the
horrible mess that is win95/98....but have a few problems.....first of
all, if there any database of linux drivers on the net? ive just got a
new ethernet card and have configured it so that from windows boot i
can access my uni's network....but no matter how i try i cannot do the
same thing for linux....i can't even get the drivers to install
properly. Im not sure that the drivers i were given were even
complete. it came with 4 files, 2 c scripts (space.c and rlt8029.c
(the card's brand is realtek)) a Makefile file and a config.in .....no
configure, and as the only way i know of installing stuff (save using
rpm) is ./configure, make, make install i am stuffed. I have tried
ignoring the fact that i don't have the drivers working in the hope
that somehow a default linux ethernet driver will kick in and
configured the card in netcfg.....but to no avail. i don't think there
is an entry for /dev/eth0 (which the card is) ive tried setting the
DNS and DHCP servers up as eth1 and eth2 in the hope that this would
help but it hasn't....as my knowledge of networking is very shaky i
haven't thought of anything else to try...if anyone can help me that
would be great...i can mail a copy of the drivers. Also, is there a
file manager similar to XTGold in linux? and one last thing....ive
been recommended X11amp, but after d'ling it ive run into the brick
wall of library dependancies....the program itself needs a recent
version of the gtk, which in turn requires an equally new version of
glib...after downloading both, and following all instructions i have
been able to install glib and get it fully functional, and install
gtk....but when i try to install X11amp it doesn't detect gtk....i had
problems attempting to get gtk to detect glib, but it did happen in
the end after much editing of ld.so.conf as advised in one of the
readme files. a similar file for gtk did mention environment variables
or something like that, but i have no idea what they are. if anyone
could plz help me with any of those problems, that would be great.
thanks in advance

-dionysus

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

From: Coffee <[EMAIL PROTECTED]>
Subject: Re: Can a regular user activate and deactivate dialup connection?
Date: Sat, 27 Mar 1999 09:16:31 -0500

Eugene Strulyov wrote:

> as far as I know only root is allowed to do that
> however, there is a package called sudo which allows certain regular
> users to run certain commands as root. You can use that to allow them to
> connect & disconnect.
>
> Alex Dong Li wrote:
>
> > Dear Linux experts:
> >
> > Could anyone tell me if a regular user can activate/deactivate dialup
> > connection? If so, could you tell me how or pointer to the solution?
> >
> > Thanks in advance!
> >
> > Alex.

If this helps any....

Im running redhat 5.2 and i just changed the permissions on the modem and
can bring up
the net connection thru xwin as any user. I think it goes as below but you
might want to look]
up the correct number (666).

chmod 666 /dev/modem

Didnt catch the particulars in your case but this works for me.




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

From: DEBUGger <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,hk.comp.os.linux
Subject: Re: Different IP in one network
Date: Sat, 27 Mar 1999 23:09:38 +0800


you can use one network card to alias for 2 or more ips in two or more
networks. Read the IP-Alias howto

-- 

========
DEBUGger
Server Administrator
DEBUGnet
http://www.debugnet.com.hk
news://news.debugnet.com.hk

�g�ٹ�f�������s�� (.com, .com.hk, etc)
Economic Virtaul Hosting Plan
http://www.debugnet.com.hk/view/show/solutions

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: Min Computer hardware when using Linux
Date: Sat, 27 Mar 1999 09:05:43 -0600

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (J. Peterson) writes:
> I want to set up Linux on a computer just to see how it works and am
> wondering what the min. hardware requirements are.  I was planning on
> buying a real cheap computer like a 486-100Mhz to use as I wanted to
> be free to mess with it and not wanting to mess up my normal computer.
> I just plan on hooking the linux box up to the @Home service via a
> cable modem and then hook my Pentium 266 to this.  

The smallest I've ever ran it on was a 386DX-25 with 4 meg of ram 100
meg HD. This was a special use machine and no one could be happy on it
for general use if they'd ever been on faster machines. A 486-66 with
16 Meg of ram is OK for most things. It's too slow to run the heavy X
suites like KDE or Gnome, but it's fine for X with fvwm or some other
light weight window manager. You might think about getting a very
small 486, like a 33 with 12 meg and no HD and use it strictly as a
firewall machine.

Greg Weeks
-- 
http://durendal.tzo.com/greg/


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

From: Sean Fancey <[EMAIL PROTECTED]>
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 15:12:49 GMT

It could be a couple of things ... I'm not familiar with Redhat but have used
Samba extensively with Slackware, IRIX, and SunOS.

1. If you are using NT Service Pack 3, it doesn't automatically send plain
text passwords to clients and Samba my not be set up to handle encrypted
passwords.  At the Samba website you can down load a registry entry
NT4_PlainPasswords.reg that will set NT not to encrypt plain text passwords.

2. Are you running smbd and nmbd as a service or as Daemos?  If you are
running as a service (check /etc/inetd.conf) you may want to consider running
them as Daemons.  This can be done by putting the path to your programs
(/usr/local/samba/bin/nmbd) in /etc/rc.d/rc.local.  This solved a lot of
problems for me with Slackware 3.3 (Kernel 2.0.33)

3.  Try another user name.  As you may or may not be aware, Unix in general
does not automatically allow root to do certain things (ftp for example)
because of the security risks involved.

4.  Change security in SMB.CONF to security=user.  This will allow users on
the Linux computer to access shares based on securities set up in Linux.

5.  Have you created smb shares in SMB.CONF?

I hope these help.
====================
Sean

"If GM had developed technology like Microsoft, for no reason whatsoever
your car would crash twice a day." - Mr. Welch

=============================

Antonio wrote:

> I connected a NT workstation to my linux Redhat 5.2 box.
>
> The result: I login to NT as root and I can see the Linux box from windows
> explorer. But when I click on the LInux box in NT it says:
>
> "Linuxgroup is not accessible. The account is not authorized to login from
> this station."
>
> The only thing I changed on samba.conf was "MYGROUP" to "LINUXGROUP".




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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Help on PPP dial-up
Date: Fri, 26 Mar 1999 23:47:25 GMT

In article <[EMAIL PROTECTED]>,
  RebounD <[EMAIL PROTECTED]> wrote:
> Hmm,
>
> I didn't edit the chat-script or the log messages.  They are like that..
> In the chat script, that's all I got...the '....' at the last line is
> the username and the password. I receive a sample of a working chat
> script and log messages the other day and I notice the different.
>
> Anyway, now I dial through minicom, and the server answered.  I got
> connected. Th problem is I cannot use applications like Netscape or
> telnet. It seems like the connection isn't availableto the others. I can
> move around the server, but not other application in my pc.
>
> When I did 'ifconfig', only the lo appears, not the ppp0.  So I figure
> out there must be something about route which is not correct.  Does
> anybody have suggestion what should I do next. I will try something, but
> any help is really appreciated. Thanks.
>

if ppp0 does not show up with ifconfig you have more than a routing problem.
The ppp interface is not active.  after you dialed with minicom did you exit
without resetting and then run pppd?

for example:

run minicom
dial in and login
alt-q
exit without resetting
pppd /dev/modem 115200 defaultroute &

ppp0 should show up in ifconfig

trying pinging.. if the gateway is the only computer you can ping, then you
have a routing problem.

you can fix that with

route add default gw gw.ip.numb.er ppp0

hope this helps..

I have a question of my own.. i just installed linux SuSE 6.0 yesterday and i
am a linux newbie....  i've read EVERY thing i could find that is relevent at
LDP and the above is the only way i can get connected.  during bootup, it
says that diald is active but!  the modem never trys to dial out.  i use YaST
to configure my ppp connection but again, diald doesnt dial.. ironic eh?  so
i end up doing the minicom/pppd thing.. which is a pain...

any brave soul willing to help me tackle this?  i'm a newbie but not totally
stupid so i promise i wont be too frustrating to help..

thanks

mike

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED] (Frank Hahn)
Subject: Re: Diald question
Date: 26 Mar 1999 23:44:54 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 25 Mar 1999 14:44:39 +0100, Ronald Hovens <[EMAIL PROTECTED]>
 wrote:
>I read your question about diald and win'98 today. I don't have an answer to
>your problem, butmaybe you can help me in setting up a similar infrastructure;
>I myself tried to configure my linux server and win'98 clients for use with
>diald but sofar I didn't succeed.
>
>Can you send me some help, specifically I am interested in your following files:
>
>/etc/ppp/options
>
I'm currently using diald.  I have all the options in the above file
commented out.


>diald.conf
>
Here is the contents of my /etc/diald.conf file:

=================================
device /dev/cua2
connect "/etc/diald/pppscript"
speed 115200
modem
lock
crtscts
defaultroute
redial-timeout 20
connect-timeout 45
mode ppp
dynamic
local 192.168.100.10
remote 192.168.100.22
accounting-log /var/adm/diald.log 
ip-up /etc/diald/timeup
ip-down /etc/diald/timedown
include /usr/local/lib/diald/standard.filter
fifo /etc/diald/diald.ctl
=================================

>Furthermore I am interested in the command you use to start the diald daemon
>(which commandline options do you use). Many thanks in advance, your help will
>save me a lot of time and headaches!
>
I start diald from my /etc/rcd./local file.  This is on a Slackware
system.  I do it like this:

=================================
# Start diald daemon
if [ -f /usr/local/sbin/diald ]; then
  echo "Starting diald daemon..."
  /usr/local/sbin/diald 
fi
=================================

-- 
Frank Hahn

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

From: "D. C. Sessions" <[EMAIL PROTECTED]>
Subject: Re: need a hub to connect 2 machines w/ ethernet?
Date: Fri, 26 Mar 1999 16:11:46 -0700

Ryan Lynch wrote:
> 
> The easiest way to do this is to get a twisted-pair crossover cable.  You
> should be able to find one where you got your standard cable.  If you're
> going to be adding more machines in the future, it might be worthwhile to
> get a small hub because a crossover will only work by directly connecting
> two machines.  The basic reason that you need the x-over cable is because (I
> think) it reverses the CTS/CTR signals so they're on the appropriate pins.
> At least I think it's something similar to null modem cables....haven't done
> much interface programming for a few years;)  Hope this helps!

This sounds like 10baseT with an RJ45 connector.
In that case there IS no RTS/CTS; it's just a matter of unidirectional
signals (differential pairs) each way.

> >I've just connected the two machines directly with a cable.
> >Do I need to put a hub in between for some reason?  If so, why?

A cat-5 crossover cable is available, all right, but you could also
use a hub.  A 10-megabit hub is cheap if that's what you're running.
100-megabit hubs are more expensive and don't make sense for less
than four computers.  For three, you might as well have four NICs
and point-to-point with the middle computer acting as a router.
(100 Mbit NICs are about $15 each, much less than a cheap hub.)

-- 
D. C. Sessions
[EMAIL PROTECTED]

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

Date: Sat, 27 Mar 1999 07:19:07 -0800
From: "Larry G. Griffin" <[EMAIL PROTECTED]>
Subject: Re: Link linux and win95 using null parallel cable

Allison,
        I've done serial transfers from the CD on my Win 95 desktop to Linux on
my laptop.  Minicom was part of the Slackware disk install.  The
transfers allowed me to finish the setup.  Check to see if you have a
comm. program.  If not you'll have to look into NFS.  I haven't setup
NFS yet so don't have a clue.

Larry


Allison Rushby wrote:
> 
> Hello,
> 
> Is it possible to network linux and win 95 over a null cable?  Can you do
> it with a parallel cable or do you have to use a serial cable.
> 
> Thanks
> 
> Allison

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

From: yaniv levy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: hostname prob + sendmail hangs machine
Date: Sat, 27 Mar 1999 17:07:41 +0200

Hello
I'm running RedHat 5.0 on an i586 machine, and experiencing some
problems while booting
after i have changed the hostname from "localhost" to "bingo".
the machine is connected to a LAN with three computers without any
connection outside.
all machines have the same problem. (of course, each has different name
and ip)


1. the problem: while booting the machine gives the message: "cannot
resolve hostname"  and sendmail hangs for awhile.

2. i have changed the machine name by editing the /etc/sysconfig/network
file and setting the parameter HOSTNAME=bingo.

3. my /etc/hosts looks like that

127.0.0.1    localhost
192.0.0.1    bingo
192.0.0.2    baron
192.0.0.3    humi

4. my /etc/host.conf has:
order hosts
multi on

5. ifconfig and route are fine. i checked it with ping from one machine
to another  and it works works fine, using IP's or names.

6. /etc/resolv.conf is empty

what's wrong??


I would appreciate if you will email you're answer to my email too,
since i might miss the answer on the group.


[EMAIL PROTECTED]
Yaniv Levy
Israel


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

From: [EMAIL PROTECTED] (Darren Greer)
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 15:22:19 GMT

On Sat, 27 Mar 1999 15:12:49 GMT, Sean Fancey <[EMAIL PROTECTED]>
wrote:

-->It could be a couple of things ... I'm not familiar with Redhat but have used
-->Samba extensively with Slackware, IRIX, and SunOS.
-->
-->1. If you are using NT Service Pack 3, it doesn't automatically send plain
-->text passwords to clients and Samba my not be set up to handle encrypted
-->passwords.  At the Samba website you can down load a registry entry
-->NT4_PlainPasswords.reg that will set NT not to encrypt plain text passwords.
I would highly recommend setting up yoru linux box to accept encrypted
password loong before you modify your NT registry to send plain text
passwords.  What you need to do is add a line in your smb.conf file
that says:
        encrypt passwords = yes
That will switch Samba to encrypted password mode....also, modify the
line that says:
        security = <whatever>    to    security = user
That shoudl fix that problem....then you can login to your Linux box
as whatever user you created.

Darren


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

From: Robbert Muller <[EMAIL PROTECTED]>
Subject: Re: Copy over net...
Date: Sat, 27 Mar 1999 10:01:35 +0100

On Fri, 26 Mar 1999, [...M...] wrote:

> What is the best way to copy a directory recursively from one system to
> another system over TCP/IP?  Considering that I can't use FTP or EMAIL.  Is
> there another way?
> 

you could try scp . it's a part of the ssh package < www.ssh.fi >

-- 

Robbert Muller

mjrider@writeme dot com   | Never let a luser on your console.        
uin: 9659330              | Because that means they're in your room.


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

From: [EMAIL PROTECTED]
Subject: Yet another two nic problem
Date: Sat, 27 Mar 1999 15:26:49 GMT

I would appreciate assistance in getting my small network working. One local
address is unpingable.

I have RH 5.2 installed on one computer with eepro100 (eth1, 192.168.0.3) and
3c509 (eth0, 192.168.0.1) cards. I have Win95 installed on another computer
with nic (192.168.0.2) card. All cards are cabled to 10base-T 3 com Office
Connect hub. I can successfully ping all three addresses from Win95 machine
and all but 192.168.0.1 from RH machine. Packet lights flash on the hub only
when pinging between machines AND when trying to ping 192.168.0.1 from RH
machine.

RH nic drivers are loaded as modules.

(P.S. My earlier post apparently did not work. Pardon the repeat, if is shows
up later.)

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Sean Fancey <[EMAIL PROTECTED]>
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 15:43:58 GMT

I agree but only if you have a kernel that was compiled to use encrypted passwords.
Considering that Antonio indicated a newness to Samba, and perhaps Linux, this is
the most straightforward.

Sean


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

From: "Antonio" <[EMAIL PROTECTED]>
Subject: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 14:50:51 GMT

I connected a NT workstation to my linux Redhat 5.2 box.

The result: I login to NT as root and I can see the Linux box from windows
explorer. But when I click on the LInux box in NT it says:

"Linuxgroup is not accessible. The account is not authorized to login from
this station."

The only thing I changed on samba.conf was "MYGROUP" to "LINUXGROUP".



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

From: [EMAIL PROTECTED] (Darren Greer)
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 15:56:49 GMT

As far as I know RedHat 5.2..with the default installation has that
enabled.  And I would much rather struggle through a kernel
recomplilation that start throwing out plain text passwords,
especially if your box will ever be connected to the net.

Darren



On Sat, 27 Mar 1999 15:43:58 GMT, Sean Fancey <[EMAIL PROTECTED]>
wrote:

-->I agree but only if you have a kernel that was compiled to use encrypted passwords.
-->Considering that Antonio indicated a newness to Samba, and perhaps Linux, this is
-->the most straightforward.
-->
-->Sean
-->


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


** 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