linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Editing File Associations in KDE
@ 2003-06-06 18:08 Sadanapalli, Pradeep Kumar (MED, TCS)
  2003-06-06 18:22 ` Rex Dieter
  0 siblings, 1 reply; 6+ messages in thread
From: Sadanapalli, Pradeep Kumar (MED, TCS) @ 2003-06-06 18:08 UTC (permalink / raw)
  To: linux-admin

Hi All,
I want to change the default file associations in KDE . From there on,
if I create a new user, he should inherit these modified file
associations as default. How can I do this?
If I edit KControl->File Associations, will the changes be only effected
to root and do they become default for the users created thereon? How do
I edit these associations manually by editing some files? On the whole ,
I want to change the default file associations permanently. Please help
me. I am running RedHat 8.0 with KDE. Thanks in advance...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Editing File Associations in KDE
  2003-06-06 18:08 Editing File Associations in KDE Sadanapalli, Pradeep Kumar (MED, TCS)
@ 2003-06-06 18:22 ` Rex Dieter
  2003-06-07  1:17   ` Routing Problem lance turner
  0 siblings, 1 reply; 6+ messages in thread
From: Rex Dieter @ 2003-06-06 18:22 UTC (permalink / raw)
  To: Sadanapalli, Pradeep Kumar (MED, TCS); +Cc: linux-admin

On Fri, 6 Jun 2003, Sadanapalli, Pradeep Kumar (MED, TCS) wrote:

> I want to change the default file associations in KDE.

/usr/share/config/profilerc

-- Rex


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Routing Problem
  2003-06-06 18:22 ` Rex Dieter
@ 2003-06-07  1:17   ` lance turner
  2003-06-07  2:27     ` terry white
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: lance turner @ 2003-06-07  1:17 UTC (permalink / raw)
  To: linux-admin

I am having difficulty permanently adding a route to the routing table.

I used the following command to add a route:

route add -net default gw 192.168.1.3 dev eth0

This resulted in the following routing table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     *               255.255.255.0   U         0 0          0 eth0
127.0.0.0       *               255.0.0.0       U         0 0          0 lo
default         192.168.1.3     0.0.0.0         UG        0 0          0 eth0

But after restarting, the routing table changes to this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0

Which does not work. The server can not get to the gateway and thus to the internet.

I also checked the/ proc/net/route file, and it matches what is displayed by "route" and "netstat -r".

/proc/net/route before restart

Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
eth0	0001A8C0	00000000	0001	0	0	0	00FFFFFF	0	0	0                                                                               
lo	0000007F	00000000	0001	0	0	0	000000FF	0	0	0                                                                                 
eth0	00000000	0301A8C0	0003	0	0	0	00000000	0	0	0                                                                               

/proc/net/route after restart:

Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
eth0	0001A8C0	00000000	0001	0	0	0	00FFFFFF	0	0	0                                                                               
lo	0000007F	00000000	0001	0	0	0	000000FF	0	0	0                                                                                 
eth0	00000000	FE01A8C0	0003	0	0	0	00000000	0	0	0     

The following is the from the /etc/sysconfig/network-scripts/ifcfg-eth0 file:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.7
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes

Obviously I'm doing something incorrect, but I'm not sure what. 

Any idea why the routing table is being modified at startup? What do I need to do to permanently set the routing table?

thanks,
lance turner
latu.net





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Routing Problem
  2003-06-07  1:17   ` Routing Problem lance turner
@ 2003-06-07  2:27     ` terry white
  2003-06-07  3:46     ` Joakim Ryden
  2003-06-07  3:46     ` Joakim Ryden
  2 siblings, 0 replies; 6+ messages in thread
From: terry white @ 2003-06-07  2:27 UTC (permalink / raw)
  To: linux-admin

on "6-6-2003" "lance turner" writ:

: route add -net default gw 192.168.1.3 dev eth0

... i'm just guessing here, but shouldn't the device be something like
'eth0:0' or 'eth1'.  this to me seems self-referential.

    in addition, i thought 192.168.x.x protected space, and not reachable
from the internet.  i would suspect the 'gw' "address" to be one
your ISP maintains.  here at 206.124.156.176/29: 176 is the network
address, 177 my gateway to the internet, 178 this domain, and so on.

    if yours is a 'stand-alone' system, then your local network is of no
consequence, because it will change.


: Any idea why the routing table is being modified at startup? What do I
: need to do to permanently set the routing table?

    in '/etc/sysconfig/network-scripts/ifup-routes' it uses:

"grep "^$1 " /etc/sysconfig/static-routes | while read device args; do".

    now, i was going to suggest you take a look at 'static-routes', but
noticed that i'm not using it here.  now, i don't know what to say ...


-- 
... i'm a man, but i can change,
    if i have to , i guess ...


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Routing Problem
  2003-06-07  1:17   ` Routing Problem lance turner
  2003-06-07  2:27     ` terry white
  2003-06-07  3:46     ` Joakim Ryden
@ 2003-06-07  3:46     ` Joakim Ryden
  2 siblings, 0 replies; 6+ messages in thread
From: Joakim Ryden @ 2003-06-07  3:46 UTC (permalink / raw)
  To: lance turner; +Cc: linux-admin

On Fri, 2003-06-06 at 18:17, lance turner wrote:
[...]
> Obviously I'm doing something incorrect, but I'm not sure what. 
> 
> Any idea why the routing table is being modified at startup? What do I need to do to permanently set the routing table?

Make sure /etc/sysconfig/network has the following line in it:

GATEWAY=192.168.1.3

--Jo


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Routing Problem
  2003-06-07  1:17   ` Routing Problem lance turner
  2003-06-07  2:27     ` terry white
@ 2003-06-07  3:46     ` Joakim Ryden
  2003-06-07  3:46     ` Joakim Ryden
  2 siblings, 0 replies; 6+ messages in thread
From: Joakim Ryden @ 2003-06-07  3:46 UTC (permalink / raw)
  To: lance turner; +Cc: linux-admin

On Fri, 2003-06-06 at 18:17, lance turner wrote:
[...]
> Obviously I'm doing something incorrect, but I'm not sure what. 
> 
> Any idea why the routing table is being modified at startup? What do I need to do to permanently set the routing table?

Make sure /etc/sysconfig/network has the following line in it:

GATEWAY=192.168.1.3

--Jo


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-07  3:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 18:08 Editing File Associations in KDE Sadanapalli, Pradeep Kumar (MED, TCS)
2003-06-06 18:22 ` Rex Dieter
2003-06-07  1:17   ` Routing Problem lance turner
2003-06-07  2:27     ` terry white
2003-06-07  3:46     ` Joakim Ryden
2003-06-07  3:46     ` Joakim Ryden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).