Linux-Networking Digest #275, Volume #12 Wed, 18 Aug 99 18:14:00 EDT
Contents:
Re: starting nmbd (QuestionExchange)
Re: static IP but no route to host says netscape (QuestionExchange)
Re: newbie ifconfig/eth question (dmalcolm)
Re: KDE for Redhat 6.0 - problems installing ([EMAIL PROTECTED])
Re: Routing.. ("Kelvin R. Dam")
Re: tn3270 questions; need help (J. Otto Tennant)
PPP and VPN Problem (yongtao)
Re: General Network Question (Raymonds Doetjes)
Re: NetGear Ethernet Card
Re: ALSA (Kaz Kylheku)
Re: Appending a ext2 filesystem (Magnus Svensson)
DIALD HELP FOR DUMMY ("Marco")
Samba Mapping drives based upon group membership (Raymonds Doetjes)
mail routing for wrong/unknown users (Tony Maddux)
Re: Faster Internet Connection (Bob Beaty)
Re: Sendmail in LAN ("Dr. Al Bento")
----------------------------------------------------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: starting nmbd
Date: 18 Aug 1999 20:27:0 GMT
The solution to this problem is not quite as easy as it seems
;-) That and I like to say that. Basically the problem is SMB
and SMA require a DNS lookup on startup. They start and try to
determine whom you are by NS lookup as configured by Samba (A
Line in smb.conf should list the order it uses to find names,
try adding BCAST if your on a real network) The simplest
method is to configure your box as a self serving DNS, which
should make them load up much more quickly. There is a nice
howto in the LDP, or at redhat.com
> I have a small quirk w/ samba.
>
>
> I'm have my computer connected to a small lan at home(3
computers) and
> dial into my ISP to check mail and such..
>
> Now whenever I have a ppp session active I can stop, start,
and restart
> smbd and nmbd, however once I disconnect the ppp session nmbd
refuses to
> start.
>
> The only things I can think of are:
>
> 1) that nmbd might need info from bootp, dhcp, or dns
avaiable to
> provide it with netbios name info, which my small home lan
doesn't have,
> but is present when I'm connected to my ISP.
>
> 2) that I need to specify which interface to use, eth0 as
opposed to
> ppp0 - then see what I can do about providing so basic
netbios info,
> maybe threw lmhosts or by setting up a bootp or dhcp server
at my home
> lan???
>
> Below is a check of smb with a active ppp session, note that
the
> interface, bcast, and nmask values are all match whats listed
under ppp0
> info supplied by ifconfig
>
> [root@peoria27 /etc]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:10:4B:6F:D6:23
> inet addr:192.168.0.2 Bcast:192.168.0.255
Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:7612 errors:0 dropped:0 overruns:0
frame:0
> TX packets:6297 errors:0 dropped:0 overruns:0
carrier:0
> collisions:2 txqueuelen:100
> Interrupt:11 Base address:0x6c00
>
> 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:4918 errors:0 dropped:0 overruns:0
frame:0
> TX packets:4918 errors:0 dropped:0 overruns:0
carrier:0
> collisions:0 txqueuelen:0
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:208.235.19.165 P-t-P:208.235.19.130
> Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500
Metric:1
> RX packets:7483 errors:1 dropped:0 overruns:0
frame:1
> TX packets:7561 errors:0 dropped:0 overruns:0
carrier:0
> collisions:0 txqueuelen:10
>
>
> [grunky@peoria27 grunky]$ smbclient -L localhost -N
> Added interface ip=208.235.19.165 bcast=208.235.19.165
> nmask=255.255.255.255
> Domain=[CCA] OS=[Unix] Server=[Samba 2.0.5a]
>
> Sharename Type Comment
> --------- ---- -------
> testing Disk first share testing
> cdrom Disk cdrom - automounts when
connected to
> IPC$ IPC IPC Service (Rogers server
running
> Samba 2.0.5a)
>
> Server Comment
> --------- -------
> PEORIA27 Rogers server running Samba
2.0.5a
>
> Workgroup Master
> --------- -------
> CCA
>
> [grunky@peoria27 grunky]$
>
> Anyone have any ideas whats going on? I'd like to be able to
start and
> stop samba at will...
>
>
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=2845&cus_id=USENET&qtn_id=2241
------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: static IP but no route to host says netscape
Date: 18 Aug 1999 20:26:55 GMT
> i have installed yellow dog linux on my mac in a subnetwork
whith a static
> IP adress. i am as sure as i can be of my network settings,
but netscape
> always says : tcp error, no route to host, the server must be
down or
Netscape is great for web browsing, but it should
not be used to diagnose network problems.
Have you tried pinging hostnames, as well
as ip addresses to determine if the problem you
are having is a problem with your DNS settings?
Having a static IP does not mean you'll have
a proper connection. Are you gateways and DNS
servers setup properly? If so, what are they?
Have you tried pinging yourself? If you can't
ping yourself (not 127.0.0.1, but your actual
IP, then there is a problem with your
network interface).
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=2844&cus_id=USENET&qtn_id=2235
------------------------------
From: dmalcolm <[EMAIL PROTECTED]>
Subject: Re: newbie ifconfig/eth question
Date: Wed, 18 Aug 1999 15:30:05 -0500
[EMAIL PROTECTED] wrote:
> Question ... I'm trying to learn to talk the talk here ...
>
> My rc.local file has entries to define multiple IP interfaces on eth0.
> e.g.:
> /sbin/ifconfig eth0:3 207.44.26.132 netmask 255.255.255.128
> /sbin/route add -host 207.44.26.132 dev eth0:3
> /sbin/ifconfig eth0:4 207.44.26.133 netmask 255.255.255.128
> /sbin/route add -host 207.44.26.133 dev eth0:4
> /sbin/ifconfig eth0:5 207.44.26.134 netmask 255.255.255.128
> /sbin/route add -host 207.44.26.134 dev eth0:5
> /sbin/ifconfig eth0:6 207.44.26.135 netmask 255.255.255.128
> /sbin/route add -host 207.44.26.135 dev eth0:6
>
> My question is what exactly the number following eth0: represents
> (e.g., eth0:3, eth0:4)?? Obviously it is used to allow one to bind
> multiple IPs to a NIC. What would we call these numberings?
> Bindings? Binding instances? I'm just looking for some terminology
> here (plus any explanation).
>
> Thanks,
> Matthias
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Good question. I'd like to know the answere to that and ...
If I had two routable IP's assigned to the unprotected interface on a
firewall, how do I route one of them thru IP Masquerading to the protected
net, changing its IP as needed so the packets arrive at the proper
destination? Is it port forwarding? IP Aliasing?
Hope we both get answere's
Dan Malcolm
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.system,redhat.servers.general
Subject: Re: KDE for Redhat 6.0 - problems installing
Date: Wed, 18 Aug 1999 19:52:46 GMT
Isn't kde 1.1.1pre2 a pre-release of 1.1.1? That
would make 1.1.1 newer than 1.1.1pre2. This is
also why it won't install: rpm only installs
newer packages by default.
If you really want to install 1.1.1pre2, you can
try the following:
rpm -Uvh --force <package>
but I wouldn't recommend it.
-Scott
In article <7peh4f$pl$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I have all those files on the CD for 6.0
> problem is, I chose to upgrade this great
desktop that my wife is very
> familiar with now when I upgraded the system.
>
> Now, kde doesn't work.
> I can't install the old version cuz it won't
install on 6.0 (old meaning
> 1.1.1). I can't install the new version (being
1.1.1pre2) cuz it says
> that kde is already installed.
>
> So, what to do now?
> I tried a forced install with rpm, didn't work.
> I did delete the old /opt/kde dir. too, didn't
work. (what's with
> installing the 1.1.1pre2 in /usr/ where it says
it wants to go?!). :-)
>
> Thanks.
> CMR
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Kelvin R. Dam" <[EMAIL PROTECTED]>
Subject: Re: Routing..
Date: Wed, 18 Aug 1999 22:36:06 +0200
Dustin Puryear wrote:
> I have two gateways on one subnet. The first is the company's internet
> firewall and has the address 192.168.1.1. The second connects this
> subnet with the other subnets and has the address 192.168.1.2. Also,
> 192.168.1.2 uses 192.168.1.1 as the default route.
>
> Now, machines on the other subnets are not able to access the
> internet. Also, windows machines are only able to access the internet
> if they have 192.168.1.1 as the default route. What do I need to
> change in order for all machines to access both the internet and the
> other subnets? Following are examples for the routing tables of
> machines both on the local and remote subnets:
>
> [Linux on another subnet (192.168.11.1)]
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window
> irtt Iface
> 192.168.1.2 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0
> 0 eth0
> 192.168.1.0 192.168.1.2 255.255.255.0 UG 0 0
> 0 ppp0
> 192.168.11.0 0.0.0.0 255.255.255.0 U 0 0
> 0 eth0
>
Hey Dustin!
I'm not sure I know what you mean, but if I understand you correct, I
think your fault lies in
ppp0 on your 192.168.1.0 net! It looks to me like you've tried to point a
gateway to an IP address
that's not a legal address but a loopback/broadcast.
And if I'm reading your schema "backwards" :), then the subnetmask to
192.168.1.2 is pure broadcast!
>
> Any help is appreciated!
>
You're welcome - hope it helped! ;-)
> ---
Kelvin Dam
Denmark
>
------------------------------
Crossposted-To: comp.unix.aix,comp.os.linux.misc
Subject: Re: tn3270 questions; need help
From: [EMAIL PROTECTED] (J. Otto Tennant)
Date: Wed, 18 Aug 1999 20:30:59 GMT
Raymonds Doetjes <[EMAIL PROTECTED]> writes:
>What kinda terminal srever do you have?
A 3com CS2600.
>Raymond
>"J. Otto Tennant" wrote:
>> This is a question about tn3270 in general, not about the particular
>> operating system it is running on.
>>
>> There is a central computer and several remote terminals. (They
>> happen to be IBM 3101s, but they could be anything, even an ADM-3a.)
>> The remote terminals are connected to a "terminal server" which
>> has an IP address (192.168.10.2, just to be definite.) The several
>> remote terminals respond to ports 2000, 2001, 2002, and so on as
>> telnet sessions.
>>
>> When I boot up the central computer, I want to treat these remote
>> terminals as 3270s and splash a legacy logon screen to them.
>>
>> I also need to hook them up to a daemon which receives requests,
>> processes them, and responds to them.
>>
>> I have exhausted my knowledge of networking, although I'm fairly
>> certain the solution must be straightforward.
>>
>> In principle, if I could write:
>>
>> tn3270 host port <192.168.10.2:2000 >192.168.10.2:2000
>>
>> it would work like magic (I think).
>>
>> What I need to do is associate a pty with the remote IP/port.
>>
>> (The terminal server also provides ports 3000, 3001, etc. which
>> are more "raw" than a telnet port, but I've forgotten the name
>> of the service.)
>>
>> I'm not certain I have explained the problem well enough for
>> anyone to comment.
>>
>> --
>> J.Otto Tennant [EMAIL PROTECTED]
>> Forsan et haec olim meminisse juvabit.
>> Charter Member of the Vast Right Wing Conspiracy
--
J.Otto Tennant [EMAIL PROTECTED]
Forsan et haec olim meminisse juvabit.
Charter Member of the Vast Right Wing Conspiracy
------------------------------
From: yongtao <[EMAIL PROTECTED]>
Subject: PPP and VPN Problem
Date: Tue, 17 Aug 1999 20:30:30 +1700
Hi Everyone,
I am trying to setup a VPN from my Linux box to a VPN
server, which I believe is an NT box. I am running RedHat
6.0, kernel 2.2.5. I use PPTP-Linux that I downloaded from
http://www.cag.lcs.mit.edu/~cananian/Projects/PPTP/. When I
run it, pppd failed. Here is what's in the log:
Aug 17 19:52:31 corvette (unknown)[913]: log
[pptp_conn_close:pptp_ctrl.c:275]: Closing PPTP connection
Aug 17 19:52:53 corvette (unknown)[932]: log
[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client
connection established.
Aug 17 19:52:54 corvette (unknown)[932]: log
[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing call
established.
Aug 17 19:52:54 corvette modprobe: can't locate module char-
major-108
Aug 17 19:52:54 corvette pppd[935]: pppd 2.3.9 started by
root, uid 0
Aug 17 19:52:54 corvette kernel: ppp_ioctl: set dbg flags
to 190000
Aug 17 19:52:54 corvette kernel: ppp_ioctl: set flags to
190000
Aug 17 19:52:54 corvette kernel: ppp_tty_ioctl: set
xasyncmap
Aug 17 19:52:54 corvette kernel: ppp_tty_ioctl: set xmit
asyncmap ffffffff
Aug 17 19:52:54 corvette kernel: ppp_ioctl: set flags to
190000
Aug 17 19:52:54 corvette pppd[935]: Using interface ppp0
Aug 17 19:52:54 corvette pppd[935]: Connect: ppp0 <-->
/dev/ttya0
Aug 17 19:52:54 corvette kernel: ppp_ioctl: set mru to 5dc
Aug 17 19:52:54 corvette kernel: ppp_tty_ioctl: set rcv
asyncmap ffffffff
Aug 17 19:53:24 corvette pppd[935]: LCP: timeout sending
Config-Requests
Looks like the server is not responding. I tried to upgrade
pppd from 2.3.7 to 2.3.9 and it didn't help. Here is what's
in my /etc/ppp/options:
asyncmap 0xa0000
lock
defaultroute
noaccomp
nomagic
nopcomp
noauth
noipx
noipdefault
kdebug 25
passive
I am able to VPN into the same server using NT. So the
server is not a problem. I tried many combinations of pppd
options without any luck. Any help would be greatly
appreciated.
Yongtao
[EMAIL PROTECTED]
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
------------------------------
From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: General Network Question
Date: Wed, 18 Aug 1999 11:34:19 +0200
Your COrebuilder should have a routing table or have ip forwarding enabled
so that each port knows where to find the others and vice versa.
Then on yuor client you have to tell it that it needs to use the default
gateway address of the CoreBuilderport f.i.
PC 10.0.0.1 should have a default gateway address 10.0.0.254 what will
happen is, if it can't find the address in it's own subnet, the client will
forward that paket to the ip addre 10.0.0.254 (namely the router), the
router will check if it knows the destinations subnet if yes he will
forward it to that interface and done.
Itse simple ;-)
Raymond
Chris Wells wrote:
> I know that this is a general networking question and not linux specific
> but I am trying to network linux boxes. :)
>
> I recently got a 3Com Corebuilder 3500 layer 3 switch/router and have a
> few questions. First of all I am trying to break up a corp network into
> 4 subnets and am using the following addressing scheme.
>
> subnet 1: 10.0.0.0/24
> subnet 2: 10.0.1.0/24
> subnet 3: 10.0.2.0/24
> subnet 4: 10.0.3.0/24
>
> Each of the subnets is going to occupy a single router port. I setup a
> VLAN (I'm new to VLANs and don't fully understand them) for each subnet
> and assigned ip addresses to each router interface in the following
> manner:
>
> router port 1: 10.0.0.254/24 - subnet 1
> router port 2: 10.0.1.254/24 - subnet 2
> router port 3: 10.0.2.254/24 - subnet 3
> router port 4: 10.0.3.254/24 - subnet 4
>
> This is where I get confused. For testing purposes I connected a PC
> directly to a given router port and assign it an address in that
> network, for example:
>
> PC1: 10.0.0.2/24 ::CONNECTED DIRECTLY TO:: router port 1: 10.0.0.254/24
> PC2: 10.0.1.2/24 ::CONNECTED DIRECTLY TO:: router port 2: 10.0.1.254/24
>
> I am unable to ping any router ports or PC1 from PC2.
>
> Question 1: Does this setup make sense?
>
> Question 2: I plan on just doing static routing since this is an
> internal network with only 1 router, do I need any static routes? I'm
> guesing no since I am not forwarding any packets to any other routers.
>
> Questions 3: Why are VLANs necessary? What is their purpose?
>
> Sorry for the long winded explanation but I wanted to be explicit and
> thanks for any help.
>
> Chris Wells
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: NetGear Ethernet Card
Date: Wed, 18 Aug 1999 20:30:52 GMT
Dont use the tulip driver, it will not work with the EA201. The EA201 can
use the NE2000 driver. The tulip driver works with DEC chips such as the
FA103 which is a 100mbs PCI card.
happy hunting
Frank Sweetser wrote:
>
> root <[EMAIL PROTECTED]> writes:
>
> > I have a NetGear EA201 10mbps card and I need a Linux driver. Anyone
> > know of one?
>
> use the tulip driver.
>
> --
> Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key
available
> paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public
servers
> Anybody want a binary telemetry frame editor written in Perl?
> -- Larry Wall in <[EMAIL PROTECTED]>
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: ALSA
Date: Wed, 18 Aug 1999 21:05:30 GMT
On Wed, 18 Aug 1999 22:19:45 +0300, Timo Tossavainen <[EMAIL PROTECTED]> wrote:
>Kaz Kylheku wrote:
>
>> The problem is that most consumers use MS Windows and get ``free'' drivers with
>> the purchase of their card, and don't give a hoot about HW specs, the
>> availability of which affects only users of operating systems they don't even
>> know about.
>
>True. Which is why a binary standard for drivers would be useful then one driver
>would do for all operating systems. I don't know if such a thing is possible
>though. Maybe there's a way to use the windows drivers ? I still wonder why they
>can't release the programming specs, what do they have to lose ?
The could piss off the independent software vendors to whom they may have
outsourced the driver development, for one thing.
------------------------------
From: Magnus Svensson <[EMAIL PROTECTED]>
Subject: Re: Appending a ext2 filesystem
Date: Wed, 18 Aug 1999 22:27:16 +0200
Reply-To: [EMAIL PROTECTED]
Gee... can't you try to remember a little harder... :)
Seriously, if anyone can name these tools, I'll be eternally grateful. :)
/Magnus Svensson
[EMAIL PROTECTED]
Raymonds Doetjes wrote:
>His question was howto span ext2 volumes.
>I would like to know this asswell you know how.
>
>I know that there are certain tools but I can't remember their names. If you
>have that tools you can cluster the inode tables together to make 1 big
>volume
------------------------------
From: "Marco" <[EMAIL PROTECTED]>
Subject: DIALD HELP FOR DUMMY
Date: Wed, 18 Aug 1999 20:53:54 +0200
Hi -
i need help to setup diald. I want to dial up over a linux box to connect my
lan to the internet on demand.
please dont tell my to read this hard to read howtos i did it. i also read
the man's.
i just want to know what i have to do on the first step etc etc etc.
i use SUSE 6.1 K 2.2.7.
each advice is welcome
i will help too - everybody can write me an email - i will help to if i get
the information i need.
CU Marco
please use the email to write back. Thank you
[EMAIL PROTECTED]
------------------------------
Crossposted-To: comp.os.linux.misc
From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Samba Mapping drives based upon group membership
Date: Wed, 18 Aug 1999 04:56:28 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
======_=_NextPart_000_01BEE9A8.97B3D438
Content-Type: text/plain;
charset="windows-1252"
(Sorry I forgot to attache the sample files sorry about that ;-)
I have created a logonscript.pl wich creates Windows logonscripts on the
fly on a per user bases. This means that there are virtualy no problems
anymore for creating complex inlog scripts based upon group memberships.
You can also extend this logonscript.pl to create even more complex
tasks (like I have done such as starting the X-server on the windows
machine and starting sever X application during the inlog process). You
can do anything aslong as the Client can start those applications from a
batch file ;-)
This is done by the use of the
root preexec method in the [netlogon] service wich is started first.
To use this script you should add these changes to your smb.conf file
[global]
logon script = %U.bat
[netlogon]
; This first statement runs de logonscript.pl file with de username as
paramter
root prexec = /usr/local/netlogon/logonscript.pl %U
;This second statement removes the %U.bat file after the user has
disconnected from this share/service
root postexec = rm /usr/local/netlogon/%U.bat
I have attached my own smb.conf and the logonscript.pl
You should alter the $server="PHONAX" constant in to your own server
such as
$server="MYSERVER"; whatever ;-)
Perhaps you should edit the logonscript.pl file to alter the paths of
the group file and the destination path of the %U.bat file. I always use
/usr/local/netlogon
Regards
Raymond Doetjes
======_=_NextPart_000_01BEE9A8.97B3D438
Content-Type: text/plain;
name="smb.conf"
Content-Disposition: attachment;
filename="smb.conf"
[global]
workgroup = phonax!
guest account = nobody
keep alive = 30
os level = 2
security = user
printing = bsd
printcap name = /etc/printcap
load printers = yes
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\phonax\%U\profiles
#logon script = logon.bat
logon script = %U.bat
logon drive = h:
logon home = "\\phonax\%U"
encrypt passwords = yes
socket options = TCP_NODELAY
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
interfaces = 194.79.210.1/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = yes
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1
[netlogon]
comment = On the fly creation off Logon script
root preexec = /usr/local/netlogon/logonscript.pl %U
root postexec = rm /usr/local/netlogon/%U.bat
path = /usr/local/netlogon
guest ok = no
read only = no
locking = no
[homes]
comment = Home directories
browseable = no
read only = no
create mode = 0750
oplocks = True
; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
[root]
comment = Alles
path = /
read only = yes
oplocks = True
[cdrom]
comment = Linux CD-ROM
path = /cdrom
read only = yes
locking = no
[zip]
comment = Linux ZIP drive
path = /mnt
read only = no
locking = no
[prikbord]
comment = Voor tijdelijk gebruik
path = /prikbord
read only = no
locking =no
oplocks = True
[archief]
comment = Voor permanente opslag
path = /archief
read only = no
locking = no
oplocks = True
[sybase]
comment = Sybase sotfware dir
path = /opt/sybase
read only = no
locking = yes
oplocks = true
[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp
======_=_NextPart_000_01BEE9A8.97B3D438
Content-Type: application/x-perl;
name="logonscript.pl"
Content-Disposition: attachment;
filename="logonscript.pl"
#!/usr/bin/perl
##Const that identiefies the servername
$server="PHONAX";
##1 Open /etc/group.
##2 Parse the data with the : char so that you get group name,x and users
##3 Now on item 3 in the parsed array is are the users
##4 Now parse the user list with a , char to obtain the individual users
sub ingroup($)
{
open (FD,"</etc/group");
while (<FD>)
{
my $a=$_;
my @parsed=split(':',$a);
if (@parsed[0] eq @_[0])
{
my @user=split(",",@parsed[3]);
foreach $user (@user)
{
$user =~ s/\n//g;
if ($user eq lc($ARGV[0])) {return 1};
}
}
}
}
##Start to create the logon script
open (LOGON,">/usr/local/netlogon/$ARGV[0].bat");
##Map default drives that are used by everyone
##The douvle slashes are needed since perl interprets a single \ is a
##control charachet. So this leaves us with a syntax that is common with the
##smbclient asswell
print LOGON "\@ECHO OFF\r\n";
print LOGON "NET TIME \\\\$server /SET /YES\r\n";
print LOGON "NET USE H: /HOME\r\n";
print LOGON "NET USE E: \\\\$server\\ZIP\r\n";
print LOGON "NET USE J: \\\\$server\\PRIKBORD\r\n";
print LOGON "NET USE G: \\\\$server\\ARCHIEF\r\n";
##Map drives based upon group memberships
##The double slashes are needed since perl interprets a single \ as a
##cpntrol character
if (&ingroup("sybase")) {print LOGON "NET USE I: \\\\$server\\SYBASE\r\n"};
close LOGON;
close FD;
======_=_NextPart_000_01BEE9A8.97B3D438==
------------------------------
Date: Wed, 18 Aug 1999 14:31:34 -0700
From: Tony Maddux <[EMAIL PROTECTED]>
Subject: mail routing for wrong/unknown users
What is the proper way to route mail that comes into our domain with an
incorrect or misspelled user to an administrative account??
T.
------------------------------
From: [EMAIL PROTECTED] (Bob Beaty)
Crossposted-To: alt.os.linux
Subject: Re: Faster Internet Connection
Reply-To: [EMAIL PROTECTED]
Date: Wed, 18 Aug 1999 20:56:05 GMT
In <[EMAIL PROTECTED]> David Bruce wrote:
> I need a faster internet connection. Cable modems will be available in
> my area in another year, but I don't really want to wait that long,
plus
> I've heard some not great things about cable modems.
> Is ISDN the answer?
Depends. (obviously)
I have a cable modem for my personal use and an ISDN (2B+D = 128kbps)
line for my connection to my work. Yes, I know how lucky I am - but my
cable bill is as much as a cheap car, so I'm paying for it :)
Anyway, my ISDN line is hooked to a Cisco 700 series router which is VERY
nice. It does dial-on-demand, and I can program under what load
conditions the second line comes up and is torn down. This makes
controlling the cost and bandwidth very easy.
It also means that both methods look like standard 10-baseT TCP/IP
ethernet ports. This is good.
> Is it cost effective?
You have to want it really bad, in my opinion.
Costs for me (Chicago, IL area): $60/mo for cable modem (4 IP addresses
all DHCP), and well over $800/mo ISDN. Thankfully, since it's
work-related, work pays for the ISDN, but it's not cheap. Some regions of
Ameritech have flat-rate ISDN now. Unfortunately, we're not in that zone
now.
In the flat-rate ISDN zones, it's about $80-90/mo "all you can dial" -
except for long-distance charges. This is, in my opinion, very reasonable
given the tariffs on phone service in the States. It will ALWAYS be more
than a cable modem because it can be charged that way. Cable companies
get more from you for their "basic" service, so they can afford to charge
less for the "goodies". At least that's my $0.02 worth.
> How well does it work with
> Linux and which ISDN modems work best with Linux if any?
Get an external box like the Cisco 700 series. It does CHAP/PAP so it
should work with anyone really doing ISDN service as an ISP and it's
really beautiful to hook it into a hub and then just have standard
10-baseT run around the house.
Then again, these are just my opinions...
You might want to look into DSL (formerly ADSL) - it's available in some
areas that Cable modems haven't reached and it too, is T1 speed
(1.54Mbps).
Thanks,
Bob ([EMAIL PROTECTED])
The Man from S.P.U.D.
We will write no code before it's designed.
------------------------------
From: "Dr. Al Bento" <[EMAIL PROTECTED]>
Subject: Re: Sendmail in LAN
Date: Wed, 18 Aug 1999 21:25:57 GMT
The solution was so simple that I overlooked it. All that is needed to
do is to place a fictitious FQDN for the Linux machine in the /etc/hosts
file. See http://home.ubalt.edu/abento/linux/terminal/sendmail-fix.html
"Dr. Al Bento" wrote:
>
> How can I set up Sendmail in a LAN not connected to the Net, so that it
> does not take forever to time out at boot because it cannot find the
> FQDN in the DNS server? Can I create a fake FQDN in the LAN use HOSTS or
> the like to avoid this?
>
> TIA
>
> Al
------------------------------
** 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
******************************