On Sun, 3 Nov 2002, Katrin Koumpikova wrote:

> Hi All, After trying to configure my modem and the dial up connection to
> the Internet I can no longer boot my Red Hat 7.2. It hangs on Bringing
> up ppp0. Below are the emails I found and I tried to follow the
> instructions for changing ifcfg-ppp0 after booting using: linux
> emergency. The problem is that the ifcfg-ppp0 file is system and read
> only. I checked it's attributes and it has rw but when I open it in vi,

It has "rw" attributes for which user though?  Is it for "root"?  Are you 
"root" when you try to edit it? (whoami)

> it firts tells me "Unable to open swap file for recovery". After that I
> can do the changes just fine but when I try to exit vi and save the
> changes (:w!) it says ifcfg-ppp0 Can't open file for writing. I tried to

Sounds like you don't have permission to edit the file.

> copy or rename the file but the system wuoldn't let me do it saying:
> Read only file system. After that I tried booting Linux using: linux
> single but it hang on sh-2.05.
> 
> What else can I try? Please help!

I'm nearly certain that you don't have permission to edit the file. The 
other logical problem would be are you sure that you have enough free disk 
space? (df -h)

Look at the permissions of the file again (ls -l <name-of-file)
-rw-r--r--    3 root     root          448 Oct 21 20:08 
/etc/sysconfig/network-scripts/ifcfg-ppp0

This indicate that the owner (who is root) has read and write (rw-)  
permission, but that group members (in this case of the group "root") can
only read (r--) the file and others can only read (r--).  I'll bet you're 
not "root" when you're trying to edit it.

HTH, 

Oisin Feeley



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to