Linux-Networking Digest #189, Volume #12 Wed, 11 Aug 99 13:13:43 EDT
Contents:
Re: Change File Permission?? What? (Wessels)
ppp-dialin trouble (Bodo Meseke)
Change File Permission?? What? (Leonard)
Re: DHCP and NT. ("Marcus B�ttemeyer")
Re: routing ("Miroslav PRAGL")
Re: Connect to ISP when phone rings: is this possible? (Patrick M. Geahan)
Re: symbolic link not work in ftpd ("Robert_Glover")
trusting dynamic hosts ? (Alain Terriault)
Re: ppp-dialin trouble (Clifford Kite)
Re: ftp server - newbie stuff (Scott Marlowe)
The last steps to take to a network(help!!!) (Bas van Weelde)
Re: Gigabit ethernet - RH 6.0 - Intel (Abdullah Ramazanoglu)
Re: Netscape, Linux and MS Proxy ("Lori")
Re: Domain Problems - Someone else is aliased against my domain ("Marcus B�ttemeyer")
Re: info about devpts filesystem desired (Stepan Kasal)
Seagate IDE tape drive in Linux (Barbara Porter)
Re: Samba Peer to Peer? ("Jim")
about mail server (RedHat 6 and sendmail) (wangwei)
Re: How to configure two 3c509network cards? (Leon Harris)
Re: DNS question... (Leon Harris)
Re: IPchains error ? (Leon Harris)
Re: IPCHAINS Question ("Marc Marais")
----------------------------------------------------------------------------
From: Wessels <[EMAIL PROTECTED]>
Subject: Re: Change File Permission?? What?
Date: Wed, 11 Aug 1999 14:44:42 +0200
I think you want somthing like this:
chmod 766 file (or dir)
The attributes are sorted like this
bit (dec. value) meaning
2 4 R(ead)
1 2 W(rite)
0 1 X(ecute)
the file attributes ar in the following order
owner user world
- - -
so the above chmod command would do
rwx for the owner
rw- for the users
rw- for the world
I hope you can do somthing with this!
Robert
------------------------------
From: Bodo Meseke <[EMAIL PROTECTED]>
Date: Wed, 11 Aug 1999 13:03:40 GMT
Subject: ppp-dialin trouble
Crossposted-To: linux.dev.ppp
Hello,
Ive got the following problem while trying to set up an ppp-server.
(I'm using SuSE-Linux 6.0 and connected an external ISDN-Adapter.=20
Ppp-dialout to my ISP works fine.)
I set up mgetty and my isdn-adapter reacts on incoming calls=20
correctly. Authentication with chap is functioning (so says the=20
logfile), but after the authentication the following error occurs:
pppd[839]: write: warning: Input/output error(5)=20
pppd[839]: ioctl(PPPIOCSASYNCMAP): Input/output error(5)
pppd[839]: Exit.
=20
Does anyone have a hint/solution for me ?
Thanks a lot.
Bodo
------------------------------
From: [EMAIL PROTECTED] (Leonard)
Subject: Change File Permission?? What?
Date: Wed, 11 Aug 1999 12:01:54 GMT
Ref: "chmod" command.
A week or so ago I was having difficulty in changing a file
permission "/etc/rc.d/rc.local"...never got my chmod command
to work...however, a guru friend of mine gave me a universal
command that made every file basically a R-W file. He has
since gone on an extended vacation. I need help!
I have been trying to use a simple chmod command to make just
a couple of files permit me to write also. I have since set the files
back to the original status...(not so dangerous as before)...
Now, my question is...could someone send me the exact,
workable chmod command to enable write on a file?
I keep getting "chmod" errors...mode format, etc...I have
tried every possible combo as per examples...but, to no
avail. Is there some universal command to enable "chmod"
on some distributions?
I am in the "root" command function as I should be...but,
apparently I do not have the "chmod" format exactly
right...again would someone send me a note with a
chmod command that works...gramatically and perfect?
I seem to be having some problem with it.
Many thanks,
Leonard...
------------------------------
From: "Marcus B�ttemeyer" <[EMAIL PROTECTED]>
Subject: Re: DHCP and NT.
Date: Wed, 11 Aug 1999 16:26:36 +0200
Greg Schaffer <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
063601bee37f$1660ffc0$[EMAIL PROTECTED]
> Well, you'd have to do some sort of Netbios name resolution...either with
> wins on the NT box or a wins emulator in samba on the linux box.
Just a hint:
usually the Windoze Boxes should use broadcasting to find themself and the
server. Using MS DHCP I can supply something called "NetBIOS Node Type"
where I can supply Information which Nameservice to use and in which order
(BCast / WINS). I can also assign a WINS Server via DHCP to the clients, if
I have one setup on my network. Don't know, if this is RFC-conformant, but
it works...:-(
-mb
------------------------------
From: "Miroslav PRAGL" <[EMAIL PROTECTED]>
Subject: Re: routing
Date: Wed, 11 Aug 1999 15:28:19 +0200
1) DISABLE IP Forwarding - you'll use ip masquerading instead!
2) default gw should be 216.54.1.41/eth0
MP
David Hopkins <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> We have a Cisco router connected to the Internet (Cox)-216.54.1.41
> (255.255.255.248). I am setting up RH Linux 5.2 to use as a
> firewall/proxy for our LAN. One card in the Linux machine is
> 216.54.1.42 (mask is 255.255.255.248)--eth0. This card is directly
> connected to the router. The other card is 192.168.1.1 (255.255.255.0
> mask)--eth1. This card is connected to a hub. eth0 is a 3c509 and eth1
> is a 3c509b--PnP disabled; both cards show up fine on boot & are listed
> correctly with ifconfig. IP forwarding has been enabled. I cannot ping
> out from this machine or
> any other on the network. What should my routing table look like? Any
> input is welcome and very much appreciated--Thanks--DaveH.
>
> David Hopkins
> [EMAIL PROTECTED]
>
------------------------------
From: Patrick M. Geahan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Connect to ISP when phone rings: is this possible?
Date: 11 Aug 1999 13:14:23 GMT
In comp.os.linux.misc Glitch <[EMAIL PROTECTED]> wrote:
: how is this possible if u dont know the IP address of your computer once
: its connected to your ISP? Obviously its going to be different each time
: u connect and since u would be telnetting u would need to know the IP of
: the computer, right?
Certain dynamic IP name resolving services will let you update the IP addy
by email or some such, so that could work. In addition, he could simply
have his PPP login script mail him the IP addy after he gets connected.
--
=======Patrick M [EMAIL PROTECTED]=======ICQ:3784715==========
USENET Quote of the Week: "who makes the best Linux? Microsoft?" - JY on
comp.os.linux.misc
------------------------------
From: "Robert_Glover" <Please_reply_to@newsgroup>
Subject: Re: symbolic link not work in ftpd
Date: Wed, 11 Aug 1999 14:10:34 -0000
I thought that was a configuration issue. Check the config file.
Lindoze 2000 wrote in message <[EMAIL PROTECTED]>...
I also had that problem and permissions is not the problem.
Jan-Albert van Ree wrote:
>
> Mars schreef:
> >
> > I'm running RH 6.0 and I want to make a vfat partition available
for
> > ftpd. So I make a symbolic link /mnt/dos to /home/ftp/pub/dos. It
> > doesn't work while cd to that directory. I also try making a
symbolic
> > link /mnt/cdrom to /home/ftp/pub/cdrom and it fails too. It seems
I
> > cannot use other filesystem for ftpd. Am I missing anything?
>
> Have you checked the permissions for the link and the files?
> --
> Jan-Albert "Sliver" van Ree | [EMAIL PROTECTED]
> 3D Sims Archive maintainer | http://www.3dgamers.com
--
Thank you for your valuable input. Your useful answers will benifit
other users as well.
You are Linux!
########################################################
## ##
## My Experiment ##
## http://www.FusionPlant.com ##
## ##
########################################################
------------------------------
From: Alain Terriault <[EMAIL PROTECTED]>
Subject: trusting dynamic hosts ?
Date: Wed, 11 Aug 1999 14:36:28 GMT
Hi,
I will like to make my home machine (DHCP on cable modem) be register on
my office server (static IP).
My guess will be to write two scripts my home sending it's IP true a
port and my office listening the port to update my /etc/hosts &
/etc/hosts.allow.
But, I sure there is already a package doing that .. but I just don't
know where to look ??
thanks,
--
____________________________
Alain Terriault
McGill University, Music
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: linux.dev.ppp
Subject: Re: ppp-dialin trouble
Date: 11 Aug 1999 08:45:12 -0500
Bodo Meseke ([EMAIL PROTECTED]) wrote:
: I set up mgetty and my isdn-adapter reacts on incoming calls=20
: correctly. Authentication with chap is functioning (so says the=20
: logfile), but after the authentication the following error occurs:
: pppd[839]: write: warning: Input/output error(5)=20
: pppd[839]: ioctl(PPPIOCSASYNCMAP): Input/output error(5)
: pppd[839]: Exit.
This error can appear after a hangup with some versions of pppd. If this
is what's happening get ppp-2.3.8 at cs.anu.edu.au/pub/software/ppp .
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* The signal-to-noise ratio is too low in many [news] groups to make
* them good candidates for archiving.
* --- Mike Moraes, Answers to FAQs about Usenet */
------------------------------
From: Scott Marlowe <[EMAIL PROTECTED]>
Subject: Re: ftp server - newbie stuff
Date: Wed, 11 Aug 1999 08:42:03 -0600
Tom wrote:
> Sorry, should have specified more info. I have a DHCP linkup to sympatico
> ADSL. I can telnet into my linux machine from off-site no problem. I cannot
> ftp in, but I know little of the ftp server capabilities of linux. I typed
> in ftpd and was told that it didn't exist. I keep running into little
> networking glitches and would be MOST grateful if you could help me get rid
> of them:
>
> 1. When I login as root, I can open netscape and it loads a page from the
> hard drive (file:/index.html for instance). When I log in as a normal user,
> it tells me it can't find any files that I try to load from the hard drive.
> I can still get stuff off the web though.
>
> 2. Since installing the ethernet card, LinuxConfig insists that it has to
> make changes to the way Lilo boots my system. I tell it to do so and it says
> "an error has occurred while making the changes, would you like to view the
> log?" I say yes, and it shows at what time it tried to make changes. Then I
> just tell it to quit. Happens every time I run LinuxConfig.
>
There are two issues here. One is the firewalling of the ADSL line. Some ISPs
firewall them so you don't have to worry about Windows Boxen being blown up by
unfriendly. This is a service they provide for free, you may want to check to
see if they are blocking ftp port.
Secondly, you have to have ftp service installed. if you cannot ftp to your
own loopback address, then it isn't installed and running. Find your install
CD, and install the wu-ftpxxxxx.rpm package with the rpm command. Short
version:
rpm --install /mnt/cdrom/RedHat/RPMS/wu-ftp*.rpm
if you want anonymous logins, install the ftp-anon package as well.
You shouldn't need to restart, as soon as they are installed, it should be up
and running.
------------------------------
From: Bas van Weelde <[EMAIL PROTECTED]>
Subject: The last steps to take to a network(help!!!)
Date: Wed, 11 Aug 1999 16:12:03 +0200
Ok. What i reached after all by myself may be called a giant succes!!
There is just one thing: My two clients cannot be reached or seen by the
server (SuSE 6.1)
Everything is well connected as far as I can see.
The server is a pentium 100 mhz.
Connected through a hub are 2 Windows 95 workstations with
TCP/IP;netbeui.
Samba is installed and the adapters are all working without conflicts or
so. The domain name is the same as the working group on the 2 p.c.'s
Though, I cannot ping.
What might be the trouble here?
do you have an idea hot to fix this? Please help me out! I will include
you in my prayers.
Thanks.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Samba is installed
------------------------------
From: Abdullah Ramazanoglu <[EMAIL PROTECTED]>
Subject: Re: Gigabit ethernet - RH 6.0 - Intel
Date: Wed, 11 Aug 1999 15:59:44 +0300
Johan Guijt wrote:
>
> Are there drivers for GiGabit - Intel ?? on RedHat 6.0.
>
> Thanx,
>
> Johan Guijt
While on the subject, I'm looking for info/pointers/URL etc. about
prices of gigabit adapters and hubs (switching and non-switching).
Thanks for any info.
--
Abdullah Ramazanoglu ( aramazanoglu AT demirbank DOT com DOT tr )
------------------------------
From: "Lori" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,microsoft.public.backoffice.smallbiz
Subject: Re: Netscape, Linux and MS Proxy
Date: Wed, 11 Aug 1999 08:19:47 -0700
>When running Netscape in Linux, I initially am prompted for a proxy user ID
>and passwd. It seems to accept them. At this point, I get messages at the
>bottom of the Netscape window that say the connection to the web site has
>been made and that it's attempting to connect to the proxy server. These
>are two separate messages that flash back and forth rapidly.
>
>I have the proxy settings set up in Netscape.
>
I have the feeling you're going through the same thing I did when a coworker
here tried to use proxy 2 and netscape.
I did some research on the Netscape page, and lo and behold, they have an
article that says basically that NT and Netscape will not get along - NT
refuses to authenticate. They say nothing about a solution, just that the
problem exists.
When using Netscape on a windows client, it does exactly the same thing you
describe.
Lori
------------------------------
From: "Marcus B�ttemeyer" <[EMAIL PROTECTED]>
Subject: Re: Domain Problems - Someone else is aliased against my domain
Date: Wed, 11 Aug 1999 16:19:49 +0200
Jeff Peterson <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> I just registered my domain with Register.com and am having problems
> with another domain IP that seems to be bounced against mine.
For me it looks like an old cached entry in your or your ISPs Nameservers.
Coming from outside, i get:
[root@intra /root]# ping mail.norske.org
ping: unknown host mail.norske.org
Remember, NS Updates usually take 1 Day!
-mb
[Infos deleted]
------------------------------
From: [EMAIL PROTECTED] (Stepan Kasal)
Crossposted-To: comp.os.linux.setup,linux.sources.kernel
Subject: Re: info about devpts filesystem desired
Date: 11 Aug 1999 15:59:48 GMT
On Tue, 10 Aug 1999 13:05:59 -0600, Mark Johnson wrote:
> Where can I find info on the devpts filesystem?
Hi,
you can find it under the source tree of the kernel (version 2.2.x, not 2.0.x)
/usr/src/linux/Documentation/Changes
/usr/src/linux/Documentation/Configure.help
/usr/src/linux/Documentation/devices.t*
HTH, Stepan
------------------------------
From: Barbara Porter <[EMAIL PROTECTED]>
Subject: Seagate IDE tape drive in Linux
Date: Wed, 11 Aug 1999 15:51:35 GMT
Hi,
I installed a Seagate Surestore IDE tape drive in a server running
Mandrake
6.0. On bootup the drive is recognized as hdd. I'm a newbie, so can
anyone
lead me to the next step, making the system work with the tape
drive...do I edit
/etc/fstab? Any help would be much appreciated.....
Thanks!
Steve
------------------------------
From: "Jim" <[EMAIL PROTECTED]>
Subject: Re: Samba Peer to Peer?
Date: Wed, 11 Aug 1999 11:45:08 -0700
I found that I need both squid and ipchains, squid handles http, ftp
and ipchains handles everything else
Explore and Netscape worked on my network machines with only squid in place.
I needed iipchains for the email clients to work.
the rules that I found work for me ( but may not be most secure)
ipchains -A forward -s 192.168.1.0/24 -d 192.168.1.0/24
note: no target !
ipchains -A forward -s 192.168.1.0/24 -d 127.0.0.1/24 -j ALLOW
ipchains -A forward -s 192.168.1.0/24 -d !192.168.1.0/24 -j MASQ
The first rule is an accounting rule for me to monitor my own network
The second rule allows my network talk to the localhost.
The third rule says to masqerade any machine on my network communicating
outside of my net. I am counting on 192.168.X.X traffic to not come from the
net.
John Clement wrote in message ...
>Samba is used for sharing files or printers on which it is installed. For
>sharing an internet connection, you need to implement either
ip-masquerading
>or use some kind of proxy program (such as squid).
>
>Check the mini HOWTO about ip-masquerading that should be found in the
>/doc/Howto/mini folder on your RedHat cdrom.
>
>Chris Testa <[EMAIL PROTECTED]> wrote in message
>news:7opvi1$a70$[EMAIL PROTECTED]...
>> I've had a peer-to-peer network set up between a windows 95 and 98
>machines
>> for about a year. The 95 is in a room with a phone line, so we have been
>> using that one to connect to the internet, and then letting the 98 acess
>the
>> internet through the network. Recently (Sunday) I installed Red Hat 6.0
>on
>> the machine with 98. My question is how should i go about setting up a
>> network between Linux and 95 (peer to peer style), and then even dial
into
>> the internet with the 95 and access it with Linux on the other system
>(like
>> i have been doing with windows 98)? From what i understand Samba seems
to
>> be what I need, but i'm confused to how everything should work. I have
>> found info on setting up Linux as a server, but nothing on a Peer-To-Peer
>> between the two O/S. Thanks anyone who can help me...
>>
>> --
>>
>> - Chris
>>
>>
>
>
------------------------------
Date: Wed, 11 Aug 1999 09:46:34 -0500
From: wangwei <[EMAIL PROTECTED]>
Subject: about mail server (RedHat 6 and sendmail)
hi,all
I install RH6 and want to let it be a mail server for my office, I can
send mail via this
server but can not recieved mail . how to modify configration file?
thanks for any answer .
wa
------------------------------
Date: Wed, 11 Aug 1999 10:53:19 +0800
From: Leon Harris <[EMAIL PROTECTED]>
Subject: Re: How to configure two 3c509network cards?
If your internal network is private, (eg 192.168.1.X), your gateway wont
route packets out of it.
use ipchains to set up masquarading
make sure proxy_arp and forwarding are enabled.
L.
------------------------------
Date: Wed, 11 Aug 1999 10:58:06 +0800
From: Leon Harris <[EMAIL PROTECTED]>
Subject: Re: DNS question...
Sounds like a time to live problem!
DNS changes take a while to propagate from Master to Slave DNS's
What you should have done was set the ttl on the resource record in the
DNS to a very low number before making the change, so that slaves update
more frequently. Then change, and changes will propagate faster.
Don't worry, It should fix itself with time.
Leon
------------------------------
Date: Wed, 11 Aug 1999 10:45:53 +0800
From: Leon Harris <[EMAIL PROTECTED]>
Subject: Re: IPchains error ?
Is proxy_arp set to 1 in your kernel?
Is fowarding enabled
try
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
Cheers
Leon
------------------------------
From: "Marc Marais" <[EMAIL PROTECTED]>
Subject: Re: IPCHAINS Question
Date: Wed, 11 Aug 1999 10:05:23 -0700
Graham Fountain wrote in message ...
>I have a problem setting up IPCHAINS. Before I go into detail of the
>problem, the following diagram details how the machines are linked.
>
[> /dev/null]
>
>I have an application on PC3 that I need to telnet to (on port 9999) from
>PC1. PC3 also needs to be able to initiate a connection to PC1 - this is
>working through the masquerade. Basically what I was planning on doing was
>setting up IPCHAINS on PC2 so that any connections made to 1.1.1.2 port
9999
>from 1.1.1.1 would be redirected to 192.168.1.2 port 9999. This way PC1
>would think it is connecting to PC2, but PC3 would get the connection.
>I tried the following:
>
>ipchains -A input -p TCP -s 1.1.1.1/32 9999 -d 1.1.1.2/32 9999 -j REDIRECT
>192.168.1.2 9999
>
>This is giving me errors just saying to use ipchains -h or ipchains --help.
>I have tried the ipchains howto, and I can't work out much from it - it has
>lots of help for blocking access to the local machine but can't find
>anything that helps with sort of thing.
>
>I would greatly appreciate any help that anyone can offer on this. Are
>there any better resources than the ipchains howto on how to use some of
its
>features?
>
The REDIRECT option of ipchains is for redirecting to the local machine so
your syntax wont work. Instead you should use a port forwarder to redirect
to another IP address.
You need to build one of the following modules:
ip_masq_portfw
ip_masq_autofw
ip_masq_mfw
I suggest using mfw which works very well (I'm using it).
You need to do a make config on your kernel and then select the option
CONFIG_IP_MASQUERADE_MFW (its in the network options section). Select m for
module and do a make modules and make modules_install and depmod. I use the
/etc/modules file to add the ip_masq_mfw module. Read the kernel
documentation and howtos for help on building the kernel and using and
installing modules. If you haven't built your own kernel for this
installation you will need to actually install the kernel as well (so that
the modules that are built are compatible with your running kernel) using
make zImage or whatever (before make modules). Or maybe try and get the
modules some other way (maybe they're already part of your distribution?)
You'll also need the ipmasqadm utility (don't have a URL for you with me but
have a look on www.freshmeat.net - it might be there). Now use:
ipchains -A input -p TCP -s 1.1.1.1 -d 1.1.1.2 9999 -m 1 -j ACCEPT
This will cause the kernel to mark all packets that match with the value 1.
Now use ipmasqadm like so:
ipmasqadm mfw -A -m 1 -r 192.168.1.2 9999
This will redirect all packets marked with value 1 to the 192.168.1.2.
Good luck.
Marc
------------------------------
** 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
******************************