Re: Configuring modem and connecting to the net
Chui Tey writes: I am a new user to Linux. I have installed the Debian base system so far. Part of that involved setting up the Connection configs to connect to my ISP. Now, what packages do I require to set up my external modem... ppp and pppconfig, which you already have as they are in the base system. You ran pppconfig once already during the install, but you can run it again if you want to change anything. ...what is the command I execute to connect to the net. The command to connect is 'pon'. The command to disconnect is 'poff'. How do I assign the user (instead of the root) the right to dial up the connection? Do 'adduser user_name dip' to add user_name to the dip group and 'chmod g+x /etc/chatscripts' to correct a bug in the ppp package. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: Configuring modem and connecting to the net
[EMAIL PROTECTED] dixit: How do I assign the user (instead of the root) the right to dial up the connection? Do 'adduser user_name dip' to add user_name to the dip group and 'chmod g+x /etc/chatscripts' to correct a bug in the ppp package. bug? which bug? Never did that and I'm not having any probs (AFAIK) with ppp. BTW, how can I give a normal user permission to use the smail/sendmail command? Thanks. -- Un saludo, Horacio [EMAIL PROTECTED]
Re: Configuring modem and connecting to the net
Horacio writes: bug? which bug? Never did that and I'm not having any probs (AFAIK) with ppp. ppp2.3.5 was originally shipped with no group search permission on /etc/chatscripts. BTW, how can I give a normal user permission to use the smail/sendmail command? What are you trying to do? I can think of no reason that a user would ever need to type 'smail' or 'sendmail'. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: Configuring modem and connecting to the net
[EMAIL PROTECTED] dixit: Horacio writes: BTW, how can I give a normal user permission to use the smail/sendmail command? What are you trying to do? I can think of no reason that a user would ever need to type 'smail' or 'sendmail'. I don't get it, I am supposed not to use root except for (re)configuring programs/the system,... so, every time I want to get my mail downloaded I have to enter as root, or else I can't run the smail or sendmail command as a normal user. May be there's a way of doing it automatically by writing it somewhere (probably the same with fetchmail)? Cheers -- Un saludo, Horacio [EMAIL PROTECTED]
Re: Configuring modem and connecting to the net
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] dixit: Horacio writes: BTW, how can I give a normal user permission to use the smail/sendmail command? What are you trying to do? I can think of no reason that a user would eve r need to type 'smail' or 'sendmail'. I don't get it, I am supposed not to use root except for (re)configuring programs/the system,... so, every time I want to get my mail downloaded I have to enter as root, or else I can't run the smail or sendmail command as a normal user. May be there's a way of doing it automatically by writing it somewhere (probably the same with fetchmail)? The command to use for sending mail is runq, which is in an ordinary user's path. (It's just a script that runs sendmail.) Collecting mail should be automated. Either make it a cron job, to run at regular intervals, or use the ip-up script to fetch mail every time PPP is started up. For example: = $ cat /etc/diald/ip-up #!/bin/sh # # $Id: ip-up,v 1.19 1998/08/10 06:27:47 phil Exp $ # # Sample diald ip-up script -- GV # iface=$1 netmask=$2 localip=$3 remoteip=$4 metric=$5 # Set the time and date ntpdate -s -t 5 ntp2c.mcc.ac.uk ntp4.strath.ac.uk # Get mail fetchmail mail.enterprise.net # Run the mail queue runq = -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 Let another man praise thee, and not thine own mouth; a stranger, and not thine own lips. Proverbs 27:2