Linux-Networking Digest #337, Volume #12 Mon, 23 Aug 99 17:13:40 EDT
Contents:
need help with networking ("Tony Dail")
Re: Samba Client Woes (Benoit Gerrienne)
Re: IP Masquerading Challenge (Gustin Kiffney)
Re: PPP woes continue (Clifford Kite)
small company IMAP email planning: best way? (matt shobe)
Re: Netgear FA310TX (Rich Carreiro)
Re: Need to implement PPPoE for DSL service... ([EMAIL PROTECTED])
Re: Samba--next dumb question (Andrew Williams)
Re: Cann't get samba to print from win95 to linux printer!!!!!! (Andrew Williams)
swat login does not accept blank passwd (Eric Wong)
Cable Modem A2000 ("Winston Chu")
dhcpd: DHCPREQUEST but no DHCPACK (root)
Re: apache and root user (dmalcolm)
Re: PPP/PAP on server (Clifford Kite)
Re: 2 machines but 1 IP (Roy Grimm)
Re: problem Installing RH6 via FTP (=?iso-8859-1?Q?S=E9bastien?= Bonnet)
2 machines but 1 IP ("Per-Johan Wiberg")
Re: SMTP Server Problem (dmalcolm)
----------------------------------------------------------------------------
From: "Tony Dail" <[EMAIL PROTECTED]>
Subject: need help with networking
Date: Sun, 22 Aug 1999 10:13:00 -0400
I just installed Red Hat 6 about 2 weeks ago on my laptop.
Everything was working fine until I tried to connect it to the network at
work.
I did the setup with linuxconf. After numerous attempts, I finally gave up
on the idea. Now I have a new problem.
When ever I start up Red Hat, I get several errors.
1. When httpd is starting is says it can't resolve localhost.localdomain
anymore. I have temporarily fixed that by setting the ServerName directive
manually.
2. When gnome is starting, it tells me that it can't lookup the internet
address for localhost.localdomain.
If I ping localhost, it returns 127.0.0.1, appears to be fine.
If I do an nslookup it says it can't find the server name for address
127.0.0.1
It doesn't appear to be resolving anything anymore.
My /ect/host looks like this:
127.0.0.1 localhost localhost.localdomain
My box was a stand alone server before but now it acts like it is on a
network even though it isn't.
Any ideas how to fix this, and once I do this, what files do I need to back
up in case this happens again.
Thanks in advance.
Tony
------------------------------
From: Benoit Gerrienne <[EMAIL PROTECTED]>
Crossposted-To: linux.samba
Subject: Re: Samba Client Woes
Date: Mon, 23 Aug 1999 20:56:42 +0200
Hi,
see my reply in your mail :
root wrote:
> > -this is my smb.conf
> > [global]
> >
> > security = server
> > config file = /etc/smb.conf
> > announce as = Win95
> > share modes = yes
> > encrypt passwords = yes
> > smb passwd file = /etc/smbpasswd
> > mangle case = yes
> > case sensitive = no
> > default case = lower
> > preserve case = yes
> > short preserve case = no
> > password level = 0
> > preferred master = no
> > os level = 0
> > null passwords = yes
> > dead time = 0
> > debug level = 0
> > domain master = no
> > load printers = no
> > password server = TELECON
This need to be the name of your PDC and optionally those of your BDC also and
not the domain name.
> > comment = Ben
> > workgroup = TELECON
> > [Root]
> > available = yes
> > public = yes
> > guest only = no
> > writable = no
> > browseable = yes
> > only user = no
> > comment = The root dir of my HD.
> > path = /
> > write list = root
> >
> > -here are some common error messages:
> > smbmount '\\halo\' -U polidore -W TELECON
> > Password:
> > SMBtconX failed. ERRDOS - ERRnosuchshare
> > Perhaps you are using the wrong sharename, username or password?
> > Some servers insist that these be in uppercase
The right syntax is smbmount '\\halo\<SHARENAME>' /mount-point -U polidore [-W
telecon]. The -W telecon is not really needed because you specified TELECON as
workgroup in your smb.conf.
The purpose of this command is to mount a SMB share, so you need to use full UNC
: \\SERVER\SHARE and also the name of a directory to mount the share. This is
not a tool to log you on a SMB server.
> > BUT halo is in my lmhosts file. This is what happens when I use one
> > that's not:
> > smbmount '\\robert\' -U polidore -W TELECON
> >
> > cli_open_sockets: Unknown host ROBERT.
> >
The first method used by Samba to resolve a name to his IP address is by sending
a broadcast. But this work only for the machine on the same subnet and segment.
Is this the case for the machine called ROBERT. The second method is to look up
a WINS server. The third is to look up the lmhost file and the fourth is to
resolve the SMB machine name as an Internet name (using DNS or the /etc/hosts
file).
If some machines that you need to access are not on the same segment as you or
does not have the same broadcast address as your Linux server, you will need to
use one of the three last method.
> > This is what happens when I try to log in to my NT server with
> > smbpasswd:
> > smbpasswd -j TELECON
> > modify_trust_password: Can't resolve address for TELECON
> > 1999/07/27 11:20:08 : change_trust_account_password: Failed to change
> password for domain TELECON.
For Samba to be able to join the domain TELECON, you will need to do the
following :
1) on the PDC, be sure to add a NT Workstation account in the Server Manager
for your Samba machine. Don't add a BDC or it won't work. This is done while
Samba is running.
2) On the Samba server, stop Samba and run the following command :
smbpasswd -j TELECON -r <PDC-NAME>
If the command succeed, you will find a file called TELECON.<SAMBA
NAME>.mac in the private directory of Samba. (Directory where you find the
smbpasswd file).
If you don't use any WINS server, be sure to have in the lmhosts file of Samba
the following line :
x.x.x.x PDC-NAME #DOM:TELECON
to be sure that Samba will use PDC-NAME as PDC of TELECON.
> Can someone please help me. I've been working on this for 2 days, and
> I'm at my wit's end. Also, please send me a cc: of your replies.
>
> Thanks in advance,
> Ben Polidore
> [EMAIL PROTECTED]
You can find more detailed information on my web site (see the address below).
I hope this will help you,
Best regards,
Benoit Gerrienne
Telindus Belgium
MHS & X.400 Support Engineer
My samba help site : http://www.ping.be/linux-and-samba
In french - en fran�ais : http://samba.linuxbe.org
Professional web site : http://www.telindus.com
------------------------------
From: Gustin Kiffney <[EMAIL PROTECTED]>
Subject: Re: IP Masquerading Challenge
Date: Mon, 23 Aug 1999 18:54:57 GMT
Don't get mad if this seems too elementary, but did
you set the network tcp/ip gateway on all those Win95/NT
machines to be 192.68.1.1(your Linux masquerading gateway)?
agent seven <[EMAIL PROTECTED]> wrote:
> Greetings!
>
> Here's my situation:
>
> I'm running RedHat 6 at home as a firewall running IP Masquerading.
> Until this weekend, I had only one other machine on this network, a
> Windows 95 box set to 192.168.1.2. My little network has worked
> flawlessly for quite a few months this way.
>
> I want to start learning how to use NT (it will help my situation at
> work), so this weekend I installed NT on a machine, configured it to
> 192.168.1.3 and hooked it up. It didn't work. After a number of hours
> of struggling, I decided to hook up my one other machine (another
> Windows 95 box), figuring maybe I just didn't know what I was doing
> with NT.
The reason I ask is it's not enough to give the NT or 95 box the
right IP address. You have to also set up in Control Panel|Networking
|TCP/IP|Gateway and put the address of the Linux box.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP woes continue
Date: 22 Aug 1999 09:03:06 -0500
Amir J. Katz ([EMAIL PROTECTED]) wrote:
: This is a multi-part message in MIME format.
: --------------73437EF3F0E23959894BC120
: Content-Type: text/plain; charset=us-ascii
: Content-Transfer-Encoding: 7bit
: [This is a followup on a thread I started about a week ago, but somehow
: dies]
: I got past the authentication problem - specified the necsessary PAP
: stuff and now my ISP does not respond to IPCP requests issues by my ppp
: process - see below.
: My questions:
: 1) Is my my ppp's fault or the IPS's fault here ?
Without more information than you posted it's hard to tell. Try using the
pppd option asyncmap a0000 .
: 2) What is this "remote message: ^F" doing there ?
Beats me, but there are some PPP implementations send it after completing
authentication. If you find out we'd be interested.
: 3) Where can I get more info about the different message types used by
: PPP (LCP, PAP, IPCP) ?
RFC 1661 is the definitive RFC for PPP and if you read and understand
it then the meanings will be clear. I don't know of any document that
defines the message syntax that pppd uses except the pppd source code.
: Thanks.
You can thank me by *not*posting*in*mime* to newsgroups.
: .....
: sent [PAP AuthReq id=0x1 user="my-user-name" password="******"]
: rcvd [PAP AuthAck id=0x1 ""]
: Remote message: ^F
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
: IPCP: timeout sending Config-Requests
: sent [LCP TermReq id=0x2 "No network protocols running"]
: Modem hangup
: Connection terminated.
: Connect time 0.6 minutes.
: [1]+ Done pppd -d -detach /dev/ttyS1 38400
: [root@localhost /root]#
: --------------73437EF3F0E23959894BC120
: Content-Type: text/x-vcard; charset=us-ascii;
: name="unix_hacker.vcf"
: Content-Transfer-Encoding: 7bit
: Content-Description: Card for Amir J. Katz
: Content-Disposition: attachment;
: filename="unix_hacker.vcf"
: begin:vcard
: n:Katz;Amir J.
: tel;fax:+972-3-645-1100
: tel;work:+972-3-645-1145
: x-mozilla-html:FALSE
: url:http://www.bmc.com
: org:BMC Software, Inc.;IT Process Automation Business Unit (previously New Dimension
:Software)
: version:2.1
: email;internet:amir_katz 'at' bmc.com
: title:Unix, Perl and Linux Hacker
: adr;quoted-printable:;;P.O. Box 58168=0D=0A;Tel-Aviv;;61581;Israel
: note;quoted-printable:Replace the 'at' in the e-mail address with @, remove the
:blanks=0D=0Aand, presto! you got mail (address).
: fn:Unix Maven
: end:vcard
: --------------73437EF3F0E23959894BC120--
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Governments should be changed like diapers - often and for the
* same reason. */
------------------------------
From: matt shobe <[EMAIL PROTECTED]>
Subject: small company IMAP email planning: best way?
Date: Mon, 23 Aug 1999 19:20:12 GMT
I need to set up a RedHat 6.0 system running the default IMAP server
for small corporate email use (~120 users). I'd simply like a little
reinforcement that my approach to setting up user accounts on this
machine is a good one. The following conditions apply to the user group
in question:
- none ever expect to use telnet or require shell access; email is
their only application
- all will access from Windows 9x boxes, using OUtlook Express or
COmmunicator 4.6 as their IMAP client
- only the administrator and one other supervisor expect to manage user
accounts and other system properties
With this in mind, is the following approach to a freshly installed
system the best, or am I missing something:
1) Install IMAP RPM and get it going, and configure MX pointer for DNS
to point to this machine.
1.5) Leave all other file settings and permissions in the system at
install default (again, RedHat 6.0)
2) Create all the user accounts with KDE User Manager or some other
script, assigning each mail user to GID 100 (users). Also, figure out
some secure process by which users update their shell passwords (web-
based?) so their accounts are secure
3) Assign the two administrators additional group access to the
group 'adm'
This should allow all ~120 new users to have immediate IMAP inbox
access, once their passwords are set. This seems like a very common
task, although no FAQ or How-To discussed it specifically. Is there
another published resource I should locate for LINUX-solely-as-mail-
server best practices?
Thanks gurus,
--
Matt Shobe
Burning Door LLC - http://www.burningdoor.com
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware,linux.dev.net
Subject: Re: Netgear FA310TX
From: Rich Carreiro <[EMAIL PROTECTED]>
Date: 23 Aug 1999 15:43:04 -0400
[EMAIL PROTECTED] (Dave Platt) writes:
> The original version used the DEC 21140 chip. I've bought, and used,
> a bunch of these over the years, with very good results. The
> "tulip.c" driver in the kernel works well, although you may want to
> update to the latest version.
>
> Starting about a year ago, Netgear switched over to an FA310TX design
> which uses an OEM'ed Lite-On PNIC chip with a Netgear part number.
> Although the PNIC is supposed to be Tulip-compatible, and it _mostly_
> works with the Tulip driver, there are some definite problems.
Have you tried using the "patched" Tulip driver that Netgear/BayNetworks
provides on their current driver disks (and is avail on their website)?
--
Rich Carreiro [EMAIL PROTECTED]
"I've come to the conclusion that there should be a tort for wasting my
time because you're an idiot." -- Stephen T. Middlebrook
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Need to implement PPPoE for DSL service...
Date: Mon, 23 Aug 1999 19:12:38 GMT
In article <[EMAIL PROTECTED]>,
John Dowd <[EMAIL PROTECTED]> wrote:
> I'm currently using DHCP to connect to my ISP and its always worked
> fine. Now they are going to some kind of access management s/w and it
> requires PPPoE in order for me to connect. Since they only officially
> support WinBloze and Mac's they haven't produced the s/w for Linux.
I'm
> running SuSE 6.1.
>
> Has anyone out there experienced this and do you know what I need to
> setup on my machine to be able to connect? I'm assuming that I need to
> get the PPP s/w installed first.
>
> Cheers!!
> --
> ---------------------------------------------------------------------
> To err is human, to forgive is not company policy!
>
> John Dowd
>
[EMAIL PROTECTED]
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Samba--next dumb question
Date: Mon, 23 Aug 1999 10:37:00 +0200
Reply-To: [EMAIL PROTECTED]
yes - smbmount. The syntax necessary depends on the kernel (2.0 or 2.1/2.2) and
the version of smbmount (Samba 2.0.5a changed it again).
Section 4.14 on my web-page goes a bit further into this, but 'smbmount -h'
should normally give you some clues.
Hiawatha Bray wrote:
> So okay. Now I can see the files on my Linux box from my PC. Now, how do I
> fix it so I can see my PC files on the Linux machine? I think it has
> something to do with the smbmount command, but the man pages don't provide
> much in the way of explanation of exactly how it's done...
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://www.germanynet.de/teilnehmer/101/69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Cann't get samba to print from win95 to linux printer!!!!!!
Date: Mon, 23 Aug 1999 10:39:16 +0200
Reply-To: [EMAIL PROTECTED]
try:
chmod 1777 /var/spool/lpd/lp
Jeff PIerce wrote:
> Ok, I have smbd in inetd.conf and the works..
> Here is my smb.conf file
> ; /etc/smb.conf
> ;
> ; Make sure and restart the server after making changes to this file,
> ex:
> ; /etc/rc.d/init.d/smb stop
> ; /etc/rc.d/init.d/smb start
>
> [global]
> ; Uncomment this if you want a guest account
> ; guest account = nobody
> log file = /var/log/samba-log.%m
> lock directory = /var/lock/samba
> share modes = yes
> printing = bsd
> printcap name = /etc/printcap
> load printers = yes
> log file = /var/log/samba-log.%m
> lock directory = /var/lock/samba
>
> [homes]
> comment = Home Directories
> browseable = no
> read only = no
> create mode = 0750
>
> [printers]
> comment = All Printers
> security = server
> path = /var/spool/lpd/lp
> browseable = no
> printable = yes
> public = yes
> writable = no
> create mode = 0700
>
> [tmp]
> comment = Temporary file space
> path = /tmp
> read only = no
> public = yes
>
> Right straight from the how-to.
> I go to the win95 machine, which I had just rebuilt, and install a
> network printer using browse entire network. Bingo, my Linux box with
> all of my /etc/printcap entries show up. I select lp, just a straight
> through, no filters.
> Now, I go to Word and try to print a one page doc..
> I get the following error.
>
> There was error writing to \\Penny\lp for printer (HP DeskJet 660C):
> (Penny is my linux machine)
> There was a problem printing to the printer due to an unknown system
> error.
> Restart windows, and then try printing again.
> This printer will be set to work offline.
> To save your print job on the local printer queue, click OK
>
> So, I beboot and try again. Same damn thing.
>
> What is going on????
>
> --
> Jeff Pierce
> [EMAIL PROTECTED]
>
> -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
> http://www.newsfeeds.com The Largest Usenet Servers in the World!
> ------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://www.germanynet.de/teilnehmer/101/69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
Date: Tue, 24 Aug 1999 01:40:22 +0800
From: Eric Wong <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: swat login does not accept blank passwd
Hello, just now I had tried swat and I cannot login, just because my
passwd is blank. (login: "root", no passwd). Just to report it here.
To reply, remove the heading x:
[EMAIL PROTECTED]
------------------------------
From: "Winston Chu" <[EMAIL PROTECTED]>
Subject: Cable Modem A2000
Date: Mon, 23 Aug 1999 18:08:19 +0200
I can't get my Linux-box on the net:
I use:
Slakware 4.0 kernel 2.26
dhcpcd 1.33
3c509 combo 10BaseT configured
On the same system using a Windows HD it works ok.
In Linux I get the following messages after typing dhcpcd
Setting 0 addresses..
Setting 1 addresses..
After some time I get my prompt back and no IP
I've already checked my nic-driver with dmesg and it seems to be Ok even the
Media
Please help
Winston
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: dhcpd: DHCPREQUEST but no DHCPACK
Date: Mon, 23 Aug 1999 19:57:42 +0200
Hello,
I've got a pretty strange problem. I've setted up a dhcp server on rh
6.0 (other services like smbd are running too).
DHCPD-V2-BETA-1-PATCHLEVEL-6 is partly running without problems.
Win95/98/NT4 hasnt any problems to get an Ip via dhcp, but it seems to
be different under DOS.
When the DOS client makes an request and gets an IP he writes a file
named dhcp.prm which is hidden an readonly. I think in there is the
information which the client gots from the dhcp server. If i delete the
file the client gets a new IP an everthing works fine.. But if i leave
the file untouched the client sends request to the server but the server
doesnt make any replies.
Aug 23 19:53:56 artemis dhcpd: DHCPREQUEST for 172.16.2.16 from
00:10:5a:40:e0:a8 via eth0
and nothing more.
Under Windows the DHCP sequence looks quite well.. DHCPREQUEST ant then
a DHCPACK.
Befor we had the Linux DHPC server we had a Novell server which ran,
just like the linux box, over TCP/IP a dhcp server. We hadnt these
problems..
One thing was to add the net route 255.255.255.255, but its still the
same..
need help..
Thanks,
Greetings Michi
------------------------------
From: dmalcolm <[EMAIL PROTECTED]>
Subject: Re: apache and root user
Date: Mon, 23 Aug 1999 14:25:31 -0500
Guido Dolci wrote:
> I have to run a CGI script that can read and write a file owned by
> root... I'll be using apache on a linux box, but of course I won't run
> apache as root. Any other (more secure) solutions??
>
> Thanks
>
> Guido
Owned by root is ok as long as users and groups also have read/write
privledges. Try looking at the man pages for 'chmod'. using chmod you
can set the r/w privledges for users and groups. Something like: chmod
666 myfile. You will have to be root or superuser to do this.
Dan
[EMAIL PROTECTED]
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP/PAP on server
Date: 23 Aug 1999 14:29:44 -0500
Maurice Reid ([EMAIL PROTECTED]) wrote:
: I'm trying to set up a Win95 DUN compatible dial-up scheme for my home
: network using the Linux's password file for dial-up authentication.
: I have 2 problems which don't want to go away.
: 1. I can't get PAP to work. If I comment out the "auth" in the
: /etc/ppp/options.ttyS1 file, I can connect and ping the server. If I
: include "auth" the connection fails. The pwd is correct.
You have to configure a pap-secrets file, just using the pppd "login"
won't do it. The passwd file check is in addition to the PAP secrets
check. To avoid secrets in pap-secrets you can use the login option
to validate a caller and put a line like
"" * "" *
in pap-secrets.
A `*' allows any remote name or IP address. The "" in the "client" and
secret fields says that any username or secret will do. I think that
2.2.3 needs the fourth field, which specifies what IP addresses the caller
can use. Check with man pppd. (The first field (client) may need a `*'
instead of the "", I'm not clear on this and neither are the man pages.)
: I don't really know which logs to be looking at for help with this.
The logs are in /var/log , the various message types may be sent to
different logs in this directory, or other places depending on how
/etc/syslog.conf is configured.
: 2. The connection I can make does not reach other IP's in the network.
: I've included "proxyarp" in the "options" file. This is to do with IP
: forwarding I know. If it's the kernel, how do I tell?
The problem may have to do with the fourth field in pap-secrets, or
rather the lack of one. Check to see if the caller is assigned an IP
address that belongs to your LAN, a requirement for proxy arp.
: I'm using RedHat 5.1, pppd-2.3.3, mgetty-1.1.14
: Any pointers would be gratefully received.
: Below is my options.ttyS1 (with the commented-out "auth"
The auth (or +pap) should work went the pap-secrets is configured
satisfactorily.
: # PPP options file for ttyS1 (COM2)
: # Force authentication
: #auth
: # Authenticate user against the user database
: #+pap
: #-chap
: login
: modem
: crtscts
: lock
: proxyarp
: 1.1.1.102:1.1.1.103
: ms-dns 1.1.1.102
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Microsoft is a great marketing organization.
* It _has_ to be */
------------------------------
From: Roy Grimm <[EMAIL PROTECTED]>
Subject: Re: 2 machines but 1 IP
Date: Mon, 23 Aug 1999 12:42:15 -0500
Per-Johan Wiberg wrote:
>
> Hi.
> I installed SuSe Linux 6.1 with kernel 2.2.7 a few weeks ago and it works
> just fine. There is only on problem. I want to use two machines on one IP.
> I have two ethernet cards installed on the linux machine and one ethernet
> card on a laptop running on NT. I want the NT machine to get access to the
> Internet through
> the linux machine. I have read different HOWTO�s but I dont really know
> where to start. I dont know if have to use routed, named or if I have to buy
> a hub.
> Thanks
> /PJ
Start with IP Masquerading. The Linux box will be the gateway between
your local private network and the internet. With two ethernet cards in
the Linux box, you have all the pieces you need to implement it.
--
I'm not a good artist but I am good at drawing a blank.
------------------------------
From: =?iso-8859-1?Q?S=E9bastien?= Bonnet <[EMAIL PROTECTED]>
Subject: Re: problem Installing RH6 via FTP
Date: Mon, 23 Aug 1999 14:53:49 -0400
Reply-To: [EMAIL PROTECTED]
> I would REALLY appreciate any help and NOT have to go to a windows
> box to use for my proxy.
Don't worry, this won't happen.
> (feeling like the only one with this problem )
No no no, it happened to me too !
> [problems with FTP install of RH6]
OK. Here is what happened to me. I had a CDROM drive, but I could not
install from it (the install prog did not recognize it). The only way I
had to do it was via FTP. In fact, just like you.
The network card is somehow old, but it was recognized. Fine. The
problem appeared exactly at the same tiem as yours. With the sames error
messages.
The only problem is in the path you give. I can't remember exactly what
should be given, but I can tell I tried with and without the leading
slash, with and without the first, and then second, directory, and it
finally worked. You should try this. I know it's no really a good
explanation, but it works.
Goof luck
--
S�bastien Bonnet
[EMAIL PROTECTED] http://www.multimania.com/bonseb/
------------------------------
From: "Per-Johan Wiberg" <[EMAIL PROTECTED]>
Subject: 2 machines but 1 IP
Date: Mon, 23 Aug 1999 19:51:34 +0200
Hi.
I installed SuSe Linux 6.1 with kernel 2.2.7 a few weeks ago and it works
just fine. There is only on problem. I want to use two machines on one IP.
I have two ethernet cards installed on the linux machine and one ethernet
card on a laptop running on NT. I want the NT machine to get access to the
Internet through
the linux machine. I have read different HOWTO�s but I dont really know
where to start. I dont know if have to use routed, named or if I have to buy
a hub.
Thanks
/PJ
------------------------------
From: dmalcolm <[EMAIL PROTECTED]>
Subject: Re: SMTP Server Problem
Date: Mon, 23 Aug 1999 15:21:30 -0500
sago wrote:
> I am trying a linux box for SMTP. Its running sendmail. Internal mails are
> working fine. It can send mails to the internet but it cant receive any
> mails. e.g If I send a mail from hotmail.com to this server I am trying the
> mail comes back saying :
>
> ________________________________________________
>
> Hi. This is the qmail-send program at hotmail.com.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> 205.142.28.17 does not like recipient.
> Remote host said: 553 <[EMAIL PROTECTED]>... this site does not relay
> Giving up on 205.142.28.17.
> _________________________________________________
>
> abc.com is my domain with a fixed IP and 205.142.28.17 is the mail server
> of my upstream provider. N.B. Domain names are changed for privacy purpose
> but assume that user xyz exist in domain abc.com
>
> MX entries in there at DNS server of service provider for mail.abc.com
> with preference 10 and preference 30 for 205.142.28.17 ( my service
> provider) . mail is the name of my host.
>
> From some other host, if I try /usr/lib/sendmail -t -v to send a mail to
> [EMAIL PROTECTED] it gives error saying :
> ___________________________________________________
>
> [EMAIL PROTECTED] Connecting to mail.abc.com. via esmtp...
> [EMAIL PROTECTED] Deferred: Connection refused by mail.abc.com
> ___________________________________________________
>
> Looks like my server is not accepting the SMTP connection and thus try for
> my service provider ( 205.142.28.17) whose preference is 30.. as in the case
> of the hotmail error message.
>
> Is the problem with my service provider or my server. Does my server need to
> relay to recieve mails. How do you make a linux server relay ? My server is
> definetly running sendmail at port 25 as deamon .
>
> Can anybody tell me whats happening ????
>
> Sagolsem C
You need to enable message relay.
Create a directory (if it doesn't already exist) called /etc/mail.
Create a file in it named relay-domains and simply list the domain names that
you want to forward mail to. Your internal domain should be one (like abc.com).
Next edit /etc/sendmail.cf and find the entry that looks like:
# Hosts that will permit relaying ($=R)
FR-o /etc/mail/relay-domains
and make sure the 'FR' line is uncommented.
Reboot and it should work
Dan
[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
******************************