[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apache rulz and other stuff




Casey Boone said:
> what i wanna know is if there is a single command i can type under redhat
> 5.2 that will start up an easy to use utility for seting up just such an
> account.

Try "netcfg", also available under the control panel as something like
"network configuration".

You could also try this...

If your ISP uses PAP or CHAP authentication, add a line like

    username * password

to /etc/ppp/pap-secrets or /etc/ppp/chap-secrets, respectively.  (You
can always add it to both.)

Then save this as a script, edit it appropriately, "chmod +x" it, and
run it:

-- begin --
#!/bin/sh

# fill in your user name here
USERNAME=foo
# fill in the phone number to dial here
NUMBER=555-0000

exec /usr/sbin/pppd connect '/usr/sbin/chat -v ABORT "NO CARRIER" ABORT '\
'BUSY ABORT "NO DIALTONE" ABORT "NO DIAL TONE" "" "ATZ" OK ATDT'"$NUMBER"\
' CONNECT' /dev/modem 115200 crtscts modem defaultroute asyncmap 0 bsdcomp \
15,15 lock name $USERNAME noipdefault ipcp-accept-local ipcp-accept-remote \
noauth

-- end --

(Be careful that you get the various quotes, spaces, etc. right.  Let
me know if you need a copy of that sent as an attachment or something.)

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(217)698-1694             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.