Linux-Networking Digest #332, Volume #10 Sun, 28 Feb 99 11:13:37 EST
Contents:
Re: server with linux (David Kirkpatrick)
proxy cache server ("David R. Christianson")
Re: Machine name themes - what do you use? ("Eric Jones")
Re: What is RPC: program not registered? (Villy Kruse)
Re: localhost connecting to port 111 (Villy Kruse)
Re: Problems with Samba and Suse 6.0 (2.0.36) (David Kirkpatrick)
Re: telnet & samba work, but ftp doesn't (David Kirkpatrick)
Re: @Home cable modem problem (David Kirkpatrick)
Re: domain with remote hosts? (Gut)
Re: PPP Problems (configure-nak/rej ? error) (David Kirkpatrick)
Re: Caching DNS Question (Villy Kruse)
Re: pppd LCP problem with kernel 2.2 (Malware)
----------------------------------------------------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: server with linux
Date: Sun, 28 Feb 1999 09:29:45 +0000
Reply-To: [EMAIL PROTECTED]
Furminieux,
95 Linux_1
eth0 ----------- eth0 eth1 ----------- existing local
network
192.168.2.2 192.168.2.1 xxx.xxx.xxx.xxx
192.168.2.0 is your local network
2 your 95 machine on subnet 192.168.2.0
1 your server on subnet 192.168.2.0
You can have several machines and subnets off 192.168.2.0 with
internal network numbers that get to the net through Linux_1 with
masquerading.
You could get permission for setting up the 95 side of things and
get a useable IP from the existing local net administrator. If
that's not possible and you only have one number then use
masquerading. See the HOWTO's and save time - there is one
specific to masquerading.
d
Furminieux vincent wrote:
>
> I own two computer and two static IP. But I only have one RJ45 connection,
> on local network. I want to configure a server computer with linux and a
> client computer with Windows.
> I have two networks interface : eth0 and eth1, and it seems they are
> working.
> I would like to know if i need a specific software to do this,like IP
> maskerading and how to configure ip of the first and the second card.
>
> thanks for your answer
>
> xcuse my bad english ...
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: "David R. Christianson" <[EMAIL PROTECTED]>
Subject: proxy cache server
Date: Sun, 28 Feb 1999 14:49:31 GMT
Good morning(?),
I am looking to set up a suqid proxy server on linux, but I am confused
about something. Multiple documents I have read state that when an
internal client requests an uncached page, the request goes out over the
'net from the proxy and thus only the proxy's address is seen
externally. Hmmm.
I do not wish to allow any access from the internal clients to outside
resources other than http/ftp/realaudio documents. Thus, I have three
questions:
1. If the first paragraph is correct, is there any need to use
IP masquerading in addition to the proxy (or, what kernel
options do I need to set)?
2. Since I use cable internet service, and I set up the internal
clients' browsers to connect via my squid proxy, how do I
set up the squid proxy to connect via the ISP's proxy (this
is the only parent proxy to which it will connect)?
3. Am I just making life difficult for myself?
Thanks for being patient during this ongoing learning process.
--Dave C. :-)
------------------------------
From: "Eric Jones" <[EMAIL PROTECTED]>
Crossposted-To:
vmsnet.networks.misc,microsoft.public.windowsnt.domain,comp.unix.solaris,comp.os.os2.networking.server,comp.os.ms-windows.nt.admin.networking,comp.infosystems.www.servers.unix,comp.protocols.tcp-ip.domains
Subject: Re: Machine name themes - what do you use?
Date: Sun, 28 Feb 1999 14:51:36 GMT
I named my Linux server Munge to be descriptive of it's ongoing state of
disrepair as I explore and experiment. Well, a friend of mine thought it
conjured up other names like Butt Cheese..... Go figure.....
Eric
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: What is RPC: program not registered?
Date: 28 Feb 1999 15:54:41 +0100
In article <7b7gd6$7ic$[EMAIL PROTECTED]>,
������ <[EMAIL PROTECTED]> wrote:
>hi,
>when i tried nfs mount, I got following message :
>mount : RPC : program not registered.
>What does it mean?
>What shoud I do?
>Thanks for reading
Most likely you don't have any nfs server installed and configured.
The portmap service is also required, as this is the service that will
register all the nfs services (listening on port 111).
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: localhost connecting to port 111
Date: 28 Feb 1999 16:01:30 +0100
In article <7bah0a$[EMAIL PROTECTED]>,
Dan Srebnick <[EMAIL PROTECTED]> wrote:
>I've determined more or less what was happening here. The answer lied in
>the nsswitch.conf file, which seemed to be ignored before, but now was
>passing off requests to nisplus. I've removed the references to nisplus,
>and the problem disappeared.
>
>If anyone can provide a technical explanation for exactly why this
>behavior changed, I'd appreciate it.
The nis or nisplus client will query the portmap service on port 111 for
the port servicing the nis or nisplus requests.
Thus, whenever you look up for example a user in the password file, you
first look into the nsswtch file and see there that you realy should
ask nisplus first. Then your program sends a question to the portmap
program at port 111 asking for the port number of the nisplus server,
and using this information it now asks the nisplus server to look up
the user name in the nisplus database.
Villy
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: Problems with Samba and Suse 6.0 (2.0.36)
Date: Sun, 28 Feb 1999 09:51:50 +0000
Reply-To: [EMAIL PROTECTED]
Francisco,
Look at the man for smbpasswd. Also verify the encryption
side of smb in cmb.conf. In the long haul it may be better to
change the Linux side as the changing the MS side will probably
cause other MS things to go wrong.
Have you mapped the drives on the MS side? It sound like they
are mapped but not on line at the moment. Can you click on my
computer and have a drive tag for the smb drive? Does it have a
red x at its bottom?
Have you added the drives in smb.conf like was done for the
printer? Are they public?
What is security and what is encrypt passwords?
What is the exact operation you do to get access on the MS
side? What is the exact error message?
Francisco Jose Toledano Alcala wrote:
>
> �Somebody know why connecting from one client with Win98 to a Linux
> Server with Samba,
> client can see shares, but it can't access then?
> When double click on one shared (hd in example), Windows say (share not
> found), but
> can see it in net explorer.
> In registry of windows, I enabled text password.
> Client, otherwise, can use bsd printer declared in samba.conf and can
> access home directories.
>
> Can someone help me?
>
> Thank's in advance and regards from C�rdoba (Spain)
>
> -----------------------------------------------------------------
> [global]
> workgroup = enganche
> guest account = nobody
> keep alive = 30
> security = share
> printing = bsd
> printcap name = /etc/printcap
> load printers = yes
>
> ; Please uncomment the following entry and replace the
> ; ip number and netmask with the correct numbers for
> ; your ethernet interface.
> interfaces = 192.168.1.1/255.255.255.0
>
> ; If you want Samba to act as a wins server, please set
> ; 'wins support = yes'
> wins support = no
>
> ; 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
>
> [homes]
> comment = Heimatverzeichnis
> browseable = no
> read only = no
> create mode = 0750
>
> ; 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
> ;
> [cdrom]
> comment = Linux CD-ROM
> path = /mnt/cdrom
> read only = yes
> locking = no
>
> [printers]
> comment = All Printers
> browseable = no
> printable = yes
> public = no
> read only = yes
> create mode = 0700
> directory = /tmp
>
> [hd]
> comment = Disco duro servidor
> path=/mnt/datos
> read only = no
> locking =no
> browseable = yes
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: telnet & samba work, but ftp doesn't
Date: Sun, 28 Feb 1999 10:14:48 +0000
Reply-To: [EMAIL PROTECTED]
What have you setup in /etc/ftpaccess /ftpusers and ftphosts? If
you have not, see the man pages for each one. Is inet running -
check ps ax | grep inet. If not see /etd/inetd.conf and man for
inetd.
d
Chuck Landress wrote:
>
> Hi I'm a newbie to Linux. I've set up samba as a file and print server
> successfully and it works fine with my Win '95 boxes as clients. Ftp
> doesn't work at all. If I try to open an ftp connection from a Win95
> box the connection is closed immediately after openning. The
> var/log/messages file doesn't show a logon through ftp.
>
> I'd appreciate any help. I'm using Red Hat 5.2.
>
> Thanks, Chuck Landress
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: @Home cable modem problem
Date: Sun, 28 Feb 1999 10:23:38 +0000
Reply-To: [EMAIL PROTECTED]
What is your route? What is the netmask. What are some of the
values in use? If you used a 7 as the netmask it would be
incorrect.
Robert Bowers wrote:
>
> I am using Red Hat Linux 5.1 to try to connect to the internet using my TCI
> @Home cable modem. During the boot process, eth0 is detected fine, but I
> get the following
> message:
>
> Using DHCP for eth0... done.
> route: netmask doesn't match route address
> Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables
> route {-V|--version} Display command version and
> exit.
> route {-h|--help} [Address_family] Usage Syntax for specified AF.
> route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
> Address_families: inet,inet6,ddp,ipx,netrom,ax25
> specify AF: -A af1,af2.. or --af1 --af2 or af_route
> (none)
> search plano1.tx.home.com
>
> The last line is my domain. When I issue the command dhcpcd -r, the PC
> light on my cable modem turns on, but goes off after about a minute. I
> cannot ping anything.
>
> I have looked at several of the FAQs but cannot figure out why the netmask
> does not match the route address. Any help would be greatly appreciated.
>
> Regards,
> Robert
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: Gut <[EMAIL PROTECTED]>
Subject: Re: domain with remote hosts?
Date: 28 Feb 1999 15:31:32 GMT
Yeah she runs her own nameserver for her domain, but we are both pretty
new to this stuff.
We haven't tried adding a zone yet. The problem I have is this.
If someone in webland pings my static IP then my ISP (same as hers) knows
to route the packets directly to my machine, right. Now instead lets say
someone pings einstein.herdomain.com, HOW does my ISP know to route the
packets to me. Hmmm... yeah... I think you're right, my ISP would then
route packets to her b/c she has that domain. She would look in her
zone/hosts file and then bammo, hopefully they end up getting to me.
Hmmm.. seems I answered my own question..... oh well
We'll give it a shot.. thanks a million
Gut
Malware wrote:
> Hi Gut,
>
> you wrote:
> > I have a friend with a cool domain and a good job. She can afford a
leased
> > line and a domain and I can't. I dialup to my ISP and what we want to
do
> > seems simple, but I'm not exactly sure how to do it. I want my RH5
system to
> > be a host on her domain (she has FreeBSD).
>
> Technically it's quite simple if your friend is running the nameserver
> for here domain. She then just needs to add one entry to the zone file.
> But as she seems not to know how this is working she probably do not run
> the nameserver herself and have to ask here ISP to adding such an entry.
> Additionally you might want ask your ISP if this would be OK - don't
> know you need to do so.
>
> > I have a static IP address from my ISP, but it is not on the same
Class-C as
> > her's. We can probably talk to the ISP and get our IP's on the same
Class-C
> > if that would do it.
>
> It does not need to be in the same network. But the reverse lookup will
> gain another name then but that should be ok. Moving your IP into here
> subnet is not a good idea but might be possible if you are connected to
> the same ISP.
>
>
> Malware
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: PPP Problems (configure-nak/rej ? error)
Date: Sun, 28 Feb 1999 10:29:03 +0000
Reply-To: [EMAIL PROTECTED]
Generic info for RH 5.2. Assumption: you installed PPP.
===================================================================
RH puts ppp scripts in /usr/doc/ppp-2.3.5
Copy ppp-on, ppp-on-dialer, options to /etc/ppp.
Copy /dev/null into options.
===================================================================
Modify ppp-on by editing the following:
TELEPHONE, ACCOUNT, PASSWORD
==================================================================
For exec command. put in correct device probably
cua1 (for RH5.2) and modem speed
===================================================================
Edit /etc/resolv.conf and put in ISP nameserver given you by your
ISP.
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
You usually get two from your isp.
====================================================================
execute ppp-on & and monitor logs with
tail -f /var/log/messages.
+++++++++++++++++++++++++++++++++++++++
OR:
Control Pannel: Modem configuration. Select
correct device. (used in ppp-on script)
===================================================================
Control Pannel: Network Configurator: Routing: Defaults blank
PPP0 will use this so needs a blank here.
===================================================================
Network Configurator: Names: insert ISP
nameserver addresses.
===================================================================
System Configurator: PPP/SLIP/PLIP: Configurations, Add
Fill in Hardware, Communication. Assumes PAP not
required - If things do not work check with ISP.
==================================================================
Save quit. Verify /etc/resolv.conf has your ISP
addresses.
==================================================================
The linuxconf sets up most things but does not
setup the ppp-on script - that must be done by hand.
==================================================================
Testing:
cd /etc/ppp
execute ppp-on
Ping locally between your network machines to insure your ok.
Ping some net address by ip number like 10.220.10.120. Once ppp
is connected.
Verify your name server working, ping boston.com or do an
nslookup microsoft.com
When not dialed in ping someother box locally by name
to insure yor local resolution is working say if
done by the /etc/hosts and /etc/lmhosts.
Brad wrote:
>
> Hi
>
> After using RH 4.2 (I think) for the past few years, I decided to upgrade
> to RH 5.2, and am having troubles getting PPP to work. It worked fine
> before when I set it up with netcfg. Basically, in Windows, I dial in,
> enter a username and password, then at the prompt, type 'ppp', then enter,
> then hit F7. I am setting up the account the same way I had it before, I
> am assigned an IP number by the server, no PAP, but am still not able to
> connect. I included a little bit from /var/log/messages below.
> Some of the problem looks like it may be trying to use Appletalk or
> something. The kernel is compiled with PPP support. The problem may be in
> my /etc/ppp/options file, although I can't remember how it was set up
> before. Does anyone have any suggestions about what I can try?
>
> Thanks
> Brad
> [EMAIL PROTECTED]
>
> Feb 27 19:31:13 VeloRevolution pppd[375]: pppd 2.3.5 started by root, uid 0
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (BUSY)
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (ERROR)
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (NO CARRIER)
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (NO DIALTONE)
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (Invalid Login)
> Feb 27 19:31:14 VeloRevolution chat[380]: abort on (Login incorrect)
> Feb 27 19:31:14 VeloRevolution chat[380]: send (ATL1^M)
> Feb 27 19:31:14 VeloRevolution chat[380]: expect (OK)
> Feb 27 19:31:14 VeloRevolution chat[380]: ATL1^M^M
> Feb 27 19:31:14 VeloRevolution chat[380]: OK
> Feb 27 19:31:14 VeloRevolution chat[380]: -- got it
> Feb 27 19:31:14 VeloRevolution chat[380]: send (ATDT2977488^M)
> Feb 27 19:31:14 VeloRevolution chat[380]: expect (CONNECT)
> Feb 27 19:31:14 VeloRevolution chat[380]: ^M
> Feb 27 19:31:31 VeloRevolution chat[380]: ATDT2977488^M^M
> Feb 27 19:31:31 VeloRevolution chat[380]: CONNECT
> Feb 27 19:31:31 VeloRevolution chat[380]: -- got it
> Feb 27 19:31:31 VeloRevolution chat[380]: send (^M)
> Feb 27 19:31:31 VeloRevolution chat[380]: expect (Username:)
> Feb 27 19:31:31 VeloRevolution chat[380]: 26400/ARQ/V34/LAPM/V42BIS^M
> Feb 27 19:31:32 VeloRevolution chat[380]: University of Pittsburgh Dialin
> Service *** Authorized Users Only ***^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: *** Please enter your user name
> in lower case ***^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ehdup-l.ts line 14 ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: User Access Verification^M
> Feb 27 19:31:32 VeloRevolution chat[380]: ^M
> Feb 27 19:31:32 VeloRevolution chat[380]: Username:
> Feb 27 19:31:32 VeloRevolution chat[380]: -- got it
> Feb 27 19:31:32 VeloRevolution chat[380]: send (bafst19^M)
> Feb 27 19:31:32 VeloRevolution chat[380]: expect (Password:)
> Feb 27 19:31:32 VeloRevolution chat[380]: bafst19^M
> Feb 27 19:31:32 VeloRevolution chat[380]: Password:
> Feb 27 19:31:32 VeloRevolution chat[380]: -- got it
> Feb 27 19:31:32 VeloRevolution chat[380]: send (******^M)
> Feb 27 19:31:33 VeloRevolution chat[380]: expect (Local>)
> Feb 27 19:31:33 VeloRevolution chat[380]: ^M
> Feb 27 19:31:33 VeloRevolution chat[380]: Local>
> Feb 27 19:31:33 VeloRevolution chat[380]: -- got it
> Feb 27 19:31:33 VeloRevolution chat[380]: send (ppp^M)
> Feb 27 19:31:33 VeloRevolution pppd[375]: Serial connection established.
> Feb 27 19:31:34 VeloRevolution pppd[375]: Using interface ppp0
> Feb 27 19:31:34 VeloRevolution pppd[375]: Connect: ppp0 <--> /dev/modem
> Feb 27 19:31:37 VeloRevolution pppd[375]: Unsupported protocol (0x8029)
> received
> Feb 27 19:31:37 VeloRevolution pppd[375]: Unsupported protocol (0x802b)
> received
> Feb 27 19:31:40 VeloRevolution pppd[375]: Received bad configure-nak/rej:
> 03 06 88 8e 15 f4
> Feb 27 19:32:07 VeloRevolution last message repeated 9 times
> Feb 27 19:32:10 VeloRevolution pppd[375]: IPCP: timeout sending
> Config-Requests
> Feb 27 19:32:10 VeloRevolution pppd[375]: Connection terminated.
> Feb 27 19:32:11 VeloRevolution pppd[375]: Exit.
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Caching DNS Question
Date: 28 Feb 1999 15:45:49 +0100
In article <[EMAIL PROTECTED]>, Robert Lynch <[EMAIL PROTECTED]> wrote:
>Turns out that the link in /etc/rc.d/rc3.d, from S??network ->
>/etc/rc.d/init.d/network was not there, even tho the system had been
>configured with networking.
As far as I remember you will be asked which services you want to enable
during install. These are inetd, cron, sendmail, kerneld, syslogd,
and so on. If you didn't enable networking at this stage, then the
link to /etc/rc.d/rc3.d won't be created.
The command '/sbin/chkconfig --add network' should add this symbolic
link.
Villy
------------------------------
From: Malware <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,linux.redhat.ppp,at.linux
Subject: Re: pppd LCP problem with kernel 2.2
Date: Sun, 28 Feb 1999 13:59:35 +0100
Hi Christoph,
you wrote:
> After sponsoring our Austria Telekom by trying out various pppd options
> (unsuccessfully), I realized that the kernel was unable to find (or load)
> the ppp-compression modules:
>
> If you insert them manually by calling
> modprobe ppp_deflate; modprobe bsd_comp
> everything works fine. (at least it worked for me).
The probably better way is to add following lines to /etc/conf.modules:
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate # From original RFC draft
alias ppp-compress-26 ppp_deflate # Final standard per ppp-2.3.4
README
This way the modules can be loaded on demand and unload if they are no
longer used.
Malware
------------------------------
** 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
******************************