Internet only as root
Paul Ryan
paul at the-ryans.de
Sat Feb 21 18:11:19 UTC 2004
Message: 6
Subject: Re: Internet only as root
From: Nils Philippsen <nphilipp at redhat.com <mailto:nphilipp at redhat.com>>
To: fedora-list at redhat.com <mailto:fedora-list at redhat.com>
Organization: Red Hat GmbH
Date: Sat, 21 Feb 2004 15:41:07 +0100
Reply-To: fedora-list at redhat.com <mailto:fedora-list at redhat.com>
On Sat, 2004-02-21 at 15:32, Paul Ryan wrote:
> Hi I have a problem accessing the internet. I can only access it
> as root. After numerous attempts to get my ADSL runing with the
> Internet setup wizzard and the network device control, without any
> luck. The system would conect but it was like Mozilla, Gaim and Co.
> didn't know that I was conected. I finnaly had luck with adsl-config,
> everything worked as root but only as root. When I boot to a normal
> user there is no ppp0 conection listed in the network control (and yes
> I did enable other users) when I use /usr/sbin/adsl-start it seems to
> conect no error messages but it is the same as with the internet
> conection wizzard Mozilla and Co. don't think that I'm conected. One
> other note if I do any configuation with the network control I have to
> reconfigure my ppp0 conection with adsl-config again otherwise it
> won't conect to the internet again.
Hmm, can you list the configuration files for us?
("ls -l /etc/sysconfig/network-scripts")
You also shouldn't need to use adsl-start directly, just "ifup ppp0" or
"ifdown ppp0" or the network control program. Also, please give us the
contents of the file /etc/sysconfig/network-scripts/ifcfg-ppp0 without
the "USER=3D'...'" line.
[papa at localhost papa]$ ls -l /etc/sysconfig/network-scripts
total 196
-rw-r--r-- 3 root root 235 Feb 21 11:06 ifcfg-eth0
-rw-r--r-- 3 root root 161 Feb 21 11:06 ifcfg-eth1
-rw-r--r-- 1 root root 254 Jun 21 2001 ifcfg-lo
-rw-- 3 root root 345 Feb 21 11:14 ifcfg-ppp0
-rw-- 1 root root 346 Feb 16 15:48 ifcfg-ppp0.bak
lrwxrwxrwx 1 root root 20 Feb 15 08:37 ifdown ->
../../../sbin/ ifdown
-rwxr-xr-x 1 root root 1026 Jan 23 2001 ifdown-aliases
-rwxr-xr-x 1 root root 820 Dec 1 18:58 ifdown-ippp
-rwxr-xr-x 1 root root 1580 Sep 12 23:42 ifdown-ipsec
-rwxr-xr-x 1 root root 4091 Aug 15 2003 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Feb 15 08:37 ifdown-isdn ->
ifdown-ip pp
-rwxr-xr-x 1 root root 1137 Jun 27 2003 ifdown-post
-rwxr-xr-x 1 root root 1082 Sep 15 07:40 ifdown-ppp
-rwxr-xr-x 1 root root 1568 Nov 12 2002 ifdown-sit
-rwxr-xr-x 1 root root 902 Jun 26 2002 ifdown-sl
lrwxrwxrwx 1 root root 18 Feb 15 08:37 ifup ->
../../../sbin/if up
-rwxr-xr-x 1 root root 13156 Sep 4 05:28 ifup-aliases
-rwxr-xr-x 1 root root 11157 Dec 1 18:58 ifup-ippp
-rwxr-xr-x 1 root root 7598 Sep 26 21:40 ifup-ipsec
-rwxr-xr-x 1 root root 10144 Oct 20 06:06 ifup-ipv6
-rwxr-xr-x 1 root root 821 Jun 26 2002 ifup-ipx
lrwxrwxrwx 1 root root 9 Feb 15 08:37 ifup-isdn ->
ifup-ippp
-rwxr-xr-x 1 root root 689 Jun 26 2002 ifup-plip
-rwxr-xr-x 1 root root 926 Jun 26 2002 ifup-plusb
-rwxr-xr-x 1 root root 2932 Jun 24 2003 ifup-post
-rwxr-xr-x 1 root root 3926 Oct 22 18:45 ifup-ppp
-rwxr-xr-x 1 root root 1197 Aug 22 2003 ifup-routes
-rwxr-xr-x 1 root root 3534 Jan 7 2003 ifup-sit
-rwxr-xr-x 1 root root 1646 Jun 26 2002 ifup-sl
-rwxr-xr-x 1 root root 2821 Jun 27 2002 ifup-wireless
-rwxr-xr-x 1 root root 5408 Aug 18 2003 init.ipv6-global
-rw-r--r-- 1 root root 7327 Oct 20 22:42
network-functions
-rw-r--r-- 1 root root 41756 Sep 4 00:49
network-functions-ipv6
[papa at localhost papa]$
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=no
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=STANDALONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth1
PROVIDER=DSLppp0
User=
PEERDNS=yes
DEMAND=no
PERSIST=no
More information about the fedora-list
mailing list