Linux-Networking Digest #502, Volume #11         Sat, 12 Jun 99 02:13:45 EDT

Contents:
  Re: Trouble with Samba (Chris H.)
  Re: Linux help (Andrew Crouse)
  linux client on NTsever with proxy and cable modem ("Don Haley")
  Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted 
([EMAIL PROTECTED])
  setting up a webserver (Mathew Threadgill)
  dns setup? ("Lee")
  Re: setting up a webserver (Kenyon Ralph)
  Re: NFS/RPC problem ("Angel")
  linux client on NTsever with proxy and cable modem ("Don Haley")
  Re: FTP from local OK, FTP from remote DENIED (Michael Peponis)
  Re: pppd or lan but not both?? help (nlucent)
  Re: nntp using plug-gw from FWTK (Ian Cottrell)
  linux client on NTsever with proxy and cable modem ("Don Haley")
  variables in ftp ("dmanding")
  How to combine the servers on my network? ("SAGAR SRIVASTAVA")
  Re: VNC over PPP? (David Efflandt)

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

Subject: Re: Trouble with Samba
From: Chris H. <[EMAIL PROTECTED]>
Date: Fri, 11 Jun 1999 00:46:49 -0400

Bob Miller <[EMAIL PROTECTED]> wrote:
>I can't seem to be able to get Samba to work properly on my machine here
>at work.  It's RedHat 6.0 with Samba v 2.0.4b.  I've got the same
>configuration at home and can't get it to work well there, either.
>
>It  does work if I'm connecting to a Win95 machine from Linux, and the
>machine name for my Linux box ("Linux") is being broadcast to the Win95
>machines.  The problem comes when I'm trying to connect to the Linux
>shares from Win95's Network Neighborhood.

iirc You need a valid guest user account set up in samba for NN to displa=
y the
server correctly ..
guest account =3D smbguest
then create the "smbguest" user with a shell of /bin/false or (what I did=
) use
the default user "ftp" as your guest account.

--=20
Regards,
Chris

=============LINUX =The Choice of a GNU Generation=============


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

From: Andrew Crouse <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Linux help
Date: Sat, 12 Jun 1999 01:29:29 -0400

Chris,

>From the output of ifconfig, it looks like you are able to obtain an ip
address from the DHCP server.  If your situation is like mine was, you just
are not able to find the nameserver.  To see if this is the case, type an IP
NUMBER not a name into netscape and see if you get any results.  If it works,
you could try putting the line

nameserver xxx.xxx.xxx.xxx

into the file /etc/resolv.conf

You could find a nameserver by using nslookup, but from your ifconfig results
you are on the same network that I am.  So, you might try putting:

nameserver 24.128.60.8
nameserver 24.128.60.7


I'm no expert, and there is likely a much better solution, but perhaps it will
tide you over until you find a better way.

Yours,

Andrew


zx300chris wrote:

> Hi, I just downloaded and installed Redhat 6.0. I erased 5.2 before doing
> so, and now I can't connect to the internet with Linux, and I forget how I
> set it up before. I have a Sony 735 vaio laptop with a Netgear Fa410tx
> pcmcia network card. Last time, I just installed it as an ne2kpci card and
> it gave me my IP numbers, and everything worked fine. I installed Linux a
> couple of different ways, all to no avail in the network part. Here is what
> I have done so far. Installed Linux with PCMCIA support in the very
> beginning, asked me if I wanted to set up a LAN, and I said yes, but it
> didn't ask me what I had for a card, so I'm assuming it auto-detected it.
> The installation before, I didn't start with PCMCIA support, and when it
> asked me if I wanted LAN support, it said it couldn't find the device. Upon
> boot, there is a line that says DELAYING INTERFACE ETH0   [FAILED].
> When I go to netconfig, it says eth0 active at boot, currently active. I
> went to linuxconf, -> basic host options and specified the eth0 card that
> showed up under adapter one as ne2kpci and set it as DHCP. Running ifconfig
> brought me this screen
>
> eth0    Link encap:Ethernet    HWaddr    00:80:C8:8C:DA:9B
>             inet addr:24.128.59.72    Bcast:24.128.59.255
> Mask:255.255.254.0
>             UP BROADCAST RUNNING MTU:1500    Metric:1
>             RX packets:90 errors:0 dropped: 0 overruns:0 frame:0
>             TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:100
>             Interupt:3 Base address:0x300
>
> lo        Link ecap: Local Loopback
>             inet addr:127.0.0.1    Mask:255.0.0.0
>             UP LOOPBACK RUNNING MTU:3924    METRIC:1
>             RX packets:50 errors:0 dropped:0 overruns:0 frame:0
>             TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:0
>
> After I start Netscape and hit home to get me to a page, two error messages
> pop up. The first says
> 'Netscape unable to lacate the server home.netscape.com
> Please check the server name and try again.'
>
> and under that another message, something about $SOCKS_NS environment.
>
> I'm not very adept with Linux yet, so any help would be greatly
> apprectiated!! - Thanks  - Chris


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

From: "Don Haley" <[EMAIL PROTECTED]>
Subject: linux client on NTsever with proxy and cable modem
Date: Fri, 11 Jun 1999 05:15:21 GMT

I am a new Linux user. I would like to connect to the internet through a hub
to
a NT server running Windows proxy server to our cable modem, can anyone tell
me how to do it, with out bring the whole LAN down and leaving the NT box as
the server?

thanks

-Don Haley
Linux convert
[EMAIL PROTECTED]
Linux -where do you want
to go tomorrow?





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

From: [EMAIL PROTECTED]
Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
Subject: Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted
Date: Fri, 11 Jun 1999 16:40:59 GMT

In article <[EMAIL PROTECTED]>,
  Soeren Kalesse <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > Hi Fellow (UK) Linux Users
> >
> > Has anyone out there in the UK gotten SuSE 6.1 Linux
> > to connect to the Internet using ordinary DUN?
> >
> > I recently upgraded my old Slackware machine to
> > use SuSE 6.1 and cannot get pppd to work.
> > I can dial into the Demon Internet ROMP line, the modem
> > dials in fine. I get a good connection the but as soon
> > as `pppd' starts I get PPPIOCGUNIT Permission denied
> > errors in the `/var/log/messages' and then the demaon
> > exits.
> >
> > I am using ppp 2.3.5 and kernel 2.2.5 as the default
> > supplied with SuSE Linux 6.1. I verified the permissions
> > of the `/usr/sbin/pppd'. It is most definitely `suid'
> > and I checked also that `ppp' support is compiled
> > in the kernel. I am using root user to do the
> > connection but still get an error. I checked
> > that the `/dev/ttyS2' (COM3) is also a root
> > read/writable, and also symbolically linked `/dev/modem'
> > to `/dev/ttyS2'. So I figure that it must be something
> > to do with `pppd' program.
> > In any case what us a PPPIOCGUNIT anyway?
> >
> > Does anyone have a good summary or crib sheet
> > about making an Internet connection with SuSE Linux?
> > The old demon site Slackware documentation is old
> > and less useful.
> > `ftp://ftp.demon.net/pub/unix/linux/Demon/slack3.0.help.tgz'
> >
> > Thanks
> >
> > Pete Pete
> > on windoze95 partition   \-C  "Waah baby cryin"
> >
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
>
> hi,
>
> The things You need  to runn pppd and chat correctly are
> the permissions to write on the followinmg files
>
>         /etc/suseppp/provider.chat
>         /etc/suseppp/provider.options
>         /etc/suseppp/pap-secrets
>
> The problem is that when You change the permissions manually
> and You start SuSEConfig afterwards it will
> change the permissions back to root.
> Try to make Your  own directory /etc/ppp/*
> so taht SuSEConfig doesn't change it anymore
> and change Your dialup and hangup scripts to the new directory
>
> that's the way i experienced the problem.
> I hope I helped You at least a bit.
>
> MfG
>
> soeren
>
>

The actual error is `ioctl(PPPIOCGUNIT): Operation not permitted'

See the reset of the thread for more details.

I copied the scripts from /usr/doc/packages/inetcfg
and altered and placed them in the directory /etc/ppp

This is what I wrote beforehand

I recently upgraded my laptop computer from Slackware 3.4 to
SuSE Linux 6.1. I did a clean installation.
I am trying to get SuSE Linux to
connect to Demon Internet, but I keep getting errors
from `pppd' where it said `operation not permitted'
in the file `/var/log/messages'. I have also downloaded
latest `pppd' 2.3.8 and it still did not work. Here are the
messages:

    pppd[345]: pppd 2.3.8 started by root, uid 0
    pppd[345]: kernel tty_io.c process (345) pppd used obsolete
    `/dev/cua2' up date software to use `/dev/ttyS2'
    ...
    ...
    pppd[345]: Serial connection established
    pppd[345]: ioctl(PPPIOCGUNIT): Operation not permitted
    pppd[345]: tcsetattr: Operation not permitted
    pppd[345]: Exit

I checked everything that I could think of. I made sure that I tried
to connect as the superuser. I checked that `/dev/modem' is
symbolically linked to `/dev/ttyS2'. I also checked that the access
permissions for the program `pppd' and device files were set to
`root'.  I have no difficulty dialing up to my ISP with my modem, but
everytime the connection is completed, the `pppd' collapses.

I have actually done `rm /dev/cua1'
because the `/etc/pcmcia/serial' script actually
assume that if /dev/cua1 exist your kernel will default
to /dev/cua*. This is nonsense for SuSE 6.1, because has
a kernel 2.2.5. Also I set MODEM=/dev/modem
in the /etc/rc.config
When I rebooted my machine /dev/modem is now symbolically
linked to /dev/ttyS2.

However I still get the same `ioctl(PPPIOCGUNIT)' failure.




Peter

[EMAIL PROTECTED]
 DeutschE Bank uk


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Mathew Threadgill <[EMAIL PROTECTED]>
Subject: setting up a webserver
Date: Thu, 10 Jun 1999 22:55:30 +0000

I have a question about setting up a webserver.  I am being hired to
setup a web server that will not be getting much traffic.  What I want
to know is if a dual channel ISDN line will be enough bandwidth for this
server?


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

From: "Lee" <[EMAIL PROTECTED]>
Subject: dns setup?
Date: Thu, 10 Jun 1999 23:15:24 -0600

Im trying to setup a dns server on my linux box redhat 6.0 for educational
reasons.  But am habing some problems I was wondering if someone could send
me there config file named.boot and other relevant files just so i can see
how its setup and works.  I would appreciate it.  Thanks

Burton



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

From: [EMAIL PROTECTED] (Kenyon Ralph)
Subject: Re: setting up a webserver
Date: Fri, 11 Jun 1999 05:38:02 GMT

On Thu, 10 Jun 1999 22:55:30 +0000, Mathew Threadgill wrote:
> I have a question about setting up a webserver.  I am being hired to setup
> a web server that will not be getting much traffic.  What I want to know
> is if a dual channel ISDN line will be enough bandwidth for this server?

You can run a web server on any amount of bandwidth.

-- 
Kenyon Ralph | [EMAIL PROTECTED] | http://home.san.rr.com/ralphs

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

From: "Angel" <[EMAIL PROTECTED]>
Subject: Re: NFS/RPC problem
Date: Tue, 8 Jun 1999 13:37:12 +0200

    My solution for it was 'reload' nfs instead of 'restart' or 'start'.

    When I started or restarted nfs, I got a message like you get. If I
reload, what I get is a 'Permision dennied' message. I haven't been able to
find a solution for it yet. If you can mend it, please, comment to us.

    Good luck.

Angel Belda
[EMAIL PROTECTED]



Jim Alumbaugh escribi� en mensaje <[EMAIL PROTECTED]>...
>I'm trying to get NFS working on 2 Redhat 5.2 boxes.  I'm lazy so I used
>linuxconf to configure both the server and the client and the
>/etc/export and /etc/fstab show the correct changes have been made.
>When I try to manually mount the filesystem from the client, I get the
>message "mount: RPC: Program not registered".  Portmap is showing as
>running in the process table and I've stopped and restarted the daemon a
>number of times.  I also get a similar message when I restart nfsfs:
>"mounting remote filesystems.mount: RPC: Program not registered".
>
>rpcinfo also reports only two things running, rpcbind for both tcp and
>udp.
>
>Anyone know what this means?  Maybe something's not compiled into the
>kernel?
>
>-Jim



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

From: "Don Haley" <[EMAIL PROTECTED]>
Subject: linux client on NTsever with proxy and cable modem
Date: Fri, 11 Jun 1999 05:15:13 GMT

I am a new Linux user. I would like to connect to the internet thru a hub to
a NT server running Windows proxy server to our cable modem, can anyone tell
me how to do it, with out bring the whole LAN down and leaving the NT box as
the server?

thanks

-Don Haley
Linux convert
[EMAIL PROTECTED]
Linux -where do you want
to go tomorrow?



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

From: [EMAIL PROTECTED] (Michael Peponis)
Subject: Re: FTP from local OK, FTP from remote DENIED
Date: 11 Jun 1999 09:32:31 PDT

On Tue, 08 Jun 1999 17:02:47 GMT, Mike Baroukh <[EMAIL PROTECTED]>
wrote:

I had the exact same problem, RH says it's a configuration issue,
bull.

What I did was modify my hosts.allow file to LOCAL:ALL(look at the man
page for hosts.allow for syntax), and presto, I can telnet just fine.

>Hi
>
>I upgraded from RH5.1 to RH6.0 and I now have the following problem :
>
>On my Linux box, I'm abble to ftp from local to it but I'm unable to ftp
>on it from a remote host. In that case, I have a Login Failed after
>having entered the password.
>
>More genrally, I'm also abble for example to telnet from local but not
>from a remote host. Again, samba works only locally.
>
>Of course, the network works well.
>
>Also, there is no entry in /etc/hosts.deny (no more than in
>/etc/hosts.allow).
>
>I'm trying to ftp with many users name (anonymous to).
>
>I don't understand,
>
>can someone help me ?
>
>Tnaks in advance
>
>Mike Baroukh
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.


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

From: nlucent <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: pppd or lan but not both?? help
Date: Sat, 12 Jun 1999 04:54:24 GMT

In article <[EMAIL PROTECTED]>,
  propsync <"NOSPAM propsync"@stratos.net> wrote:
> Hello
>
> If I just have kppp on redhat 6.0 machine, everything is great.  But
> when I reinstall linux and say yes to 'configure lan networking', I
can
> no longer surf the web.  It will dial but it keeps saying 'no route to
> host' or something along those lines.  Here's my network setup.
>
> my localhost is 127.0.0.1
> my ethernet card is set to ip 10.0.0.1
> my netmask is 255.0.0.0
> the default gateway is 10.255.255.254 (linux chose this)
> primary nameserver is 10.0.0.1 (linux chose this)
> my domain name is linux.box
> my host name is toms.linux.box
> I have no secondary or tertiary nameservers listed
>
> In kppp, my setup is for 2 dns addresses, 209.117.223.2 and
> 209.117.223.3 with a dynamic ip address
>
> Again, if i have just dialup only, everything is ok, but as soon as i
> add the lan stuff (im connected to a win95 box), I can not get on the
> web.  It dials and all but the browser just sits there.  I can ping
the
> win 95 machine and it can ping me.
>
> what the heck am i doing wrong.
> also, i use linuxconf to setup the lan.
>
>

Sounds like your route is hosed. You need to pass pppd the defaultroute
option.

Nick
--
The opinions expressed are my own, and are not
endorsed or shared by my employer.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Ian Cottrell)
Subject: Re: nntp using plug-gw from FWTK
Date: 11 Jun 1999 04:16:39 GMT

JWJ ([EMAIL PROTECTED]) wrote:
: I am attempting to configure a proxy firewall using SuSE 6.1 with tis-FWTK.
: I have a box with 2 nics - one to the private network and one to the
: internet. Everything is set up according to the Howtos and the HTTP proxy
: works great. The problem is that I cannot get newsgroup access (even though
: my netperm file has the plug-gw configured to allow all private ip's to
: connect to all intenet addresses on their nntp port and vice versa). Am I
: missing something obvious?
: 
: Thanks in advance
: John

There is a nntp-gw available from http://www.fwtk.org.  Works great for
me.....................Ian

-- 
============================================================================
Ian Cottrell                   office email: [EMAIL PROTECTED] 
Chief, Internet Services     personal email: [EMAIL PROTECTED]
Department of Justice                office: (613) 941-5233
284 Wellington Street
Ottawa, ON, Canada
============================================================================

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

From: "Don Haley" <[EMAIL PROTECTED]>
Subject: linux client on NTsever with proxy and cable modem
Date: Fri, 11 Jun 1999 05:15:13 GMT

I am a new Linux user. I would like to connect to the internet through a hub
to
a NT server running Windows proxy server to our cable modem, can anyone tell
me how to do it, with out bring the whole LAN down and leaving the NT box as
the server?

thanks

-Don Haley
Linux convert
[EMAIL PROTECTED]
Linux -where do you want
to go tomorrow?





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

From: "dmanding" <[EMAIL PROTECTED]>
Subject: variables in ftp
Date: Thu, 10 Jun 1999 22:42:25 -0700

I am having a problem getting variables working in FTP.  I will set them
before entering the FTP command line interpreter but they do not work.

Example:  ftpdir=~/files/ftp

ftp localhost
cd $ftpdir



Thank you in advance.



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

From: "SAGAR SRIVASTAVA" <[EMAIL PROTECTED]>
Subject: How to combine the servers on my network?
Date: Thu, 10 Jun 1999 17:30:15 +0530

We have several servers on my network comprising of sun solaris,sun
sparc,win NT, Novell Network, and LINUX etc.
We are also connected to internet through a radio link of 64 kbps. I am
running a LINUX server which i want as the primary server for my network. I
also want this and other servers to use as file server.I want to use samba
on linux and i want that my min95 clients should have only one login and
everything (samba shares on linux,win nt shares, novell netware shares)
should be available.
how can i configure samba as pdc?



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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: VNC over PPP?
Date: 12 Jun 1999 04:28:46 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 10 Jun 1999 19:07:59 GMT, R. Denoire <[EMAIL PROTECTED]> wrote:
> Perhaps you know how X-Servers work... they are an excellent way to
>use Linux hosts in a network. VNC is something similar, but it also
>works connecting Windows machines as well: the VNC client on one
>client (Windows or Linux) gets die display of the host one is
>connected to, where the server part of VNC is installed. Then one can
>work as if one was right at the host itself (it is a kind of grafical
>telnet, if you wish).
>
>Well, I would like to use this kind of connection over  PPP. On the
>client, one needs to choose "host:display", for example "foomachine:1"
>and one needs a password too. But how can I tell VNC to go over PPP.
>
>In this case I wish to connect two Windows 98 machines (I think that
>using Linux in this case is quite trivial, since the "server" is just
>XDM, an the client would be any appropriate X-Server or VNC itself).

VNC works over TCP/IP, so it works as well (except, slower) over a ppp
connection as it does on a local network connection.  I had no trouble
connecting to my Win95 box at work from my Linux box at home.

However, it you are trying to connect 2 Win98 machines using ppp directly,
you have to set up DUN correctly as a dialin server (I think somewhere in 
the menus of the main DUN window). For the dialin machine you need to hard
code an IP in ControlPanel/Network/TCP/IP->DUN (for example 172.16.1.1).

For the remote, you can simply enter the same or similar IP into the DUN
connectoid (since Win routing is bassackwards you can use either the same
IP 172.16.1.1 or a different IP like 172.16.1.2).

Uncheck things you don't need like "Log into network" and "NetBIEU".  For
the DUN connectoid, the name you enter does not matter, all it pays
attention to is whether the password matches the password in the DUN
server. You should probably have the same workgroup.  If you want to
access the other machine by name instead of IP, you need entries in
\windows\hosts (or /etc/hosts for Linux).

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to