Re: [expert] localhost address and cups conflict
Thank you so much for responding. It is terribly lonely when you are new to linux and it is not cooperating. I hate having to go back to NT4 to get serious work done just because I cannot print in cups. I did solve the hostname problem and changed it back to the default (localhost.localdomain). But that is not the whole problem with my cups. Although that change now lets me access http://localhost:631 cups will still not let me add a printer. HOWEVER, I now have another lead but do not know how to follow it correctly: I may have mentioned that in all my attempts to get cups to work, on 2 fleeting occasions, kups did show that a local printer was correctly installed at lp0 I had indeed installed a printer when I installed Mandrake 7.2 but it just would not show up as present when I start up kups and I could not add a printer in kups because it would tell me that it could not find any parallel ports. At first I did not know what caused the installed printer to correctly show up during those 2 fleeting occasions. But, by dint of trying and trying (and numerous hours wasted), I suddently could reproduce it! If I am connected to the internet via dialup modem on my standalone not networked pc, the printer shows up as installed! However, as soon as I go off line, the installed printer dissappears. So, - my cups system only seems to find the printer if I am connected to the internet but not otherwise. Does this give anyone a hint where it can help me get cups to work? Incidentally the way to change hostname is via harddrake/linux config/network, but to get the change to be really effective I need to reboot (or restart something if I knew how). The default name originally installed by Mandrake installation was localhost.localdomain. Someone please help me. I cannot believe I am the only one having this problem with cups. Thanks. Jeff Malka [EMAIL PROTECTED] Registered Linux user 183185 - Original Message - From: b5dave [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 22, 2001 10:56 PM Subject: RE: [expert] localhost address and cups conflict On 22-Mar-2001 Jeff Malka wrote: [snip] Anyway when I try to install a printer under kups it won't let me saying it can detect no parallel ports. Yet in /dev there are files named lp0, lp1 and lp2. So it is a matter of cups not seeing my parallel port. Ditto. Then I had a brainstorm that may be the clue to the problem based on the error message above. Shortly after I installed Mandrake 7.2, I wanted to customize it and changed the default name "localhost.localhost" (which would show up on the top of some utility apps) to "Jeff_PC". Now, when I enter in a browser the URL http://localhost:631 it could not find the cups page. BUT, when I tried http://jeff_pc:631/admin, that opened up the admin page for cups. So, maybe cups is not working because it's files are hardwired to look for "localhost" where now I have "Jeff_PC". Yep, had the same problem originally. Problem is I no longer remember how I changed the localhost name or what the original default was (localhost or localhost.localhost). I do recall that Drakeconf accepted the change but did not implement it and I had to change an ascii config file somewhere. Anyone able to help me out of this muddle I got myself in? [snip] You're on the right track. Note that I no longer use cups for several reasons, but when I did get it working the problem was indeed a hostname conflict. Your starting point would be /etc/hosts. On a standalone machine, after the initial install, it will look like: 127.0.0.1 localhost.localdomainlocalhost the format being loopback address | hostname | alias or nickname Yours might now look like: 127.0.0.1 localhost.localdomain Jeff_PC or perhaps: 127.0.0.1 Jeff_PC.localdomain Jeff_PC (I'm not sure just what the Mandrake tool changes) Note that all the network services read this file on boot up and modify their own config files accordingly. Personally, I suspect CUPS screws up in this regard: I had to explicitely specify the hostname in /etc/cups/cupsd.conf to get things working. This also requires restarting cups as root: # /etc/rc.d/init.d/cups restart Be careful, though, if you plan on manually changing /etc/hosts without rebooting. You would have to restart networking, and perhaps other individual networking services ... postfix comes to mind. # /etc/rc.d/init.d/network restart Although I despise rebooting, changing the hostname is one time when it can save some headaches. Also, when you run Kups, there's a menu item "configure hosts" where you can enter the hostname. Even when I got that right, I could not configure my printer via Kups ... same crap as you got: "no parallel port on this computer" nonesense. The web tool, however, did find lp0 (lpt1) no problem. I think kups is broken ... it seems to think lpt1 is lp1 even though your
[expert]
subscribe newbie
Re: [expert] apt
Sheldon Lee Wen wrote: Hi, I was wondering that now that apt has RPM support if there are any plans to incorporate apt and dselect into Mandrake? This, in my estimation would be the last good reason to switch to debian. The reason I'm asking is that redhat and mandrake esp. have great install programs with really nice tools. However, maintainability is a s.o.b. This is debian's great strength and it would be nice to have an OS that's both easy to install and easy to maintain. Anyone else like to see apt on mandrake? Cheers, Sheldon. As I understand it, Mandrake is incorporating apt into 8.0, so this process is already underway. Aaron -- Aaron J. GinnPhone: 480-814-4463 Motorola SemiCustom SolutionsPager: 877-586-2318 1300 N. Alma School Rd. Fax : 480-814-4463 Chandler, AZ 85226 M/D CH260 mailto:[EMAIL PROTECTED]
Re: [expert] dual displays
Klar Brian D Contr MSG SICN wrote: I have a Matrox G450. I have heard (read) that KDE is not capable of doing dual monitor display. Their website names Windowmaker for this use. Is there another window manager that supports dual display? I just simply run one large dual headed desktop across two monitors with a G450 using xinerama. KDE doesn't know the difference and behaves normally. The other window managers, at least the ones shipped with LM 7.1 work nicely as well. Dan
RE: [expert] dual displays
Are you using the Matrox provided drivers (mga_drv.o and hal_drv.o) or the kernel provided drivers. Mandrake 8.0b2 was supposed to fix G450 issues. I cant make it work at all as of last night with Kernel provided modules, or XF86 stock drivers. KDE 2.1 came up for me with RH 7.1b but I could not access the second display at all. Oh well there is the weekend to fight it I guess. Brian -Original Message- From: Dan Riley [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:35 PM To: [EMAIL PROTECTED] Subject: Re: [expert] dual displays Klar Brian D Contr MSG SICN wrote: I have a Matrox G450. I have heard (read) that KDE is not capable of doing dual monitor display. Their website names Windowmaker for this use. Is there another window manager that supports dual display? I just simply run one large dual headed desktop across two monitors with a G450 using xinerama. KDE doesn't know the difference and behaves normally. The other window managers, at least the ones shipped with LM 7.1 work nicely as well. Dan
RE: [expert] ssh on mandrake 8b2
That didn't work on my system. I even tried ALL:ALL in hosts.allow. I even shutdown to try. If I ssh from local IP 192.x.x.x, but not the inet IP of 165.x.x.x. That one states connection refused Brian -Original Message- From: Lieven Van Acker [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 8:32 AM To: [EMAIL PROTECTED] Subject: Re: [expert] ssh on mandrake 8b2 Try /etc/hosts.allow: sshd:ip of allowed host or sshd:ALL Lieven On 2001.03.22 14:25 Klar Brian D Contr MSG SICN wrote: I have purchased a new hd. 40G. That seems to have solved my installation of Mandrake issues. Now my problem is that ssh will let me in from only my local machines at home. I access my machine from work as well. When I enter my local IP all is fine (from home laptop) When I enter my inet IP ssh comes back with ssh connection refused Port 22 is open in services, sshd obviously running, so what gives here Any help appreciated, Brian D. Klar - CVE OTS WPAFB (937) 656-2861 (937) 973-3125 (pager)
Re: [expert] dual displays
On Friday 23 March 2001 19:15, you wrote: Are you using the Matrox provided drivers (mga_drv.o and hal_drv.o) or the kernel provided drivers. Mandrake 8.0b2 was supposed to fix G450 issues. I cant make it work at all as of last night with Kernel provided modules, or XF86 stock drivers. KDE 2.1 came up for me with RH 7.1b but I could not access the second display at all. Oh well there is the weekend to fight it I guess. Brian Yes the XFree driver is broken and the closed-source works (both by the same author, incidentally). Civileme QA/Software testing -Original Message- From: Dan Riley [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:35 PM To: [EMAIL PROTECTED] Subject: Re: [expert] dual displays Klar Brian D Contr MSG SICN wrote: I have a Matrox G450. I have heard (read) that KDE is not capable of doing dual monitor display. Their website names Windowmaker for this use. Is there another window manager that supports dual display? I just simply run one large dual headed desktop across two monitors with a G450 using xinerama. KDE doesn't know the difference and behaves normally. The other window managers, at least the ones shipped with LM 7.1 work nicely as well. Dan
RE: [expert] dual displays
I will try it out this weekend. Thanks, Brian -Original Message- From: Civileme [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 1:53 PM To: [EMAIL PROTECTED] Subject: Re: [expert] dual displays On Friday 23 March 2001 19:15, you wrote: Are you using the Matrox provided drivers (mga_drv.o and hal_drv.o) or the kernel provided drivers. Mandrake 8.0b2 was supposed to fix G450 issues. I cant make it work at all as of last night with Kernel provided modules, or XF86 stock drivers. KDE 2.1 came up for me with RH 7.1b but I could not access the second display at all. Oh well there is the weekend to fight it I guess. Brian Yes the XFree driver is broken and the closed-source works (both by the same author, incidentally). Civileme QA/Software testing -Original Message- From: Dan Riley [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:35 PM To: [EMAIL PROTECTED] Subject: Re: [expert] dual displays Klar Brian D Contr MSG SICN wrote: I have a Matrox G450. I have heard (read) that KDE is not capable of doing dual monitor display. Their website names Windowmaker for this use. Is there another window manager that supports dual display? I just simply run one large dual headed desktop across two monitors with a G450 using xinerama. KDE doesn't know the difference and behaves normally. The other window managers, at least the ones shipped with LM 7.1 work nicely as well. Dan
[expert] msec.ps
Hello: Before installing LM7.2 I would like to read more about the various levels of security. Can somebody tell me where I can find the file msec.ps (or somebody mail it to me)? Thanks, Serge Pineault
Re: [expert] Fwd: ALERT - A DANGEROUS NEW WORM IS SPREADING ON THE INTERNET
On Friday 23 March 2001 20:20, you wrote: Just in case others are not aware: Date: Fri, 23 Mar 2001 9:40:03 -0700 (MST) The following vendor update pages may help you in fixing the original BIND vulnerability: Redhat Linux RHSA-2001:007-03 - Bind remote exploit http://www.redhat.com/support/errata/RHSA-2001-007.html Debian GNU/Linux DSA-026-1 BIND http://www.debian.org/security/2001/dsa-026 SuSE Linux SuSE-SA:2001:03 - Bind 8 remote root compromise. http://www.suse.com/de/support/security/2001_003_bind8_ txt.txt Caldera Linux CSSA-2001-008.0 Bind buffer overflow http://www.caldera.com/support/security/advisories/CSSA-2001-008.0.txt http://www.caldera.com/support/security/advisories/CSSA-2001-008.1.txt If you have additional data on this worm or a critical quetsion please email [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (BSD/OS) Comment: For info see http://www.gnupg.org iD8DBQE6u17n+LUG5KFpTkYRAgn9AJ0ffubakBA47teAe9lF92lrS2H+TwCgh3T/ ek+YCliAS832nnMIzP28ezM= =E1SG -END PGP SIGNATURE- Rusty Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Voice: (480) 345-3621 SnailMail: Schlumberger ATE FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825 ICBM: 33 20' 44"N 111 53' 47"W Wonder why they didn't list: LInux-Mandrake http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-017.php3?dis=7.2 Vincent was on the job right at the start. If you have updated for security with our alerts, your system is not vulnerable. Civileme
Re: [expert] apt
On Friday 23 March 2001 18:22, you wrote: Sheldon Lee Wen wrote: Hi, I was wondering that now that apt has RPM support if there are any plans to incorporate apt and dselect into Mandrake? This, in my estimation would be the last good reason to switch to debian. The reason I'm asking is that redhat and mandrake esp. have great install programs with really nice tools. However, maintainability is a s.o.b. This is debian's great strength and it would be nice to have an OS that's both easy to install and easy to maintain. Anyone else like to see apt on mandrake? Cheers, Sheldon. As I understand it, Mandrake is incorporating apt into 8.0, so this process is already underway. Aaron How far it will go is another question apt-get works so well because there is extreme care and discipline in managing the assembly of debs. In the bazaar where we operate, with packagers as volunteers for much of our product, that sort of discipline is a wishlist item for when we are as rich and hated as Microsoft .-). So 8.0 packages are apt-get capable but definitely not debs. Civileme/QA
Re: [expert] 2 versions of Mandrake on the same pc?
On Friday 23 March 2001 22:45, you wrote: Since I moved from Mandrake 7.1 to 7.2 I have been frustrated because I cannot get cups (the printing subsystem in 7.2) to work for me. I would therefore like to go back to ver 7.1 until I work things out in 7.2 However I hate removing Mandrake 7.2 altogether. Is it possible to have 2 linux versions (or distributions like RH) installed on the same PC without messing things up? I have 4 OSs on this PC so I know all about separate partitions and booting separately into them, etc. What I do not know is what I need to do to keep 2 linux versions separate from each other. What partitions I can keep to share between the two and what need to be separate. Do I just need a separate root partition for the 7.1 distribution and can keep my other partitions? Presently I have 7.2 installed in 5 partitions: /, /home, /opt, /usr/local plus swap partition Any advice? Thanks. Jeff Malka [EMAIL PROTECTED] Registered Linux user 183185 When it is up again, go to www.mandrakeforum.com and search the archives for "Two Mandrake". It happens that I wrote an article on that last December for just such a situation. Civileme
[expert] Usb mouse isn't loaded after install
Hi I've installed Mandrake 7.2 an during the install my usb mouse was recognized and I could use it without problems, but after rebooting the mouse isn't working anymore. I get on start on the start (boot) /usr/mouse Device not found. it's a Logitech weel mouse usb I read the mandrake manual, and there it says choose your mouse click ok and the settings will work... I used Drakconf choose Usb mouse and this didn't work I have mandrake since 3 days so that it's for me difficult to explore and try out without mouse (I'm using for the moment F12 and then I move with the arrows keys..) Please help me thanks Nuno
Re: [expert] Usb mouse isn't loaded after install
I have the same mouse and it works on my regular computer. maybe your usb port is buggy. There usually are two, try switching the mouse from one to the other and see if it works. However, I tried installing 7.2 on a Sony VAIO laptop however, and the USB mouse didn't work --linux didn't recognize whatever USB system Sony had. I had to use the little green adapter that came with the mouse and run it off the PS2 port. -Original Message- From: RODRIGUES Nuno [EMAIL PROTECTED] To: Expert [EMAIL PROTECTED] Date: Friday, March 23, 2001 4:01 PM Subject: [expert] Usb mouse isn't loaded after install Hi I've installed Mandrake 7.2 an during the install my usb mouse was recognized and I could use it without problems, but after rebooting the mouse isn't working anymore. I get on start on the start (boot) /usr/mouse Device not found. it's a Logitech weel mouse usb I read the mandrake manual, and there it says choose your mouse click ok and the settings will work... I used Drakconf choose Usb mouse and this didn't work I have mandrake since 3 days so that it's for me difficult to explore and try out without mouse (I'm using for the moment F12 and then I move with the arrows keys..) Please help me thanks Nuno
[expert] tftp server in LM72
Can anyone provide some detailed configuration info on getting tftp up and running on LM72? I've enabled it in xinetd and I can connect, but I have no idea where to start putting files, what directory perms should be, etc. Seems like tftp is barely documented anywhere (including what I could find on Google). John LeMay Jr. Senior Enterprise Consultant NJMC, LLC. [tag] I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams
Re: [expert] 2 versions of Mandrake on the same pc?
Thank you. Jeff Malka [EMAIL PROTECTED] Registered Linux user 183185 - Original Message - From: Rusty Carruth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 23, 2001 4:55 PM Subject: Re: [expert] 2 versions of Mandrake on the same pc? "Jeff Malka" [EMAIL PROTECTED] wrote: Since I moved from Mandrake 7.1 to 7.2 I have been frustrated because I cannot get cups (the printing subsystem in 7.2) to work for me. I would therefore like to go back to ver 7.1 until I work things out in 7.2 However I hate removing Mandrake 7.2 altogether. Is it possible to have 2 linux versions (or distributions like RH) installed on the same PC without messing things up? I have 4 OSs on this PC so I know all about separate partitions and booting separately into them, etc. What I do not know is what I need to do to keep 2 linux versions separate from each other. What partitions I can keep to share between the two and what need to be separate. Do I just need a separate root partition for the 7.1 distribution and can keep my other partitions? Presently I have 7.2 installed in 5 partitions: /, /home, /opt, /usr/local plus swap partition Any advice? I'm in a rush, so I'll not try to cut out info from above, sorry to all! What I do is simply allocate a partition to the new version, but of course /home and swap can be shared, so I keep one partition for the working version and one for the new, and share /home and swap. If you have room on that disk, or if you have another disk you could add that has room, just make a partition big enough to hold all your 7.1 except /home and swap, and put 7.1 on it. Then its 'simply' (;-) a matter of setting up lilo or grub right, and you're done. rc Rusty Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Voice: (480) 345-3621 SnailMail: Schlumberger ATE FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825 ICBM: 33 20' 44"N 111 53' 47"W
Re: [expert] 2 versions of Mandrake on the same pc?
Thank you very much. Jeff Malka [EMAIL PROTECTED] Registered Linux user 183185 - Original Message - From: Civileme [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 23, 2001 6:11 PM Subject: Re: [expert] 2 versions of Mandrake on the same pc? On Friday 23 March 2001 22:45, you wrote: Since I moved from Mandrake 7.1 to 7.2 I have been frustrated because I cannot get cups (the printing subsystem in 7.2) to work for me. I would therefore like to go back to ver 7.1 until I work things out in 7.2 However I hate removing Mandrake 7.2 altogether. Is it possible to have 2 linux versions (or distributions like RH) installed on the same PC without messing things up? I have 4 OSs on this PC so I know all about separate partitions and booting separately into them, etc. What I do not know is what I need to do to keep 2 linux versions separate from each other. What partitions I can keep to share between the two and what need to be separate. Do I just need a separate root partition for the 7.1 distribution and can keep my other partitions? Presently I have 7.2 installed in 5 partitions: /, /home, /opt, /usr/local plus swap partition Any advice? Thanks. Jeff Malka [EMAIL PROTECTED] Registered Linux user 183185 When it is up again, go to www.mandrakeforum.com and search the archives for "Two Mandrake". It happens that I wrote an article on that last December for just such a situation. Civileme
Re: [expert] tftp server in LM72
"John J. LeMay Jr." wrote: Can anyone provide some detailed configuration info on getting tftp up and running on LM72? I've enabled it in xinetd and I can connect, but I have no idea where to start putting files, what directory perms should be, etc. Seems like tftp is barely documented anywhere (including what I could find on Google). tftp normally uses /tftpboot though I prefer to make it a softlink to /home/tftpboot which protects it over new installs. Sounds like you have xinetd setup, so the only problem is using it... Unless you have a version that can create a file, the destination file must exist (touch file) before it can be transfered. Normally, the directory and files are owned by nobody.nogroup (perm=0700) before one can be transfered. This makes tftp insecure. To reduce the risks, once a file is successfully transfered, you should change the permissions with at least -w. To date, I have never gotten tftp to work between LM7.2 systems; the best I can get it to do is to update the creation date on an empty target file. I did get the version from netkit-tftp-0.17 to accept config files and serve router images from/to a Cisco router by specifying the target as: tftpboot/file but not: /tftpboot/file nor:file So... hope you're not in too desperate a need for tftp... it sux. HTH, Pierre
Re: [expert] rpm package inventory
Hi I have a corrupted partition on a 2nd Hard disk (/dev/hdc3) and i tried fsck and e2fsck with no success I tried also the following commands: 1)#sfdisk -l /dev/hdc3 Output: Warning: start=12434310 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. [Use the --force option if you really want this] 2) # sfdisk -f /dev/hdc32) # sfdisk -f /dev/hdc3 output: Checking that no-one is using this disk right now ... OK Disk /dev/hdc3: 272 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/hdc3: unrecognized partition Old situation: No partitions found Input in the following format; absent fields get a default value. start size type [E,S,L,X,hex] bootable [-,*] c,h,s c,h,s Usually you only need to specify start and size (and perhaps type). 3) # dumpe2fs /dev/hdc3 output: dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 dumpe2fs: Bad magic number in super-block while trying to open /dev/hdc3 Couldn't find valid filesystem superblock. Any idea? Thank you Vick _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: [expert]
kernel compiling On Fri, 23 Mar 2001, ben shahbaz wrote: i am thinking of building a new linux box? what do any of you thing of dual voodoo 2 in sli mode for my 3d video card? i need something that linux will recognize as a 3d accelerator? thanks ben
FW: [newbie] Bad Magic???
I am reposting this because, I really need to get this fixed. Please reply directly to me. "[EMAIL PROTECTED]" I got an error when trying to install an RPM: Unpacking of archive failed: cpio: Bad Magic What the heck does that mean and how can I fix it??? Much thanks as always, Moose