Re: [expert] IPtables fails on bootup

2001-09-23 Thread J. C. Woods

Leif Madsen wrote:
 
 I just upgraded my iptables today (I should really stop running stuff through
 the Mandrake Updates program...) and now I'm getting an error on bootup.
 It's basically telling me that iptables v.1.2.2 is failing and either it or
 my kernel needs to be upgraded.  I'm running kernel 2.4.3-20mdk.  Would me
 upgrading to the 2.4.7 kernel possibly fix this problem?
 
 (And I already know not to upgrade it through Mandrake Update, which is why
 it is still at 2.4.3)
 
 Would downloading the Mandrake RPM and installing it manually through a
 command prompt be stable?  I've got this computer setup the way I want now
 after spending the last 16 hours in front of it, and would really hate to
 lose it.
 
 It's the only problem I'm having right now.
 
 Thanks in advance.

Yes, the rpm approach to kernel upgrade works very nicely. There are
some how to's on one of the linux sites but I forget the URL. I have not
been there in awhile. Some one on this list might know. Downloading the
rpms and installing them is really very simple. Just check your system
for all kernel rpms, and go get the ones you need from rpmfind.net. If
you rpm -ivh the packages you will not get into trouble. By using the
i option, you will leave your current kernel intact. After doing your
rpm on all kernel packages, check out lilo.conf for your new kernel
setup, and look at /boot to make sure all entries in lilo.conf match
your files in /boot. Even now, before you install new kernel packages,
if you look at lilo.conf, and compare it with /boot, you will get
the feel of what needs to be done. Make sure you run /usr/sbin/lilo
after you do anyting to the lilo.conf file. Good luck...

-- 
J. Craig Woods
UNIX SA

-Art is the illusion of spontaneity-



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



Re: [expert] Logitech mouse and ati video

2001-09-23 Thread Daniel Anderson

Hi,
  Thanks for the response. This one didn't work under Windows with the 
software that came with it,so I took it back to the store.Must have been 
defective.

  Thanks,
  Dan


On Saturday 22 September 2001 10:19 pm, you wrote:
 Mandrake's hardware database lists both the mouse and the video card in
 question as being reported as compatible, but not actually tested.

 I'm using the Logitech Wheelmouse with the optical sensor instead of a ball
 and Mandrake detected it without any problem.  I've got it connected to a
 usb port, but my son has one connected to the ps/2 port.  Both work
 flawlessly.

 Joe

 On Saturday 22 September 2001 10:33 am, you wrote:
  Hi all,
 
Can the Logitech ifeel optical mouse be used with Linux and if so how?
  Also is the ATI xpert 128 video card supported under Linux? I'm running
  LinuxMandrake 8.0.
 
Thanks,
Dan



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



[expert] GCC 3.1

2001-09-23 Thread Harold Hartley

Will the mandrake 8.1 have the gcc 3.1 in it or are they staying with 2.96..
if not I guess I'll have to downgrade to gcc 2.95 then..

Harold



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



Re: [expert] Mac-on-Linux

2001-09-23 Thread Steve

On Sat, Sep 22, 2001 at 08:40:07PM -0400, Asheesh Laroia wrote:
 I can confirm that many sources (via http://www.google.com/search?q=linux+8100+mac)
 agree that MkLinux will run on your Mac.
 
 However, OpenBSD and NetBSD also run.  If I were you, I'd grab one of
 those instead, as they're not ancient (MkLinux's last web site update was
 31 Jul 2000).
 
 Check www.openBSD.org and www.netBSD.org.  These OSs, if you don't know,
 are derivatives of the Berkeley Systems Distribution, the Real UNIX (tm)
 from which all others are derived.  I know that OpenBSD is known to be the
 most secure UNIX, and that NetBSD is considered the most ported UNIX.
 Other than that, the web sites will be much more informative

Don't forget BeOS as well will run quite nicely on a Nubus box.
Still available for free last time I checked.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




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



Re: [expert] Mac-on-Linux

2001-09-23 Thread Steve

On Sun, Sep 23, 2001 at 11:51:09AM -0400, Steve wrote:
 On Sat, Sep 22, 2001 at 08:40:07PM -0400, Asheesh Laroia wrote:
  I can confirm that many sources (via http://www.google.com/search?q=linux+8100+mac)
  agree that MkLinux will run on your Mac.
  
  However, OpenBSD and NetBSD also run.  If I were you, I'd grab one of
  those instead, as they're not ancient (MkLinux's last web site update was
  31 Jul 2000).
  
  Check www.openBSD.org and www.netBSD.org.  These OSs, if you don't know,
  are derivatives of the Berkeley Systems Distribution, the Real UNIX (tm)
  from which all others are derived.  I know that OpenBSD is known to be the
  most secure UNIX, and that NetBSD is considered the most ported UNIX.
  Other than that, the web sites will be much more informative
 
 Don't forget BeOS as well will run quite nicely on a Nubus box.
 Still available for free last time I checked.

Bad form to reply to one's own post but - I was wrong BeOS doens't run
on Nubus. Sorry my bad, should have checked the hw compatiblity list b4
posting.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




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



[expert] Where have all the devices gone?

2001-09-23 Thread Al Niessner


I just installed 8.1 rc1 -- clean install because I want to play with
xfs. Now when I try to mount my cdrom or floppy I get 'unknown device'
and /var/log/messages contains:

Sep 23 15:08:01 charon modprobe: modprobe: Can't locate module
block-major-143

I used DrakConf-Hardware to scan my system and if found the cdrom as
hdc, but there is no /dev/hdc. Unfortunately I forget what the major and
minor are for hdc otherwise I would simply create it using mknod.

There is the link /dev/cdrom which is unusual to say the least. Here is
how it translates:

[root@charon dev]# ls -l /dev/cdrom
lr-xr-xr-x1 root root   13 Sep 23 10:30 /dev/cdrom -
cdroms/cdrom0
[root@charon dev]# ls -l /dev/cdroms/cdrom0 
lr-xr-xr-x1 root root   33 Dec 31  1969
/dev/cdroms/cdrom0 - ../ide/host0/bus1/target0/lun0/cd

I am not familar with this new set of references and it may because my
'/' is XFS. If so, what is wrong with my fstab?

[root@charon dev]# cat /etc/fstab
# the basic file systems needed by Linux 
/dev/hda6 /boot ext2 noatime 1 2
/dev/hda7 / xfs noatime 1 1
/dev/hda8 /home xfs noatime 1 2

# the virtual file systems used by Linux
none /dev/pts devpts mode=0620 0 0
none /proc proc defaults 0 0

# the supermounts for the removable media
#/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/dvd 0 0
#/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,exec,noatime 0 0
/dev/fd0 /mnt/floppy vfat noauto,user,exec,noatime 0 0

# the optional file systems that the user may mount when desired
/dev/hda1 /mnt/windoze vfat
noauto,user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0

# and of course, swap.
/dev/hda5 swap swap defaults 0 0

NOTE: this is an fstab from 8.0-8.1beta1-8.1rc1 with ext2 only that I
used and I just idioticly over wrote the 8.1rc1 with xfs without looking
at it first thinking that there would be no difference except the xfs.

Any and all help is appreciated.

Al Niessner




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



Re: [expert] Where have all the devices gone?

2001-09-23 Thread Felix Miata

Al Niessner wrote:

 I just installed 8.1 rc1 -- clean install because I want to play with
 xfs. Now when I try to mount my cdrom or floppy I get 'unknown device'
 . . . .

Maybe you'd like to visit bugzilla and add comments:
https://qa.mandrakesoft.com/cgi-bin/show_bug.cgi?id=5257
-- 
The highest glory of the American Revolution was this: it connected,
in one indissoluble bond, the principles of civil government with the
principles of Christianity.President John Quincy Adams

Felix Miata  ***  http://mrmazda.members.atlantic.net/




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



[expert] Qestion

2001-09-23 Thread D. Caswell



I have Mandrake 8.0 and it seems that my root 
password is no longer working. What is the correct method to recover this verses 
a complete reinstall.



Re: [expert] Qestion

2001-09-23 Thread Tomek Jarzynka

On Sunday 23 September 2001 19:59, you wrote:
 I have Mandrake 8.0 and it seems that my root password is no longer
 working. What is the correct method to recover this verses a complete
 reinstall.

Within lilo:
Your-image-name[*] init=/bin/sh
and then /sbin/passwd at command prompt

[*] Perhaps this is "Linux"

-- 
Tomasz Jarzynka, tomee@{slackware|cpi}.pl 0601706601

"There are two ways to write error-free programs. Only the third one works."




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



Re: [expert] GCC 3.1

2001-09-23 Thread Guy McArthur

Both. gcc is 2.96, and there are optional gcc3 packages as well.




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



Re: [expert] iptables firewall

2001-09-23 Thread Expert User

1.  NAT doesn't work. I can access internet from Linux machine but not 
from other intranet machines.
2. If I use nmap to see what ports are open on the linux firewall 
machine it still reports that ports other than 22,80,443  25 (which I 
wanted open) are still open, eg like port 631 which is used by CUPS.


Bart Vetters wrote:

Hi Nak,

But when I use my firewall, NAT doesn't work! 


What exactly does not work? You cannot reach the internet? Your packets
source address is not translated by the NAT table? One thing that is
apparent from your script (but you may have put it elsewhere) is that it
does not enable IP Forwarding (echo 1 /proc/sys/net/ipv4/ip_forward).

CU

Bart






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



Re: [expert] Where have all the devices gone?

2001-09-23 Thread Felix Miata

civileme wrote:
 
 On Sunday 23 September 2001 23:06, Al Niessner wrote:

  #/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/dvd 0 0
  #/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
  /dev/cdrom /mnt/cdrom iso9660 noauto,user,exec,noatime 0 0
  /dev/fd0 /mnt/floppy vfat noauto,user,exec,noatime 0 0
 
 In a term, do
 
 supermount -i disable
 
 and /dev/hdc will be in /etc/fstab.  Right now, it is hiding behind a
 supermount of /mnt/cdrom
 
 With the advent of devfs, /dev/cdrom is no longer needed nor does it serve
 any purpose.

So multiple cdrom  floppy references in /etc/fstab:
/mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,exec,ro 0 0
/mnt/floppy /mnt/floppy supermount 
dev=/dev/fd0,fs=vfat,exec,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0 0
/mnt/floppy2 /mnt/floppy2 supermount 
dev=/dev/fd1,fs=vfat,exec,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0 0
/dev/cdrom  /mnt/cdrom  iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy autonoauto,owner,kudzu 0 0
/dev/fd1/mnt/floppy1autonoauto,owner,kudzu 0 0

and mismatch to /etc/mtab:
/mnt/cdrom /mnt/cdrom supermount ro,dev=/dev/scd0,fs=iso9660 0 0
/mnt/floppy /mnt/floppy supermount 
rw,sync,dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,codepage=850 0 0
/mnt/floppy2 /mnt/floppy2 supermount 
rw,sync,dev=/dev/fd1,fs=vfat,--,iocharset=iso8859-1,umask=0,codepage=850 0 0

are now normal? Why three floppies, blank, 1  2?
-- 
The highest glory of the American Revolution was this: it connected,
in one indissoluble bond, the principles of civil government with the
principles of Christianity.President John Quincy Adams

Felix Miata  ***  http://mrmazda.members.atlantic.net/




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



[expert] LILO - Fatal Error (for a friend-rush please?)

2001-09-23 Thread Leif Madsen

Friend of mine recently installed Mandrake 8.0 onto his laptop.  He now can't 
get into his Win2K partition (which is important for school tommorow).  This 
is his current lilo.conf file.

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
keytable=/boot/us.klt
lba32
prompt
timeout=50
message\/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
   label=linux
   root=/dev/hda5
   initrd=/boot/initrd.img
   append= devfs=mount
   read-only
image=/boot/vmlinuz
   label=failsafe
   root=/dev/hda5
   initrd=/boot/initrd.img
   append= devfs=mount failsafe
   read-only
other=/dev/hda1
label=NT
table=/dev/hda

I then got him to try this lilo.conf (mine)

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=NT
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message-graphic
menu-scheme-wb:bw:wb:bw
image=/boot/vmlinuz
 label=linux
 root=/dev/hda5
 initrd=/boot/initrd.img
 append= hdc-ide-scsi quiet
 vga=788
 read-only

...some stuff in the middle

other=/dev/hda1
 label=NT
 table=/dev/hda

When he runs lilo.. he gets:

Fatal:  Can't put the boot sector on logical partition 0x305

I tried to think of him going into linuxconf and possibly switch to GRUB as a 
temp. work around, but now he is getting an unending series of 40 40 40 40... 
when he tries to get into linuxconf.

Ideas???

This is beyond my knowledge (especially since I'm remote from him..)



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



Re: [expert] LILO - Fatal Error (for a friend-rush please?)

2001-09-23 Thread Eric Paynter

On September 23, 2001 01:18 pm, Leif Madsen wrote:
 Friend of mine recently installed Mandrake 8.0 onto his laptop.  He now
 can't get into his Win2K partition (which is important for school
 tommorow).  This is his current lilo.conf file.

The quick and dirty way to get back into windoze (while blowing away LILO for 
now) is to boot to DOS and rewrite the master boot record. Your windoze 
recovery disk should have the appropriate files present. Simply run fdisk 
/mbr from the DOS command line. Then run fdisk and select your windoze 
partition as active. Then remove your recovery disk and reboot. It should 
come up with windoze. You can fix LILO later by booting from your madrake 
install CD.

Good luck!

-Eric

-- 
arctic bears - email and name services
25 email addresses@yourdomain CA$11.95/month
DNS starting at CA$3.49/month - domains from CA$25.95/year
for details contact [EMAIL PROTECTED] or visit http://www.arcticbears.com



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



Re: [expert] LILO - Fatal Error (for a friend-rush please?)

2001-09-23 Thread Charles A Edwards

On Sun, 23 Sep 2001 13:32:32 -0700
Eric Paynter [EMAIL PROTECTED] wrote:

 On September 23, 2001 01:18 pm, Leif Madsen wrote:
  Friend of mine recently installed Mandrake 8.0 onto his laptop.  He now
  can't get into his Win2K partition (which is important for school
  tommorow).  This is his current lilo.conf file.
 
 The quick and dirty way to get back into windoze (while blowing away LILO for 
 now) is to boot to DOS and rewrite the master boot record. Your windoze 
 recovery disk should have the appropriate files present. Simply run fdisk 
 /mbr from the DOS command line. Then run fdisk and select your windoze 
 partition as active. Then remove your recovery disk and reboot. It should 
 come up with windoze. You can fix LILO later by booting from your madrake 
 install CD.
 
 

NO 
Do not do that.
With the error you are receiving when trying to boot Win2k if fdisk/ MBR
is run it will make the system unbootable.
Rather, login to linux and as root run /sbin/lilo -u.
This will unistall Lilo and restore the previous bootloader, Win2Ks.

   Charles  (-:




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



Re: [expert] Mac-on-Linux

2001-09-23 Thread John Haywood

On Sun, 23 Sep 2001 10:35, you wrote:
 Where do I find it? ISO :) preferred!
 Tnx
 Alan

 I think you'll find that the old mklinux will install  run on your 8100

 hth

Alan, there are also a few others which you might try (although I can't 
recall 100% on the nubus compatability):

The one which most people seem to recommend (YMMV) is Yellowdog:

http://www.yellowdoglinux.com

And, by a quick search on their homepage on 'nubus',  a link to a post on 
their support lists 
http://lists.yellowdoglinux.com/yellowdog-general/February01/0216.html
which seems to indicate that it can indeed be done. (this was actually a 
thread about a newer kernel - the stock one might run out of the box - take a 
look on their website  see)

the isos are mirrored all over the place, e.g. for Australia:
yellowdoglinux http://planetmirror.com/pub/yellowdog/

www.linuxppc.org -linuxppc distro, definitely not for nubus, but page has 
lots of links, including mklinux

Anyway, with the other posts here, you should have enough by now - otherwise 
Google is your friend

HTH
-- 
john in syd



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



Re: [expert] LILO - Fatal Error (for a friend-rush please?)

2001-09-23 Thread Asheesh Laroia

First of all, what's with the backslash after message in his lilo.conf?

If that's of no help, try removing the table= line in his.  Also, is it
just me or do you have duplicate Linux entries?

Other than that, I can be of no help.  Sorry.  Best of luck

-- Asheesh.

On Sun, 23 Sep 2001, Leif Madsen wrote:

 message\/boot/message
What is this?





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



Re: [expert] Mac-on-Linux

2001-09-23 Thread John Haywood

On Mon, 24 Sep 2001 09:56, you wrote:
 And, by a quick search on their homepage on 'nubus',  a link to a post on
 their support lists
 http://lists.yellowdoglinux.com/yellowdog-general/February01/0216.html

Alan,

normally, you are correct, but if you follow the post above (or just do your 
own search on yellowdog's website for nubus, you'll find a couple of links 
(like, 4 or 5 pages of them), many of which deal with the installation of 
Yellowdog onto a nubus ppc

cheers
-- 
john in syd



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



[expert] parport revisited

2001-09-23 Thread Ashley Moore

hi,

i have an old compaq 486DX-50Mhz, 8mb ram, 2 Gb HD that i want to load linux 
on. i downloaded and burned the iso image for mandrake 7.0 i486 from 
http://www.linux-mandrake.com/en/ftp.php3#486 

the laptop does'nt have any cdrom drive or ethernet h/w. I have an external 
cdrom that connects to the parallel port (Onspec - 'on26.o'. where can i get 
customised boot disk to get the install to read the cd via the parport.

OR

i could connect the laptop via a 'laplink' cable to my desktop and perfrom an 
NFS install via slip..., 

also, any idea which would be quicker?

any help, ideas urgent ;)

Ashley Moore.

_
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] PGACCESS not connecting

2001-09-23 Thread Ken Thompson

On Sunday 23 September 2001 06:56 pm, you wrote:
 Hi, here's my response of a few weeks ago

 
 
 I'm having some difficulties with pgaccess in mandrake 8.0.  It loads up

 fine, but I can't actually do anything with it.  If I try to create a
 database, I get the following error message:
 Tcl error executing pg_exec create database dbName

 is not a valid postgresql connection

 If I try to open a database I created in psql, I get the following error

 message:
 Error trying to connect to database 'dbName' on host localhost

 PostgreSQL error message:Connection to database failed
 PQconnectPoll() -- connect() failed: Connection Refused
 Is the postmaster running (with -i) at 'localhost' and accepting
 connections on TCP/IP port '5432'?


 What do I need to do to be able to use pgaccess?  Looking through the
 '/etc/rc.d/init.d/postgres' script, I don't see the -i or the port set
 anywhere.  Am I looking in the right place?


 Theo,

 You're in the right place, but you have to do some magic to get it to
 work at this point. It astounds me that Mandrake doesn't do this for us
 (or provide a nice GUI for doing it ourselves), but you actually have to
 add the -i option to the postres script. Unfortunately, its not that
 easy.

 Madrake calls pg_ctl to actually start postgres. It passes
 /usr/bin/postmaster as an arguement. One of the options to pass to
 pg_ctl are the options to pass to /usr/bin/postmaster (lost yet?). That
 option is -o. In that option is where you want to pass the -i.

 Since I've confused myself, here's my line from
 /etc/rc.d/init.d/postgres (line 83)

 su -l postgres -c /usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o
 '-i' start /dev/null 21

 yips!

 At that point, I was able to go in and create databases and view them
 from pgaccess. It sounds like you've got that step down already.

 Good luck

 David




 -Original Message-
 From: Ken Thompson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 21, 2001 6:40 PM
 To: [EMAIL PROTECTED]
 Subject: [expert] PGACCESS not connecting


 There was a thread started a few weeks ago about PG-Access not
 connecting in
 8.0 but  never did see an answer.. Does any one have an idea why??
  Postmaster is started and I can use the CLI to connece to postgres
 OK..
 Not a big CLI user and would like to take advantage of the GUI
 interface..
 Thanks all.

Thanks David that did the trick.
I had to change some setings after it loaded and I had to load the postgres 
db first, but it's working and working good.

-- 
Ken Thompson
Payette, Idaho
Email: [EMAIL PROTECTED]
http://ww.nwaa.com



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