Re: [expert] C++ errors

2001-12-31 Thread eric

Ken:  what version of mdk you use?  7.2 or 8.0 or 8.1?
eric, [EMAIL PROTECTED]

Ken Thompson wrote:
 
  #include iostream
 
  int main()
  {
cout  Hello World!  endl;
return(0);
  }
 
  Try the above :)
 
 
 [ken@spooky Desktop]$ ./hello1.cpp
 ./kello1.cpp: line 4: syntax error near unexpected token `main()'
 ./kello1.cpp: line 4: `int main()'
 
Been a long time, but shouldn't this be
 
int main();
 
 Tom and Dwain,
 Same error message using each of the suggestions.
 scratching head with a puzzled frown
 The code comes right out of Sams Teach yourself C++ in 24hrs and in
 previous versions of MDK I've had it work.
 I'm going back to trying to learn C++, had to quit studies the first time
 around.
 --
 Ken Thompson, North West Antique Autos
 Payette, Idaho
 Email: [EMAIL PROTECTED]
 http://www.nwaa.com
 Sales and brokering of antique autos and parts.
 
 Linux- Coming Soon To A Desktop Near You
 Registered Linux User #183936
 
   
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



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



Re: [expert] How can I shutdown a PC from telnet?

2001-12-31 Thread James Sparenberg

Roger,
   I don't know for sure exactly what is happening but I can give you some tips on how 
to find out where and why the shutdown command dies.  First question is ... does 
reboot work?  Second  just type shutdown.  If it's being found correctly in your path 
it should spit a Usage message back at you.  If nothing comes back it's not in your 
path.  Use su - (the dash helps you inheret the root users properties instead of login 
user) try again with shutdown.  I've had boxes where for some reason peculieur to them 
you had to type the full path for a certain  command. (oh and that box has 302 days 
uptime, woulda been longer but it moved from LA to Berkley).  Then open a second 
telnet window.  In one widow cd to /var/log and then tail -f messages.  This will give 
you a realtime session with system messages.  Type the shutdown -h now and see what 
spits back at you.  This may give you and indication where it fails.  If this still 
doesn't help try strace shutdown -h now  (if you have the!
 s!
trace rpm on the box)  This will spit a lot of junk out but what will be most 
important are maybe the last ten lines.  It will either exit normally with a 0 or it 
will exit/halt and by backing up slightly from the last line you should be able to see 
what it was trying to do when it halted.

James

On Sun, 30 Dec 2001 16:27:02 -0700
Roger [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to make an old PC into a keyboardless, mouseless, 
 monitorless server.  It boots and starts up OK and I can access it from 
 telnet and vnc, but it refuses to shutdown.
 
 If I do a shutdown -h now from telnet, it broadcasts a message but 
 doesn't shutdown.  On vnc, the logoff button doesn't show a halt or 
 reboot option.
 
 What are my options?
 
 TIA
 
 Roger
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 



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



Re: [expert] help with urpmi please

2001-12-31 Thread bascule

hi charles,
i am running cooker with 2.4.16 -11, i did what you described (though i 
wasn't having exactly the same problem) no joy, urpmi still goes through all 
of the rpms specified in the command line and at the end it says:
found 3424 headers in cache
removing 3424 obsolete headers in cache

and leaves me with an 'empty source'

is it possible that the functioning of urpmi has changed? adding a source on 
the net requires specifying a hdlist but locally i like to miss out this so 
that the source includes all the rpms in cooker i.e.:
# urpmi.addmedia localcooker file://mandrake/cooker/
with no mention of a hdlist, is this still meant to work? because i cannot 
get it to,

anyone?

bascule

On Thursday 27 December 2001 1:41 pm, you wrote:
 On Wed, 26 Dec 2001 22:32:17 +

 bascule [EMAIL PROTECTED] wrote:
  i hjave been having problems with urpmi not adding/updating sources so i
  uninstalled urpmi and gurpmi and rpmdrake, deleted /var/lib/urpmi and
  /var/cache/urpmi and /etc/urpmi and reinstalled urpmi, gurpmi and
  rpmdrake and ran  - as root- :
  # urpmi.addmedia localcooker file://mandrake/cooker/
 
  the result of which was as follows:
  ---snip-
  /mandrake/cooker/Mandrake/RPMS2/ziptool-1.3-6mdk.i586.rpm
  /mandrake/cooker/Mandrake/RPMS2/zsnes-1.337-3mdk.i586.rpm
  /mandrake/cooker/Mandrake/RPMS2/zssh-1.5a-1mdk.i586.rpm
  choosing compression method with gzip -4 for archive
  /var/cache/urpmi/partial/hdlist.localcooker.cz
  real archive size of /var/cache/urpmi/partial/hdlist.localcooker.cz is
  19880728
  reading hdlist file [/var/lib/urpmi/hdlist.localcooker.cz]
  keeping only files referenced in provides
  reading hdlist file [/var/lib/urpmi/hdlist.localcooker.cz]
  built hdlist synthesis file for medium localcooker
  found 3424 headers in cache
  removing 3424 obsolete headers in cache
  write config file [/etc/urpmi/urpmi.cfg]
  [root@mycroft RPMS]#
 
  as you can see the 'removing obsolete headers' means that urpmi has
  'forgotten about all the rpms it has just added to its list as the
  following command shows:
  [root@mycroft RPMS]# urpmi zssh
  no package named zssh
  [root@mycroft RPMS]#
 
  can someone please help me sort this out as urpmi and rpmdrake are
  currently unusable for me

 Is this full Cooker?

 Do not know if this will help in your case but after a clean install of the
 Cooker snapshot ISOs rpmdrake would segfault during 'looking for installed
 packages'
 I was able to correct this by uninstalling, using nodepends,
 autoirpm, grpmi, gurpmi, rpmdrake, and urpmi.
 I then rebooted the system.
 I then installed from the same folder fresh downloads of
 autoirpm-3.1-4mdk.i586.rpm
 grpmi-8.1-8mdk.i586.rpm
 gurpmi-3.1-4mdk.i586.rpm
 rpmdrake-1.4-5mdk.i586.rpm
 urpmi-3.1-4mdk.i586.rpm
 using rpm -ivh *rpm

 rpmdrake now launches and runs without problem.


Charles



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



[expert] Moving MySQL databases to hosting server - help!

2001-12-31 Thread Neil R Porter

Hi All

Firstly, thanks for the permissions help on the MySQL database query.

I've got a simple database application running (using html/php/MySQL) and 
want to be able to transfer it up to my web hosting space.  They claim to 
support MySQL, although I have no idea how to move the actual files I've 
developed on my development server here at home.  Also, how would I make sure 
the permissions I've setup in the mysql tables can be transfered so that I 
can use the database I've created?  It's all rather too transparent this end 
at the mo, and I'm now having to try to find out which files are needed where 
on the host server.  Please help.

Ta and Happy New Year

Neil



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



Re: [expert] help with urpmi please

2001-12-31 Thread Charles A Edwards

On Mon, 31 Dec 2001 11:29:11 +
bascule [EMAIL PROTECTED] wrote:

 hi charles,
 i am running cooker with 2.4.16 -11, i did what you described (though i 
 wasn't having exactly the same problem) no joy, urpmi still goes through all 
 of the rpms specified in the command line and at the end it says:
 found 3424 headers in cache
 removing 3424 obsolete headers in cache
 
 and leaves me with an 'empty source'
 
 is it possible that the functioning of urpmi has changed? adding a source on 
 the net requires specifying a hdlist but locally i like to miss out this so 
 that the source includes all the rpms in cooker i.e.:
 # urpmi.addmedia localcooker file://mandrake/cooker/
 with no mention of a hdlist, is this still meant to work? because i cannot 
 get it to,
 

Urpmi has changed as to how it handles the source.
As best as I understand it now operates at its own descretion as to the
fetching and listings of available pkgs this to correct a problem in the
previous release with using systhesis only rather than hdlist.

I am  GUI man so I stick with rpmdrake and have used it only for ftp or cooker
sources.
My only attempt at a local source was from cd-rom and this failed with
unable to read hdlist.

It could very well be that rather than a procedure problem using urpmi that 
it is a problem in the build.
I would post to cooker and hopefully Francois will respond.


   Charles 







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



Re: [expert] Moving MySQL databases to hosting server - help!

2001-12-31 Thread Jesus Roncero

El Lun 31 Dic 2001 12:54, Neil R Porter escribió:
 Hi All

 Firstly, thanks for the permissions help on the MySQL database query.

 I've got a simple database application running (using html/php/MySQL) and
 want to be able to transfer it up to my web hosting space.  They claim to

Have you tried with :
mysqldump --add-drop-table database-name -u user -p   backup.sql

and then, at the other end, do :

mysql database-name  -u user -p  backup.sql

-- 
Gabardinas Windows, se cuelgan solas!.



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



RE: [expert] Moving MySQL databases to hosting server - help!

2001-12-31 Thread Kurki, Juhani ActeFI
Title: RE: [expert] Moving MySQL databases to hosting server - help!





 -Original Message-
 From: Neil R Porter [mailto:[EMAIL PROTECTED]]
 Sent: 31. joulukuuta 2001 13:55
 To: Expert Mandrake List
 Subject: [expert] Moving MySQL databases to hosting server - help!


 want to be able to transfer it up to my web hosting space. 
 They claim to support MySQL, although I have no idea how to move
 the actual files I've developed on my development server here at
 home. 


Easiest way is to do full dump (or backup) with mysqldump:
mysqldump --opt -uyour_mysql_user -p your_dbase  your_dbase.sql


and then read it back in your web hosting server with mysql client:
mysql -uyour_mysql_user -p your_dbase  your_dbase.sql


 Also, how would I make sure 
 the permissions I've setup in the mysql tables can be 
 transfered so that I 
 can use the database I've created?


How to set permissions depends from your hosting company.
As an example in my web hosting company gives me
one username for my mysql database who has all rights
to it and only to it (and database name is also defined by them,
which in my case is my username).
Which means that I'm not able to define any permissions by using
mysql own permission system.
So you need to be very careful that you check everything what
your users are sending to database (if they do).


Happy New Year
-- juhani --





[expert] Samba Question??

2001-12-31 Thread Gavin


I have 3 computer, 2 Linux (RH and ML) and one windows 98 box.  Using samba, 
I can see all files on my 98 box. I want to do some file sharing with my 2 
linux boxes, I read (from the MUO - Connectivity - SAMBA Setup I 
http://www.mandrakeuser.org/docs/connect/csamba.html) that you can't use 
linux as a client to a Linux Server.

I want to use my Mandrake 8.0 box as a samba server and my RedHat box as a 
client, both boxes can ping each other but do I transfer files to the server. 
In basic termwhat should I do or where should I go?? Thanks in advace, 
and to all a Happy New Year!

God Bless

Sincerely,


Gavin Rollins and Family
Systems Administrator
New Connections, Japan
Fukushimaken, Fukushima City
Nankodai 2-34-1
Japan T-960



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



[expert] Have anybody successfully installed the Palm Emulator under 7.2

2001-12-31 Thread Peter Møller Neergaard

I have been unsuccessful at compiling the Palm Emulator source from
Palm under 7.2.  I wondered if anybody has been successful in doing it
and could give me hints on where I go wrong. 

I am currently trying to compile the source version 3.3, but I had
similar problems when I tried to compile the version 3.1 source.  In
both cases configure complains that it cannot find FLTK.

I have checked that 7.2 comes with FLTK v. 1.0.9 which are later than
the 1.0.5 and 1.0.7 named in the Docs/_Building.txt accompanying the
emulator source.  The library is installed with libfltk.{a,so} in
/usr/lib.  In an attempt to solve problems, I have alsodownloaded and
build FLTK 1.0.11 with and without shared libraries; in both cases
with files installed in /usr/local/lib.  I have

  /usr/X11R6/lib
  /usr/i486-linux-libc5/lib
  /usr/local/lib

in my /etc/ld.so.conf and have run ldconfig after installing the
libraries.

Following the instructions in the source bundle, I run ./configure of
BuildUnix with

  ./configure --with-fltk=/usr/local/lib 

When I do so it fails with the last two lines being 

  checking for 'int fl_height (void)' in -lfltk... no
  configure: error: *** FLTK *must* be installed before running configure. ***

I have looked into the configure script and noticed that the test used
is

  #line 3465 configure
  #include confdefs.h
  #include Fl/Fl.H
  #include Fl/fl_draw.H
  int main() {
  fl_height()
  ; return 0;
  }

I can successfully compile that file with the following command line

  gcc -L /usr/local/lib test2.c++ -lfltk -L/usr/X11R6/lib -lX11 -o test2

provided that only libfltk.a and *not* libfltk.so is installed in
/usr/local/lib (I presume that the compiler otherwise picks up the
share library over the statically linked library).  I am stuck at this
point, because I cannot figure what options configure use to compile
the test file; it is thus not clear how to approach the problem any
further.

I hope that somebody have successfully installed the software and can
tell me what to do next.

Thanks in advance
Best

Peter
--
http://www.linearity.org/turtle/contact.html
Her er dit vern mot vold her er dit sverd: 
Troen på livet vårt, menneskets verd.   -- Nordahl Grieg
(This is your shield, this is your sword: the belief in life, the value of man)


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



Re: [expert] lmsensors (About an earlier discussion)

2001-12-31 Thread Tom Brinkman

On Sunday 30 December 2001 10:56 pm, Nelson Bartley wrote:
 As was discussed earlier (but I appear to have lost some of the
 messages), I installed the lm_utils package, which installed and
 auto started the sensord deamon.

 However, during boot I get a message which mentions modprobe
 i2c-proc (or l2c-proc) and then sais I've got an error -4 in my
 sensord.conf file.

 Now I've run the modprobe command, it does nothing. Does anyone
 have an ideas, or could point me in the right direction to a FAQ,
 or simplified docs?

 NB

   I'm using lm_sensors-2.6.2-1mdk and kernel-2.4.16.1mdk-1-1mdk and 
I get that same error. Then later in the boot up process I see all my 
i2c modules getting loaded.  Take a look at dmesg and lsmod and see 
if it's not the same with your system. lm_sensors + gkrellm works 
fine.

-- 
  Tom Brinkman     Corpus Christi, Texas, USA



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



Re: [expert] InteractiveBastille question

2001-12-31 Thread Ken Nowack

Yeah, Bastille-Tk did the trick. However, now I can no
longer su to root. I can log in as root just fine but
no su. It gives the error File size limit exceeded I
remember seeing someone else having the same issue
here not long ago. Time to troll the archives to see
what I can find.

Thanks much for the help,

Ken

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



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



[expert] MySQL/SQL question

2001-12-31 Thread Thomas Sourmail


Sorry if that's obvious to some, I'm just starting with databases..

So, I read it's good to normalise databases and so I do, I have a table
for papers, one for author and one for journal, with, in paper, the id of
author and journal.

So far so good, but how do I enter my data ?? Supposing I have filled in
authors and journals, I now want to enter data for papers, is there a way
to do something like:

INSERT INTO papers(title, journal_id, author_id, whatever) 
values ('The title',
select journal_id from journal where name='The journal',
select author_id from author where name='The author',
etc..);

Obviously the above doesn't work, or I wouldn't be writing this but is
there a way to build similar command (ie without going for script) ?

Thanks,

Thomas.




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



Re: [expert] InteractiveBastille question

2001-12-31 Thread Florian

Thats not an issue you yave probably answered the question if you want to add 
a filesizelimit for users with YES so go through the Interactive_Bastille 
again and set it to NO.
Cheers
Florian

On Monday 31 December 2001 16:26, you wrote:
 Yeah, Bastille-Tk did the trick. However, now I can no
 longer su to root. I can log in as root just fine but
 no su. It gives the error File size limit exceeded I
 remember seeing someone else having the same issue
 here not long ago. Time to troll the archives to see
 what I can find.

 Thanks much for the help,

 Ken

 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com




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



Re: [expert] Samba Question??

2001-12-31 Thread Michael Viron

At 10:39 PM 12/31/2001 +0900, you wrote:

I have 3 computer, 2 Linux (RH and ML) and one windows 98 box.  Using samba, 
I can see all files on my 98 box. I want to do some file sharing with my 2 
linux boxes, I read (from the MUO - Connectivity - SAMBA Setup I 
http://www.mandrakeuser.org/docs/connect/csamba.html) that you can't use 
linux as a client to a Linux Server.

Not true.  You can use Linux as a client to a Linux Samba server--as a
matter of fact, that is how they suggest you test your samba installation:

[root@host1 /root]# mount -t smbfs -o username=,password=
//hostdev/share /mnt/share
params.c:Parameter() - Ignoring badly formed line in configuration file:
passwd:
*all*authentication*tokens*updated*successfully*
[root@host1 /root]# df -h /mnt/wsdopres
FilesystemSize  Used Avail Use% Mounted on
//hostdev/share   1.0G  417M  610M  41% /mnt/share
[root@host1 /root]#
(some details have been changed to protect the hostname, username, and
passwords of this particular server(s))

Also using smbclient to a Linux server from a Linux client:

user@host1 ~ $ smbclient -U user -L hostdev
'params.c:Parameter() - Ignoring badly formed line in configuration file:
passwd
:*all*authentication*tokens*updated*successfully*
added interface ip=xxx.xx.xx.xxx bcast=xxx.xx.xx.xxx nmask=xxx.xxx.xxx.0
Password:
Domain=[TESTDOMAIN] OS=[Unix] Server=[Samba 2.2.2]

Sharename  Type  Comment
-    ---
netlogon   Disk  Network Logon Service
IPC$   IPC   IPC Service (Samba Server 2.2.2)
ADMIN$ Disk  IPC Service (Samba Server 2.2.2)
user   Disk  Home Directories

Server   Comment
----
HOSTDEV  Samba Server 2.2.2

WorkgroupMaster
----
WINDOMAINII  HOST1
TESTDOMAINII HOSTDEV
user@host1 ~ $

Samba is of course not the preferred way to share folders between linux
machines, nfs is.  I won't go into any detail as to how to set that up
unless you really want to open up the proverbial can of worms.

Civilme or Vincent -- Know who is maintaining the docs on Mandrake User?  I
think it may be time for an update to the SAMBA ones (especially the one
mentioned in this post).

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida





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



Re: [expert] bastille-netfilter

2001-12-31 Thread richard

On Sat, 2001-12-29 at 14:15, daRcmaTTeR wrote:
 On 29 Dec 2001 09:26:51 +
 richard [EMAIL PROTECTED] studiouisly spake these words to ponder:
 
  I believe there is a mailing list for this, anyone know where ???.
  I suspect the probs I have with implemetation are outside the scope of
  this list, even though its part of the distro
  
  tia
   BG
   Richard
  
 
 Hi Richard,
 
 I believe you can find the sign up for the Bastille-firewall mailing list at 
sourceforge. as I recall thats where i signed up for that one a while back.
 

Unfortunaltly I cant find any trace of it there, I do urgently need some
assistance with a bastille-netfilter firewall problem, this list is
obviously not the place to ask questions.
Dose anyone know how to subscribe to the bastille mailing list ?
BG
Richard


 -- 
 daRcmaTTeR
 -





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



RE: [expert] MySQL/SQL question

2001-12-31 Thread Mitchell, Edmund

Hi Thomas,
You don't need to put your column or table names into the INSERT statement.
Just put the values in the same order as the columns.
So, if your papers table has the columns author_id and title, then type:
INSERT INTO papers VALUES(42, 'Mu Mesons and Quark Emissions');

Then, to select all papers with an author_id of 42, just type:
SELECT * FROM papers WHERE author_id = 42;

It looks like you're very close.  Remember, anything in quotes is case
sensitive.
There is some good docs included with the Mandrake MySQL, I access them
through Webmin, but they're also on the MySQL website.

HTH

Edmund

 -Original Message-
 From: Thomas Sourmail [mailto:[EMAIL PROTECTED]]
 Sorry if that's obvious to some, I'm just starting with databases..
 
 So, I read it's good to normalise databases and so I do, I 
 have a table
 for papers, one for author and one for journal, with, in 
 paper, the id of
 author and journal.
 
 So far so good, but how do I enter my data ?? Supposing I 
 have filled in
 authors and journals, I now want to enter data for papers, is 
 there a way
 to do something like:
 
 INSERT INTO papers(title, journal_id, author_id, whatever) 
 values ('The title',
 select journal_id from journal where name='The journal',
 select author_id from author where name='The author',
 etc..);
 
 Obviously the above doesn't work, or I wouldn't be writing this but is
 there a way to build similar command (ie without going for script) ?
 
 Thanks,
 
 Thomas.
 



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



Re: [expert] MySQL/SQL question

2001-12-31 Thread Tobias Marx

Am Mon, 2001-12-31 um 16.39 schrieb Thomas Sourmail:

 INSERT INTO papers(title, journal_id, author_id, whatever) 
 values ('The title',
 select journal_id from journal where name='The journal',
 select author_id from author where name='The author',
 etc..);

in theory this will work, but not with mysql. mysql does not support
(yet) subselects (those in the brackets). you can do single selects for
journal_id and author_id, save them in some variables and put together
the final insert statement with those variables. i guess you use php. do
something like:

$insert_papers=
INSERT INTO papers(title, journal_id, author_id, whatever)
values ('The Title',.$jounal_id.,.$author_id.,whatever);

now use $insert_papers for you mysql select.

btw, there are better mailing lists for both mysql and php... ;)

have fun,
Tobias

-- 

Many that live deserve death. And some that die deserve life.
Can you give it to them? Then do not be too eager to deal out death in
judgement.
For even the very wise cannot see all ends.

- Gandalf




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



RE: [expert] MySQL/SQL question

2001-12-31 Thread Thomas Sourmail

 So, if your papers table has the columns author_id and title, then type:
 INSERT INTO papers VALUES(42, 'Mu Mesons and Quark Emissions');

Hum.. I knew that, but I meant I don't want to have to know that the
author ID is 42, I want to look it up in the table AUTHORS.

Anyway, the next post seems to say that I can't do it straight with MYSQL,

in theory this will work, but not with mysql. mysql does not support
(yet) subselects (those in the brackets). you can do single selects for
journal_id and author_id, save them in some variables and put together
the final insert statement with those variables. i guess you use php. do

.. Yep, I have no problem doing that with php or perl, I was simply
curious to know whether it was do-able with SQL commands only (not with
UPDATE, all at once..)

Thanks,

Thomas.




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



Re: [expert] Gphoto2

2001-12-31 Thread ajax

Check the installation cds for a library with gphoto2 in it and install it 
and gtkam from the cds.  I tried to do a complete install and neither of 
these were installed by the installer.  Then run gtkam.  I got my canon 
digital elph working this way.  It doesn't seem to want to download video 
though.

On Sunday 30 December 2001 05:13 pm, you wrote:
 So does my Fuji Finepix 2300. :-(

 Riev


 - Original Message -
 From: Ken Thompson [EMAIL PROTECTED]

  I see gphoto on the menu and have tried use it with my Kodak DC3200 but
  no drivers.
  Gphoto2 shows drivers for this camers but I don't seem to be able to get
  anything but command line for use.
  Is ther a way to use the gphoto2 with the nice interface that gphoto has,

 or

  maybe a way to use the DC3200 drivers in gphoto?
  Gphoto works good with my PoloroidPDC 640..
  Thanks all..



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



Re: [expert] C++ errors

2001-12-31 Thread tester

Ken Thompson wrote:

#include iostream

int main()
{
  cout  Hello World!  endl;
  return(0);
}

Try the above :)


[ken@spooky Desktop]$ ./hello1.cpp
./kello1.cpp: line 4: syntax error near unexpected token `main()'
./kello1.cpp: line 4: `int main()'

  Been a long time, but shouldn't this be

  int main();


Tom and Dwain,
Same error message using each of the suggestions.
scratching head with a puzzled frown
The code comes right out of Sams Teach yourself C++ in 24hrs and in 
previous versions of MDK I've had it work.
I'm going back to trying to learn C++, had to quit studies the first time 
around.




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

Are you certain you have an iostream file?  Are any other standard 
headers needed?  The older gcc series added standard headers by default 
with wild abandon, but no more.  2.96 is strict but nothing compared to 3.0.

Civileme






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



Re: [expert] Gphoto2

2001-12-31 Thread Ken Thompson

On Monday 31 December 2001 10:18 am, you wrote:
 Check the installation cds for a library with gphoto2 in it and install it
 and gtkam from the cds.  I tried to do a complete install and neither of
 these were installed by the installer.  Then run gtkam.  I got my canon
 digital elph working this way.  It doesn't seem to want to download video
 though.

Gphoto2 and GTkam both work nicely with my Kodak DC3200.

-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] C++ errors

2001-12-31 Thread tester

Lee Roberts wrote:

I think you're right. He has to compile the program, with g++,  first and
then run the *executable* file. :-D

At 06:23 PM 12/31/2001 +1300, Syed Irfan wrote:

hmm

i think i know whats wrong
hes running the .cpp file as a script without compiling
to compile use g++ hello.cpp -o hello and run as ./hello, n i hope u got
my direct mail to u

hth

vi hello.cpp
[irfan@Main irfan]$ ./hello.cpp
bash: ./hello.cpp: Permission denied
[irfan@Main irfan]$ chmod 755 hello.cpp 
[irfan@Main irfan]$ ./hello.cpp 
./hello.cpp: line 4: syntax error near unexpected token `main(v'
./hello.cpp: line 4: `int main(void)'
[irfan@Main irfan]$ 

almost same error as what was said
n its very likely 100% what went wrong


On Mon, 2001-12-31 at 18:06, Lee Roberts wrote:

Change #include iostream to #include iostream.h 

At 09:37 PM 12/30/2001 -0700, Ken Thompson wrote:

#include iostream

int main()
{
   cout  Hello World!  endl;
   return(0);
}

Try the above :)

[ken@spooky Desktop]$ ./hello1.cpp
./kello1.cpp: line 4: syntax error near unexpected token `main()'
./kello1.cpp: line 4: `int main()'

  Been a long time, but shouldn't this be

  int main();

Tom and Dwain,
Same error message using each of the suggestions.
scratching head with a puzzled frown
The code comes right out of Sams Teach yourself C++ in 24hrs and in 
previous versions of MDK I've had it work.
I'm going back to trying to learn C++, had to quit studies the first time 
around.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936


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




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



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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






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

Actually, will still fail:

Also need

# define EXIT_SUCCESS 0

before int main()

Civileme






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



[expert] C++ Problems SOLVED

2001-12-31 Thread Ken Thompson

First let me thank every one that responded.
Syed, ya hit it right on the head, I wasn't compiling before trying to run 
the file.
I compiled using g++ as suggested and it works like a charm.
I suppose in retrospect, I should have caught the problem because there was 
never any .o file and an IDE will usually have a runtme compiler built in.
The curious thing here is that during the winter quarter last year I was 
taking a beginners C++ class and I could write the Hello thing and chmod +x 
it and run it. Used VI to write it, too G...
Oh well, fun 'n games starting now..
Thanks all.

-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] C++ errors

2001-12-31 Thread Ken Thompson

On Sunday 30 December 2001 08:17 pm, you wrote:
 Ken:  what version of mdk you use?  7.2 or 8.0 or 8.1?
 eric, [EMAIL PROTECTED]

Mandrake 8.1.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] C++ errors

2001-12-31 Thread Ken Thompson

 Are you certain you have an iostream file?  Are any other standard
 headers needed?  The older gcc series added standard headers by default
 with wild abandon, but no more.  2.96 is strict but nothing compared to
 3.0.

 Civileme

Civileme,
I should have all the header files installed.
I did a complete install paying pretty close attention to development goodies.
I does work now if I compile it first.
Guess I was confused by the fact that it would run in the K-Develop 
environment but not from a console window.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] C++ errors

2001-12-31 Thread Lee Roberts

At 09:20 AM 12/31/2001 -0900, tester wrote:

Actually, will still fail:

Also need

# define EXIT_SUCCESS 0

before int main()

Civileme

It worked fine on my system without #define EXIT_SUCCESS 0.




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



[expert] cyrillic fonts

2001-12-31 Thread Lee Roberts

Has anyone been able to use cyrillic fonts with Evolution or K-mail or Xirc
or ? I can switch between English and Russian when using the
advanced editor so I know the fonts are installed.




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



Re: [expert] How can I shutdown a PC from telnet?

2001-12-31 Thread Roger

Many thanks for all your suggestions.  I think I have somehow damaged 
the Linux installation beyond my ability to repair it and will have to 
reinstall it. I hate it when this happens.

I did find one other clue - I get different logout menus on this PC and 
my server PC.  Both are Mandrake 8.1 and both were installed with only 
the KDE gui.  On this (working)  version, when I click on the logout 
icon, I get a popup messagebox that says End KDE session? with a 
logout/halt/reboot radio button and OK  Cancel buttons.  This PC always 
obeys, and will shutdown from this messagebox, a telnet session, and a 
remote vnc session.

On the server PC (with my monitor, keyboard, and mouse connected) I get 
a messagebox that says End KDE session?, but it has only the OK and 
Cancel buttons.  If I click OK, several screen flashes later I get a 
welcome login screen which has a shutdown... button.  Clicking the 
shutdown... button yields another messagebox which has the reboot/halt 
options.  Selecting halt or reboot here results in a successful  halt or 
reboot.  A vnc session to this PC never sees the second login messagebox 
as the screen goes black after clicking OK to logout.  A telnet session 
shutdown command (with every combination of -h, -r, -f) issues the 
broadcast, but the system continues running.  

I'm not sure what I did to make this difference in the logout messagebox 
-- I was did turn off some system services I didn't think I needed, and 
I did shut off the automatic logon.

Even worse, after one of my brutal power downs of the running server, I 
can no longer telnet into the server.  On top of that, with the monitor, 
keyboard, mouse attached, my normal logon ID seems to be hosed and I can 
no longer view most of the disk directories.  Looking at the /root view, 
many of the branches like /etc, /usr, /home say Locked Directory.  If 
I log in as root, the directory structure appears normal to me, although 
a suspicious number of /etc configuration files were changed at 8:54 PM 
last night.  And telnet is no longer listed in the system services as 
it is on my non-server PC.  I guess I was too fast with the chmod, 
chown, and user configuration tools last night.

I guess I will give it one more try and create a new user.  If that 
doesn't do the trick I will reinstall Mandrake 8.1.  Thanks for all your 
input.

Roger




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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



[expert] dpms?

2001-12-31 Thread Mike Tracy Holt

Hello all,
I've been watching some dvd's this morning and ogle looks great!  Only
problem that I had sll morning was that the monitor keeps shutting off
every 15-20 minutes I guess.  I tried commenting out the option  dpms 
on  line in my XF86Config-4 file, and still get the same thing.  Where
can I disable this so my monitor doesn't go off on me - I don't use
screen saver and I don't like power managment!!

Thanks in advance, Mike
-- 
Michael  Tracy Holt Happy New Year 2002
Kirkland, WA[EMAIL PROTECTED]
===
I've got a fever ...and the only cure is... more cowbell! -SNL





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



[expert] NIS Server

2001-12-31 Thread DStevenson

Hi All, Happy new year.

Problem I am having is with NIS. I have never played with it before now.
I am using MDK 8.0 and have currently 2 machines running this distro. I have to add a 
third.
Now I want to add NIS to the server. I have installed the ypserv on the server, ypbind 
and tools
on the clients. Edited the config files, but the makefile keeps falling over when 
trying to run 'clear'
signal on RPC on the ypserv. Does this mean anything to anyone?

Also from the client end, the ypbind fails to bind anything saying that the domain is 
not bound.

I have looked at the howtos, read a thick linux book and I am still none the wiser. I 
am already running NFS
so I know that portmapper is working fine. rpcinfo also reports that the ypserv/bind 
on the server/client are both
bound.

Can anyone shed any light on the situation or at least direct me to an clear 'text' 
for help?

Many thamks.

Dave.



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



Re: [expert] bastille-netfilter

2001-12-31 Thread nds

richard wrote:

On Sat, 2001-12-29 at 14:15, daRcmaTTeR wrote:

On 29 Dec 2001 09:26:51 +
richard [EMAIL PROTECTED] studiouisly spake these words to ponder:

I believe there is a mailing list for this, anyone know where ???.
I suspect the probs I have with implemetation are outside the scope of
this list, even though its part of the distro

tia
 BG
 Richard

Hi Richard,

I believe you can find the sign up for the Bastille-firewall mailing list at 
sourceforge. as I recall thats where i signed up for that one a while back.


Unfortunaltly I cant find any trace of it there, I do urgently need some
assistance with a bastille-netfilter firewall problem, this list is
obviously not the place to ask questions.
Dose anyone know how to subscribe to the bastille mailing list ?
BG
Richard


-- 
daRcmaTTeR
-






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

http://www.bastille-linux.org/mail.html is what you are looking for. IHTH





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



Re: [expert] How can I shutdown a PC from telnet?

2001-12-31 Thread nds

Roger wrote:

 Many thanks for all your suggestions.  I think I have somehow damaged 
 the Linux installation beyond my ability to repair it and will have to 
 reinstall it. I hate it when this happens.

 I did find one other clue - I get different logout menus on this PC 
 and my server PC.  Both are Mandrake 8.1 and both were installed with 
 only the KDE gui.  On this (working)  version, when I click on the 
 logout icon, I get a popup messagebox that says End KDE session? 
 with a logout/halt/reboot radio button and OK  Cancel buttons.  This 
 PC always obeys, and will shutdown from this messagebox, a telnet 
 session, and a remote vnc session.

 On the server PC (with my monitor, keyboard, and mouse connected) I 
 get a messagebox that says End KDE session?, but it has only the OK 
 and Cancel buttons.  If I click OK, several screen flashes later I get 
 a welcome login screen which has a shutdown... button.  Clicking the 
 shutdown... button yields another messagebox which has the reboot/halt 
 options.  Selecting halt or reboot here results in a successful  halt 
 or reboot.  A vnc session to this PC never sees the second login 
 messagebox as the screen goes black after clicking OK to logout.  A 
 telnet session shutdown command (with every combination of -h, -r, -f) 
 issues the broadcast, but the system continues running. 
 I'm not sure what I did to make this difference in the logout 
 messagebox -- I was did turn off some system services I didn't think I 
 needed, and I did shut off the automatic logon.

 Even worse, after one of my brutal power downs of the running server, 
 I can no longer telnet into the server.  On top of that, with the 
 monitor, keyboard, mouse attached, my normal logon ID seems to be 
 hosed and I can no longer view most of the disk directories.  Looking 
 at the /root view, many of the branches like /etc, /usr, /home say 
 Locked Directory.  If I log in as root, the directory structure 
 appears normal to me, although a suspicious number of /etc 
 configuration files were changed at 8:54 PM last night.  And telnet is 
 no longer listed in the system services as it is on my non-server 
 PC.  I guess I was too fast with the chmod, chown, and user 
 configuration tools last night.

 I guess I will give it one more try and create a new user.  If that 
 doesn't do the trick I will reinstall Mandrake 8.1.  Thanks for all 
 your input.

 Roger




 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com





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

Sounds like you configured each computer with different security levels. 
On top of that, the computer/server sounds like it is hosed because 
linuxconf made some changes. I recommend editing everything through 
linuxconf before totally giving up and reinstalling your system. I know 
that you are trying to work with the problem and saving a reinstallation 
as a last result, otherwise you wouldn't have posted to this site. 
Another sound that I hear about your system is that it sounds like 
your filesystem could use a fsck or reiserfschk.HTH





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



[expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Ken Nowack

Hello again,

Well, I had samba and swat both installed during the
initial installation. After I got my network up and
running I went to try the SWAT config tool to get
samba running. It brings up a Konqueror window and
gives the error cannot connect to localhost port 901

Ok, so I figure maybe bad install. So I verify my
packages, still no dice. I check for upgrades, samba
has a newer version package. So I download the rpm and
install it. Then I start the samba services. Try swat
again. No dice. I figure maybe bastille is
interfering. I shut down bastille and try again, no
dice. Hmmm The next thing I think is maybe I
should verify apache is working properly. So I test
apache. I bring up a window https://127.0.0.1. Bingo
apache welcome page. Try swat again. No dice.

I figured maybe I should just go the webmin route to
save me the hassle of figuring this issue out. I go to
mandrakeuser.org docs. I pull up the doc's for https
and webmin. I scan down a few lines and what does it
say? It says to modify httpd.conf changing user and
group to root. No way in heck I'm running it as root
being the new admin that I am. So for fun I decide to
try anyway, just to see. Edit the doc, restart httpd,
failed. Apache doesn't want to let me run as root. So
I figure webmin is out. 

So as a last ditch effort, I try the MCC. It at least
has the basic config wizard. Maybe if I could get that
far I could get swat working. The wizard gets to the
second screen and reports that my network is not
configured 'at all'. Now I'm completely confused. Not
only is my network configured, not only is it
currently working, but I even used the damn MCC to
configure it (at first at least, the
InteractiveBastille later).

What the heck should I try next?

Thanks,

Ken



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



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



[expert] Mandrake 8.1 and Isa-Pnp Tools

2001-12-31 Thread Noah Swint



Has anyone been about to properly get isapnp to properly work with
Mandrake 8.1.  At boot isapnp loads, and is supported by the kernel. 
Yet, the module isa-pnp nor isppnp cannot be loaded.

#insmod /usr/src/linux-2.4.8/drivers/pnp/isa-pnp.o

/usr/src/linux-2.4.8/drivers/pnp/isa-pnp.o: couldn't find the kernel
version the module was compiled for

I've tried everything that I could think of... any suggestions



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



Re: [expert] dpms?

2001-12-31 Thread Larry Sword

Mike  Tracy Holt wrote:
 
 Hello all,
 I've been watching some dvd's this morning and ogle looks great!  Only
 problem that I had sll morning was that the monitor keeps shutting off
 every 15-20 minutes I guess.  I tried commenting out the option  dpms
 on  line in my XF86Config-4 file, and still get the same thing.  Where
 can I disable this so my monitor doesn't go off on me - I don't use
 screen saver and I don't like power managment!!
 
 Thanks in advance, Mike
 --
 Michael  Tracy Holt Happy New Year 2002
 Kirkland, WA[EMAIL PROTECTED]

Try xset s off

Ref: man xset

Larry

-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587



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



Re: [expert] VFAT and Evolution

2001-12-31 Thread Curtis H

On Wed, 2001-12-26 at 13:23, tester wrote:
 Jose Luis Vazquez Gonzalez wrote:
 
 Hi,
 
 I was trying to migrate from Kmail to evolution and I found the following 
 problem.
 
 My mail folders are on a VFAT partition at Kmail and they work fine. I wanted 
 to do the same with the evolution ones.
 
 First I needed to migrate ALL my kmail folders to evolution which is VERY 
 painfull as you have to go ONE BY ONE, but it can be done. (If someone knows 
 how to automate I would like to know how)
 
 The main problem comes when I try to access mail folders at the VFAT 
 partition, the system complaints when I try chmods or chowns on VFAT becuase 
 VFAT does not have owner or permissions AND evolution tries to do some chmods 
 or chowns cause it gets blocked when trying to access those folders on the 
 VFAT partition.
 
 Do you know...
 
 A) How can I change the /etc/fstab to mount the vfat so to ignore chmods or 
 chowns intead of giving an error?
 
 or
 
 B) How can I make evolution work on a vfat partition where it cannot change 
 permissions or ownerships?
 
 Thanks in advance!
 
 Jose
 
 
 Unless you want to spend much time fixing things, avoid evolution as a 
 mail client.  It still has significant stability problems.   Once I had 
 over 100 messages, the reply button would freeze things, and I would 
 have to kill processes one by one in an xterm to expinge evolution then 
 restart X and even after all that, it still would freeze repeatedly.  It 
 is better than Aethera, which sets up nicely then segfaults, but not by 
 much.
 
 Civileme
 
 
 

Well Civileme, 

I have to disagree with you on this one (and it's certainly a rarity). 
I've been using Evolution as my contact manager / email client /
scheduler for quite some time now and found it to be quite stable.  As
some sort of proof:

I was away from the this list and a few others for a few days without
turning off delivery.  After coming back and hitting send and receive
I had __700__ messages (including your own).  Evolution handled them
smoothly and without a hitch.

The only instablility I find is in the contact manager occasionally
hiccuping and I'll have to restart the whole application.  And also when
I forget to delete the trash messages and end up with __8000__ in
there.  (It's better to expunge each folder individually).

/curtis  

BTW, evolution comes with a handy script to kill it called killev.  It
may only be in the newer versions, but I haven't touched it in a long
time...;)  Do a urpmi evolution (on cooker) and try it out again.

-- 
--**--**--**


Current Linux kernel 2.4.13-12mdk uptime: 1 day 16 hours 26 minutes.




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



Re: [expert] dpms?

2001-12-31 Thread Ken Thompson

On Monday 31 December 2001 02:17 pm, you wrote:
 Hello all,
   I've been watching some dvd's this morning and ogle looks great!  Only
 problem that I had sll morning was that the monitor keeps shutting off
 every 15-20 minutes I guess.  I tried commenting out the option  dpms
 on  line in my XF86Config-4 file, and still get the same thing.  Where
 can I disable this so my monitor doesn't go off on me - I don't use
 screen saver and I don't like power managment!!

 Thanks in advance, Mike

Instead of commenting out the line try Option DPMS (off),
Works for me on all 5 of my MDK 8.1 systems...
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] How can I shutdown a PC from telnet?

2001-12-31 Thread James Sparenberg

Doing research for something unrelated I came across something that may be related to 
your problem.  Bad Ram,  Check out this HowTo

http://badmem.sourceforge.net/docu/BadMEM-HOWTO.html#BEFORESTART

the software is at http://badmem.sourceforge.net/ 

Some of what he describes in the HowTo sounds vaguely like the problem you are having. 
 If your ram is intermitant in it's errors, it could be causing you to have errors 
that move

James

On Sun, 30 Dec 2001 21:34:06 -0600
Michael Viron [EMAIL PROTECTED] wrote:

 do an 'su -' which will make sure that you get root's full environment.
 
 Michael
 
 --
 Michael Viron
 Registered Linux User #81978
 Senior Systems  Administration Consultant
 Web Spinners, University of West Florida
 
 At 08:19 PM 12/30/2001 -0700, you wrote:
 Here is my tenet session going from Windows/me to Mandrake 8.1:
 
 '''
 ...
 [roger@penguin roger]$ su
 Password:
 [root@penguin roger]# shutdown -h now
 
 Broadcast message from root (pts/0) Sun Dec 30 19:57:35 2001...
 
 The system is going down for system halt NOW !!
 [root@penguin roger]# su roger
 [roger@penguin roger]$  
 ...
 '''
 
 I log on as myself (Linux doesn't allow me to log on directly as root), 
 do a su, then shutdown.  The broadcast message appears, but I can 
 continue the using the session.  I get the same results with the -hf 
 option.  Last evening I tried for about 90 minutes before I finally 
 powered off the PC, so it had plenty of time to shutdown.
 
 I tried following some web-based advice to alter the /sbin/shutdown 
 privileges and ownership.  As su, I think I did a
 chmod 777 /sbin/shutdown
 chown roger:roger /sbin/shutdown
 but I get the same results.
 
 It is as if telnet users are somehow given a very low security level and 
 are not permitted to execute shutdown.
 
 Before I took off the monitor,mouse, and keyboard, I could start 
 vncserver and shut it down from another PC using the normal logout, then 
 select halt from the messagebox.  But when I start vncserver from 
 telnet, I just get a logout confirmation box without the halt, reboot 
 options.  I even tried starting vncserver as su, then tried to shutdown 
 -- same deal, the logout doesn't give me the halt or reboot options.
 
 I am obviously a newbie, is there some basic telnet authorization 
 procedure I missed?
 
 Roger

 
 
 Michael Viron wrote:
 
 Did you type the command as root?  If you aren't root, you can't shutdown
 the machine.  I've had several times where I have issued the shutdown
 command via ssh as root, and had no problems (although it does
 occassionally take up to 5 minutes to fully shutdown).
 
 Michael
 
 --
 Michael Viron
 Registered Linux User #81978
 Senior Systems  Administration Consultant
 Web Spinners, University of West Florida
 
 At 04:27 PM 12/30/2001 -0700, you wrote:
 
 Hi,
 
 I am trying to make an old PC into a keyboardless, mouseless, 
 monitorless server.  It boots and starts up OK and I can access it from 
 telnet and vnc, but it refuses to shutdown.
 
 If I do a shutdown -h now from telnet, it broadcasts a message but 
 doesn't shutdown.  On vnc, the logoff button doesn't show a halt or 
 reboot option.
 
 What are my options?
 
 TIA
 
 Roger
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 
 
 



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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Dave Sherman

On Mon, 2001-12-31 at 15:46, Ken Nowack wrote:
 Hello again,
[snip] 
 What the heck should I try next?

How about reading the Samba docs, then editing your /etc/smb.conf file
by hand? The included smb.conf file is full of comments and
(commented-out) examples, which you can simply un-comment and use. I
could even send you my working smb.conf file, if you wish. Let me know.

Dave
-- 
Do not meddle in the affairs of dragons, for you are crunchy and good
with ketchup.




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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread James Sparenberg

Ken,
   Had a simular problem when I installed 8.0 and then again with 8.1 if you go to 
/etc/xinetd.d and edit the swat file you will see a line that says disable=yes.  
Change that to disable=no and then /etc/init.d/xinetd restart.  This will reload 
xinetd with swat enabled.

James

On Mon, 31 Dec 2001 13:46:11 -0800 (PST)
Ken Nowack [EMAIL PROTECTED] wrote:

 Hello again,
 
 Well, I had samba and swat both installed during the
 initial installation. After I got my network up and
 running I went to try the SWAT config tool to get
 samba running. It brings up a Konqueror window and
 gives the error cannot connect to localhost port 901
 
 Ok, so I figure maybe bad install. So I verify my
 packages, still no dice. I check for upgrades, samba
 has a newer version package. So I download the rpm and
 install it. Then I start the samba services. Try swat
 again. No dice. I figure maybe bastille is
 interfering. I shut down bastille and try again, no
 dice. Hmmm The next thing I think is maybe I
 should verify apache is working properly. So I test
 apache. I bring up a window https://127.0.0.1. Bingo
 apache welcome page. Try swat again. No dice.
 
 I figured maybe I should just go the webmin route to
 save me the hassle of figuring this issue out. I go to
 mandrakeuser.org docs. I pull up the doc's for https
 and webmin. I scan down a few lines and what does it
 say? It says to modify httpd.conf changing user and
 group to root. No way in heck I'm running it as root
 being the new admin that I am. So for fun I decide to
 try anyway, just to see. Edit the doc, restart httpd,
 failed. Apache doesn't want to let me run as root. So
 I figure webmin is out. 
 
 So as a last ditch effort, I try the MCC. It at least
 has the basic config wizard. Maybe if I could get that
 far I could get swat working. The wizard gets to the
 second screen and reports that my network is not
 configured 'at all'. Now I'm completely confused. Not
 only is my network configured, not only is it
 currently working, but I even used the damn MCC to
 configure it (at first at least, the
 InteractiveBastille later).
 
 What the heck should I try next?
 
 Thanks,
 
 Ken
 
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 



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



[expert] Kernel RPM Building.

2001-12-31 Thread James Sparenberg

All,
   For work I need to be able to create a series of Kernel RPMS to allow for 
consistant secure Linux systems across a narrow variety of OS versions (mostly version 
changes based on age of the comp and user prefs at the time of install.)  I'm 
attempting to normalize systems without have to reinstall a ton of boxes.  I also 
need to complile in a number of features.  In short does anyone know of somewhere I 
can find a HowTo or simular Doc on building Kernel RPMS?  


James



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



[expert] MySQL drive website

2001-12-31 Thread Ken Thompson

Can someone direct me to an easy to digest low calorie howto for making a 
database driven website using MySQL?
I can do a bit of html and wouldn't be opposed to btushing up and learning 
some new stuff too.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936




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



Re: [expert] dpms?

2001-12-31 Thread Larry Sword

Larry Sword wrote:
 
 Mike  Tracy Holt wrote:
 
  Hello all,
  I've been watching some dvd's this morning and ogle looks great!  Only
  problem that I had sll morning was that the monitor keeps shutting off
  every 15-20 minutes I guess.  I tried commenting out the option  dpms
  on  line in my XF86Config-4 file, and still get the same thing.  Where
  can I disable this so my monitor doesn't go off on me - I don't use
  screen saver and I don't like power managment!!
 
  Thanks in advance, Mike
  --
  Michael  Tracy Holt Happy New Year 2002
  Kirkland, WA[EMAIL PROTECTED]
 
 Try xset s off
 
 Ref: man xset
 
- Corection--
Everybody here getting a jump on New Years celebration. Mis-read your
message.

Command should be 'xset -dpms'

Do an 'xset q' to view your present settings.

 Larry

Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587



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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Ken Nowack

Ok, now we're at least getting somewhere.

I went to the doc you specify. Swat was already
enabled. So I figure, hey, why don't I try to restart
xinted anyway, just to be sure it's running properly. 

service xinetd status: xinetd stopped

Ok now that's odd. The services list in the MCC list
it as running. (Ya know, the more I work with this
system, the more I realize I have GOT to stop using
that MCC for anything)

Ok, fine, start xinetd.

service xinetd start: Starting xinetd:[OK]

touch: creating '/var/lock/subsys/xinetd': Permission
denied

And still, no dice whatsoever. Cannot connect to
localhost port:901

(bangs his face on the keyboard)

Umm, I'd really like to use swat. But, I give up.
Could you go ahead and send the smb.conf file you use
to me Dave? I was hoping to get a basic config written
using swat and then alter as needed to fine tune. But
I guess this way works just as well. It's not that I
mind doing things by hand, it just bugs the crap out
of me when things don't work.

Thanks for your time,

Ken
--- James Sparenberg [EMAIL PROTECTED] wrote:
 Ken,
Had a simular problem when I installed 8.0 and
 then again with 8.1 if you go to /etc/xinetd.d and
 edit the swat file you will see a line that says
 disable=yes.  Change that to disable=no and then
 /etc/init.d/xinetd restart.  This will reload xinetd
 with swat enabled.
 
 James
 
 On Mon, 31 Dec 2001 13:46:11 -0800 (PST)
 Ken Nowack [EMAIL PROTECTED] wrote:
 
  Hello again,
  
  Well, I had samba and swat both installed during
 the
  initial installation. After I got my network up
 and
  running I went to try the SWAT config tool to get
  samba running. It brings up a Konqueror window and
  gives the error cannot connect to localhost port
 901
  
  Ok, so I figure maybe bad install. So I verify my
  packages, still no dice. I check for upgrades,
 samba
  has a newer version package. So I download the rpm
 and
  install it. Then I start the samba services. Try
 swat
  again. No dice. I figure maybe bastille is
  interfering. I shut down bastille and try again,
 no
  dice. Hmmm The next thing I think is maybe I
  should verify apache is working properly. So I
 test
  apache. I bring up a window https://127.0.0.1.
 Bingo
  apache welcome page. Try swat again. No dice.
  
  I figured maybe I should just go the webmin route
 to
  save me the hassle of figuring this issue out. I
 go to
  mandrakeuser.org docs. I pull up the doc's for
 https
  and webmin. I scan down a few lines and what does
 it
  say? It says to modify httpd.conf changing user
 and
  group to root. No way in heck I'm running it as
 root
  being the new admin that I am. So for fun I decide
 to
  try anyway, just to see. Edit the doc, restart
 httpd,
  failed. Apache doesn't want to let me run as root.
 So
  I figure webmin is out. 
  
  So as a last ditch effort, I try the MCC. It at
 least
  has the basic config wizard. Maybe if I could get
 that
  far I could get swat working. The wizard gets to
 the
  second screen and reports that my network is not
  configured 'at all'. Now I'm completely confused.
 Not
  only is my network configured, not only is it
  currently working, but I even used the damn MCC to
  configure it (at first at least, the
  InteractiveBastille later).
  
  What the heck should I try next?
  
  Thanks,
  
  Ken
  
  
  
  __
  Do You Yahoo!?
  Send your FREE holiday greetings online!
  http://greetings.yahoo.com
  
  
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Ken Nowack

I just reread the last post - 

  /etc/init.d/xinetd restart.

Then looked at what I did. HrmmI used service,
I'll try using the /etc/init.d/xinetd start instead.

Heck, I'll even reboot just to be safe.

/etc/init.d/xinetd status: xinetd stopped

Fine,

/etc/init.d/xinetd start
Starting xinetd:   [OK]

Wheee! Maybe I'm getting somewhere!

Tried to open swat again. No dice, but hey, at least
I'm getting a different error this time! This time I
tried it, the error is: Cannot connect - localhost is
broken.

(sigh)

Ken



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Lee Roberts

At 01:46 PM 12/31/2001 -0800, Ken Nowack wrote:
Hello again,

Well, I had samba and swat both installed during the
initial installation. After I got my network up and
running I went to try the SWAT config tool to get
samba running. It brings up a Konqueror window and
gives the error cannot connect to localhost port 901

Ok, so I figure maybe bad install. So I verify my
packages, still no dice. I check for upgrades, samba
has a newer version package. So I download the rpm and
install it. Then I start the samba services. Try swat
again. No dice. I figure maybe bastille is
interfering. I shut down bastille and try again, no
dice. Hmmm The next thing I think is maybe I
should verify apache is working properly. So I test
apache. I bring up a window https://127.0.0.1. Bingo
apache welcome page. Try swat again. No dice.

I figured maybe I should just go the webmin route to
save me the hassle of figuring this issue out. I go to
mandrakeuser.org docs. I pull up the doc's for https
and webmin. I scan down a few lines and what does it
say? It says to modify httpd.conf changing user and
group to root. No way in heck I'm running it as root
being the new admin that I am. So for fun I decide to
try anyway, just to see. Edit the doc, restart httpd,
failed. Apache doesn't want to let me run as root. So
I figure webmin is out. 

So as a last ditch effort, I try the MCC. It at least
has the basic config wizard. Maybe if I could get that
far I could get swat working. The wizard gets to the
second screen and reports that my network is not
configured 'at all'. Now I'm completely confused. Not
only is my network configured, not only is it
currently working, but I even used the damn MCC to
configure it (at first at least, the
InteractiveBastille later).

What the heck should I try next?

Thanks,

Ken

Try smb start in a window?




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



RE: [expert] MySQL drive website

2001-12-31 Thread William R. Nash

Try www.php.net

Very easy to connect to mysql.

Bill Nash


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ken Thompson
Sent: Monday, December 31, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: [expert] MySQL drive website

Can someone direct me to an easy to digest low calorie howto for
making a 
database driven website using MySQL?
I can do a bit of html and wouldn't be opposed to btushing up and
learning 
some new stuff too.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936






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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Lee Roberts

Try smb start from a command line?

At 03:07 PM 12/31/2001 -0800, Ken Nowack wrote:
Ok, now we're at least getting somewhere.

I went to the doc you specify. Swat was already
enabled. So I figure, hey, why don't I try to restart
xinted anyway, just to be sure it's running properly. 

service xinetd status: xinetd stopped

Ok now that's odd. The services list in the MCC list
it as running. (Ya know, the more I work with this
system, the more I realize I have GOT to stop using
that MCC for anything)

Ok, fine, start xinetd.

service xinetd start: Starting xinetd:[OK]

touch: creating '/var/lock/subsys/xinetd': Permission
denied

And still, no dice whatsoever. Cannot connect to
localhost port:901

(bangs his face on the keyboard)

Umm, I'd really like to use swat. But, I give up.
Could you go ahead and send the smb.conf file you use
to me Dave? I was hoping to get a basic config written
using swat and then alter as needed to fine tune. But
I guess this way works just as well. It's not that I
mind doing things by hand, it just bugs the crap out
of me when things don't work.

Thanks for your time,

Ken
--- James Sparenberg [EMAIL PROTECTED] wrote:
 Ken,
Had a simular problem when I installed 8.0 and
 then again with 8.1 if you go to /etc/xinetd.d and
 edit the swat file you will see a line that says
 disable=yes.  Change that to disable=no and then
 /etc/init.d/xinetd restart.  This will reload xinetd
 with swat enabled.
 
 James
 
 On Mon, 31 Dec 2001 13:46:11 -0800 (PST)
 Ken Nowack [EMAIL PROTECTED] wrote:
 
  Hello again,
  
  Well, I had samba and swat both installed during
 the
  initial installation. After I got my network up
 and
  running I went to try the SWAT config tool to get
  samba running. It brings up a Konqueror window and
  gives the error cannot connect to localhost port
 901
  
  Ok, so I figure maybe bad install. So I verify my
  packages, still no dice. I check for upgrades,
 samba
  has a newer version package. So I download the rpm
 and
  install it. Then I start the samba services. Try
 swat
  again. No dice. I figure maybe bastille is
  interfering. I shut down bastille and try again,
 no
  dice. Hmmm The next thing I think is maybe I
  should verify apache is working properly. So I
 test
  apache. I bring up a window https://127.0.0.1.
 Bingo
  apache welcome page. Try swat again. No dice.
  
  I figured maybe I should just go the webmin route
 to
  save me the hassle of figuring this issue out. I
 go to
  mandrakeuser.org docs. I pull up the doc's for
 https
  and webmin. I scan down a few lines and what does
 it
  say? It says to modify httpd.conf changing user
 and
  group to root. No way in heck I'm running it as
 root
  being the new admin that I am. So for fun I decide
 to
  try anyway, just to see. Edit the doc, restart
 httpd,
  failed. Apache doesn't want to let me run as root.
 So
  I figure webmin is out. 
  
  So as a last ditch effort, I try the MCC. It at
 least
  has the basic config wizard. Maybe if I could get
 that
  far I could get swat working. The wizard gets to
 the
  second screen and reports that my network is not
  configured 'at all'. Now I'm completely confused.
 Not
  only is my network configured, not only is it
  currently working, but I even used the damn MCC to
  configure it (at first at least, the
  InteractiveBastille later).
  
  What the heck should I try next?
  
  Thanks,
  
  Ken




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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Ken Nowack


--- Lee Roberts [EMAIL PROTECTED] wrote:
 Try smb start from a command line?
 
Yes, I have smb service running. Xinetd is running
too. Webmin is running too. The current version of
samba is installed also.

swat won't connect - error cannot connect: localhost
is broken

webmin won't connect - error connection refused

So, now I'm off to the wonderful world of text samba
configuration.

See you in a week LOL

Ken



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



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



[expert] ethernet

2001-12-31 Thread Florian

Hi i have a little prob ... =)
Thing is: i just installed LM8.1 on a sony VAIO PCG505 notebook (small (1.7kg, 
neat i-link etc. but smal 266mhz, 32MB ram, 1 pcmcia slot for network AND 
cdrom ) wew.
Now draknet doesnt detect the pcmcia network card (what do i know what brand 
it is ... it says... netgear fa210 on the card) and linuxconf doest show 
anything in the network configs butbut it is detected by the pcmcia tools (or 
whatever) anyway it loads as module pcnet_cs at bootup or at pcmcia hotswap 
and i can ssh to my other local machines just OK and i have entered (in 
resolv.conf) my dns and everything ... also i have set the default gateway as 
it should etc.etc but still i cand see anything outside my own four 
walls.
Now i know (from other machines running 8.1) that there is the question in 
draknet what is supposed to be the internet interface and should i load 
internet at startup? but since draknet doesnt know my card or atleast it 
doesnt show (in MDK8.0 it worked perfectly with draknet) i cant define 
internet interface etc.
HELP

BTW. As you can see from the typos im a little hick drunk having NEW YEAR 
PARTY so ... 3.2.1 HAPPY NEW YEAR EVERYBODY!
Cheers 
Florian 



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



[expert] Perl Locale Problems

2001-12-31 Thread nds

I get this error everytime any program or computer uses perl:

perl: warning: Setting locale failed.
perl: warning: Please check that our locale settings:
   LANGUAGE = en_US:en,
   LC_ALL = (unset),
   LC_MESSAGES = en_US,
   LC_NUMERIC = en_US,
   LC_CTYPE = en_US,
   LC_MONETARY = en_US,
   LC_COLLATE = en_US,
   LANG = en
  are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
To satisfy dependencies, the following packages are going to be 
installed (0 MB)
:
xine-plugins-0.9.7-3mdk libxine0.9.7_0-0.9.7-3mdk xine-ui-0.9.7-1mdk 
xine-dvdnav-0.9.5-0.beta.1mdk libdvdread2-0.9.2-1mdk
Is it OK? (Y/n) y

tia

Altoine




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



Re: [expert] MySQL drive website

2001-12-31 Thread Michael Viron

Try http://devshed.com -- there is a lot of information there, and I seem
to remember finding an article about setting up mysql based websites.

If you have specific questions re: php / mysql, send me an e-mail off-list,
and I'll try to answer.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 03:54 PM 12/31/2001 -0700, you wrote:
Can someone direct me to an easy to digest low calorie howto for making a 
database driven website using MySQL?
I can do a bit of html and wouldn't be opposed to btushing up and learning 
some new stuff too.
-- 
Ken Thompson, North West Antique Autos
Payette, Idaho
Email: [EMAIL PROTECTED]
http://www.nwaa.com
Sales and brokering of antique autos and parts.

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936


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




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



Re: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread James Sparenberg

Ken,
   Actually a hand edit isn't that bad it's well documented as you go through the doc. 
 Most important change is to workgroup (all boxes must be the same workgroup 
Windows and Linux... to avoid a lot of hassles)  Try one more thing... ESPECIALLY if 
your using Netscape with it's search turned on. Instead of localhost go to 
127.0.0.1:901  

James

On Mon, 31 Dec 2001 15:31:36 -0800 (PST)
Ken Nowack [EMAIL PROTECTED] wrote:

 I just reread the last post - 
 
   /etc/init.d/xinetd restart.
 
 Then looked at what I did. HrmmI used service,
 I'll try using the /etc/init.d/xinetd start instead.
 
 Heck, I'll even reboot just to be safe.
 
 /etc/init.d/xinetd status: xinetd stopped
 
 Fine,
 
 /etc/init.d/xinetd start
 Starting xinetd:   [OK]
 
 Wheee! Maybe I'm getting somewhere!
 
 Tried to open swat again. No dice, but hey, at least
 I'm getting a different error this time! This time I
 tried it, the error is: Cannot connect - localhost is
 broken.
 
 (sigh)
 
 Ken
 
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 



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



Re: [expert] MySQL drive website

2001-12-31 Thread James Sparenberg

Ken,
   You might try PHPNuke at http://www.phpnuke.org/ don't know if this will fill the 
bill but it does meet the requirments.

James

On Mon, 31 Dec 2001 15:54:31 -0700
Ken Thompson [EMAIL PROTECTED] wrote:

 Can someone direct me to an easy to digest low calorie howto for making a 
 database driven website using MySQL?
 I can do a bit of html and wouldn't be opposed to btushing up and learning 
 some new stuff too.
 -- 
 Ken Thompson, North West Antique Autos
 Payette, Idaho
 Email: [EMAIL PROTECTED]
 http://www.nwaa.com
 Sales and brokering of antique autos and parts.
 
 Linux- Coming Soon To A Desktop Near You
 Registered Linux User #183936
 
 
 



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



RE: [expert] help with urpmi please

2001-12-31 Thread Franki

Hi all,

I read this one with interest..

I was having many problems with rpmdrake and MandrakeUpdate,

So in my wisdom (read lack-thereof) I updated my mandrake 8.1 to the
following:

kernel 2.4.16-11 (with initscript and such.)
urpmi-3.1-2mdk
wget-1.7.1-3mdk
rpm-4.0.3-0.34

with all dependencies filled. (no need to use force or nodeps.) ie rpmtools,
curl, popt rpm-devel all were updated to fill dependencies.

Now rpmdrake works, (ie it displays) but it won't read any of my sources and
I can use it for nothing.
Ditto with MandrakeUpdate, it works, but can't add souces or anything.

Should I downgrade everything back again and try again? or is there a way to
get the cooker tools to rebuild the old source lists to its latest methods?

Driving me nuts just trying to get this thing to work, which is why I did
all this in the first place.


any thoughts would be much appreciated.

(incidently, if I should downgrade everything back to standard 8.1, whats
the rpm line I need to do this? (I can't remember)

Many thanks,


rgds

Frank



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Charles A Edwards
Sent: Monday, 31 December 2001 8:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] help with urpmi please


On Mon, 31 Dec 2001 11:29:11 +
bascule [EMAIL PROTECTED] wrote:

 hi charles,
 i am running cooker with 2.4.16 -11, i did what you described (though i
 wasn't having exactly the same problem) no joy, urpmi still goes through
all
 of the rpms specified in the command line and at the end it says:
 found 3424 headers in cache
 removing 3424 obsolete headers in cache

 and leaves me with an 'empty source'

 is it possible that the functioning of urpmi has changed? adding a source
on
 the net requires specifying a hdlist but locally i like to miss out this
so
 that the source includes all the rpms in cooker i.e.:
 # urpmi.addmedia localcooker file://mandrake/cooker/
 with no mention of a hdlist, is this still meant to work? because i cannot
 get it to,


Urpmi has changed as to how it handles the source.
As best as I understand it now operates at its own descretion as to the
fetching and listings of available pkgs this to correct a problem in the
previous release with using systhesis only rather than hdlist.

I am  GUI man so I stick with rpmdrake and have used it only for ftp or
cooker
sources.
My only attempt at a local source was from cd-rom and this failed with
unable to read hdlist.

It could very well be that rather than a procedure problem using urpmi that
it is a problem in the build.
I would post to cooker and hopefully Francois will respond.


   Charles









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



RE: [expert] samba and SWAT and webmin and MCC

2001-12-31 Thread Franki

strange, I haven't had any problems with xinetd..

perhaps you should remove and reinstall it. only two rpm commands
necessary.. and it might fix it..

I use xinetd for pop3 (with only_from specified) and its never caused a
problem, so give it a go.

I don't actually like Swat or Webmin for configuring samba. but if you get
the cooker samba, (I have been using samba 2.2.2-6mdk on mdk8.1 for ages now
without problem) it does some cool stuff that 8.1 samba doesn't.. and its
really easy to just read smb.conf
it is so commented that just a quick read and minor config will have samba
up and jumping in a jiffy.)

Good stuff, I will never use swat or webmin for it again.


rgds

Frank.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ken Nowack
Sent: Tuesday, 1 January 2002 7:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] samba and SWAT and webmin and MCC


Ok, now we're at least getting somewhere.

I went to the doc you specify. Swat was already
enabled. So I figure, hey, why don't I try to restart
xinted anyway, just to be sure it's running properly.

service xinetd status: xinetd stopped

Ok now that's odd. The services list in the MCC list
it as running. (Ya know, the more I work with this
system, the more I realize I have GOT to stop using
that MCC for anything)

Ok, fine, start xinetd.

service xinetd start: Starting xinetd:[OK]

touch: creating '/var/lock/subsys/xinetd': Permission
denied

And still, no dice whatsoever. Cannot connect to
localhost port:901

(bangs his face on the keyboard)

Umm, I'd really like to use swat. But, I give up.
Could you go ahead and send the smb.conf file you use
to me Dave? I was hoping to get a basic config written
using swat and then alter as needed to fine tune. But
I guess this way works just as well. It's not that I
mind doing things by hand, it just bugs the crap out
of me when things don't work.

Thanks for your time,

Ken
--- James Sparenberg [EMAIL PROTECTED] wrote:
 Ken,
Had a simular problem when I installed 8.0 and
 then again with 8.1 if you go to /etc/xinetd.d and
 edit the swat file you will see a line that says
 disable=yes.  Change that to disable=no and then
 /etc/init.d/xinetd restart.  This will reload xinetd
 with swat enabled.

 James

 On Mon, 31 Dec 2001 13:46:11 -0800 (PST)
 Ken Nowack [EMAIL PROTECTED] wrote:

  Hello again,
 
  Well, I had samba and swat both installed during
 the
  initial installation. After I got my network up
 and
  running I went to try the SWAT config tool to get
  samba running. It brings up a Konqueror window and
  gives the error cannot connect to localhost port
 901
 
  Ok, so I figure maybe bad install. So I verify my
  packages, still no dice. I check for upgrades,
 samba
  has a newer version package. So I download the rpm
 and
  install it. Then I start the samba services. Try
 swat
  again. No dice. I figure maybe bastille is
  interfering. I shut down bastille and try again,
 no
  dice. Hmmm The next thing I think is maybe I
  should verify apache is working properly. So I
 test
  apache. I bring up a window https://127.0.0.1.
 Bingo
  apache welcome page. Try swat again. No dice.
 
  I figured maybe I should just go the webmin route
 to
  save me the hassle of figuring this issue out. I
 go to
  mandrakeuser.org docs. I pull up the doc's for
 https
  and webmin. I scan down a few lines and what does
 it
  say? It says to modify httpd.conf changing user
 and
  group to root. No way in heck I'm running it as
 root
  being the new admin that I am. So for fun I decide
 to
  try anyway, just to see. Edit the doc, restart
 httpd,
  failed. Apache doesn't want to let me run as root.
 So
  I figure webmin is out.
 
  So as a last ditch effort, I try the MCC. It at
 least
  has the basic config wizard. Maybe if I could get
 that
  far I could get swat working. The wizard gets to
 the
  second screen and reports that my network is not
  configured 'at all'. Now I'm completely confused.
 Not
  only is my network configured, not only is it
  currently working, but I even used the damn MCC to
  configure it (at first at least, the
  InteractiveBastille later).
 
  What the heck should I try next?
 
  Thanks,
 
  Ken
 
 
 
  __
  Do You Yahoo!?
  Send your FREE holiday greetings online!
  http://greetings.yahoo.com
 
 

  Want to buy your Pack or Services from
MandrakeSoft?

 Go to http://www.mandrakestore.com



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com





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