Re: [expert] LG Drive and VMWare
> On Saturday 15 Nov 2003 2:57 pm, Kwan Lowe wrote: >> Any idea if the LG Firmware bug will bite if the Mandrake 9.2 >> install is in a virtual VMware machine? > > Sorry for the delay in answering - I've been away. > > I don't know the answer, but I wouldn't take the risk. LG now have a > firmware update available on their site. Install that first and you > should be OK. HTH Thanks, Anne. I bit the bullet and downed the host machine shortly afterwards. It was one of those laziness things :D Plus I had to walk someone through the process without any idea of what the firmwate update screen read... Then there was the 216 day uptime :( On a side note, the setup on this remote site is pretty interesting. The DNS and web server run completely inside a VMWare session. Complete system backups are as simple as copying a file. Testing is a breeze since I can test identical systems without bringing the main one down. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] MDK 9.2 upgrade
> > lilo failed: Fatal: geo_query_dev HDIO_GETGEO > (dev 0x1600): invalid argument > > and i didn't find any way to install lilo > so I decided to use grub and started without any > problem any idea? > What size hard drive do you have? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] LG Drive and VMWare
Any idea if the LG Firmware bug will bite if the Mandrake 9.2 install is in a virtual VMware machine? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] menu in bash script
> The case why I asked for this help is that we have a project to install > Linux servers on several locations with the same/very similar settings. > Unfortunately, the hardware is varied between locations so 'ghosting > hdd" is not the solutions. I wrote the following script to do something similar. It was used to install an embedded system with a canned set of packages. There are a couple other files associated with it that I've long lost, but it's easy enough to figure out. http://www.digitalhermit.com/~kwan/install_system -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Noise
>>> > What is reading/writing on my harddrive every 5-6 seconds? >>> > If I go to runlevel 3, whatever it is, stops. >>> > Runlevel 5 uses Kde 3, so it must be something in there. >>> > I turn every app I see off, but still no result. I'm dumb. Your information about it stopping in init 3 just didn't take the first time I responded. Though it is possible that logging is causing the issue, more likely it is something like some sort of automount daemon. Look for something like automount, autorun, or magicdev in your process list. Try stopping them to see if the activity stops. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Noise
> Hello list! > What is reading/writing on my harddrive every 5-6 seconds? > If I go to runlevel 3, whatever it is, stops. > Runlevel 5 uses Kde 3, so it must be something in there. > I turn every app I see off, but still no result. > Probably some sort of log. You can try sending logs to a remote server or shutting down syslog entirely to help troubleshoot. Take a look in /var/log and see if there are any files that are growing or with recent timestamps: $ cd /var/log Sort by size $ ls -lSrh * Sort by date $ ls -ltr -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] menu in bash script
> but if you learn dialog, then you can readily port the same script to > xdialog, which is keen :-) > Yes -- xdialog has effectively replaced 90% of my tcl/tk needs. It's still not a complete substitute, but the ease of generating interfaces makes up for its inflexibility. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] menu in bash script
> Fajar Priyanto wrote: > Dear All, > Can we make menu in bash script just like in DOS' batch file? > Such as: > === > [Menu] > Pls select what you want to do: > 1. Copy /etc/dhcpd.conf > 2. Copy /etc/wvdial.conf > 3. Make directory /var/log/nullmailer > 4. Do all of above > == > Could you please give me some examples? Besides the case operator that someone else has mentioned, you can also use the "dialog" utility to create menu boxes. For example: dialog --clear --backtitle "A Checkbox" --title "Choose one:" \ --menu "Please select one item:\n" 30 30 8 \ "Item1" "Choose me" \ "Item2" "No, choose me" \ "Item3" "Better choose me" The selection will be sent to stderr which you can either capture to a file or read directly. You'll still need the case operator or nested ifs to act on the user choice. Dialog will also do text input, checkbox, radiobox, etc.. If dialog is cumbersome but you do like the interactivity, take a look at the "newt" package. It has some very easy ways of generating similar menus. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Frickin spam and spamassassin
> > These are tricky html or other type of spam, they are plain text. > Generally > they are viagra messages. The one that really galls me is one that uses > the > name "[EMAIL PROTECTED]" or "[EMAIL PROTECTED]" instead of the actual proper > spelling. > Nonetheless, this shouldn't matter...or so one would think. I understand your pain. Last week my servers received over 3,000 spam messages, of which almost 100 made it past the spamfilters. Here's one site that has interesting approach: http://bleaklow.com/blog/archive/23.html You could add the obfuscated strings to look specifically for those misspellings. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] /etc/hosts and dns
> I have a laptop that connects to my office e-mail server as an IMAP > client. Sometimes I am outside the firewall, and in this case, I can > connect to the server using the server's fqdn. When I am inside the > firewall, I can connect to the server by making an entry in my /etc/hosts > file for it that aliases it's private ip to it's netbios name (it is an > Exchange 5.5 server). In order to connect, I simply change the servername > in kmail depending on where I am. > > So now my question, is there any way to set up my hosts/resolv.conf/tmdns > to look for the server in the local network first and if it cannot find > it to look it up in the DNS so that I don't have to constantly change the > setup in kmail? > > Since the local addressing scheme in place at my company is quite unique > I would even be open to doing something like having a script called in > rc.local check to see what the network ip block of the local network is > and writing out a hosts file that would have an entry for the server if I > am on the right network, although I have no idea how to actually implement > that. There are a couple ways to do this. IMHO, there's an easy way and a correct way and it's not clear which is which :) The quick way would be to write a script based on the IP address that you receive. You could either parse ifconfig or do something when your dhcp client returns. You could also put in a specific configuration for your MAC address inside the DHCP server itself. However, these all have inherent disadvantages. The way I'd do it is to set up a DNS view for the internal and external networks. Machines on the inside would receive the private non-routable address when querying the nameserver for mail.domainname.com. External machines would receive the public IP address. For example in the named.conf: view "internal" { // This should match our internal networks. match-clients { localnets; }; recursion yes; zone "domainname.com" { type master; file "pz/db.internal"; }; } view "external" { match-clients { any; }; recursion no; zone "domainname.com" { type master; file "pz/db.domainname.com"; }; } -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] [OT] Publishing text (was: (OT)Uh..... Am I alone in noticing the insanity?)
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I don't know what this means. I write a paragraph in OO, in Lyx, and in > Abiword. Same paragraph. I then print it. It looks identical regardless > of > what I used to generate it. The text is whatever quality the printer can > produce. There is nothing magic about latex/lyx output to printer. This is true for many standard printers, but not all. Well, maybe I should say that you can't readily detect the differences when using most printers. However, some printers have built in fonts, different pixel ratios,margins, different ways of printing dots, etc., so a file can print differently on different printers. A common side-effect of this is having to reformat a document when printers are changed. Postscript generally does a good job of overcoming this problem by defining how the page looks inside the document. So yes, LaTeX and Lyx output will be different than something like Kwrite or Word which relies on the printer to draw the page. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] (OT)Uh..... Am I alone in noticing the insanity?
> I would LOVE to be able to do this in OpenOffice. I would LOVE for the > document on the screen to appear as it does when I print it out (Lyx gives > no indication of what the output will actually look like). LyX and LaTeX not WYSIWYG editors and actually make it a point in their documentation. Except for an occasional business letter using a template, I prefer to not have to worry about how the final page will look. [...] > In this area, linux just lacks and cannot work as a dropin replacement for > most users. Most users are not going to want to learn Lyx. Have you tried kile? It's still not a replacement for most people, but if you're reasonably proficient with LaTeX it can make editing easier. I've been playing around with it recently and it's similar in idea to something like quanta++. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Dell Inspiron 3200 Installation Problems
> Now, in thinking about the problem, it would seem that there is some > problem > with how the ide drivers attempt to attach to the CDROM. Or is it that the > download images are different from the purchased CDs? > > Does anybody have any ideas with this problem? Has anybody successfully > installed 9.1 or 9.2 on a Dell Inspiron 3200?? Some CD readers have problems with burned disks. The 3200 is new enough that this shouldn't be a problem, but you can't always be sure. Once it's installed, can you try mounting the burned disks? You can also try doing an FTP/HTTP install, which I used on my Inspiron 3500 for 9.1. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] missing kde features
> Here's a couple KDE features I miss. > > a) Konqueror starting up with the sidebar by default (in file manager > mode). This should work: a) In file manager mode, configure your konqueror session as you want it. Then do a "Save View Profile" from the Settings menu. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDE copy and paste not working properly in 9.2?
> Hi, > > has anyone else had some problems in KDE apps with copy and paste? I'm > noticing some strange errors, e.g. copy a full screen of text, and paste > in another window in the same application, and getting text from a > privious copy / cut. It seems to work when only a small amount of text > is copied. Have you tried shift-selecting the region to be copied? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Fetchmail problem
> OK. On my laptop I use a global /etc/fetchmailrc file because I like the > cleanliness of running fetchmail as a daemon at startup rather than as a > cron > job as a user (Ugh. Crude. Ugly). I decided to experiment on my desktop > and try to use fetchmail in daemon mode but instead of an > /etc/fetchmailrc, I > have a ~/.fetchmailrc file. Naturally, no worky. > > Is there a way to get fetchmail, the DAEMON, to use my ~/.fetchmailrc file > or > am I going to have to copy it to /etc/fetchamilrc again? > Have you tried using the "-f" or "--fetchmailrc" flag when you can fetchmail? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I need to Port Foward 443 internally
> Does anyone have a simple approach to forward the 443 port to an > internal machine? > Assuming your running some sort of Linux router with IPTABLES, you should be able to do something like this: iptables -t nat -A PREROUTING -i eth0 -p tcp -d w.x.y.z --dport 443 -j DNAT --to-destination a.b.c.d iptables -t nat -A POSTROUTING -s a.b.c.d --sport 443 -o eth0 -j SNAT --to-source w.x.y.z w.x.y.z is your external, a.b.c.d is your internal. Please let me know if it works. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] TCP receive window
> > > Hi folks ! > > I'm looking for information about how to configure TCP receive window in a > Linux > based system (Mandrake 2.4.21-0.13mdksmp) because I have an application > which needs to download huge data pieces in small time frames. > Does anyone know how to do that ? > > Here's a good link: http://www-didc.lbl.gov/TCP-tuning/buffers.html Note that it mentions the Linux tcp auto-tuner is pretty good. The system will automatically adjust window sizes based on several parameters so explicit tuning may not gain much if anything. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDevelop Help
> Thanks. I'm new to developing where I have to play with anything > remotely resembling a makefile. I didn't know that in the additional > libraries I had to put the -l in front. Ooops. I, uh, did the same thing at first :D. Let me know if i can help anytime. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDevelop Help
> The project is a simple 'Terminal C++' project, with the only changes > being an added #include , and the contents of main() [below]. > Hmm.. Seems to build fine on mine, though execution fails because I don't have a sound device. To build this I did: New C++ terminal project, accepted defaults. Replaced main.cpp with your example code. Went to Project Options|Linker then added the following: -lSDL Ran Execute (F9). How did you install your SDL libraries? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDevelop Help
> Not trying to complie KDevelop, no. I'm trying my hand at writing a > couple small games (hopefully, with experience I'll try my hand at some > larger games as well), but I can't even get the SDL equivalent of 'Hello > World' to compile. I get an 'undefined reference to 'SDL_*' error for > each SDL_* function call I make. I've got #include up with > the rest of the includes, and it isn't complaining about being able to > find SDL.h any more, but it won't compile because of the undefined > reference errors. > Shoot me some example code if you'd like. I just compiled a couple of the example applications from the SDL library and they worked fine under Kdevelop. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDevelop Help
> Unfortunately, this how-to doesn't seem to have been updated since the > 1.x days of KDevelop, and I don't know enough about how KDevelop works > to figure out how to translate the differences. For example, there's no > acinclude.m4.in or libtool.m4.in, and even though I've got every SDL > library and it's development counterpart installed, I don't seem to have > an sdl.m4 file anywhere. I've seen mention that KDevelop3 will come > with SDL project templates, but its still a way off. > > Anybody have any ideas? Once you've started a new project, go to the Project Options Menu (either F7 or go to the Proects Menu then Options). Select Linker Options. In the Additional Libraries section add SDL. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
> > PS Is /mnt/cdrom using the size of /? > Yes. /mnt/cdrom is just a directory on your root filesystem. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Trouble mounting windows drive
Bleah...Sorry. Ignore that last message. Not enough coffee. Too early. I was responding to a Samba question in another email and just replied to the wrong thing (saw Windows in the subject). Need coffee. Please. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Trouble mounting windows drive
> Just installed 9.1 from 9.0 ( I know I'm a little behind) and I can no > longer access my mounted windows drive as a normal user. > > # ls -l > total 16 > drwxrwxrwx1 root root Oct 19 19:25 cdrom/ > drwxrwxrwx1 root root Oct 19 19:25 cdrom2/ > drwxrwxrwx1 root root Oct 19 19:25 floppy/ > drwxr--r-- 41 root root16384 Dec 31 1969 windows/ > > I can not chmod that directory either, I try and it goes through the > motions like it is fine but does not change the permissions so I can not > access this drive unless I su to root. Not sure what to do... > Forgot to post the examples: //helios/export /mnt/helios_smb smbfs credentials=/tmp/pass 0 0 The credentials file will contain something like: user=dilbert password=d0gb3rt You'd of course put the credentials file somewhere safe and with appropriate permissions. If you don't want any authentication you'll need to make the share public in the smb.conf file on the server. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Scripting question - deleting old backups when disk capacity exceeds athreshold
> It seems that each time I attempt to write a script for something like > this, the next day I see one that replaces my 46 lines of code with one > (and actually works). So before I create my usual kludge, can anyone > point me at a good way to do the following? > > I create backups each day in directories named for the date in the form > -MM-DD. I would like to keep as many of these online as I can, so > to do this I need a script to look at the percentage used of my backup > partition and delete the oldest backups until reaching a given > threshold. I guess in pseudo-code it would be something like: > > while free-space < threshold do > rm -rf the-oldest-backup > done > > I can get the free (or used) percentage by parsing the output from df I > guess (using awk maybe?), but maybe there's a better way to do that. As > the directory names sort by default with oldest first, I guess there's > an easy way to say the-oldest-backup. > You can used the find command to search for files older than a certain date: find . -mtime +7 You can also use ls to order by date: ls -ltr or ls -lt Then use head or tail to grab the bottom or top entries. To get the free space you can use df: df -h To get space within a directory use du: du -h -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Help please! Cannot stop this spam
> I have receive over 100 of these today alone. Nothing i've tried with > procmail recipes has worked. I cannot stop this nonsense. The from > address > is my own fetchmail-daemon: > [EMAIL PROTECTED] > > I am considering having all fetchmail-daemon emails sent to dev/null but > fear > the repercussions. > What recipe are you using? If it's coming from the same daemon just match on the sender field. What is the text of the message? Is it real spam or just a fetchmail process that's wonked? A few other ideas: If you're running fetchmail via a cron job (i.e., no daemonized) then try sending errors to /dev/null. Stop it at your reader.. Add a spamassassin rule. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] How to check if the swap is on?
>Although I can't remember the message on the beginning of boot process,I know >that it says something about swap not being turned on. Later in the boot >process, swap seems to be turned on but I want to be 100%. How can I check >if swap is on? How can I check how much of swap linux is using and how much >is left? A few commands you can use besides the ones already mentioned: List swap usage by device swapon -s List swap usage, statistics, etc.. vmstat Show general memory usage free -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Running X across a network?
> Even quicker is: > > $ ssh [EMAIL PROTECTED] appname > > ie: > > $ ssh [EMAIL PROTECTED] drakconf > > The username is only required if you have a different username on the > remote box. Works even slicker if you are using ssh keys. If you're not launching from an xterm and you're not using keys, you can have the gnome-askpass utility pop up by setting SSH_ASKPASS to the location of the ask pass utility. E.g., in your .bash_profile: SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass export SSH_ASKPASS This is handy for using Gnome or KDE's 'Run Command' utility. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Running X across a network?
> I finally built up a server box that can support X windows, and I have > installed Gnome as the interface. > > In order to configure the server, I would like to run X across my LAN so > that > graphical tools were available. > > What is a good way to do this? Can I run X across SSH? Is there a good VPN > client that I can use? > Several options: 1. Run VNC server on the server and connect with VNC client. Upside -- you get a full GUI and window manager. Downside -- more load on the server. a. Install VNC server on server b. Run vnc-server on remote c. Install VNC client on local machine d. From client, vncviewer w.x.y.z:port 2. Run X over SSH. ssh into the server and run the client X11 application. a. ssh -X w.x.y.z b. On remote, launch X11 application. 3. Export your display to the local box. Upside -- no setup. Downside -- not very secure except when using xauth, little auth required, not compressed. a. On local machine, xhost + w.x.y.z b. on remote, export DISPLAY=a.b.c.d:0 c. Run X11 client application on server -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Why not use the default directories?
> > A general comment: Why doesn't Mandrake, when it's building a new version, > does not use the default installation directories of each package? Because > otherwise, when we reinstall it, we have a chance of ending up with two > versions of the same files! -turgut > I was thinking about this recently after doing some from-source installations of the 1.x Apache software. It was actually better for me that Mandrake chose to use their own hierarchy because otherwise my install would have been more difficult. Since software creators have some creative and unusual choices for their installation directories, it seems better for my sanity that they enforce their directory structure. Is it LSB compliant? Dunno, but it seems close. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ip addressing on lan
> When I apply this IP using the wizard on install it all takes and seems to > be there .. If I try and ping anything on the LAN I get destination > unreachable, and if I ping the unit from another machine on the LAN it > times out. But from the 9.1 machine, I can ping 192.168.0.200 (it's NIC > ip) .. the routing table sees the ip, but wont look at the gateway or LAN. > . Sounds suspiciously like a bad cable/connection. Can you try switching the cable to a known-good and plugging into a know-good port on the hub or switch? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ancient lib
>> Make sure that you have both svgalib and svgalib-devel installed. > > But where are they sourced Kwan ? > I hav'nt been able to find them on any of the mandrake sites , including > cooker. > There are a couple of references to svgalibs on LUNI and MDK7.2 > and they are dated between 1997 and the last I've seen is 2000. You can grab the src rpm from another distro and rebuild. If you run into rpm macro errors, take a look in the /usr/lib/rpm/macros file to make sure that the macro exists. If it doesn't, the easiest thing is usually to extract the macros file from the rpm package for the distro that you got the src.rpm from. That wasn't too clear :D If you grab a redhat SRC.RPM for svgalib then try to rebuild, you may get errors such as unknown tag, macro not found, or "no job control in shell". These usually indicate missing macros in the /usr/lib/rpm/macros file and is common when compiling non-native source rpms. The workaround is to find the rpm-VERSION-i386.rpm file for the alien distribution then extract the macros file from the RPM binary (use rpm2cpio). Next, copy the relevant portions of the alien macros file into your own .rpmmacros or the system wide /usr/lib/rpm/macros file. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ancient lib
> Trying to compile a DSP package called Linrad, > its for very low level radio sigs that are below noise levels. > > It requires svgalib -1.4.3 or later, this I suspect is ancient. > using RPMfind that version seems to the same vintage as RH 6.2, > about the time of the change from 2.0 to 2.2 kernels > > I can see in configure its looking for vga.h and vgagl.h. > There is a copy of vga.h in the drivers but not the other file. > So at the moment I cant create a Makefile see below:- > [...] > checking for vga.h... no > configure: error: Must have svgalib package installed to compile > vga.h missing!!! Make sure that you have both svgalib and svgalib-devel installed. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] corrupt tar fil
> /stuff/keep_huff_sort/NewDir $ file KEEP.TAR > KEEP.TAR: POSIX tar archive > > On a tar i made just now, i get: > > /stuff/keep_huff_sort $ file tmp.tar > tmp.tar: GNU tar archive > > Any idea if POSIX tar is actually different than GNU tar? Hmmm.. I have some possibly bad news. Gnu tar can apparently read POSIX archives without problem. The issue, as you suggested, may be that the archive itself is corrupt. From a quick google it appears that transferring a tar file in non-binary mode can lead to such corruption. So next question: Did you ftp this file from another machine? If you did, did you remember to transfer in Binary mode? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] decoding DTMF
> Could you tell me how can I decode DTMF codes with a sound card? There's a project in the following link that might do what you're looking for: http://telephonectld.sourceforge.net/ -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] corrupt tar fil
> I have a corrupt tar file from way back: > > /stuff/keep_huff_sort/NewDir $ tar -xvf KEEP.TAR > keep/ > keep/c/ > keep/c/arrays.c > tar: Skipping to next header > tar: Archive contains obsolescent base-64 headers > tar: Error exit delayed from previous errors [...] > Any idea how to get around this? > > I think the file is corrupt, as opposed to "tar: Archive contains > obsolescent base-64 headers" since it's from ~1996 (which is not > *that* long ago :). Try running "file" against the archive to determine if it's actually a tar archive: > file KEEP.TAR If you see something like "compressed" then you'll need to either extract the file first then detar, or run tar with the 'z' switch: > tar xfvz KEEP.TAR If it's just a regular tar file you can try opening it in an editor to get out the text parts. There's no compression in a regular archive. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] linux complient notebooks
> I would like to get opinions from those possesing linux compatible > notebooks > without any driver problem. Further I would like to ask those possessing > intel centrino based notebooks their usability in linux for wireless > connection. Mine will be general purpose using productivity apps and also > video and audio playing from cds and dvds in addition to internet oriented > jobs. > -- As of this writing, Centrino wireless does not work with Linux. There were some postings before Centrino was released that Linux would, in fact, be supported. This was entirely marketing hype because there's no working drivers available (I just spent days trying on a Compaq X1000). Also, the power level indicator does not work correctly with RedHat 9 or Mandrake 9.1 on the above X1000. I've tried rebuilding with various patches found throughout the web but it was unreliable. I personally won't buy a Centrino notebook until Intel supports Linux fully. I don't have many other newer notebooks but here's my experience with the older ones that I own: Toshiba Satellite 4090XDVD -- older, but everything works (sound, video, modem) IBM Thinkpad T22 (800MhZ) -- older, everything also works. Dell Inspiron 3500 -- ancient, no sound (NeoMagic chipset) -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] thinkpad buttons; how to enable them?
> Hello - I was wondering how to enable the thinkpad buttons under Mandrake > 9.1 ? Things like volume control and screen brightness settings do not > seem to function under X. Any ideas? > > Thanks, -turgut > > It depends a lot on your particular window manager, but here is a start: Run xev in a terminal window to determine what the keycode settings are for the extra keys. Use these to populate your local .Xmodmap file to look like: keycode 146 = XF86Mail keycode 147 = XF86Search Umm, I was looking for a complete list of XF86 keys and found this: http://reviewed.homelinux.org/en/xfreekeyboard.html Same idea but much explained much better than I... :D -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] How to Block IE from a Website
> I don't have many pages to edit, so adding it to each and every page > would be a simple matter of copy and paste. > Just a suggestion: If you're editing multiple pages, even just a dozen, you might consider making the pages PHP based. You can enable .html as a PHP script in apache then just insert "include" directives in your HTML code to point to more HTML or PHP script. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Re: Best Use of Swap
> What I've been told in the past (albeit on Red Hat, but that shouldn't > matter much) is, that with a 2.4.x kernel you do indeed need 2xRAM due > to the way 2.4 allocates memory. Under 2.2.x, I happily used swap just > up to the amount of total memory I envisaged to be necessary. > Unfortunately, I'm not a kernel expert, so I don't know the exact > reasoning behind this advice for 2.4.x. Up to about kernel 2.4.10, swap required at least the size of RAM to be additional. In other words, if you had 128M or RAM and 384M of SWAP, you'd only have 384M working memory, not 512M. This changed after about 2.4.10 so all swap was additive, which was similar behaviour to 2.2 kernels. I think that the 2X rule of thumb originated in days when 8M to 32M of memory was common, so allocating 64M or 128M was workable. With the average machine having 512M to a gig of physical RAM this doesn't seem to make as much sense. I've written before that 1G of swap space on today's large hard drives is relatively smaller than 128M on older drives; in that light having large swap space doesn't seem so unusual. On the other end of the spectrum you can run entirely without swap by using memory overcommit and many people are happy doing so. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Fwd: Two Linuxes on the disk
> > I have two Mandrakes on my disk - one localised (CZECH) and the other US. > How > can I instruct LILO to boot on of these two instances ? I can boot only > the > latest installed. > The important thing is to have the same version of lilo available on both. Boot into the latest then mount the root partition of the second OS. Add an entry in the lilo.conf file for both versions, making sure they are identical. A *LONG* time ago I created some notes on this subject. It might be useful: http://www.digitalhermit.com/linux/dualboot.html -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] icewm
> Is there anyway I can save my theme when I start icewm? > I Really like this GUI since it uses less resources than gnome or kde. Here's a link that has some information: http://media.theare.giointernet.co.uk/XP_like_desktop_with_IceWM.html Check out part 2 about editing the .icewm prefs file. There's also a program called icepref that will do this without having to edit any files directly. It might be available from one the repositories but I haven't checked. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] wav to mp3 enmasse?
> Is there a tool for converting wav files to mp3s enmasse? > > Right now I am using Lame at the command line, but it is getting old. I > would > like to point Lame at a directory of wavs and have it encode the mp3 files > using the same name. > > Any thoughts beyond a shell script? There's a program called KBlade that works with bladeenc and KDE to allow drag and drop conversion. http://membres.lycos.fr/linzeus/kblade/ You can also make scripts inside the Gnome folder. If you select a file or directory then call the script it will get passed as a parameter to your script. You could then have your script convert everything in the passed directory. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] KDE start up is too slow!!
> Now the configuration, installation is the same as > before but now KDE is starting up too slow. Please > help me to find out the reason. Slow startup of the window manager (be it Gnome, KDE or something else) is usually caused by a network misconfiguration such as a bad hosts file, incorrect /etc/resolv.conf settings, or a bad route. If the system cannot determine its hostname, for example, it may try for a while before timing out. Do you notice constant disk activity until KDE is ready? In other words, does the system appear to be waiting or does something always appear to be going on? -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] alphabet characters
> Hey, > How do I go about using cyrillic, greek, or any other characters > in my outgoing email? I messed around pasting the characters, but > when I viewed it, it only showed the ascii character code '&'. > > -- Not very easily :( Here's a web resource for some information: http://www.hri.org/fonts/unix/ If you're trying to send mathematical documents I've found that the easiest method is to compose in LaTeX then send as a PDF or PS file. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1: partition "device busy" on shutdown
> Have had 9.1 installed on several machines for months working fine. > One had a harddrive problem this last week, so just got a new drive > and reinstalled 9.1 then did most updates. When I tried to shutdown > the machine, however, umount failed for the partition I have /home on. > Get a "device busy" message. Went into console as root right after boot > and > could umount and remount for a couple of minutes, but then suddenly > got "device busy" message (without ever having done anything that > should have involved /home). Root partition and other (/backup) > partitions > umount fine at shutdown. But /home partition will not--ever. lsof from > console lists nothing. Any ideas? Never encountered this problem before > with any 9.1 installation. Happens with both original 9.1 kernel > (enterprise) > and the latest updates one (enterprise version). Check that you don't have any automount processes running, NFS server is down, and no other open files. You can also try remounting /home as ro then fsck'ing the device. E.g.: mount -o remount,ro /mnt/home -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Sis 7012 audio
On Tue, 2003-08-05 at 13:41, Olaf Marzocchi wrote: > The stock MDK kernel shipped with 9.1 is not able to recognize it, I get no > sound. > Does the latest kernel solve the problem? > In that case, which file should I download from the ftp site? > I had a similar problem with the 2.4.20 kernel on a RedHat system ( https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91557 ). If you follow the link there's a patch to the AC97 drivers that restores sound. I had used this patch before RH shipped a working kernel. It may solve the problem for you. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] setting up CVS server on mandrake9.1
On Fri, 2003-08-01 at 13:17, James D. Parra wrote: > An "ls" displays the following: > > [EMAIL PROTECTED] /]# ls -la home/cvs > total 3 > drwx--3 500 cvs72 Jul 31 16:11 ./ > drwxr-xr-x 10 root root 216 Jul 31 09:17 ../ > drwxrwxrwx3 root cvs 1112 Jul 31 17:15 CVSROOT/ > [EMAIL PROTECTED] /] > > "cvs" is a group I created with users associated with it, including user > 'root'. You also need group r/w access in the containing directory. SO, chgrp -R cvs the repository itself. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mandrake RPM's
On Fri, 2003-08-01 at 11:57, Tru64 User wrote: > Hi, > I had a post here few days ago about RPM agonyand > was educated that it was because i was not using > Manrake specs but rather Redhat. > > Now, I am in dare need to make proftpd-1.2.8 rpms for > mandrake. The current available rpm, 1.2.5 does not > have large file support. It started support large > files in version 1.2.6 > I always do this to create new RPMS: Extract the old.tar.gz and new.tar.gz to directories. Create a diff patch between the new and old. Put this patch into the SOURCE directory and add a corresponding "patch" line in the spec file. Rebuild. The advantage of this method is that you rarely have to touch the original tarball and instead just patch away. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] VNC Gray Screen on Mandrake 9.1
On Wed, 2003-07-30 at 04:50, Sevatio wrote: > thanks, but that still doesn't work. Something tells me that I need to > do a fresh install of LM9.1 instead of upgrading from LM9.0 to LM9.1. I > just can't think of anything else that could be the problem. Sorry if this sounds harsh -- I don't mean it to be. Replacing the OS because you can't get a program to work is terribly Microsoftish. The fact that you can get VNC to show a gray screen means that VNC is not at fault, your Window Manager is (or at least how you're starting the WM is). Try running something simple, such as an xterm, from withing the vncstartup. Then, try using "startkde" instead. Post your error logs, config files, etc.. > > JOHAM,DAVID (HP-Boise,ex1) wrote: > > Here's my .vnc/xstartup file. It launches KDE in the background > > > > > > #!/bin/sh > > > > # Mandrake Linux VNC session startup script > > exec /etc/X11/xinit/xinitrc KDE > > > > > > -Original Message- > > From: Sevatio [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 24, 2003 2:07 AM > > To: [EMAIL PROTECTED] > > Subject: [expert] VNC Gray Screen on Mandrake 9.1 > > > > > > How do I get my vncserver on Mandrake 9.1 to display something other > > than a gray screen with an "x" mouse cursor? I've already done the qt3 > > updates. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Setting PATH
On Mon, 2003-07-28 at 17:25, Jure Repinc wrote: > > How do I set system wide PATH for bash? edit /etc/profile > And how do I set PATH for individual users? edit ~/.bash_profile Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Realtek 8139
On Sat, 2003-07-26 at 21:57, John Haywood wrote: > gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c > -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h > > and for the pci-scan module: > > cc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c > pci-scan.c -I/usr/src/linux/include -include > /usr/src/linux/include/linux/modversions.h > > Now the insmod on the pci-scan works, but fails on the rtl8139.o > ...any thoughts? What are the errors on insmod? Did you strip the modules before loading? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] OT: regular expression help
On Thu, 2003-07-24 at 06:01, John Haywood wrote: > [SNIPPY] > > Thanks for that, Brant. Let me state as exactly as possible what I am trying > to do: > > The file in question is a corrupt Microsoft Entourage message file. It is > 1.8Gig in size (approx). I need to step through it and convert it to an mbox > format file, by searching for patterns such as : It sounds like "formail" would do much of what you need. It reformats text into mailbox format. The other substitutions could be done with awk/sed. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] XCDRoast annoyance
Anne Wilson wrote: Hmm - I think it still holds on a while even if there's nothing in the drive. I must admit I do sometimes put a blank in before firing up, though. Anyway, I'll not do that next time, and see if it cuts the waiting time. Yup, it will do that even if empty. But it'll time out a lot faster without the disk. I've been looking at other burner applications but still prefer xcdroast overall. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] XCDRoast annoyance
On Wed, 2003-07-23 at 03:33, Anne Wilson wrote: > Lately whenever I start xcdroast the create cd page opens with the > CD/Image Info selected. This results in a wait of a minute or so > before I can do anything. Has anyone else had this problem, and is > there a fix? I think it has been ever since I installed the version > in 9.1, but I'm not sure. > It does the same for me and for all versions that I've tried. The only thing that seems to help is to push the eject button and it will sometimes pop the disk. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Screen saver for a background and other eye candythoughts
On Tue, 2003-07-22 at 17:33, Jim C wrote: > Anyway, I remember way back when... I ran a screen saver as a background > for my desktop. It was especially cool. This was quite a long time ago... > I've long since fogotten how to do this but if anyone can give me some > tips I sure would appreciate it. I do remember something about "running > it in the root window" or something. I think I had to edit an X (or > was it KDE?) startup script too. Interesting. Some of the DVD and movie player software display images on a certain background color. That is, anywhere there's that color will have video. You might be able to set the background to whatever the color is then play a full screen video. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] init.d
On Tue, 2003-07-22 at 05:56, David Hláčik wrote: > Hi ... i wrote my own script ... and i want it to start at boot ... how? > Take a look in the /etc/rc.d/init.d directories (as you've seen). The scripts all follow the same basic setup. These are some of the requirements: # chkconfig: 2345 95 05 This line tells (along with the chkconfig utility) tells which runlevels the script will start in. Here, it will start in runlevels 2,3,4 and 5. The 95 tells at what point in the startup it will get executed. The number ranges from 00-99, with higher numbers getting executed later. For example, you'd want something like mounting network shares to start after the network is started. The last 05 tells at what point in the shutdown (or runlevel change) the script should be executed. In this case it's near the beginning of the shutdown. The start(), stop(), restart() and other functions in the script are called when runlevels change or the /sbin/service utility is used directly. For example, during bringup the system will do a "service network start" at some point. The start() function gets called, network starts. The same thing for the others. To configure the script you'd then just do: chkconfig --level 2345 on This creates the necessary symlinks in /etc/rc.d/rc[0-6].d Of course, you could always just drop it into /etc/rc.local which gets executed at boot. It's not as flexible as the above though. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] How to transfer from standard input to remotehost
On Sat, 2003-07-19 at 11:08, Jack Coates wrote: > On Fri, 2003-07-18 at 13:20, diego wrote: > > I want something similar to ftp but accepting input file to transfer > > from standard input to be able to do something like: > > > > tar cz * | ftp remotehost > > man ncftpput > netcat will also serve this purpose. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Backup Remote Windows 2000 Box with Linux
On Mon, 2003-07-14 at 23:12, Sevatio wrote: > The connection has a max data-rate of 256Kb/sec. Rsync for > Incrementals? How does Rsync connect to a Windows box? > There's a Windows rsync client that you could use. I've never tried rsync to a Windows rsync server, but the reverse seems to work fine (windows client to Linux rsync server). That is, I've not had any major problems, though setup wasn't exactly smooth. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Backup Remote Windows 2000 Box with Linux
On Mon, 2003-07-14 at 19:56, Sevatio wrote: > What are some methods for doing full and incremental backups of files in > a Windows 2000 box located remotely using a mandrake box? Any > recommendations and sharing of your techniques would be greatly appreciated. What sort of connection do you have between the machines? If it's relatively fast, you can try something like "g4u" which does a complete disk image. Depending on lots of factors, you could also try: 1) Backup to CD-R for the initial backup, rsync for incrementals. 2) winscp to the Linux ftp server 3) WinCVS to a Linux CVS server Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] CDRW
On Sat, 2003-07-05 at 13:31, dfox wrote: > Is it pretty much a plug-n-play situation these days? I'm likely going > atapi, and have a spare connnector (/dev/hdd). I've seen combo dvd > readers/cd rws. are these supported? There a several out there that are > 'bare bones' it seems - prices under $50. I have 4 Lite-On burners that work flawlessly. All were under $60. The DVD/CDRWs tend to be a little higher. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] command line to be executed every reboot
Octavi Fors wrote: > > > Hi, > > > > > > I would like that a certain command line as > > > > > > chmod 666 /dev/v4l/video0 > > > > > > is executed every time I reboot my PC running MDK8.2. > > > > > > What should I do? > > > In which script under /etc should include such command line? > > > There should be a file called devfsd.conf in /etc or in /etc/sysconfig. That's really the best place to make permission changes to devfs. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Unknown problem
On Wed, 2003-07-02 at 14:22, Leonardo Sá wrote: > My mdk9.0 server was running fine (almost fine, it had some freezing problems > that i've posted in this list sometime ago) until the moment I tried to > access the webpage. I figured out that it went offline. > > So, when I turned on the server screen to see what went wrong, i saw this: > > _alloc_pages:0-order allocation failed (gfp=0x1d2/0) > _alloc_pages:0-order allocation failed (gfp=0x1d2/0) > VM: killing proccess add_members The error messages were found in page_alloc.c in the kernel sources and seem to indicate that you completely ran out of memory (both swap and physical). This is only a guess, but you might try logging memory usage to another machine. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] booting a kernel compiled with "athlon" results inkernel panick :/
On Sat, 2003-06-28 at 04:21, Adrian Golumbovici wrote: > Hi all, > > Have a funny problem. I tried optimising my system by recompiling the > kernel to gain a tad of speed. And since I have an Athlon XP 2400+ I thought > it might make sense to select athlon in the config. I didn't change at that > point any other kernel option in comparison with my bootable config. Funny > stuff. It compiled just fine, but when booting as soon as it starts to load > the kernel (immediately after it passed lilo), screen goes black for good, > keyboard lights flicker short and reboots. Isn't the Athlon option supposed > to be used with Athlon processors?!? Any clues on what could go wrong with > that option? Did you completely clean the build tree before compiling the kernel? It's possible (and likely) that some parts weren't completely rebuilt if you didn't wipe everything. Make sure to save your config before doing so though. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Building RPMs for NVIDIA
On Tue, 2003-06-24 at 21:55, Greg Meyer wrote: > > What exactly does a dummy %prep and %build section look like? It would just be an empty statement, such as an 'echo Doing prep'. In other words, you build and install the NVIDIA script normally on the first box. Find all the modules that the script adds, then drop them into a tarball. In your spec file, do nothing for the %prep and %build. In the %files section, list all the files/modules that were added. When you rebuild the tarball it will contain only the necessary files. There's a program called rpmrebuild on freshmeat that does a similar thing. Let me know if you need more specifics. I don't have a 9.1 machine with an NVIDIA card so can't actually test. I've done this lots of times for other files that I wanted to track with RPM though. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Building RPMs for NVIDIA
On Tue, 2003-06-24 at 13:23, Alan Wilter Sousa da Silva wrote: > Hi List! > > I have to compile my own linux kernel and I can build a RPM to install in > others boxes. However, NVIDIA drivers seems to not allow me anymore to > rebuild RPMs as it used to be. It's not practical to compile a kernel at > every box, just to install nvidia drivers from NVIDIA*.run. Moreover, I > find a /usr/src/RPM/SPECS/NVIDIA_kernel.spec. So, could someone help me > about how to build a RPM for Nvidia drivers from my linux kernel-source > customised? One thing you might consider is just creating a spec file with dummy prep and build sections and then just listing any new files that the NVIDIA script installs. This is done in the %files section of the spec file. You could also add a sed script to replace the nv driver in the XF86Config file and place this in %install. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] slow samba
On Wed, 2003-06-18 at 03:31, Brant Fitzsimmons wrote: > Hi all, > > Can anyone tell me why it's not possible to get a transfer speed of more > than 3 to 4 MBps when transferring files to or from a Windows file > server using a Linux client, or to or from a Samba server to a Linux > client, when you can get 8 to 9MBps when transferring files to or from a > Samba server using a Windows client? > > Is this usual, or do I have something configured incorrectly? Way back I had similar problems getting Windows ME to play correctly with the rest of the Samba network. Win98 and Win2K machines worked flawlessly. After many hours of teeth gnashing, switching cables, checking duplex settings, configuring TCP_NO_DELAY and adjusting window sizes, moving to a switched hub, disabling some authentication, etc., etc., I was able to fix the problem by mapping a network drive. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Suggestions to help Minimize List Email Traffic
On Mon, 2003-06-16 at 11:23, Tru64 User wrote: > After a question is posted, all replies should go > directly ONLY to the person who posted the question. > After a satisfactory resolution, the original poster > should then post a SUMMARY:, which is a description > to what/how the problem was solved, to the list. > > If responses slow down, and problem has not been > resolved, then the original poster can submit an > UPDATE: to the status of his problem if not resolved. > I certainly don't agree with limiting threads to 2 or 3 posts. The whole spirit of the list is to allow open collaboration and the sharing of knowledge. Sure, there's noise but the moderators have responded to OT posts before. I for one will absolutely not continue to read or respond to any list where the posts are not publicly available. > Finally, if a problem is never resolved, send a > SUMMARY anyway, to say that problem was not > resolved/or no replies. U might be suprised how many > more may reply then, since they always assumed someone > else had : -) > Sure, a summary post is always polite, especially in cases where the poster gets private responses. I send quite a bit of private mail because the original post may be OT for the list. > That way, every post will have mostly 2-3 total > entries only. > > 1. Original Question > 2. (Optional)UPDATE & > 3. SUMMARY. A better idea is to read the Usenet etiquette guidelines. You don't need to agree or follow every one of them, but some make sense. For example, when replying to a post, quote only the relevant portions of the email. This list has had some very long emails, quoting not only multiple signature lines, but every response in the thread. Many times only one or two lines were added to a hundred plus line post. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] updatedb prob
On Sun, 2003-06-15 at 18:09, Brian V Bonini wrote: > > [EMAIL PROTECTED] ~]$ su > Password: > [EMAIL PROTECTED] brian]# updatedb > /usr/bin/updatedb: line 13: 16857 Broken pipe > /usr/bin/slocate -c -u -l"$SECURITY" A thread a while back mentioned that some functions are disabled because of msec. This applied to remote logins then su'ing over to root. The workaround was to login directly as the root user. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] alphabetizing / sorting seems screwy
On Sun, 2003-06-15 at 17:44, eric huff wrote: > Hi Folks, > Is there any way to set the default linux alphanumeric order? > > I can't remember from my unix days anymore, but the last several years i > have happily placed _ at the beginning of filenames and directories i > wanted to show up first. > But that doesn't work. I have noticed it even ignores _'s in the middle of > a word. And didn't files that started with "." show up first, too? > > I have this "problem" with lots of apps (galeon, rox, xterms, etc). > It's probably a function of your LANG variable. What is it set to now? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] updatedb prob
On Sun, 2003-06-15 at 10:47, Brian V Bonini wrote: > What's going on here? > > # updatedb > /usr/bin/updatedb: line 13: 15907 Broken pipe > /usr/bin/slocate -c -u -l"$SECURITY" Not running as root? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] HP 315 Digital Camera
On Thu, 2003-06-12 at 22:47, Derick Schmidt wrote: > Hi > > Does anyone know how I could get my HP 315 Digital Camera to work with > Mandrake 9.1 > Which program should I use? I have the hp318 which I understand to be compatible with the HP315. I use gphoto2 to extract images from the camera. Before I got gphoto2 working, I used a USB based Sandisk CF reader which mounts the CF as a scsi device. You can then just move images from the mounted filesystem. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] new server, old users
On Wed, 2003-06-11 at 19:19, Mark Williamson wrote: > Using the "usermod -p " it will pass the already hashed or md5 > encrypted straight to the new /etc/shadow file, that's not the problem > with the script.. it's the accuracy of the line > PASSWD=`grep ${USERNAME}: /etc/shadow | cut -d: -f2` > (I might have to use a awk line or something here) > and the other problem is that bash scripts often interpret the "$" > symbols from the already md5 passwords out of the old /etc/shadow file, > not sure if that is the case here, as I haven't totally tested the > script. You're right...mea culpa mea culpa... Never used that particular option before. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] new server, old users
On Wed, 2003-06-11 at 11:30, Mark wrote: > > if [ "$USERID" -gt "499" ] && [ "$USERNAME" != "nobody" ] ; then > echo groupadd -g ${GROUPID} ${USERNAME} > echo useradd -u ${USERID} -g ${GROUPID} -c \"${COMMENT}\" \ > -d ${USERDIR} -s ${USERSHL} ${USERNAME} > PASSWD=`grep ${USERNAME}: /etc/shadow | cut -d: -f2` > echo usermod -p \"$PASSWD\" ${USERNAME} > fi > done It looks like your setting the password to the hash.. Unless you replace the new shadow with entries from the old this won't work. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Evolution Editor (was Evolution Browser)
On Tue, 2003-06-10 at 08:46, Steven Broos wrote: > On Tue, 2003-06-10 at 13:43, Mark Belanger wrote: > > > > > http-show=galeon "%s" > > > > > https-show=galeon "%s" > > > > > ftp-show=galeon "%s" > > > > > > > > On a similar note, do you know of a way to change the Evolution editor > > > > to something else (preferably vim)? > > > > > > This doesn't work(at least for me). Setting > > GnomeControl->Advanced->PreferredApplications > > does not affect evolution. > > > > I didn't see anything obvious in "File types and programs" > > I know Gnome-control doesn't set the browser properties right. That's > why I said you have to edit that file... Did you try that already ? Yes. tried in the file you suggested and searched everywhere else. I have a feeling that the editor is part of the app and not configurable. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] new server, old users
On Mon, 2003-06-09 at 19:25, Mark Williamson wrote: > Hi Kwan, > > Nice looking script, but did you try it? But it seems to have problems, > getting the fields mixed up.. > Nope, just wrote it on the spot.. Sorry... Lemme see..Try this... #!/bin/bash # kwan:x:500:1000:Kwan Lowe:/home/kwan:/bin/bash IFS=$'\n' for item in `cat /etc/passwd`; do USERNAME=`echo $item | cut -d: -f1` USERID=`echo $item | cut -d: -f3` GROUPID=`echo $item | cut -d: -f4` COMMENT=`echo $item | cut -d: -f5` USERDIR=`echo $item | cut -d: -f6` USERSHL=`echo $item | cut -d: -f7` echo useradd -u ${USERID} -g ${GROUPID} -c ${COMMENT} \ -d ${USERDIR} -s ${USERSHL} ${USERNAME} done Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Evolution Editor (was Evolution Browser)
On Mon, 2003-06-09 at 17:37, Steven Broos wrote: > > http-show=galeon "%s" > https-show=galeon "%s" > ftp-show=galeon "%s" On a similar note, do you know of a way to change the Evolution editor to something else (preferably vim)? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] new server, old users
On Mon, 2003-06-09 at 08:39, Alan Wilter Sousa da Silva wrote: > Hi List! > > I'll set up a new server (MDK 8.0 -> 9.1) and I would like to > keep the same users, but without cloning or copying /home folders. I > know I can copy /etc/passwd file. But I don't know how to regenerate > automatically new /home/users folders (from /etc/skel ?) without using > userdrake (or similar). I would like to keep gid and uid numbers. > > Is there a way, how-to, or tip to do it. > > Many thanks in advance for any help. You could do something like this: #!/bin/bash for item in `cat /etc/passwd`; do USERNAME=`echo $item | cut -d: -f1` USERID=`echo $item | cut -d: -f3` GROUPID=`echo $item | cut -d: -f4` COMMENT=`echo $item | cut -d: -f5` USERDIR=`echo $item | cut -d: -f6` USERSHL=`echo $item | cut -d: -f7` echo useradd -u ${USERID} -g ${GROUPID} -c ${COMMENT} \ -d ${USERDIR} -s ${USERSHL} ${USERNAME} done Remove the "echo" to actually run the command. Let me know if you'd prefer an awk version... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] DNS Question
On Fri, 2003-06-06 at 17:17, Sevatio wrote: > Is there a way to setup the DNS server to point a domain name to IP > address "A" and if the machine at IP "A" goes down, the DNS would then > point to IP address "B"? > Try this link: http://www.m-tech.ab.ca/download/bindmon/ You should be able to do the same thing with a script that, say, pings the old machine. If the ping fails, it would run a script to edit the host entries in the zone files then restart bind. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] DMA on hard drives turned off?
On Thu, 2003-04-03 at 17:31, David Guntner wrote: > I seem to remember that there's a command you can stick in your rc.local to > turn drive DMA on. Can anyone let me know what it is? And, of course, if > there are any pitfalls I should be aware of regarding using it with any of > the above three drives? Thanks for any info. The old way was to use hdparm in an init script. I believe that all recent distros use /etc/sysconfig/harddisks for the same purpose. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Benefits of recompiling the kernel
On Thu, 2003-04-03 at 15:35, Joan Tur wrote: > Well there's something that's going to happen: the memory the kernel uses is > lower if you compile it with only the options you're going to need. 2 > examples: > > 1. Laptop, 224MB RAM, from 101 to 80MB (MDK 9.1): 21MB memory saved. > 2. Server, 72MB RAM: from 65,9MB to 57,4MB (MDK 9): 8,5MB memory saved. > > Amounts have been checked after booting, using a console, using top command... I'm not sure that I'm reading your numbers correctly. Is 224M your total RAM on the laptop (I'm assuming a 256M machine with 32M allocated for video)? Is it possible that you're reading file/buffer allocated memory as free/not free? What does the following command report on both new/old kernels? dmesg|grep ^Memory This should report a kernel code number that, even in the most fully loaded kernels, shouldn't be greater than a couple Meg or so. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Benefits of recompiling the kernel
On Wed, 2003-04-02 at 11:29, Robert Crawford wrote: > Kwan, > I would think that since that doc was written in Sept. 2001 before the new gcc > was in use, that trying to optimize newer cpus with an outdated gcc lacking > the options those cpus offer would not make much difference- thus the > negative opinion. Apparently, cpu development outpaces versions of gcc. From > what I've been reading, and by personal experience with gcc 3.2.2, it is > making a difference. Of course, others strongly disagree, and maintain > optimizing is a waste of time. As for myself, I'm a big fan of trying to get > all I can from my hardware. > Hi Robert, Sure, I'm a big fan of pushing machines to the limits of their performance. In fact, I've been rebuilding kernels for years and still get quite a few hits to my kernel rebuild guide (enough so that searching on 'linux kernel rebuild' on Google still has it in the top five). The main argument is that CPUs have gotten a lot faster in the past couple years so that the contribution that the kernel makes to overall performance is less and less. I'm not saying that changes to the feature set of the kernel won't make a difference. Clearly some of the scheduling and latency patches make noticeable performance gains. However, there's little to be gained from say, not building all loadable modules or even just rebuilding for a particular CPU. In the case of modules, the module loader is very smart about freeing resources so there's negligible overhead in the loading/unloading of modules. The extra few K of memory used for the module loader itself is insignificant on today's machines. Even without the fact the major distributions build processor specific kernels, optimizing for Athlon vs i686 will still not gain any real-world improvements. It would be better to rebuild the most used libraries than the kernel. Of course, this changes in low memory or low performance machines. I've built dozens of kernels for embedded systems and some optimizations will make great differences. But then we're talking about 50MhZ MIPS or PowerPC machines here, not the run-of-the-mill 1.53GhZ Athlons. It also comes down to time and money. If, for the sake of argument, we say that a kernel rebuild will give an all around 5% boost to processing speed,then we can say that a 1.575GhZ optimized processor will be equivalent to a 1.5GhZ unoptimized processor. This is about equivalent between two models of an Athlon XP as far as percentage change. The difference in cost between these two speeds is about $5. So in a real world situation it would be better to just upgrade the CPU and this is assuming a generous 5% overall speedup. In most cases the differences will be about 1% or less. Of course, rebuilding for the pure joy of pushing your machine to the limits is very worthwhile and satisfying. :D This is often my reason for some of the weirder things I've tried, including all my recent kernel rebuilds. All said, I'm sincerely interested in any benchmarks you may have to bolster the argument for rebuilds. I'd be glad to either link to it or incorporate your findings (with all due credit, of course). Looking forward to hearing more, Kwan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1 First Day recap
> My All In Wonder 128 PCI was also incorrectly detected and now Gatos > fails with the message > relocation error: xatitv: undefined symbol: __7IWindowPcT1PUlii [snip] > I would love to hear if you have success with either or both of these > problems. OK, television is working now. I had to rebuild the package from source. Check rpmfind.net for the src rpm. Install the src rpm but do not rebuild. You'll need to either add this section to the spec file: 85 %{_mandir}/fr/man1/* 86 /usr/bin/* 87 /usr/lib/libgatos.* 88 /usr/include/gatos/*.h <-- Add this line Or set %_unpackage_files_terminate_build 0 This will allow the package to build under rpm 4.0/Mandrake 9.1. If you'd like to try my binary I can send it to you privately. -- Kwan Lowe <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 3rd Day Recap
Onto my third day using the new 9.1 edition. In case anyone's interested, I thought I'd followup on a few items: 1) Sound works beautifully now. It's crisp, doesn't clip, and has not had any dropouts or pauses even while moving windows around. Did Mandrake patch anything that would cause this welcome improvement? I'm using the i810 drivers now. It was being picked up (correctly) as a VIA 82Cxxx but this wasn't working. Overriding draksound allowed sound to play. There were a couple remnants of the old driver left in modules.conf that I had to clear out to get it to load properly on boot. 2) USB is still not working. USB Keyboard/Mouse work fine but so far no cameras or scanners are detected. It's probably the fault of this crappy Biostar board. 3) CDROM is working perfectly now. Not sure what did it, but I had tried jumpering the drive as master and swapped it to different interfaces. It's back on the original master drive on secondary IDE controller but is now working where before it was not. The one glitch I noticed was when I put in a blank CDR into the drive and used Konqueror to browse to /mnt. The application froze for about two minutes trying to mount the unmountable disk. 4) urpmi is awesome. MandrakeUpdate rocks. I've been a big Debian fan for a long time because updates have always been so easy. Mandrake definitely wins this time, though. Also, not having to search through CDs for a package is a big time saver. I'm giving a presentation in a couple weeks on RPM usage and will use urpmi as a response to those who mention RPM dependency hell. 5) xine does not have all the proper codecs for some AVI files. Still looking for packages to fix this. DVD playback is somewhat important too since this will be a demo machine. MP3s worked out of the box, unlike the RedHat installation. Still no television... 6) Nitpicks: It would have been nice to have my scroll mouse automatically detected and configured for web scrolling. The green on blue bootup text is difficult to read on some monitors because of the contrast (or lack thereof). 7) Major stuff: Everything seems faster. I'm guessing this is because of the new GCC. KDE is certainly more responsive than before. Everything seems well integrated and yup, very professional. I've been using the common desktop apps (Evolution, Konqueror, XMMS, OpenOffice) for the past couple days and like what I see. I was going to suggest that the menu system adopt a more purpose friendly naming convention (Audio Player vs XMMS, Email vs Evolution) but the "What to Do" entry works a lot better. This may be my imagination, but the box also seems to run cooler. Is there anything in the kernel that could possibly have done this? -- Kwan Lowe <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Benefits of recompiling the kernel
On Wed, 2003-04-02 at 09:16, T E wrote: > Hi all, > > I have searched the web for the answer to my question > but have found conflicting info. So I turn to you, > experts! > > What exactly are the benefits of recompling the kernel > (besides support for new device)? > > I have asked this question before, and was told that > it optimizes the system to work more efficiently. > However after reading: > > http://www.mandrakeuser.org/docs/install/kupgrade.html > > The writer states he has never seen kernel recompling > produce a faster machine. Other posts on the web seem > to hint that kernel recompiling is a thing of the past > or a signal . Whats the deal here? I've tried > recompling before on mandrake 8.2 and have had mixed > results. However, I noticed that you have the option > to specify the processor type (which makes me think > that would make it perform faster?). A kernel recompile won't produce a faster machine (at least, not in the conventional sense). It can, however, make the perceived speed of the machine seem faster. For example, some of the low latency and pre-emptible kernel patches for the 2.4 series can improve the desktop response. More recently, some of the scheduler changes can make simple things like MP3 playback smoother. Keep in mind that these are patches to the default (i.e., Linus Torvalds) kernel. Mandrake may already have applied many of these patches so you might not gain a thing. Another reason may be for stability. The stable Linux kernel is just that, stable. However, distributions often apply other patches and features that may not have been thoroughly tested on diverse platforms. This is not necessarily a bad thing since it makes many of the more esoteric but useful kernel features available to the end user. In a server environment, however, removing experimental or not as thoroughly tested features can lead to improved stability and even better security. (NOTE: This is not to say that distribution kernels are unstable. Unless you're using features from a Cooker or experimental kernel, the default Mandrake kernels have been exceptionally stable for me). There are also other patches that don't make it to the distributions -- cutting edge or arcane features -- that requires a patch/rebuild. For example, there are certain security patches that can limit problems with user applications that can lead to breaches. Using this (as part of a layered security setup) can reduce your risk of getting rooted. -- Kwan Lowe <[EMAIL PROTECTED]> -- Kwan Lowe <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Unknown processes...
On Tue, 2003-04-01 at 19:33, Leonardo wrote: > I have these running... > > keventd > kapmd > ksoftirqd_CPU0 > kswapd > bdflush > kupdated > mdrecoveryd > kjournald > > ... and i'm deperate to free some system's resources. I don't have any ideas > about what they are, and I would take some time in google trying to find > what these process are. > So, can I kill (or disable) some of them? > In a word, no. These are all kernel related processes for various functions. They also don't take up a lot of resources anyway, so even if you could, you wouldn't gain much. Is there something wrong with your machine? What symptoms are you experiencing? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] [squid-users] running out of file descriptors
On Tue, 2003-04-01 at 07:42, Mike Rambo wrote: > We're running squid-2.4.STABLE7-2mdk on Mandrake Linux release 9.0 > (dolphin) for i586. It's been running ok for a few weeks. I noticed this > morning numerous "WARNING! Your cache is running out of filedescriptors" > errors in cache.log. > > Googling didn't come up with anything definitive. I did find a couple > of ML messages about editing a header file in squid and recompiling but > I hesitate to embark upon that adventure without knowing for sure that > it is really related to my problem. > > Does anyone have any experience with this problem or know what that > error refers to? > Do you know if this is an application limit or one in the Linux kernel? What does your /proc/sys/fs/file-max value show? Are you approaching this value? Also, try doing a 'ulimit -a' from the squid user account and check if the 'open files' value is small. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] 9.1 First Day recap
On Sun, 2003-03-30 at 09:52, James Sparenberg wrote: > > I believe now that the network problem was related to the dhclient > > startup. Putting in a static IP seems to have worked around the problem > > but I'm still trying to confirm this. There's about a 5 second delay > > when I run dhclient manually to when it gets an IP address. This delay > > may be causing something else to fail. Maybe I'll reorder the network > > startup... >Just curious if you use dhcpd instead of dhcp-client does it display > the same problems? It has the same delay with all clients I've tried (my dhcp server has quite a few addresses linked to the MAC so it may be the problem). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: openssh was: Re: [expert] 9.1 First Day recap
On Mon, 2003-03-31 at 23:18, Vincent Danen wrote: > In fact, because of this, I don't understand why Thierry made it runable > from xinetd. Sure, it's possible, but it's so inefficient to make it pretty > much worthless. I just thought I'd add that I've always run sshd standalone. I just happened to be in the ./xinetd.d directory (installing a tftp server) when I installed sshd. Not really thinking (and also noticing the sshd-xinetd file) I went ahead and enabled it. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] samba
On Mon, 2003-03-31 at 15:44, richard bown wrote: > Now I'm confused :( > > The windows box only has 2 users, both have a null string as a password, > ie I login as "richard" with a blank password. > When I login to this box as a user "richard" and the password is > "richard". > I dont think linux likes null strings as passwords. On the Linux machine you'll need to create equivalent samba users with: smbadduser richard:richard It will prompt for a password. Just press Enter to disable the passwords. > > But surely the login is the icing on the cake, I would expect with both > smbd and nmbd running, for windows to at least show this box in its > network neighbourhood,, it only shows its self "WINBLOWS" in MDKGROUP. > There are 4 interfaces on this box as far as the firewall is concerned > 1 the public interface,, heavily protected > 2 a slip link internal to the machine ...trusted > 3 local.. again trusted > 4 lan pretty open OK, to verify that it's not a firewall issue, do the following: On the Linux machine, login as the 'richard' user. Then type: smbclient //FW-GB7TF/public -U richard You should be prompted for a password. Press Enter for a null password or Enter the password if it's not null. When the SMB prompt appears, type 'dir'. You should get a listing of the local Samba share on the Linux machine. If you can't do this it tells us that something is wrong with the Samba configuration. BTW, the FW-GB7TF name is from the config file that you posted. Normally you'd change this to something more friendly. Please also verify that you are indeed exporting a /public share with: smbclient -U richard -L localhost Look for the appropriate entries in the Sharename column. If you can browse the share, go over to the Windows machine. In the START|RUN dialog, type //FW-GB7TF/public. If you don't get anything then it's almost certainly a firewall issue. > the windows box is on the latter. > I'm not seeing either smb,nmb or cups broadcasts on the lan interface, > but the firewall log show cups broadcast being dropped on the public > interface...stops the world using my printer :)) > > > route -en shows 44.131.90.0 netmask 255,255.254.0 to the lan interface, > and the routing to that subnet is working. > However, as per my earlier mail when smbd and nmbd are restarted I see a > log message > "samba is now logon server for workgroup MDKGROUP on subnet > 44.131.90.129" > > thats the address on the internal LAN for this machine, subnet > 255.255.255.255 > > I've missed something fundamental, but I cant see it > > TIA > > Richard > -- > richard bown <[EMAIL PROTECTED]> > > > > > > > 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] 9.1 First Day recap
On Mon, 2003-03-31 at 16:25, Vincent Danen wrote: > > You need to actually start openssh... installing the rpm doesn't > automagically start it after you install the rpm. You have to "service sshd > start" and then it will create the keys if they don't exist. > OK I see what happened... The package created both an xinetd and standalone version of the run scripts. The standalone version functions correctly. When started via xinetd it does not create the keys. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] 9.1 First Day recap
On Mon, 2003-03-31 at 12:43, David Stevenson wrote: > Not quite sure how to fix your problems, but it smells of modules not > loading or in need if aliasing. The fact that networking loads OK, seems to > point that the module was not loaded at the time it was started by the boot, > but once boot has finished all is OK. I believe now that the network problem was related to the dhclient startup. Putting in a static IP seems to have worked around the problem but I'm still trying to confirm this. There's about a 5 second delay when I run dhclient manually to when it gets an IP address. This delay may be causing something else to fail. Maybe I'll reorder the network startup... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1 First Day recap
On Mon, 2003-03-31 at 13:56, Vincent Danen wrote: > On Mon Mar 31, 2003 at 11:25:39AM -0500, Kwan Lowe wrote: > > [...] > > 3) Openssh-server wasn't installed. After manually installing with rpm, > > the server host keys needed to be manually created. > > Are you sure? They should be automatically generated the first time the > server runs (the initscript handles this, not the rpm itself). > Hi Vincent: I'm sure that the /etc/host_rsa_key wasn't there after the rpm installation. I had just installed the openssh-server rpm and tried to connect. On the client side I got an error so I tailed /var/log/messages. It complained that the host key was not available. Checking /etc/ confirmed this. I'll be re-running this installation on a more up-to-date box and will try to confirm if this was just some glitch with my particular setup. Thanks, Kwan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 9.1 First Day recap
I thought I'd share my experiences with the 9.1 Download edition and hopefully get some feedback on a few remaining issues: A few snags in the installation: 1) All in Wonder 128 AGP card was showing up as a Rage card. No TV software was installed however. Installed xawtv but it complained about the lack of v4l devices. Normal video works well though and I no longer have the occasional mouse pointer corruption or video corruption when switching between virtual consoles and X. 2) Sound wasn't detected properly for the built-in audio on a Biostar m7vkb motherboard. The machine also locked up completely while playing an MP3 but this may be because I used the i810 driver. Not sure yet... 3) Openssh-server wasn't installed. After manually installing with rpm, the server host keys needed to be manually created. 4) CDRW was not properly configured. Mount seems to complete but cd'ing to the /mnt/cdrom gives and input/output error. The machine can boot with the CDROM however. 5) USB was not working. Tried using the usb-uhci modules but neither my HP318 digital camera or Sandisk reader worked. Keyboard/Mouse worked fine though. 6) Linksys ethernet card is not starting automatically on boot. Running a network restart fixes the problem though. I still haven't determined why it doesn't start properly since sysconfig shows it as ONBOOT and no other actions except the restart is required. 7) urpmi installations are painless once the sources are properly configured (did this to get around the CD mount problem). 8) KDE 3.1 is noticeably faster than before. It also looks a lot better as far as consistency among icon sets, fonts, graphical elements, etc.. The new Konqueror is now my default browser because of tabbed browsing. I'll try this later on an ECS K7S5A board with which I've had excellent results before. If I can get the television and usb working I'll keep the 9.1. It'll be difficult to drop back to 8.2 but I'll need to do so if these don't work. All this said, there's a lot to like about the new version. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] samba
On Sat, 2003-03-29 at 11:26, richard bown wrote: > # Global parameters > [global] > workgroup = MDKGROUP > netbios name = FW-GB7TF > server string = Samba Server %v > encrypt passwords = Yes > map to guest = Bad User > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = cups > domain logons = Yes > dns proxy = No > printer admin = @adm > printing = cups > This looks fine though you might try deleting the 'map to guest' entry. You also don't have a publicly defined share. Try adding one with: [public] comment = Public Share path = /home/path_to_shared_dir writeable = Yes create mask = 0664 guest ok = Yes sync always = Yes oplocks = Yes Make sure that you chown and chgrp the directory to a user readable by the login user. Remember that for directories you'll also need to set the execute bit. Eg, chmod 775 /home/PublicShare chown sambauser:samba /home/PublicShare Also, check that you don't have any errant 'interfaces', 'hosts allow' or 'hosts deny' entries in smb.conf. If you do, verify that the masks and addressing is sane. What does the contents of your smbusers file show? > [homes] > comment = Home Directories > read only = No > browseable = No > > [printers] > comment = All Printers > path = /var/spool/samba > create mask = 0700 > guest ok = Yes > printable = Yes > print command = lpr-cups -P %p -o raw %s -r # using client > side printer drivers. > browseable = No > > [print$] > path = /var/lib/samba/printers > write list = @adm root > guest ok = Yes > > [pdf-generator] > comment = PDF Generator (only valid users) > path = /var/tmp > printable = Yes > print command = /usr/share/samba/scripts/print-pdf %s ~%u > //%L/%u %m %I > "%J" & > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] samba
On Sat, 2003-03-29 at 10:23, richard bown wrote: > Just moved up to 9.1,,,nice :)) > > Is there anyone will to assist me off line setting up samba, the setup > using SWAT looks OK, but I cant get the windows (2000) machine to see > the printer or files on the linux machine. > Ive rtfm'd several docs which just causes more confusion. > It just about worked , when it felt like it, with Mdk9.0. > Its a config issue which I'd like some assistance with please > What errors are you receiving on the client side? Can you browse the shares in the Network Neighborhood? A few things to check include: Are the correct samba users configured (smbadduser)? Is firewalling turned on/off on the Linux machine? Is the workgroup name correct? Do you have TCP/IP connectivity between the boxes? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Product Question
Hello All: I've been a very happy 8.2 user for a long time. Now that 9.1 is out I'm considering upgrading a machine. Just a couple questions: 1) Does 9.1 have an easy DVD playback solution? I.e., do either the installation CDs come with all appropriate RPMS (including libdvdcss, dvdread, etc) or are Mandrake specific packages availalble online? 2) If there a way to purchase the the $39 version without shipping? In other words, charge my credit card but point me to a priority access server for downloading the ISOs? Thanks Kwan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Port not open MDK 9.1 RC2
On Mon, 2003-03-24 at 14:43, Bill wrote: > iptables is off. hosts.allow shows All:All > The only line I have ion Hosts.deny is > > ALL:ALL EXCEPT 66.47.48.52:DENY > > I casnt find a log file that shows attmepted connects to port 110 or > anything that shows pop3 CHeck your messages and security log... > > the configuration in xinitd for ipop3 looks fine is there another config > to look for. > > Nmap still shows nothing open for port 110 > chkconfig shows ipop3 running Do you have ipop listening directly to the port? Normally you shouldn't see ipop running until a connection attempt is made if you're running through xinetd. Try killing that ipop3 process then restarting xinetd. > drakfirewall shows everything is allowed from everywhere > Postfix is working I can send mail out. > port 110 will not allow connections from either localhost or from my other > boxes. > Take a look at the ipop binary in sbin. Make sure that the permissions are set correctly. Try reinstalling the package that owns ipop3d (IIRC, this is part of the imap server). Make sure that the path to the binary is correct in the xinetd configuration. Look at the PAM configuration and make sure it exists. Check that an entry exists in the /etc/services file for port 110. Manually restart xinetd. > I am completly stumped. I even tried installing qpopper and that was no > help. somewheres something is preventing that port from being open. I just > cant find it nor can I find any log file that would give up any clues. > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Port not open MDK 9.1 RC2
On Mon, 2003-03-24 at 09:17, Bill wrote: > chkconfig --list > > ipop3 is running. Nmap does not show a port with ipop3 using it. Iptables > has no rules set. I checked hosts.allow and hosts.deny and add all:all to > allow but does not help. Drakfirewall has allow all. How can I get port > 110 to open. > Other possibilities may include: tcpwrappers disallowing the connection? Look at the /etc/hosts.allow and hosts.deny files. >From the machine running the pop3 server, can you telnet to port 110? If so, then try disabling iptables completely to test. Check the ipop3 configuration and log files. It should log all connection attempts -- does the log show any errors? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com