Re: [expert] what to do when "Socket in use"?
On Tue, 2002-06-25 at 18:53, Jeremy Mereness wrote: > > Thenks for the reply. It only happens to me when I print over SAMBA. Printing > locally is fine. > > I will take a look thru the cupsd.conf file as suggested. Do you have any > advice how to investigate a "could not bind; socket in use" message? Such as > determine what other process is using it? > > -- j In my case, cups wouldn't start at all so I don't think we had the same situation. My guess it that it would be your smb.conf file. If you want to see what files are connecting to what networking ports use the following command: # lsof -i Actually, even better is Todd's suggestion in a different post: # netstat -ltunp -- /curtis ><> Mandrake Linux 8.3 (cooker) Kernel Version 2.4.18-20mdk Uptime 3 days 13 hours 2 minutes Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] upgrading....reinstall?
[EMAIL PROTECTED] schrieb: >On 25 Jun 2002, Darren King wrote: > > > >>I am currently running Mandrake 8.2 on a K6-2 400 with a EPOX MVP3G5 >>(VIA super 7) motherboard. >> >>I am upgrading soon to a Duron or an Athlon, haven't decided yet with a >>DDR mobo. Can I just chuck in the new mobo, RAM and CPU and them boot >>my system as normal? Run Kudzu then? >> >>Or should I do a total re-install (hope not). >> >> >> > >It worked for me -- moved from a K6-2/500 to Duron 1.3G/ECS K7S5A >without a hitch. > > Same here. I find Linux is pretty easy on hardware changes, as long as you don't use a stripped down kernel config of course. It just finds new hardware and goes ahead :-)... and NO you don't get double or triple entries in Hardware-Manager :-). Last time I just move my RAID-Controller down one PCI-Slot. Linux and BSD just didn't care, booted and worked Win2K needed 2 reboots until it stopped complaining about finding "new hardware". Regards, Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Tuesday 25 June 2002 12:41 pm, daRcmaTTeR wrote: > On Tue, 25 Jun 2002, Praedor Tempus wrote: > > BAH! Reinstalling MDK 8.2 again, this time trying a different fs > > - third reinstall. First tried ext3 for first time. SLOW! Then > > tried XFS. Good, quick, but then the problems related above and > > it being seemingly impossible to fix X or KDE. Reinstall and go > > back to my trusty ReiserFS which I have been using for a couple > > years now. I no longer try to fix KDE problems such as I related > > above as I have found it impossible to correct in the past, even > > with total uninstalls and reinstalls. > > I can relate as far as the ReiserFS thing goes. I too have been > using Reiser for a little while and I've come to the conclusion > where this FS is concerned that if it ain't broke I'm not gonna try > and fix it. Reiser runs the roost on my boxes. I used ReiserFs for over a year an'a half, no problems. Right now, I've been usin cooker 8.3 on an XFS partition, but with a separate ext3 /boot partition (Civileme's advice). No problems and it IS faster than RFS. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] alsa 0.9 and mandrake kernel
On Tuesday 25 June 2002 21:42, you wrote: > On Tuesday 25 June 2002 19:35, Andrea Fabris wrote: > > > According to what i noticed, alsa is loking for the smp version of the > kernel, so you have to make a change in > /usr/src/linux/include/linux/version.h. > > > you have to change the order: you must put first > "#define UTS_RELEASE "2.4.18-6mdk" > > > so the file will give this at the beginning: > > > "#include > #if defined(_module_up) > #define UTS_RELEASE "2.4.18-6mdk" > #elif (_module_smp) > #define UTS_RELEASE "2.4.18-6mdksmp" > > > By the way i could not make alsactl worked.. > Does it work for you? > I hope you have a SBLive 5.1 card. I would like to know how to make my > center speaker works... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] alsa 0.9 and mandrake kernel
On Tuesday 25 June 2002 19:35, Andrea Fabris wrote: According to what i noticed, alsa is loking for the smp version of the kernel, so you have to make a change in /usr/src/linux/include/linux/version.h. you have to change the order: you must put first "#define UTS_RELEASE "2.4.18-6mdk" so the file will give this at the beginning: "#include #if defined(_module_up) #define UTS_RELEASE "2.4.18-6mdk" #elif (_module_smp) #define UTS_RELEASE "2.4.18-6mdksmp" By the way i could not make alsactl worked.. Does it work for you? I hope you have a SBLive 5.1 card. I would like to know how to make my center speaker works... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
Yep, gotta go withya 100% Our staff/student WAN is powered by Netware, and we have Zilch for reliability problems. Configuration however, can become an onerous task. The approach we are taking is to have Linux boxes handle firewall, web, some storage, AV, and soon email. We also have basic linux instruction as part of our Applied Computing program. The ONLY reason we are running NT and/or W2K servers is because of a proprietary Library cataloging system, and a webmaster that is totally addicted to Publisher/IIS (can't do HTML in text) Yes, I know that you can add Publisher extensions to a linux/web server, but we don't have a guru, and all of us have to be multi-disciplinary. On a given day, I will fix a VCR, rebuild a calculator, run a new telephone line into a renovated office, update someone's AV package, teach another about setting up shared folders on a Novell server, etc, etc. All of us have broad, but shallow skill sets. Never boring tho' Ken On Tue, 2002-06-25 at 14:04, daRcmaTTeR wrote: > On Tue, 25 Jun 2002, Barry Michels wrote: > > > Our NT machine was crap. We had to reboot about every week. In fact, I > > eventually wrote a batch file that would reboot the server every morning at > > 4am. We upgraded (well, a fresh install) to Win2k and the longest that > > machine was running was 4 months (129 days). All it handles is file sharing > > and a small, seldom used SQL server. When it crashed, it crashed hard. We > > had to do quite a bit of work to get it back up and it still isn't the same. > > The hardware is any spare parts we had laying around. > > > > 2 weeks ago, I installed a Linux machine to act as our firewall using > > IPTABLES. So far, no reboots since the inital install. Man is it fast. > > That doubled our bandwidth compared to running through MS's ISA firewall > > software. Of course, it was logging everything that went through it... > > > > > > Barry > > heavens guys! thats why God invented Novell Netware boxes. load'em up, > plug'em in and fa-get about'em. and as far as win2k is concerned I'm not > surprised you're having as uch trouble wit dat poor box being as its put > together from spare parts. win2k doesn't like spare parts. where I work > we're running a Novelle shop, but there are two Dell 4400's running win2k > that are rock solid. one the app server and the other the DB server. > they're very heavily used. were it not for the windows updates they > wouldn't require a reboot at all. > > -- > daRmaTTeR > > R L U: #186492 > When ever people annoy me I remember, "Vengence is mine saith the Lord." > My prayer is, "...here am I Lord...send me!" > > > > > 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] I made it -- 1 year uptime
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 25 June 2002 5:23 pm, Jan Lentfer wrote: > I had to halt one of my machines at university a few weeks ago > because it had to be moved to antother room. It had >200 days uptime. > It works as a SAMBA-Fileserver and Printserver for 20 people and 12 > client computers. It is a Pentium 133 with 32MB and it can handle the > load pretty easily. I didn't even need to reboot the machine when we > changed the whole network (new cables, new subnet, routers, etc). Try > that with M$ ;-) My server (ice.cream.org) runs Debian* rather than Mandrake and has managed stretches of 300-400 days uptime, typically ended by someone tripping over a cable. It can have up to 70 concurrent users, and runs every service known to mortal Man ... It was a Pentium 166 for a long time; it's now a dual Pentium III 1GHz with 2GB of memory (we bought stocks when memory was being given away in cornflakes packets), 180GB of RAID storage (hard disks now being given away ditto) etc. etc. Alastair * because of bizarre 'policies' where it's physically hosted ... - -- Alastair Scott (London, United Kingdom) http://www.unmetered.org.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9GLR+Cv59vFiSU4YRAtXqAKDMexoQDjsL2xl0ecXxZwNAezCuVwCfRDEy Xhq9G94EmRsotbZV0NTZhAg= =VOk2 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
On Tue, 25 Jun 2002, Barry Michels wrote: > Our NT machine was crap. We had to reboot about every week. In fact, I > eventually wrote a batch file that would reboot the server every morning at > 4am. We upgraded (well, a fresh install) to Win2k and the longest that > machine was running was 4 months (129 days). All it handles is file sharing > and a small, seldom used SQL server. When it crashed, it crashed hard. We > had to do quite a bit of work to get it back up and it still isn't the same. > The hardware is any spare parts we had laying around. > > 2 weeks ago, I installed a Linux machine to act as our firewall using > IPTABLES. So far, no reboots since the inital install. Man is it fast. > That doubled our bandwidth compared to running through MS's ISA firewall > software. Of course, it was logging everything that went through it... > > > Barry heavens guys! thats why God invented Novell Netware boxes. load'em up, plug'em in and fa-get about'em. and as far as win2k is concerned I'm not surprised you're having as uch trouble wit dat poor box being as its put together from spare parts. win2k doesn't like spare parts. where I work we're running a Novelle shop, but there are two Dell 4400's running win2k that are rock solid. one the app server and the other the DB server. they're very heavily used. were it not for the windows updates they wouldn't require a reboot at all. -- daRmaTTeR R L U: #186492 When ever people annoy me I remember, "Vengence is mine saith the Lord." My prayer is, "...here am I Lord...send me!" Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
Ken Hawkins wrote on Tue, Jun 25, 2002 at 09:19:44AM -0400 : > > Having played with both 7.2 and 8.2 as a dilettante, my experience has > been that 7.2 is much more resource friendly, and I don't recall ever > having to perform a hard reset. > With 8.2, I have taken a performance hit because of the resource req's The following are just general recommendations. It sounds like you already have a good grasp of things, but this may be of use to someone else. 1) Disable framebuffer. Using cpu horsepower to render text can slow things down. 2) Runlevel 3 instead of runlevel 5. Don't start X unless you need to do something that requires a gui (this could be a LOT of the extra "resource req's" that you refer to if you're in runlevel 5). 3) Disable all services that you don't need. ie, if you're running a Samba server, you don't need httpd, proftpd, portmap, nfsd, innd, etc unless you also provide those specific services. 4) Personally, I also disable atd, linuxconf, anacron, apmd. 5) Try it both with and without devfs. I usually prefer to not use devfs on servers (especially hardware RAID servers where it has bootup problems). 6) Check the output of dmesg to make sure that the IDE chipset is recognized as being capable of udma. If it doesn't recognize it, it will act like it's a generic IDE interface and will cause it to operate very slowly (which creates high cpu loads). As an example, you can also 'cat /proc/ide/hda/settings' and look to see if using_dma is set to 1 (yes) or 0 (no). If your kernel recognizes a via chipset, you can see the configuration by 'cat /proc/ide/via'. > and all my computers that have 8.2, I've been forced into a hard reset > at least once in the last month. These are stock installs, I have not > D/L'd an RPM or source file, and installed only from the CD's. Disable devfs on servers. It serves a purpose for desktops, but not for servers (things aren't getting hotplugged...I hope). Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55729/pgp0.pgp Description: PGP signature
Re: [expert] Hostname and postfix
On Tue, 25 Jun 2002, Praedor Tempus wrote: > Manpage, schmanpage. I use them when possible but then there are those bogus > pages that give the wrong command syntax (outdated or based on a non-linux > system) or list the commands without providing for an example. To me, it > doesn't count as an example if the manpage begins with a command followed by > a series of bracketed or braced switches - in some cases, due to past > experience only, I can deal with this but when it is something newish, > perhaps half the time I can't make heads or tails of the actual proper > command syntax. > > Anyhoo. I have my laptop up to snuff and fine but my desktop is killing me. > First, a harddrive failure caused by a mobo failure plus cpu death - > expensive replacement for all. Fortunately, I had just installed 8.2 on it > and hadn't yet installed or done anything of importance on it so nothing was > lost but time and money. New mobo, new cpu, new hdd and a fresh install of > 8.2 croaked last night after working for all of 10 minutes. Different > problem this time, though the root of it is still a mystery to me. I THINK > it may be irq related though kcontrol shows nothing suspicious (nor does > lspci). If you're allowing the install to configure your hardware I can't for the life of me figure how you're getting irq conflicts. as for your sound card Mandrake is Id-ing the device correctly. the SB16 card has an ESS chipset in it. ESS1371 to be exact. I don't really care for that chipset very much. in Mandrake it seems to require a lot of tweaking before it behaves correctly. > A couple things...I bought a SB 16 for the new mobo but Mandrake identifies it > as an ESS 1371 - it works but an ESS 1371 and no mention is the harddrake > list of any SB 16? Next, first bootup and start. OK. Open up a konsole and > begin typing in commands to change hostname ala the laptop and boop! > Soundcard beeps and beeps and beeps in an endless loop, the mouse freezes and > the keyboard is locked. Nothing to do but hard reboot. After that, OK until > about 30 minutes of typing and clicking then same thing. Reboot. KDE now > unstartable because of DCOP communication problems. I delete everything > related to KDE in my home directory (.kde and .kderc) and do a > Ctrl-Alt-Bkspc. Login and KDE still refuses to start now - dying at the it's very likely that your FS was trashed during the hard boots. that would explain he fact that nothing wanted to start for you. > splash screen. Login again and try Gnome. Nothing. Try Windowmaker - OK, > starts and works. Try Enlightenment - OK, starts and works. Look at my > .xsession-errors. One entry only about inability to connect to X server > :0.0. Try running XFDrake and resetting X. REALLY screwed up X so that no > window manager will start, just KDM a few times until it craps out and now > dumped to CLI. > > BAH! Reinstalling MDK 8.2 again, this time trying a different fs - third > reinstall. First tried ext3 for first time. SLOW! Then tried XFS. Good, > quick, but then the problems related above and it being seemingly impossible > to fix X or KDE. Reinstall and go back to my trusty ReiserFS which I have > been using for a couple years now. I no longer try to fix KDE problems such > as I related above as I have found it impossible to correct in the past, even > with total uninstalls and reinstalls. I can relate as far as the ReiserFS thing goes. I too have been using Reiser for a little while and I've come to the conclusion where this FS is concerned that if it ain't broke I'm not gonna try and fix it. Reiser runs the roost on my boxes. > Anyone ever run into something like this before? The difference in this > desktop vs before when there were no linux/software problems is the addition > of a PCI to PCMCIA adaptor, the connection of a linksys WUSB11 wlan box, a Praedor...sad but true...it's a proven fact that pcmcia is the worlds _worst_ form of connectivity technology. it is the spawn of satan. if at all possible I avoid this stuff like the plague. anything like this that is a HUGE PITA in a laptop surely hasn't got a snowball's chance in hell of being dependable and working well on a PC platform. yuck! > soundcard (was using mobo sound before but new mobo has no builtin sound), > and a Robotics PCI modem (not a winmodem). Since the wusb11 isn't recognized > or usable yet under linux (I'm trying), the pcmcia hasn't yet received a card > (intending to insert another wlan card), the only interrupts to be used are > for the i82365 pcmcia controller, the modem, and the soundcard. It looks > like the soundcard and modem share an irq but that is all. Why would the > soundcard lock into an endless loop (two installs so far) and freeze all > peripherals if it isn't sharing an irq with any of these other items? for real! at this point I would remove the sound and the peripheral hardware off this
Re: [expert] mkisofs segfaulting when reading NTFS samba share
Bruno Damour wrote on Tue, Jun 25, 2002 at 04:43:35PM +0200 : > But then mkisofs is segfaulting with : > (LM server=neptune, user=hamida) > Jun 25 17:58:54 neptune mount.smbfs[3301]: [2002/06/25 17:58:54, 0] > client/smbmount.c:send_fs_socket(383) > Jun 25 17:58:54 neptune mount.smbfs[3301]: mount.smbfs: entering daemon mode Make sure that you are running the updated version of mkisofs. Check to make sure that you're running mkisofs version 1.15-0.a20.1mdk. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55728/pgp0.pgp Description: PGP signature
Re: [expert] I made it -- 1 year uptime
Our NT machine was crap. We had to reboot about every week. In fact, I eventually wrote a batch file that would reboot the server every morning at 4am. We upgraded (well, a fresh install) to Win2k and the longest that machine was running was 4 months (129 days). All it handles is file sharing and a small, seldom used SQL server. When it crashed, it crashed hard. We had to do quite a bit of work to get it back up and it still isn't the same. The hardware is any spare parts we had laying around. 2 weeks ago, I installed a Linux machine to act as our firewall using IPTABLES. So far, no reboots since the inital install. Man is it fast. That doubled our bandwidth compared to running through MS's ISA firewall software. Of course, it was logging everything that went through it... Barry - Original Message - From: "Ken Hawkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 9:19 AM Subject: Re: [expert] I made it -- 1 year uptime > WHOOO-HOOO!! > > Ta make ya feel even better, I support an NT4 server, religiously apply > service packs and updates; this is a low traffic server, in an > air-conditioned room with power conditioning and UPS, on fully NT > approved hardware. The LONGEST I have gone without being forced to a > hard reset is 2 months. Performance is usually suffering badly long > before that. > still better than winblows.. > > Ken Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] alsa 0.9 and mandrake kernel
Hello everybody!! I'd like to upgrade my alsa sound system to the recent 0.9 version, but i didn't find any packaged file for mandrake. So i decided to compile the alsa drivers, but when i start the configure scrip complains about my version.h file: it says i haven't it or it's a wrong version. Now, i have the kernel source installed and looking in the version.h file i noticed that there r some reference to the "mdk" style. My suspect is that the configure file is checking for "plain" version.h form kernel source (i mean the linus one) and so the patched version.h gives somne problems to the alsa configure script. Someone could give me some clue? Thanx in advance Andrea Fabris -- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Cerchi una vera occasione? Trovala su eBay,il mercato online del mondo. Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=528&d=25-6 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
Praedor Tempus wrote on Tue, Jun 25, 2002 at 10:13:11AM -0500 : > > So, given this, the /etc/hosts is cool then (other than the duplicate > 127.0.0.1 entry)? Yes, it looks fine. :) Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55725/pgp0.pgp Description: PGP signature
Re: [expert] Recording Net-Radio Broadcasts (Chpt 1)
Hoyt wrote: > On Tuesday 25 June 2002 11:21, Randy Kramer wrote: > > I've taken the liberty of starting a WikiLearn page > URL? Oops! http://twiki.org/cgi-bin/view/Wikilearn/RecordingNetRadioBroadcasts Randy Kramer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
On Tuesday 25 June 2002 11:36, David Rankin wrote: > The > only downside is that in a year's time, I have forgotten most of the > details on getting everything configured. So, when I move offices later > this month, I will have to relearn my setup. This is the value of maintaining a daily log of changes you make to the system. It not only helps you, but it helps the "next guy" as well. -- Hoyt http://www.maximumhoyt.com Fix it until it breaks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
David Rankin schrieb: >Guys and Gals, > >As far as stability is concerned, my little 7.2 (Odyssey) box has >passed a milestone in life. Its uptime is now one year and counting. >(see below) That translates into an easy job for the sysadmin (Me). The >only downside is that in a year's time, I have forgotten most of the >details on getting everything configured. So, when I move offices later >this month, I will have to relearn my setup. Whatever the downside -- >I'll take it! > >[david@Nemesis david]$ uname -a >Linux Nemesis.rbpllc.com 2.2.19-4.1mdk #1 Mon Apr 9 10:34:05 MDT 2001 >i686 unknown >[david@Nemesis david]$ uptime > 10:30am up 365 days, 19:11, 1 user, load average: 0.00, 0.00, 0.00 > > I had to halt one of my machines at university a few weeks ago because it had to be moved to antother room. It had >200 days uptime. It works as a SAMBA-Fileserver and Printserver for 20 people and 12 client computers. It is a Pentium 133 with 32MB and it can handle the load pretty easily. I didn't even need to reboot the machine when we changed the whole network (new cables, new subnet, routers, etc). Try that with M$ ;-) Regards, Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] I made it -- 1 year uptime
On Tue, 25 Jun 2002, David Rankin wrote: > Guys and Gals, > > As far as stability is concerned, my little 7.2 (Odyssey) box has > passed a milestone in life. Its uptime is now one year and counting. > (see below) That translates into an easy job for the sysadmin (Me). The > only downside is that in a year's time, I have forgotten most of the > details on getting everything configured. So, when I move offices later > this month, I will have to relearn my setup. Whatever the downside -- > I'll take it! > > [david@Nemesis david]$ uname -a > Linux Nemesis.rbpllc.com 2.2.19-4.1mdk #1 Mon Apr 9 10:34:05 MDT 2001 > i686 unknown > [david@Nemesis david]$ uptime > 10:30am up 365 days, 19:11, 1 user, load average: 0.00, 0.00, 0.00 > > > -- > David C. Rankin, J.D., P.E. > RANKIN * BERTIN, PLLC > 1329 N. University, Suite D4 > Nacogdoches, Texas 75961 > (936) 715-9333 > (936) 715-9339 fax > David, congrats man! that is really awesome. as for for the forgetting part...thats what documentation is for! ;) -- daRmaTTeR R L U: #186492 When ever people annoy me I remember, "Vengence is mine saith the Lord." My prayer is, "...here am I Lord...send me!" Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Recording Net-Radio Broadcasts (Chpt 1)
On Tuesday 25 June 2002 11:21, Randy Kramer wrote: > I've taken the liberty of starting a WikiLearn page URL? -- Hoyt http://www.maximumhoyt.com Fix it until it breaks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] I made it -- 1 year uptime
Guys and Gals, As far as stability is concerned, my little 7.2 (Odyssey) box has passed a milestone in life. Its uptime is now one year and counting. (see below) That translates into an easy job for the sysadmin (Me). The only downside is that in a year's time, I have forgotten most of the details on getting everything configured. So, when I move offices later this month, I will have to relearn my setup. Whatever the downside -- I'll take it! [david@Nemesis david]$ uname -a Linux Nemesis.rbpllc.com 2.2.19-4.1mdk #1 Mon Apr 9 10:34:05 MDT 2001 i686 unknown [david@Nemesis david]$ uptime 10:30am up 365 days, 19:11, 1 user, load average: 0.00, 0.00, 0.00 -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 1329 N. University, Suite D4 Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Recording Net-Radio Broadcasts (Chpt 1)
Lyvim: I've taken the liberty of starting a WikiLearn page to address this subject, and I've included links to these posts in the Mandrake archives. If you'd actually like to put the content of your posts on that WikiLearn page (or a few WikiLearn pages), please feel free to do so. If you have any comments, suggestions, or objections to what I've done, please let me know, or, edit the page yourself, as it is a wiki. regards, Randy Kramer Lyvim Xaphir wrote: > This is what it takes to record broadcasts off the net in ogg format. > Using Sox (which is the best sound util ever made) you can also record > just about anything that your soundcard puts out; VERBATIM. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Monday 24 June 2002 09:50 pm, Todd Lyons wrote: > Praedor Tempus wrote on Mon, Jun 24, 2002 at 03:49:25PM -0500 : > > /etc/hosts: > > 127.0.0.1 localhost.localdomain localhost > > good start > > > 127.0.0.1 lapdog.ravenhome.netlapdog > > bad. Delete it. > > > 10.0.0.1lapdog.ravenhome.netlapdog > > good > > > 10.0.0.5overlord.ravenhome.net overlord > > good > > One of two situtations will exist: > 1) You don't have any network cards. All hostnames that you want to use > to access stuff on your machine will be appended to the localhost line. > Leave the first part alone, just add the hostnames to it. > 2) You do have at least one network card. In this case, the localhost > line should consist solely of the first like you have listed above. Any > other hostname should have its own IP address on the following lines. OK. The 10.0.0.1 address refers to my wlan card that acts as an access point for my desktop (I gave up trying to get an adhoc connection going even though it should have been painless). It is sometimes inserted and used as it conflicts with my linmodem when I try to have them both up at the same time (makes connection sharing via the modem impossible on my laptop unfortunately). The 10.0.0.5 address is the address that gets assigned by my laptop dhcp server to my desktop when it has its wlan card activated. So, given this, the /etc/hosts is cool then (other than the duplicate 127.0.0.1 entry)? praedor Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
Manpage, schmanpage. I use them when possible but then there are those bogus pages that give the wrong command syntax (outdated or based on a non-linux system) or list the commands without providing for an example. To me, it doesn't count as an example if the manpage begins with a command followed by a series of bracketed or braced switches - in some cases, due to past experience only, I can deal with this but when it is something newish, perhaps half the time I can't make heads or tails of the actual proper command syntax. Anyhoo. I have my laptop up to snuff and fine but my desktop is killing me. First, a harddrive failure caused by a mobo failure plus cpu death - expensive replacement for all. Fortunately, I had just installed 8.2 on it and hadn't yet installed or done anything of importance on it so nothing was lost but time and money. New mobo, new cpu, new hdd and a fresh install of 8.2 croaked last night after working for all of 10 minutes. Different problem this time, though the root of it is still a mystery to me. I THINK it may be irq related though kcontrol shows nothing suspicious (nor does lspci). A couple things...I bought a SB 16 for the new mobo but Mandrake identifies it as an ESS 1371 - it works but an ESS 1371 and no mention is the harddrake list of any SB 16? Next, first bootup and start. OK. Open up a konsole and begin typing in commands to change hostname ala the laptop and boop! Soundcard beeps and beeps and beeps in an endless loop, the mouse freezes and the keyboard is locked. Nothing to do but hard reboot. After that, OK until about 30 minutes of typing and clicking then same thing. Reboot. KDE now unstartable because of DCOP communication problems. I delete everything related to KDE in my home directory (.kde and .kderc) and do a Ctrl-Alt-Bkspc. Login and KDE still refuses to start now - dying at the splash screen. Login again and try Gnome. Nothing. Try Windowmaker - OK, starts and works. Try Enlightenment - OK, starts and works. Look at my .xsession-errors. One entry only about inability to connect to X server :0.0. Try running XFDrake and resetting X. REALLY screwed up X so that no window manager will start, just KDM a few times until it craps out and now dumped to CLI. BAH! Reinstalling MDK 8.2 again, this time trying a different fs - third reinstall. First tried ext3 for first time. SLOW! Then tried XFS. Good, quick, but then the problems related above and it being seemingly impossible to fix X or KDE. Reinstall and go back to my trusty ReiserFS which I have been using for a couple years now. I no longer try to fix KDE problems such as I related above as I have found it impossible to correct in the past, even with total uninstalls and reinstalls. Anyone ever run into something like this before? The difference in this desktop vs before when there were no linux/software problems is the addition of a PCI to PCMCIA adaptor, the connection of a linksys WUSB11 wlan box, a soundcard (was using mobo sound before but new mobo has no builtin sound), and a Robotics PCI modem (not a winmodem). Since the wusb11 isn't recognized or usable yet under linux (I'm trying), the pcmcia hasn't yet received a card (intending to insert another wlan card), the only interrupts to be used are for the i82365 pcmcia controller, the modem, and the soundcard. It looks like the soundcard and modem share an irq but that is all. Why would the soundcard lock into an endless loop (two installs so far) and freeze all peripherals if it isn't sharing an irq with any of these other items? The fun continues in a different form now. On Tuesday 25 June 2002 06:36 am, daRcmaTTeR wrote: > Praedor Tempus wrote: > > On Monday 24 June 2002 01:36 pm, civileme wrote: > >>Praedor Tempus wrote: [...] > >>Praedor > >> > >>use the hostname command in a terminal su'ed to root > >> > >>hostname lapdog.ravenhome.net > >>reboot > >> > >>If you look at rc.sysinit you will see that /bin/hostname is how the > >>hostname is retrieved and how it is set. > >> > >>Now quit reading BSD specific/Slackware specific man pages, take your > >>head out of the sand, and do it. > > > > [...] > > > > I have corrected the difficulty, but did so by editing > > /etc/sysconfig/network and adding entries to /etc/hosts. > > > > /etc/sysconfig/network: > > NETWORKING=yes > > FORWARD_IPV4=no > > HOSTNAME="lapdog" > > DOMAINNAME=ravenhome.net > > > > /etc/hosts: > > 127.0.0.1 localhost.localdomain localhost > > 127.0.0.1 lapdog.ravenhome.netlapdog > > 10.0.0.1lapdog.ravenhome.netlapdog > > 10.0.0.5overlord.ravenhome.net overlord > > > > I now have the domain and hostname that I wanted and it remains such > > after reboot, reboot, reboot. I have, in the past, tried the "hostname" > > method only for the change to go away and remit back to "localhost" upon > > the next reboot. A binary file cannot hold the hostname inside i
[expert] mkisofs segfaulting when reading NTFS samba share
Hello I have set up a Linux Server (LM 8.2 + samba 2.2.5 + winbind) together with a NT 4.0 PDC. I wanted to back-uo my users shares on the NT Server and burn them to the CD writer on my Linux server. Everything worked fine with the 1st share smbmount //server/user$ /mnt/disk -o username=admin mkisofs /mnt/disk /dat/user.img But then mkisofs is segfaulting with : (LM server=neptune, user=hamida) Jun 25 17:58:54 neptune mount.smbfs[3301]: [2002/06/25 17:58:54, 0] client/smbmount.c:send_fs_socket(383) Jun 25 17:58:54 neptune mount.smbfs[3301]: mount.smbfs: entering daemon mode for service \\serveur\hamida$, pid=3301 Jun 25 17:59:34 neptune kernel: Unable to handle kernel paging request at virtual address c800 Jun 25 17:59:34 neptune kernel: printing eip: Jun 25 17:59:34 neptune kernel: c9013c34 Jun 25 17:59:34 neptune kernel: *pde = Jun 25 17:59:34 neptune kernel: Oops: Jun 25 17:59:34 neptune kernel: CPU:0 Jun 25 17:59:34 neptune kernel: EIP:0010: [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+- 2315212/96]Not tainted Jun 25 17:59:34 neptune kernel: EIP:0010:[]Not tainted Jun 25 17:59:34 neptune kernel: EFLAGS: 00010246 Jun 25 17:59:34 neptune kernel: eax: ebx: 4e1539a0 ecx: f96b03fd edx: d88d90e0 Jun 25 17:59:34 neptune kernel: esi: c800 edi: c7b39e28 ebp: c7b39ebc esp: c7b39de8 Jun 25 17:59:34 neptune kernel: ds: 0018 es: 0018 ss: 0018 Jun 25 17:59:34 neptune kernel: Process mkisofs (pid: 3307, stackpage=c7b39000) Jun 25 17:59:34 neptune kernel: Stack: c7acd2e0 c79f4820 42324458 f3a8 28003000 Jun 25 17:59:34 neptune kernel: c7749000 001c 0001 001e Jun 25 17:59:34 neptune kernel:c7b39e8c c9021c28 c079c760 c16b c9012461 c079c760 c7b39fa0 Jun 25 17:59:34 neptune kernel: Call Trace: [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+- 2321311/96] [filldir64+0/352] [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+- 2317231/96] [filldir64+0/352] [vfs_readdir+96/144] Jun 25 17:59:34 neptune kernel: Call Trace: [] [] [] [] [] Jun 25 17:59:34 neptune kernel:[filldir64+0/352] [sys_getdents64+79/185] [filldir64+0/352] [sys_brk+188/240] [system_call+51/64] Jun 25 17:59:34 neptune kernel:[] [] [] [] [] Jun 25 17:59:34 neptune kernel: Jun 25 17:59:34 neptune kernel: Code: 8a 06 89 c2 c1 e8 04 c1 e2 04 49 46 8d 14 1a 01 c2 83 f9 ff Any clue or should I report the bug (and where ?) TIA Bruno Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] question recompiling kernel
Jerry (and others), I've taken the liberty of copying portions of this post to a page on WikiLearn -- http://twiki.org/cgi-bin/view/Wikilearn/CompilingTheKernel -- if you have comments, suggestions, or objections, please let me know, or, edit the page yourself, as it is a wiki. regards, Randy Kramer jerry wrote: > steps taken: > > 1)take current kernel tree (/usr/srs/linux) rename it so it doesn't get overwritten. >(changed to /usr/src/lin) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] rpmdrake - Cannot install from CD-Rom?
While attempting to install a few rpms from the Installation CD's I got the following errors: unable to take medium "1" into account as no list file [/var/lib/urpmi/list.1] exists unable to take medium "2" into account as no list file [/var/lib/urpmi/list.2] exists The curious thing about this is that the files /var/lib/urpmi/list.1.cz and /var/lib/urpmi/list.2.cz exist. Anyone else run into this situation? -- Albert E. Whale - CISSP http://www.abs-comptech.com -- ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists Sr. Security, Network, and Systems Consultant Board of Directors - InfraGard - Pittsburgh, PA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Installing MDK From the HDD
daRcmaTTeR wrote: > Jason Guidry wrote: > >> On Thu, 2002-06-20 at 22:33, daRcmaTTeR wrote: >> >>> FemmeFatale wrote: >> >> >> Is it possible to install Mandrake after copying the right files to a FAT32 partition? >>> >>> Yes, I believe it is as long as you're not using the same physical disk. >>> >> >> >> Nope, this is possible. I think I may have not given a complete answer, >> however. the disk MUST be partitioned ahead of time, IE you cannot >> shrink the FAT partition from which you are installing. if you can, >> then it didn't work for me 8-} >> >> but I have definitely done this exact procedure on a single disk. > > > As I recall it I didn't partition the disk ahead of time, and this was > in my RedHat5.2 days. Shortly after that distro came out. Anyway, do > distinctly remember installing it to a seperate physical drive. these > days though with the burner sitting here I just as soon burnit and get > on with it. but I do see the application for needing a HDD install. I've > got a SuSE installation sitting here on disk that I've got to split up > and attempt to burn to CD so's I can try and install it. > > Mark > I'll be honest here & say, No I don't NEED to do an HDD install. I'm just tired of changing CDs & waiting for it to finish. Plus its faster, and i've done HDD installs for winblows most of my life since i got into comps. just prefer it. Ty for the advice tho :) -- Femme Good Decisions You boss Made: "We'll do as you suggest and go with Linux. I've always liked that character from Peanuts." - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Mon, 2002-06-24 at 23:21, Todd Lyons wrote: > After digging through the documentation available to me I have concluded > that there is no technical basis for my conclusion that it was bad, just > because it was a duplicate of the line above it. > > However, be careful about quoting out of context. His was: > 127.0.0.1 localhost.localdomain localhost > 127.0.0.1 lapdog.ravenhome.netlapdog > 10.0.0.1 lapdog.ravenhome.netlapdog > > If you try to test to lapdog.ravenhome.net, are you using localhost or > are you using the ethernet interface? Or is it possible to distinguish? Very good point. I breezed right past that one, because I was focused on the line above :-) -- Dave Sherman Do not meddle in the affairs of dragons, MCSE, MCSA, CCNA for you are crunchy, and good with ketchup. "lynx -source http://sildara.dyndns.org/davepub.asc | gpg --import" signature.asc Description: This is a digitally signed message part
Re: [expert] Hostname and postfix
Praedor Tempus wrote: > On Monday 24 June 2002 01:36 pm, civileme wrote: > >>Praedor Tempus wrote: >> >>>I am also a little leery of using linuxconf for this. It (linuxconf) >>>appeared to bork my attempts at wlan ad-hoc networking and I was told not >>>to use it in a wlan mailing list. In the past I have tried changing the >>>hostname via linuxconf with mucked up results. I will give it a shot >>>again but still, what file/system config contains THE hostname >>>information utilized by "hostname"? If is isn't /etc/hostname, >>>/etc/rc.d/rc.inet1, or >>>/etc/init.d/boot as mentioned in the hostname manpage, then what is it? >> > [...] > >>Praedor >> >>use the hostname command in a terminal su'ed to root >> >>hostname lapdog.ravenhome.net >>reboot >> >>If you look at rc.sysinit you will see that /bin/hostname is how the >>hostname is retrieved and how it is set. >> >>Now quit reading BSD specific/Slackware specific man pages, take your >>head out of the sand, and do it. > > [...] > > I have corrected the difficulty, but did so by editing /etc/sysconfig/network > and adding entries to /etc/hosts. > > /etc/sysconfig/network: > NETWORKING=yes > FORWARD_IPV4=no > HOSTNAME="lapdog" > DOMAINNAME=ravenhome.net > > /etc/hosts: > 127.0.0.1 localhost.localdomain localhost > 127.0.0.1 lapdog.ravenhome.netlapdog > 10.0.0.1lapdog.ravenhome.netlapdog > 10.0.0.5overlord.ravenhome.net overlord > > I now have the domain and hostname that I wanted and it remains such after > reboot, reboot, reboot. I have, in the past, tried the "hostname" method > only for the change to go away and remit back to "localhost" upon the next > reboot. A binary file cannot hold the hostname inside itself, thus the > binary "/bin/hostname" would have to store a hostname in a file somewhere. I > was less interested in the binaries and wizards and guis that one can try to > change this or that and more interested in the REAL meat...the actual file > that stored the change for posterity. In my past attempts at using "hostname > ", it appeared to me that hostname merely stored the > hostname change for the current session rather than forevermore because upon > reboot, zap, back to localhost. I quit trying to use /bin/hostname. > > > In any case, as to the "...quit reading BSD specific/Slackware specific man > pages, take your head out of the sand, and do it" statement. What is the > point of including the manpages with the distro? To add to the injury, many > than answer a question with a directive for the person to "read the manpage" > For instance, this hostname thing is totally wrong in the manpage. Tell a > newbie to read the manpage and they will get exactly nowhere, get no answer, > and wonder what's wrong with their system or what's wrong with linux. > > I believe the manpages should be eliminated if they are not current or do not > apply to linux. It is also one thing to try to make everything easy to do > with GUIs and wizards, but to obfuscate what is actually happening, to make > it difficult to determine what is being done for someone so inclined (or who > needs to know because the wizard, GUI, or "simple" tool failed to perform as > expected) is pointless and counterproductive. I figure that roughly 30-40% of > the manpages I've read are either useless because they are too generic or > cryptic or they are flatout wrong. They generally lack any examples so one > can see a real example of the command syntax, instead simply enumerating a > list of commands and thinking that it is completely intuitive as to how to > use the commands (it is not). > > praedor > But Praedor! I like the man pages. after 6 years I'm finally starting to understand them. they're actually making sense now and helping me get things done. any more it's the first place I look when a program buried deep in the bowls of my penguin is doing something that seems odd to me. Or I'm trying to figure something out, or! I've got a new program that comes *only* with a man page and no other docs. Ah heck! he was just trying to give you a manly nudge in the right direction, which you took and now look...you're done! :) well done!! Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
Mike Rambo wrote: > daRcmaTTeR wrote: > >> >>Mike, >> >>apart from sheery confusion your point in that post was...what? >> >>-- >>On Mon, 24 Jun 2002, Mike Rambo wrote: >> >> >>>Praedor Tempus wrote: >>> I am also a little leery of using linuxconf for this. It (linuxconf) appeared to bork my attempts at wlan ad-hoc networking and I was told not to use it in a wlan mailing list. In the past I have tried changing the hostname via linuxconf with mucked up results. I will give it a shot again but still, what file/system config contains THE hostname information utilized by "hostname"? If is isn't /etc/hostname, /etc/rc.d/rc.inet1, or /etc/init.d/boot as mentioned in the hostname manpage, then what is it? >>> > > Unless I missed the point, Praedor asked this question "If > it isn't /etc/hostname, /etc/rc.d/rc.inet1 or > /etc/init.d/boot as mentioned in the hostname manpage, then > what is it?" regarding what file to edit to change THE > hostname of his box. > > My answer included the following which was itself part of an > earlier question Praedor asked. DrJung (I think - I've > already deleted the mail so I can't be sure) expressed the > idea that questions were being answered by folks on the list > but that Praedor might be missing some of the steps along > the way in trying to implement the solution. I was trying to > emphasize the answer to the question that was asked. > Apparently I didn't do too well... > > >>>*The answer to your question is below* >>> >>> Where are you changing the hostname (what file)? The hostname is set in /etc/sysconfig/network. /etc/hosts >>> > > To clarify, if one wants to edit a file to change the > hostname, /etc/sysconfig/network is the file to edit. > > relates hostnames to IP addresses but doesn't really set anything. >>> >>>*The answer to your question is above* >>> >> > > Hoping to have done better this time ... ;-) > > -- > Mike > Mike, Please accept my appologies. when I read the response from yestereday this morning while drinking a fresh pot of coffee taken intravenesly I realized the logic of your answer. sorry about that. I've really got to stop reading posts and working with Crystal Reports at the same time. I'm clearly no all there when coding those formulas. YIKES! Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] boot scripts
Hi all, Perhaps sometimes I am annpying with my questions that seem newbee ones, however it is not like that. I sometimes try and succeed to bring down my computer and almost managed to make it irrecoverable. That is why at times I cry out loud for help. And I am trying to learn how to manage things myself! But now it is a different matter. I was trying to follow down the instructions in the KIOSK-HOWTO. You know what a kiosk is. One of these boxes at museums and elsewhere that can give the public usefull information. My idea was to set up my linux box to simulate one of these. I write a skript called S99xkiosk in /etc/rc.d/rc4.d to be executed under runlevel 4 and to initialize the script /root/xkiosk. /root/xkiosk on the other hand starts fvwm2 configured as in /etc/X11/fvwm2/system.fvwm2.rc and following /root/kiosk.xinitrc. All of these files are attached in here. I also create a link /root/kiosk.XFree86confog to point to /etc/X11/XFree86Config-4 so that X starts alright. So far everything sounds good. But when I reboot in runlevel 4 and all the services are initialized I receive an error message: Starting xkiosk: execvp: permission denied Starting xkiosk: FAILED Then I get the login: prompt What is the problem? What is execvp and why is permission denied? If the problem is that it requires authorisation, i.e. a user to be logged in, how can I write a script that logs in root automatically before running the script. When I login as root and execute manually ./xkiosk everything starts happyly. I am also concerned why should run it as root. I would prefer to run it as user kiosk for example. Actually I made the same configuration to start it as user kiosk. But when it comes to starting fvwm2 it gives an errot message stating that when I supply argument -xf86config the path should be relative and there should not be ".." in the path. (I supply the full path and there are no ".." in there). However X wouldn't start. How could I manage this? Perhaps this topic is a bit aside from the mainstream in this mailing list, but isn't it the idea of sharing experience? Any hints would be helpful (if explained in details I would appreciate it for I am not a professional) - my imagination has been exhausted. Thanks in advance. All this is in line with my previous posting bute there were no details. Ch.V. #!/bin/bash # # S99xkiosk Initialization of kiosk for runlevel 4 # # Author: Chavdar Videff IT&T # # Display message on console echo "Starting up the Linux Kiosk ... " if [ -f /.netscape/lock] ; then rm /.netscape/lock fi # Logging of X activity echo %Reboot%% >> /var/log/xlog /root/xkiosk # This point should only be reached by pressing Ctrl-Backspace /sbin/shutdown -r now # All done. /usr/X11R6/bin/xinit /root/kiosk.xinitrc -- /usr/X11R6/bin/X \ -xf86config /root/kiosk.XF86Config bc #!/bin/sh # kiosk.xinitrc -- Initialization script for kiosk X Window session # Start screensaver /usr/X11R6/bin/xsceensaver-command -exit /usr/X11R6/bin/xscreensaver & # Overlay over Navigator (mask #1) #sxpm /root/navtop.xpm & # Overlay small graphic over Toolbar twister - left-hand side (mask #2) #sxpm -g +0+23 /root/navleft.xpm & # Overlay larger graphic to cover everything to the right of # Home on the Toolbar (mask #3) #sxpm -g +275+23 /root/navright.xpm & # Place xdaliclock over top of Netscape security key, lower lhc (mask #4) /usr/X11R6/bin/xdaliclock -g 38x20+0+578 -font fixed -noseconds \ -bg gray -fg black & sleep 2 # Start fvwm2 window manager fvwm2 & # restart netscape if it ever exists while true ; do if [ -f /.netscape/lock] ; then rm /.netscape/lock fi /usr/bin/netscape -geometry 800x600 done # This should never be reached # this is a bare bones sample .fvwm2rc/system.fvwm2rc file for fvwm-2. # It should be customized before install. See other sample .fvwm2rc files # for hints, as well as pointers from the various links on the official # fvwm web page (see the FAQ). EdgeResistance 250 10 EdgeScroll 100 100 ClickTime 750 # make sure these fonts exist on your system: WindowFont -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-* IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* HilightColor black palevioletred DeskTopSize 1x1 MenuStyle maroon grey60 grey40 -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* fvwm ColormapFocus FollowsMouse # default Styles: Style "*" BorderWidth 0, HandleWidth 0, notitle, nohandles Style "*" Icon unknown1.xpm, Color lightgrey/dimgrey Style "*" MWMFunctions, MWMDecor, HintOverride Style "*" DecorateTransient, NoPPosition Style "*" IconBox 0 -10 -280 -1 Style "*" FocusFollowsMouse Style "*" RandomPlacement, SmartPlacement Style "xdaliclock" StaysOnTop Style "sxpm"StaysOnTop # Styles for various Fvwm modules: Style "Fvwm*" NoTitle, Sticky, WindowListSkip Style "Fvwm*" BorderWidth 2, CirculateS
[expert] Recording Net-Radio Broadcasts (Chpt 2)
In the previous email to this one I demonstrated how you could bring the Sox sound utility up to speed with Ogg Vorbis encoding. Because of some very competent and excellent help I now know we need to amend the sox installation steps. Formerly it looked like this: __ ./configure make After that we need to edit the Makefile that we just made. Do vi Makefile __ Now it looks like: ./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib \ --sysconfdir=/etc make make install With no editing of the Makefile, and everything else remains the same. Much better approach; thanks Tom Lyons! However, as dfox pointed out, sox likes to put uncompressed man page files out there, so after Tom Lyon's ./configure addition above we still need to do the following: cd /usr/share/man/man1 (deleting the old originals) rm -f sox.1.bz2 rm -f play.1.bz2 rm -f soxexam.1.bz2 (compressing the newer and more up to date manpages) bzip2 sox.1 bzip2 play.1 bzip2 soxexam.1 There are symlinks in the man1 directory that point to the compressed man page filenames; we need not destroy or recreate those because they will become valid as we replace their targets with the proper files. (after the bzip2 process.) Now we will put Sox to work as we get Realplayer installed and functional. The Sox recompile has been and is the most complicated part of this (unless you are hunting Windows Media streams, but that's another time), so don't run yet. The rest is pretty straightforward stuff. Realplayer can be a little tricky to get ahold of if you haven't done it before. There are two ways I can think of for everyone here and neither one of them involve going to the Realplayer site for a download. I've heard fuzziness about the binaries on the Realplayer site, and haven't experienced them myself, but have listened intently to others. The number one way to get Realplayer is to be a member of the Mandrake Club. Like me, for instance. ;D In that case you can get it from the following link: http://www.mandrakeclub.com/modules.php?name=Downloads&d_op=search&query=realplayer This gets you RealPlayer-8.0-3mdk.i586.rpm; which is a newer and slicker rpm. Works better too, IMO. If you are NOT a Mandrake Club member, you can get the rpm from this link: ftp://speakeasy.rpmfind.net/linux/freshrpms/misc/RealPlayer-8.0-1.i386.rpm After you download the rpm from one of these, you go to the directory you put it in ( ~/tmp, perhaps) and issue the following: rpm -ivh RealPlayer-8.0-blah.rpm You also need to review at this point that your soundcard is fully functional, and also that you have Kmix installed. Kmix is a graphical util that controls all available aspects of your soundcard as it sees them; and usually it sees the most. If you don't have it pull up rpmdrake and do a search on your installation cd's for it. Now pull up Kmix from your menu or from an Eterm or terminal prompt. You will notice a bunch of sliders and alot of green lights, with one red light lit up across the bottom. The greens represent all sources that are sending to or have access to /dev/dsp. Turn them ALL OFF except for anything labeled with a RED right triangle across the top, and the master volume and PCM sliders. Of the Red right triangles, there are only two that seem to affect recording on my system: Ogain and Recmon. These need to have green lights. If you have these two sliders, leave them green and turn the other red triangles off. This is important. The controls vary from soundcard to soundcard, depending on it's features. You may need to experiment; but this section gives you the basic blueprint. Your soundcard may be different in the next step too, so again you may have to experiment. Notice that the Master and PCM sliders are almost to the top; they work just fine right there. Move your Gain sliders almost to the bottom; the same degree that the Master/PCM sliders are from the top. Know what I mean here? This is the proper degree of adjustment for my system; I assume here that it will work for you as well. Now let's deal with the red lights across the bottom. This represents your recording source; and There Will Only Be One. Yep, just like Highlander. Your One needs to be Master, so make sure that one is lit up under the Master slider, and all the other ones are dark. What am I doing and why, you ask? Well, noise is a real problem. By carefully targeting what channels are active and deactivating the majority of them, you are assured ( or given a higher probability of getting) a noise free recording. If a channel is not on, you can't get static from it. Now we prep Realplayer for testing. Open up an Eterm or terminal of your choice and type "realplay" at the command line. Go ahead and give it bogus information so it won't bug you anymore. Go into Preferences-Support and disable "Supp
Re: [expert] Here they come again...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 25 June 2002 6:19 am, Carroll Grigsby wrote: > You ain't seen nothin' yet. Here's one about MS's new Palladium > project that showed up over the weekend: > http://www.msnbc.com/news/770511.asp Now, this is really scary. Bill > gets world domination, Senator Fritz can satisfy his very good > friends at Disney, the RIAA gets what they want, the feds get > Carnivore back doors, the list goes on... > -- cmg These things fail - as they always have done - because those who propose them never seem to realise that, for them to work, all existing items of electronics would eventually have to be replaced. That is both financially and politically impossible in Western democratic countries, never mind anywhere else - there are better (and known to be better) things to spend the money on in schools than replacing equipment which still has much useful life in it, for example. I suspect that, to the proposers, £600 or £700 for a new machine is nothing, and that they would be surprised to hear that theirs was the financial situation of a _small minority_ of people. Alastair - -- Alastair Scott (London, United Kingdom) http://www.unmetered.org.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9GBq9Cv59vFiSU4YRAjUCAJ92any6K9xU99PKgI+4rv2/XwkJCACbBssg gIYMei5VJ6f/mQvyuN7Dzqk= =VJFw -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com