Re: ppp how to use ppp for a normal user?

1999-09-28 Thread Andrew L. Gould


John Hasler wrote:

> Andrew L. Gould writes:
> > chmod a+rwx /etc/ppp/*
> > chmod a+rwx /etc/ppp
>
> You've just made your password world readable and world writable.
> --
> John HaslerThis posting is in the public domain.
> [EMAIL PROTECTED]Do with it what you will.
> Dancing Horse Hill Make money from it if you can; I don't mind.
> Elmwood, Wisconsin Do not send email advertisements to this address.
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

There's that sinking feeling in my stomach again.  (Thank goodness that machine 
is at
home and  turned off.)  I need to slow down and remember that I'm still a 
newbie.

Thanks.


Re: PPP

1999-09-28 Thread Andrew L. Gould
Petru NOTINGHER wrote:

> Hi.
>
> I use ppp to connect to my provider. When it connects, I can do "ping",
> everything's OK.
> However, I can't do ftp or smtp or http; il lasts for years and nothing
> happens.
> When I run ftp, I get the message "Connected to xxx.xxx.xxx", and then
> nothing happens.
> I can't access the remote machine. I can't read my mail or surf either.
>
> Please help !
>
> Thanks.
>
> Petru

Petru,

It sounds as though you've made the connection to your provider, and ppp is
working fine; but your system can't find the nameserver.  Did you put your
provider's domain and nameserver in /etc/resolv.conf?

My ISP's domain is io.com.  The nameserver is 199.170.88.29.  I put the
following into /etc/resolv.conf:

search io.com
nameserver 199.170.88.29

I hope this helps.

Andrew Gould


Re: ppp how to use ppp for a normal user?

1999-09-28 Thread Andrew L. Gould


Jonathan Heaney wrote:

> Herve BRUNEL wrote:
>
> > I installed Debian slink and kernel 2.2.11 with success
> >
> > i can use my internet connexion as root, but i don't find how to run it 
> > like an user.
> >
> > I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I 
> > created as root.
> >
> > the message is always the same " you must be root to run pppd
> >
> > Is there anyone to help me
> >
> > Thanks
> >
> > Hervé
> >
> > --
> > mailto: [EMAIL PROTECTED]
> > http://www.ulice.linuxfr.org
> > association des utilisateurs de Linux et des logiciels libres du Centre
> >
> > --
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
> Add any users you want to be able to use ppp to the group dip.  You can then 
> use pon /
> poff, e.g. (as root)
>
> adduser jon dip
>
> Jon can then use ppp.
>
> Jonathan.
>

I did a fresh install of Debian 2.1r3 last night. Accessing the internet via 
wvdial as a
normal user required all three of the following:

adduser algould dip
chmod a+rwx /etc/ppp/*
chmod a+rwx /etc/ppp

'a+rwx' may have been overkill; but access attempts between each step failed 
due to inadequate
permissions to use the modem, pppd, and to write to the various ppp related 
scripts (chap* and
pap* scripts).

- Andrew Gould


Re: Permissions for non-root user to use ppp

1999-09-22 Thread Andrew L. Gould
It worked.  Thanks, Brian!

- Andrew

Brian Servis wrote:

> *- On 21 Sep, Andrew L. Gould wrote about "Permissions for non-root user to 
> use ppp"
> > Hi all!
> >
> > As of last night, I have debian running on a stand-alone Pentium II
> > machine at home.  As root, I can connect to the ISP and activate the
> > pppd using wvdial.  As a non-root user, however, wvdial connects to the
> > ISP; but can't start pppd.  I keep getting messages asking me to check
> > the permissions and/or the path to ppp.  Since it works for root, I
> > didn't think the path should be the problem.  I've used chmod a+rwx on
> > /etc/ppp/options*, /dev/modem, /dev/ttyS1 (the modem), and /etc/ppp.
> > I'm sure I've done both too much and too little.  Can anyone help?
> >
>
> The default setup for Debian is to make everything for ppp use with
> ownership of root.dip.  So you should have just added your user account
> to the dip group.  See /usr/doc/ppp/README.Debian.gz for more info. My
> user is also in group dialout which my ttyS? devices are root.dialout.
> But I don't know if a current slink is setup by default that way or not
> anymore.
>
> --
> Brian
> -
> Mechanical Engineering  [EMAIL PROTECTED]
> Purdue University   http://www.ecn.purdue.edu/~servis
> -
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


Permissions for non-root user to use ppp

1999-09-21 Thread Andrew L. Gould
Hi all!

As of last night, I have debian running on a stand-alone Pentium II
machine at home.  As root, I can connect to the ISP and activate the
pppd using wvdial.  As a non-root user, however, wvdial connects to the
ISP; but can't start pppd.  I keep getting messages asking me to check
the permissions and/or the path to ppp.  Since it works for root, I
didn't think the path should be the problem.  I've used chmod a+rwx on
/etc/ppp/options*, /dev/modem, /dev/ttyS1 (the modem), and /etc/ppp.
I'm sure I've done both too much and too little.  Can anyone help?

Thanks in advance,

Andrew


Re: ppp & serial device problem: please advise

1999-09-12 Thread Andrew L. Gould
Michael Phillips wrote:

> I've been ransacking the FAQs and list archives, but cannot find any
> information on this problem specifically.  I'm using kernel 2.0 from the CD,
> and I installed the system on my Windows box, using a 3.5" floppy to boot.
> That's most likely irrelevant, so I'll cut to the chase: I'm having PPP
> problems, and I think I have it narrowed down to the fact that my serial
> ports are screwed up.  More specifically, that the system isn't recognizing
> my serial port which would be COM2 under DOS.  I disabled COM2 in the BIOS
> of my Asus P2B-F motherboard so that Win98 would work with my Rockwell 56K
> modem; could this be the cause that the device is not recognized?  I played
> around with setting up devices and using pppd manually with a daunting
> command-line string, but it's not working for me.  The bottom line: I think
> the whole problem is because Linux isn't recognizing my modem at all, or the
> port on which it operates.  How can I set that up so that it will recognize
> my modem as a valid port?  I'm a newbie, so if the question is one which can
> be answered with the ever-concise RTFM, please point me in the direction of
> the FM which would be most beneficial to read.  Any replies are greatly
> appreciated.
>
> Michael Phillips
> [EMAIL PROTECTED]
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

I had a similar problem with a modem on COM4; but after jumping through all 
sorts of
hoops, it turns out that the default configuration settings only configured the 
first
2 serial ports.

Have you tried using setserial to determine whether the serial port is properly
configured?  For COM2, I think the command would be:

setserial /dev/cua1 (or setserial /dev/ttyS1 if you're not using cua's)

If the serial port isn't configured, you can use setserial to manuall set the
information.  You'll need the uart, port and IRQ.

If this works, you'll have to adjust your configuration files if you want the 
serial
port to will be configured at boot up.

I'm a newbie, so you might want to check my advice against the man pages.  :)

Good luck.  I hope this helps.

--
Andrew L. Gould

business is people




module list

1999-09-10 Thread Andrew L. Gould
I attempted to install Debian; and found myself (a newbie)
at a loss to know which modules to install.  Where can I
find a list of modules, with descriptions?

Thanks,

Andrew