Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-04 Thread Merlin Zener
On Wed, 2004-02-04 at 04:29, Anne Wilson wrote:
 [...snip]
 I'm not sure what's gone before, Merlin, but here's my thoughts.  
 Assuming you're using 9.2?  Try
 kdesu
 That brings up konqueror with root priveleges, I believe.  You should 
 then be able to right-click /etc/hosts and edit it.  HTH
 

Hi Anne,
No, I'm using 9.0 - and it didn't work; it said No command specified.
Must be some new addition I guess.

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-04 Thread Merlin Zener
On Wed, 2004-02-04 at 07:58, Steve Kaufman wrote:
 [...snip]
 As a newbie this command intrigued me so I played with it and the way to 
 use it is 'kdesu kedit /etc/hosts' and it will then prompt you for root 
 password and when you put it in it should open the file in edit and you 
 can then save it.
 

yes, that worked - thanks Steve.
So now I'm back to the original problem. I was able to edit my
/etc/hosts file so it now reads:

127.0.0.1   localhost.localdomain localhost
192.168.0.10laptop.workgroup laptop
192.168.0.20cel2gthai.workgroup cel2gthai

But the problem is still the same as before:
If I set the NIC to auto in DrakeConnect it hangs on bringing up
ETH0 when booting, and I can't ping to/from the laptop. If I set it to
192.168.0.20, then the machines can ping, but the internet doesn't work.
And I haven't even got to the stage of getting Samba sorted yet...

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-04 Thread Anne Wilson
On Wednesday 04 February 2004 11:20, Merlin Zener wrote:
 On Wed, 2004-02-04 at 04:29, Anne Wilson wrote:
  [...snip]
  I'm not sure what's gone before, Merlin, but here's my thoughts.
  Assuming you're using 9.2?  Try
  kdesu
  That brings up konqueror with root priveleges, I believe.  You
  should then be able to right-click /etc/hosts and edit it.  HTH

 Hi Anne,
 No, I'm using 9.0 - and it didn't work; it said No command
 specified. Must be some new addition I guess.

In 9.0 you should have File Manager - Super User Mode.
Using that you can open /etc/host with kedit, kwrite or any other 
editor and save the amended file, because you need the root password 
to access FM-SUMode.

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-04 Thread Erylon Hines
On Wednesday 04 February 2004 04:31 am, Merlin Zener wrote:

 So now I'm back to the original problem. I was able to edit my
 /etc/hosts file so it now reads:

 127.0.0.1 localhost.localdomain localhost
 192.168.0.10laptop.workgroup laptop
 192.168.0.20  cel2gthai.workgroup cel2gthai

 But the problem is still the same as before:
 If I set the NIC to auto in DrakeConnect it hangs on bringing up
 ETH0 when booting, and I can't ping to/from the laptop. If I set it to
 192.168.0.20, then the machines can ping, but the internet doesn't work.
 And I haven't even got to the stage of getting Samba sorted yet...

 --
 Merlin Zener

eth0 hanging usually means your machine is looking for a DNS server on a LAN.  
You have dial-up--right?  Give the machine a static IP.  The problem with no 
internet (you actually can dial-out and connect but can get no farther than 
that--correct?), would be with your /etc/resolv.conf
You need something like this as the only line in /etc/resolv.conf

search workgroup nameofyourisp.com local

For good measure, your   /etc/sysconfig/networkshould look something like 
this, and nothing else, at least for now:

HOSTNAME=cel2gthai .workgroup  
NETWORKING=yes






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-03 Thread Anne Wilson
On Tuesday 03 February 2004 21:10, Merlin Zener wrote:

 Hello good people, I'm trying this ***yet again***. . .

 You may remember I couldn't edit /etc/hosts before with kedit;
 someone suggested I try gedit - that didn't work either because it
 wasn't there.

 Well now, after finally managing to stay connected long enough to
 download it and the dependencies it still won't work.
 Here's what I got, just now:

 [EMAIL PROTECTED] merlin]# gedit /etc/hosts
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified


 (gedit:3156): Gtk-WARNING **: cannot open display: :0.0
 [EMAIL PROTECTED] merlin]#

 I don't understand why this is so hard.

 First, I am running KDE as a desktop - I thought kedit was the KDE
 editor? And gedit is the Gnome one? Do I have to be running Gnome
 for gedit to work? [I don't see how it would make any difference -
 I'm starting it from the text box anyhow...]

 And what's so special about this hosts file that I need to edit it
 with a special program? Isn't it just plain text? Or is there some
 other issue - do I have to shut down the network first before
 editing that file? [I don't know - I'm clutching at straws here...]
 If so, how do I do it?

 What I really need, is a clue...

I'm not sure what's gone before, Merlin, but here's my thoughts.  
Assuming you're using 9.2?  Try
kdesu
That brings up konqueror with root priveleges, I believe.  You should 
then be able to right-click /etc/hosts and edit it.  HTH

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [Fwd: Re: [newbie] unable to ping to/from my windoze box]

2004-02-03 Thread Paul
Hi Merlin,

I am not 100% certain on the syntax, but I had this happen once too.
If you log into X as a user and change to root, this effect can 
sometimes happen. To prevent that, you can run

xhost +

from the commandline before starting X (from runlevel 3, not sure where 
to put it when you use runlevel 5). That allows anyone to connect to the 
X server. In which lies a vulnerability, because that also can give 
outside folks access to your X server. But that is what has helped me 
run graphical utilities in X as root.

man xhost tells:
NAME
  xhost - server access control program for X
SYNOPSIS
  xhost [[+-]name ...]
DESCRIPTION
  The xhost program is used to add and delete host names or user 
names to
  the list allowed to make connections to the X server.

First, I am running KDE as a desktop - I thought kedit was the KDE
editor? 

Yes.

And gedit is the Gnome one?

Yes

Do I have to be running Gnome for
gedit to work?
No, you only need the gnome libraries installed.

Good luck,
Paul
--
Windows: Where do you want to go today?
MacOS: Where do you want to be tomorrow?
Linux: Are you coming or what?
http://www.nlpagan.net - Linux Mandrake - Thunderbird 0.5a/20031217
Have you visited http://twiki.mdklinuxfaq.org yet?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com