[newbie] enabling NAT in Mandrake 9.0
Hi all... sorry about the somewhat noob question... I am trying to upgrade to MDK 9 but I've been facing some... difficulties. I tried to use my old iptables ipmasq/firewall script in mDK 9.0 but it's not working. Basically it looks like I can't enable ip forwarding.. is there any catch? I just edited /etc/sysconfig/network and set IP_FORWARD to true, and it didn't work... I also tried setting /proc/sys/net/ipv4/ip_forward to 1, no good. I guess I am missing something silly, or perhaps MDK just changed too much from 8.1... I saw something in the logs about a hot plugger agent, can't get what it got to do with ppp... (^-^) Any help would be greatly appreciated. Wooky -- Discussing this document with a US citizen may be an offence. From the disclaimer of Security Holes Fixed in Linux 2.4.19, by RH Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] kernel blues
You cannot truly call yourself a man until you have compiled your own kernel-wooky, in linux-mandrake newbie mailing list. I am obviously a master in the ancient art of kernel compiling. Since most people don't like reading long posts, here are my questions beforehand: 1-what options in kernel .config are necessary to enable reading of fat/vfat partitions? And to Aurora function properly? 2-is 6-7 min a normal time for compiling the bzImage(for a 800Mhz sys)? 3-what are the System Map and config symlinnks in /boot used for? Now read on. I would like to thank everyone in this list, specially Civ, Shidhar and etharp- since now I have a working winmodem in linux. Like etharp so beuatifully called it, this fine piece of computing equipment even runs quicker than in window$. Now I have a complete Linux system running. I had to compile another kernel for it to work, for it seems that the patches in .mkd kernel prevent it from working. My first kernel just didn't boot, or so i thought. Then I figured it out it had something to do with Aurora since I could see the IDE light flashing in my box. It took me some time to change the vga to normal in lilo.conf., but then it went ok. Now it wouldn't read my window$ partitions, even though I am sure I enabled then in the config. After compiling half a dozen kernels with no luck, I decided to take on another strategy: I loaded up mandrake 2.4.3 config and proceeded to take off all the options that I was sure I wouldn't need. Now it worked (almost) fine, though it took some time to compile the modules. I said almost cause the aterm program- a terminal for AfterStep and windowMaker refuses to run saying it cant open a virtual pty. Again, thanks to everyone who has somehow helped me and others to get their Linux boxes running. Jeferson Lopes Zacco aka Wooky [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
[newbie] download manager
I wonder if there is a good download manager for Linux - like GetRight, GO!zilla or DownloadAccelerator for window$ - I haven been able to find anything but beta projects. And I just don't want to go downloading 24MB kernels in my lovely ISP without one... TIA -- May the Source be with you. Jeferson Lopes Zacco aka Wooky [EMAIL PROTECTED] Linux Registered User #221896 Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
[newbie] Netscape/pppd bugs
The Netscape version that comes with LM8 is *very* buggy. Can someone tell me which version of Netscape is reasonably stable? Does it pays to upgrade to Netscape 6? Also, I read somewhere that pppd version 2.4.0 is also buggy, and that happens to be the version in my system. Should I upgrade to 2.4.1? TIA, -- May the Source be with you. Jeferson Lopes Zacco aka Wooky [EMAIL PROTECTED] Linux Registered User #221896 Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [newbie] ppp panic
When I say it hangs I mean it hangs. :-( No mouse, keyboard, CRTL-ALT-DEL, CRTL-ALT-BKSP, nothing. Sometimes it won't hang long enough to type ifconfig. -Mensagem Original- De: etharp [EMAIL PROTECTED] Para: Jeferson Lopes Zacco [EMAIL PROTECTED]; [EMAIL PROTECTED] Enviada em: terça-feira, 31 de julho de 2001 20:27 Assunto: Re: [newbie] ppp panic when your system hangs do you have no mouse and keyboard? can you start netscape, type ifconfig and see a ppp entry? or ping something? you may have PPP up and running as a forground job. just leave it and open a different term to type ifconfig On Tuesday 31 July 2001 18:35, Jeferson Lopes Zacco wrote: Hi all, In my endless quest to have Internet supporrt under LM, I've been trying to configure pppd and my (win)modem to acesss my ISP and I ran into some trouble. When I tried kppp the program would just hang -sometimes it informed me that ppp was run without the debug option and that I should turn that on. I couldn't hung up the modem afterwards- perhaps because I don''t know how. Then , following the ppp-HOWTO, I tried to connect with minicom. Everything goes fine till I try to start ppp from a shell prompt- then the system freezes completely. While I figure that even a Linux sys can be frozen by a non-working modem, since it handles IRQs and such, I was not really expecting it. For info, I'm starting minicom, dialing into my ISP with ATDT, and then, after the connect statement, I press ENTER and when the garbage (that accordingly to ppp HOWTO means the remote sys is starting a PAP ppp) comes I quit minicom without reseting the modem and start ppd with # pppd -d -detach /dev/modem 38400 The system always hangs afterwards. I have two main doubts: can these freezes be caused by a misconfiguration, i.e, the modem init string, some option in ppp or minicom, etc, or is it a telltale sign that my winmodem module is not working as expected? And second, the ppp-HOWTO tells me that I MUST obtain the adress of 2 DNS from my ISP. But in ppp manpage I found reference to an option -usepeersdns that seems to allow obtaining these on the run, as window$ do. Is that so? As always, any help will be appreciated. :^) --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
Re: [newbie] HTML differences in Konqueror, Mozilla, Nautilus, Netscape, etc
thanks for the links Sridhar. I have developed an strategy: I look for a page that has a design similar to mine and looks well in all browsers. If you have a spare time, take a look at www.imaclinux.net it has a design similar to mine. It looks the same in all Linux browsers except Mozilla- this leaves the right-most link at the title bar out of the page. :-( -Mensagem Original- De: Sridhar Dhanapalan [EMAIL PROTECTED] Para: Jeferson Lopes Zacco [EMAIL PROTECTED]; [EMAIL PROTECTED] Enviada em: segunda-feira, 30 de julho de 2001 00:49 Assunto: Re: [newbie] HTML differences in Konqueror, Mozilla, Nautilus, Netscape, etc On Mon, 30 Jul 2001 08:21, Jeferson Lopes Zacco wrote: Hi all, I was making a webpage to tell all rea newwwbies (TM) like me how to get sound going on with Quake3 ( should someone be interested- I doubt it- mail me) when I went to check how did the page looked when viewed from Linux browsers (I'll explain: even though I managed to configure my winmodem under LM8 it looks like my ISP won't support Linux boxes connecting to it. Sad. So I'm stuck with window$ and exploder for internet.). I usually write HTML with a text-editor, so I'm sure there's no fancy Exploder only code in my pages. Oddly enough, all browsers managed to make my page look somewhat different. Even Mozilla and Netscape, which I though were close relatives, behave totally different about tables, width and bgcolor (in a table/tr/td tag.). Konqueror was the most annoying, it made two of my tables overlap. Is there a way to make sure my page looks good across all browsers? other than making it a PDF file? As I said I don't use any particular code /tag, all I use is pretty standart ( or so I hope), but if a browser cannot handle things such a s a bgcolor for a table then it might rend my page unreadable. TIA --Jeferson L. Zacco aka Wooky Try these: http://www.anybrowser.org/campaign/ http://www.delorie.com/web/wpbcv.html The best way to ensure compatibility, IMHO, is to make your page 100% standards-compliant. The W3C (World Wide Web Consortium) offer a HTML Validation Service (http://validator.w3.org/) and a CSS Validation Service (http://jigsaw.w3.org/css-validator/). I often make pages using an editor like Quanta+ (or even StarOffice). I then open the page in Amaya (http://www.w3.org/Amaya/) and make sure that it is standards-compliant before saving it. Amaya, being a W3C project, is designed to output 100% standards-compliant code. If the page looks fine in Amaya, then it should pass the W3C Validation Service tests. -- Sridhar Dhanapalan. There are two major products that come from Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson
[newbie] Quake 2
Castle, start q2 with command line # ./quake2 +set s_initsound 0 this will bypass sound initialization and so you can see if all the other million things are configured right. It depends mainly on your video card- see the quake howto, included in LM8. As for the sound problem, I suggest you try to install ALSA drivers for your soundcard. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. From: CastleKidd Subject: [newbie] Quake 2 Date: Sat, 28 Jul 2001 22:25:56 -0700 OK, I installed Quake 2 on my new system and I can not get it to work. This is what it does, I run ./quake2 and I get this: -sound init- sound sampleing rate: 11025 Segmentation fault (core dumped) the sound card makes a quick little blurp of a noise. What can I do? Thanks in advance
Re: [newbie] Services installed by LM8
Hi Frans, I think you did not understand my problem. LM installed a sound driver that seemed to work fine with my onboard audio -via82cxxx. I don't know if this driver is an OSS driver. But some apps -er games, namely quake2 and 3- wouldn't work with it. I installed ALSA drivers following the ALSA HOWTO-basically editing modules.conf since LM seems to provide all drivers already compiled- and I had to install OSS compatibility drivers also for the games to work. Apparently quake wants to write to /dev/dsp and it seems that only OSS drivers habilitate that. Even though now sound is running well in my box, the ALSA utils can't detect the ALSA drivers, and it seems that is why the LM script can't load it at boot time. I'm loading the drivers presently with a modprobe in rc.local. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. -Mensagem Original- De: Frans Ketelaars [EMAIL PROTECTED] What applications do you think will work with ALSA and not OSS/free? ALSA provides OSS/free emulation, but at this moment only has advantages, AFAIK, when you: - have a soundcard only supported by ALSA - have a 'advanced' soundcard only fully supported with the ALSA API - have an application that _only_ works with ALSA (not many _now_, but ALSA is moving from the 0.5 series to 0.9 and as the API stabilizes, more applications will natively (only) support ALSA. - for some reason, in your situation, ALSA sounds better, or has more functionality - are looking to the future :) Btw: I'm using ALSA 0.5.10b with Mandrake 8.0 ;-) -Frans
[newbie] ppp panic
Hi all, In my endless quest to have Internet supporrt under LM, I've been trying to configure pppd and my (win)modem to acesss my ISP and I ran into some trouble. When I tried kppp the program would just hang -sometimes it informed me that ppp was run without the debug option and that I should turn that on. I couldn't hung up the modem afterwards- perhaps because I don''t know how. Then , following the ppp-HOWTO, I tried to connect with minicom. Everything goes fine till I try to start ppp from a shell prompt- then the system freezes completely. While I figure that even a Linux sys can be frozen by a non-working modem, since it handles IRQs and such, I was not really expecting it. For info, I'm starting minicom, dialing into my ISP with ATDT, and then, after the connect statement, I press ENTER and when the garbage (that accordingly to ppp HOWTO means the remote sys is starting a PAP ppp) comes I quit minicom without reseting the modem and start ppd with # pppd -d -detach /dev/modem 38400 The system always hangs afterwards. I have two main doubts: can these freezes be caused by a misconfiguration, i.e, the modem init string, some option in ppp or minicom, etc, or is it a telltale sign that my winmodem module is not working as expected? And second, the ppp-HOWTO tells me that I MUST obtain the adress of 2 DNS from my ISP. But in ppp manpage I found reference to an option -usepeersdns that seems to allow obtaining these on the run, as window$ do. Is that so? As always, any help will be appreciated. :^) --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
[newbie] Services installed by LM8
Where can I find info/documentation about the services LM installs? I mean, other than the man pages and reading the scripts. I'd like to find out more about how they are configured. This is partly because the ALSA service isn't working properly in my sys. It failed to install the drivers at install time (though Mandrake installed a valid driver for my onboard sound, it turned out to be incompatible with some apps) and even after I configured it by hand -through editing /etc/modules.conf - it wouldn't start at boottime. Not properly at least, it only loads OSS modules. I ended up putting a modprobe in rc.local to load the ALSA driver - is that the right place to? - but I'd like to know why exactly the Mandrake script isn't working and fix it if possible. Besides I want to learn about the other services as well. All help will be appreciated. :^) --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
Re: [newbie] Konqueror Problem
Konqueror as of time being is not a full fledged browser. It doesn't support XML and other thingies. Probably the offending sites use these thingies. I think Nautilus has the same problems. You should use Netscape/Mozilla as your primary browser. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. I had the same problem until I upgraded to LM8.0 with KDE 2.1.2 and Konqueror 2.1.1. Occasionally it pops up again but only rarely. What versions of KDEand Konqueror are you using? Jay On Thursday 26 July 2001 h:05, Darren wrote: Hey everyone, another minor problem. Konqueror will not allow me to log into certain sites. More specifically, some web based email accounts. What happens is I type in the user name and password, then it basically goes right back to the login page after I click 'Log In' - There are no error messages, and the email does not tell me there was any problems (bad password, etc). However it does all work in Netscape Mozilla. But lets face it, atleast in my opinion, them two browsers arent worth very much. (Java is installed in Konq and working properly - so I think) So on that note, should I just assume the mail server (Lycos) just doesnt like the way Konqueror does things? Or is there something I can do about it? Darren AKA Liquid Delusion System Setup Custom Built DualBoot - Win98SE Linux-Mandrake 8.0 [Like Windows gets used lol] AMD 850MHz 256MB RAM Two 40GB HardDrives 52x CDROM 12x10x32 CDRW Giga-Byte System Board ATI Rage Series w/ 32MB SoundBlaster PCI 128 RealTek Ethernet ---Alot of the above doesnt have anything to do with problem. Just part of saved draft--- -- I used to think I had an appetite for destruction, but all I really wanted was a club sandwich.
Re: [newbie] nVidia drivers (again) NEED HELP FROM KERNEL GURU!
I feel so good to be able to help a fellow newbie...two weeks ago and I didn't know how to compile these drivers myself /usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source make: *** [nv.o] Error 1 this means that your driver (the offending kernel Driver) weren't compiled. Two possibilities: 1,you haven't the kernel source installed, 2, the kernel source path is mysconfigured. I'd bet you haven't got the kernel source. Install them with Software manager- they are on the second mandrake CD. If you got just the first cd -like me ;^) - then you can download the rpm from a Mandrake mirror. Make sure all dependencies are met. If you HAVE the kernel source installed, make sure the tar.gz from Nvidia are for the right version of your kernel. A tip: set runlevel to 3 when testing Nvidia drivers-that should be after editing /etc/X11/XF86Config-4. then if all goes well you can set it back to 5. Goog Luck. :^) --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
[newbie] HTML differences in Konqueror, Mozilla, Nautilus, Netscape, etc
Hi all, I was making a webpage to tell all rea newwwbies (TM) like me how to get sound going on with Quake3 ( should someone be interested- I doubt it- mail me) when I went to check how did the page looked when viewed from Linux browsers (I'll explain: even though I managed to configure my winmodem under LM8 it looks like my ISP won't support Linux boxes connecting to it. Sad. So I'm stuck with window$ and exploder for internet.). I usually write HTML with a text-editor, so I'm sure there's no fancy Exploder only code in my pages. Oddly enough, all browsers managed to make my page look somewhat different. Even Mozilla and Netscape, which I though were close relatives, behave totally different about tables, width and bgcolor (in a table/tr/td tag.). Konqueror was the most annoying, it made two of my tables overlap. Is there a way to make sure my page looks good across all browsers? other than making it a PDF file? As I said I don't use any particular code /tag, all I use is pretty standart ( or so I hope), but if a browser cannot handle things such a s a bgcolor for a table then it might rend my page unreadable. TIA --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
[newbie] of Nvidia drivers, X , GUIs, and swap files
Well, there's some random chatter here as well as some doubts about Nvidia drivers, X Window System, swap files and then something else. I proudly compiled and installed the Nvidia 1251 kernel driver and glx libs. I say proudly because it's the first time I compile anything at Linux (I actually compiled a winmodem driver also but that doesn't cout since it doesn't work). Which brings up my first question, I read at a lot of diff places- for ex. www.thedukeofurl.org ,that Nvidia drivers were binary only, and open source drivers for Nvidia boards were only 2D and sloppy. Then can someone tell me what I did just compile? My proud quickly dissapeared as I found out that there weren't much I could do with them. I knew they were working cause the MESA demos were working now- but I couldn't even run the 3D screensavers. GLtron crashed beautifully. I couldn't manage to get the drivers to 1280x1024, as the old drivers did. And they seem a bit unstable - I had to CRTL-ALT-BKSP a few times, even when I wasn't running anything 3D. OK, I thought. I made a quick and dirty script that would allow me to change the drivers - basically overwriting XF86Config-4 and set back my runlevel to 5. Which brings me to another question - I set my runlevel to 3 in case smthing went wrong. Suppose smthing goes wrong AFTER the driver are installed and with runlevel set to 5. Isn't there a way to kill X at bootup before it starts? BTW, I'm running XF 4.0.3 with a TNT2. After that, I proceeded to try and install Quake2. I choose it cause I don't consider it a treat to my Linux learning, since I don't play it any longer (I'll explain - since I installed Mandrake it has replaced Quake3 as my passtime) and I thought it would be easier to install. After some problems with the symlinks I was done with install. I tried it and it crashed quietly, a segmentation fault it told me. After half a dozen core dumps - now I know what are that CORE files- I decided to switch to Window Maker since I thought it could be a (low) memory related problem. Here comes another question, a bit unrelated - swap files. Not swap partitions, swap files. I was too lazy to set a swap partition at install time. Later, when I saw that most of my memory was being eaten by KDE even without any major app running -and I have 192MB , I decided to set up a swap partition. I make it with dd, activated with makeswap and then edited the relevant init script so that it would be automatically used at bootup. It shows up in free or kpm but it never gets used. I don't know if that's normal and Linux only uses a swap file in case it gets out of real memory. Well it did got used -some 400k out of 128MB. :^) Also if someone could explain what exactly is buffered and cached memory in Linux , I figure these have a bit diff meaning from WinDOS. Back to Quake2. I switched to WM and I had at least more than a few MBs of free memory now. Heck , it still didn't run. Then I noticed that it did initialize and the seg. fault came at the sound init part. OK, come back to window$, run Q2 and get a cvarlist to know what is the one that disables sound. Sound disabled, it still doesn't run , but no seg faults this time, it just complains that it can't find opengl32. Hmmm. Reread the readmes and HOWTOS, seem that everything is fine. After some hours (no kidding) it turned up to be an extra space in the command line. :-^| Since Linux/*NIX were built around C, no wonder they're so irritating about syntax. So now I have Q2 up and running, with no sound though and the mouse pointer popping in existence every once in a while in my screen center. I think that the sound problem has smthing to do with the sound daemon - have to learn about that. Q2 even runs quite fast -albeit 30% slower than in window$, I had quite a bunch of processes and apps running as well, and it isn't full screen. That a resource intensive program like that can be run reliably with so many other stuff is a compliment to Linux' resource management. Q3Arena shall be next- I have this weird dream of leaving a running Q3A demo as my background. Perhaps with GEforce10 and a 5GHz CPU. As for now, my pride has been restored. Now some tips to realll newwwbiesss (TM) like me about Desktop Environments and Window Managers. First, avoid using apps designed fro KDE with Gnome or vice versa. Some just won't work, some will but may crash, and of course some are OK. If you do use them, I found that is generally better to use Gnome apps with KDE than the contrary. And try also to exit the aplications before logging out of your environment and by using the quit menu, not the quit button from the title bar. I was once stuck with 8 instances of GnomeChess in my desktop because of this. Second, if you don't have a state of the art system, I found KDE and Gnome to be quite heavy. WM (WindowMaker) while not being the most intuitive interface out there (IMHO), gets the job done, its easy to learn, and is not extremally
[newbie] Of M$ attacks
Hi all, Read this: In a preliminary license for its wireless Internet tools, the software giant appears to be floating a trial balloon by explicitly banning the use of open source code. Microsoft's language, which could become part of its commercial licensing terms, specifically bans use of the Linux (news - web sites) open source operating system (OS), which Microsoft seems to find especially objectionable. Full article at http://dailynews.yahoo.com/h/zd/20010702/tc/ms_attacks_open_source_1.html I'm sorry, maybe this is not the place to put this kind of stuff and it may be even old news, but I think it's important that EVERY linuxer knows what's M$ is up to... mv -f window$ /dev/null if [ -f $BOSS_COMPLAINTS ] ; then mv $BOSS 2 /dev/null ; fi --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
Re: [newbie] kernel doubts
What do you think I am? I'm a real newbie. daamn a reall newbie question... On Sunday 15 July 2001 12:07, Jeferson Lopes Zacco wrote: Hi all, I have some doubts about the kernel 4.4.3-20 mdk. Bsically I seem to have to change to an unpatched kernel in order for my winmodem (blergh!) to work. I wonder exactly what are the diffs between a standart 4.4.3 kernel and the 4.4.3.-20mdk kernel and if I'll lose any functionality by replacing it. Also, is the kernel source of the unpatched included in the kernel source rpm in the Mandrake 2 CD or do I have to dload it? --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
[newbie] Re: Use of Linux (in public schools)
Hi Mark and etharp, That indeed would be wonderful. Down here in Brazil there are a fair number of poor communities that would benefit from such setups. Some people already teach poor children/teens how to deal with computer on a voluntary basis using donated/scrap salvaged hardware. Most of these are probaby old 386/486/pentium1 sys. I'm sure that most of these computers use pirated window$ since they'd never have the money to buy the licenses to install it in a dozen machines. The entering of Linux in this field - which would be great both for the Linux community AND the poor children which would get a chance to learn on a REAL OS - have two barriers: most people that do that kind of work are not quite computers experts, and hence would have a hard time configuring Linux at the first time. Second barrier is that Linux is not so widely known and available in poorer countries. Solutions: The comm distros should give these people a hand, by setting up a Linux network for them and providing training to the voluntary teachers. A special etharp-proofversion suitable for young users should also be worked out. :^) I don't know about other distros, but brazilian Conectiva (RH based) is really geared towards bussiness users. There's no emphasis on home users. I heard that Mandrake is getting an oficial publisher here in Brasil, if that's right then doing these kind of things would be both a way of building an user pool and a terrific advertising. As a side question, suppose one had just one fast computer - say an Athlon 1Ghz 256Mb of ram- would it be able to serve X applications to a Linux net of about 10-12 clients that were crap computers (486/Pentium1 class) ? And finally, if someone just got that new TFT and is going to dump that clumsy 17 or 19 inch monitor , send it my way. :^) I have to put up with a 15 inch. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. FROM etharp snip sounds like the best Idea since sliced bread... Kinder-Mandrake even better than AOL-Mandrakegrin. that is an idea I could sink my teeth into get LUGS to get local corps and Gov. office to donate scrap computers, have high school computer student clubs test and replces cards or Power suplies (what ever can be salvaged and made as a complete computer, set them up with a etharp-proof Linux OS, and donate them to be used to have internet appliances in economically deprassed areas, either in the community where the computer was donated or third world contries that could REALLY need/use them. From Mark : I heard recently (from my wife, can't confirm the specifics) that MS is suing a very poor public school in Philadelphia for making copies of Windows for its students to run in its classrooms. It seems that for such a school (and really any school) that linux would be just a perfect fit. Does anyone know of any elementary and secondary schools using linux? I know many, many colleges are, but I'm more curious to know about other schools. I could imagine all sorts of really cool things that students and teachers could do with linux. I would think that ISPs could donate or discount an internet connection so that the students and teachers could learn about setting up a LAN connected to the internet; bring up some private news and IRC servers for discussing homework; develop virtual web sites to show case student work, syllabuses(sp?), and message boards, etc... They could use the OpenOffice, it would probably be possible for some of them to run linux at home. If people would recycle and donate there old systems to the schools they could have contents for students to win those computers for home. We have a Goodwill Computer works in here in my town with some descent systems available that could easily run linux and even X. (I've heard some parts of the east coast have been having lead problems will old moniters begin tossed out - I shudder to think people are dumping thier computers in dumpsters!!!) It would be really exciting i think -- but maybe I'm too much of a geek. You'd really have to have buy in from the teachers and staff... most likely, except for a few of them, will probably be too terrified of computers in general to even contemplate using linux...I would think local LUGs could train teachers and staff so they could become much more comfortable with the whole thing. -Original Message- From: Jeferson Lopes Zacco [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 6:51 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [newbie] Use of Linux Speaking seriously now, If I ever get to be a good C/C++ programmer and ever manage to understand QT libraries and whatever it takes to make programs for KDE/Gnome/X than I really plan
Re: [newbie] more help with script -converting an string to integer
Hmm, thanks Miark, but I'd like the script to be entirely bash(1) compatible since I don't know how standard Perl/Python/anything else are between != Linux/Un1x flavours. Besides I'm just a bash apprentice, learning either Perl or Python shall be my next step. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. -Mensagem Original- De: Miark [EMAIL PROTECTED] Para: Jeferson Lopes Zacco [EMAIL PROTECTED] Enviada em: quinta-feira, 12 de julho de 2001 03:15 Assunto: Re: [newbie] more help with script -converting an string to integer Clue: Use Perl ;-) Perl will use a string as an integer without converting it. Cheers, Miark I need more help with my pet script. Apparently bash lacks any type converting commands, and I need to convert a variable that stores the line number of a certain file -which was created with wc-l file - but I can't. I tried gawk but the bash script seems to reconvert the integer when passed by gawk. Any clues? --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
Re: [newbie] sorting a file/list in a special way
Thanks for your help. While I must admit I didn't quite understand the final form you gave, that comes from me being rather dumb both in awk/gawk and RE. I will read the docs and try to work it out myself rather than just pasting your answer into my script. I did understood tough the great idea of generating a sort key with gawk and prepending it to the line to be sorted. I can possibly strip it out easily by inserting some control caracters after it- in case I don't understand what you did in the second gawk. :^) I intend to use this script as a cd replacement: in case the dir you typed doesn't exist, it tries to match it by doing a find/grep. There will be options for stating the initial search dir, and choosing the innermost/outermost dir- that's why I need to sort it that way. I think this script will be very useful for people like me which just don't remember the right path of a dir 5 levels below under their ~, and whether it is mydocs, My_docs, MY docs or some other awful combination. I wonder if I'm allowed to publish the script into the list when its ready? I think it would be useful to many newbies which are trying to get acquainted with bash. Oh ,and please don't e-mail me telling me that there is such a script available. Wait till its complete . :^] -Mensagem Original- De: civileme [EMAIL PROTECTED] Para: Jeferson Lopes Zacco [EMAIL PROTECTED]; [EMAIL PROTECTED] Enviada em: quarta-feira, 11 de julho de 2001 14:14 Assunto: Re: [newbie] sorting a file/list in a special way On Tuesday 10 July 2001 20:19, Jeferson Lopes Zacco wrote: Hi all, I need some help in a script I'm writing. Basically I need to know if there's a way to sort a list in the following way: Unsorted form: /a/aa//a/aa /b/bb/bbb/ /d/dd /a /x/x SORTED form: /a /x/x /d/dd /b/bb/bbb/ /a/aa//a/aa What I want here is to sort the list by the number of /s in it, and secondly by its size. I tried sort, tsort and tpx but they don't seem to be up to this. Will sed or awk handle it? I know nothing about them, but if someone say there's a way I'll find out through the man pages/info. I know I can make a sort function inside my script myself, but I would have to use arrays and I want it to be bash1 compatible. Any guesses? --Jeferson L. Zacco aka Wooky Nice question! Well gawk can count the /'s pretty easily echo /a/aa/aaa/bbb/cc |gawk -F/ '{print NF-1}' Now length of a line is length($0) and the line is $0, so echo /a/aa/aaa/bbb/cc |gawk -F/ '{ print ((NF-1)*1000+length()) $0}' will produce 5016/a/aa/aaa/bbb/cc So if you use THAT gawk filter to make a temporary file or pipe you can sort on it and as long as no lines are longer than 1000 characters, you have a unique sort key in the beginning of the line--but wait, it is variable in length... Pshaw! |gawk -F/ '{ printf (%8d.%s\n, ((NF-1)*1000+length()), $0)}'| a print from your file to sort on the left of the pipe and a sort on the right for the first 8 columns solves the problem. Then you can use sed or gawk to strip off those characters, replacing the . in the first gawk statement by something that will NOT be in your string then gawk -F. '{print $1}' (replacing that . by the delimiter you want as well) after the sort. Thanks for an interesting one! Civileme
Re: [newbie] Use of Linux
Yes I quite agree with Jim- I probably have messed up Window$ much more than my 5-yr old nephew has. :^) That is why it is a good idea not to log in as root unless needed. As for Sridhar( I wonder how should I pronounce your name?), you actually are a genius. While starting to learn early is of course easier, being able to read anything at all, let alone the MS-DOS manuals, at the age of 3 is something even Gates will be envious for sure. I myself started at about 9 with my lovely 16kb ZX82c. Basic, a bit of assembler, cassete tapes... :^) Enough of that I'm feeling old. As a matter of fact I'm turning 30 hopefully next year and here in Brazil there is a legend that anyone who has never compiled his own kernel will turn into a pumpkin in his 30th birthday. That is why I'm learning Linux right now. :^) Speaking seriously now, If I ever get to be a good C/C++ programmer and ever manage to understand QT libraries and whatever it takes to make programs for KDE/Gnome/X than I really plan on releasing a ChildDesktop for Linux. It would be an enormous boost to Linux- parents would love the thought of being able to leave their child with their computers unattended without the risk of them doing serious harm to the system. --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place. From James Bear: I let my four-year old run my box on the windows and the linux side--even as root--she loves xbill and chess--I've had to fix a couple of things, but she can never mess things up as badly as I can. jim Quoting Jeferson Lopes Zacco [EMAIL PROTECTED]: From Sridhar Dhanapalan: Children, IMHO, are the best group to teach GNU/Linux to. Their minds are like sponges, developing at a rapid pace, and so they can learn new things quickly. They do not have any predetermined notions of how things should be, unlike people who have been using WinDOS for a while. I personally began learning MS-DOS (version 2.1) on an IBM PC in 1985, when I was three (yes, three) years old. The IBM quick reference guides were amazingly easy to follow (I also had some chunky manuals, but I didn't touch those). While I realise that most people are not like myself, I believe it *is* possible to teach young children an OS like GNU/Linux, especially with fancy X interfaces like GNOME and KDE.
[newbie] more help with script -converting an string to integer
I need more help with my pet script. Apparently bash lacks any type converting commands, and I need to convert a variable that stores the line number of a certain file -which was created with wc-l file - but I can't. I tried gawk but the bash script seems to reconvert the integer when passed by gawk. Any clues? --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.
Re: [newbie] Use of Linux
Judith, I want to present you the title of the most active newbie in the list. As a matter of fact, I'm unsubcribing because I can't stand hundreds of msgs in my poor 56k conn, half of them yours. (This is a half-joke: I'm really unsubscribing, but not due to your msgs.) As a matter of fact, your attitude is one that should be followed by other Linux users, newbies and experts alike: not only do you discuss your own problems, but you also answer other's newbies doubts - when you know how- and raise interesting questions such as the the future Linux development as an alternative to Window$. While I agree mostly with everything you and tazmun wrote, I think two questions are crucial: attitude and standatization (is that spelled right? Forgive my English) Attitude- the attitude of seasoned Linux users towards newbies. Unfortunately, most either have the RTFM approach- and most newbies doesn't know WHERE to get the manuals, let alone read them. This attitude reflects in the way Linux upgrades are planned and released, and even in the way some people with good hearts answer: [newbie] I just installed mandrake 8 and I want to install Acrobat Reader so I can view the pdf help files. What should I do? [expert] dld the rpm and as root rpm-i it or taz -zxfv the tar.gz then ./INSTALL I'm sure someone who just came from Windows, and had not the chance to read anything about Linux beforehand will think that that expert is indeed a hacker trying to get some virus in to his computer. A typical Window$ user will know nothing about shells, command line, man pages, info, root, tarballs or rpms. And altough there are lots of documentation freely available on the internet, it's just way too difficult to a newbie to know WHAT and WHERE to read FIRST. Second is Standartization. The real difficultie for newbie linuxers is NOT the command line. Anyone who can type and read can use a comand line.It may be awkward and ugly, but it is usable. The difficultie is the lack of standartization about configuring a linux system. In which directory the configuration files goes? In which format they are written? What do they do? When this app crashes, where can I see the error log/ restore old settings? None of this are standart across the different components of a Linux system, and they differ even more across different distros. It is just painful for a newbie to memorize which file should be a script (in which shell?), a function, a plain text file (in what format?), where it is and what it does. I understand that many of these are features actually buried deep within Linux structure, and they provide a good part of the Linux power and safeness. But is also what keeps Linux from getting to the masses. This is specially true for the GUIs or WMs . They're quite difficult to configure for the average user- look at that guy who can't kill the eyes applet in KDE. Gnome is still buggy. Mine has stopped logging out for no apparent reason.Suppose I din'nt know about CTRL-ALT-BKSP? So that is my call to Linux developers which seek to make Linux a viable alternative to Window$. Such as Mandrake, KDE and Gnome developers. It's not about changing Linux so that it's ease to use. It's about providing a LAYER of ease of use for newbies, a layer where configuration is easy and standart across ALL linux components - the shell, the path, permissions, security, windows managers, mounting devices, networking, applications, X Window, ALL. It shouldn't be a graphical gadget configuring tool: if the configuration is truly standart, anyone can write a tool that will read and write the necessary file(s). Advanced users could just ignore this layer. This is the true reason window$ is popular: you don't have to have a precise knowledge of the system workings to use it. If Linux can manage this without taking away its power and features, then, and only then it will be a real competitor to Microshaft. Probably then it will sue Linux by being anti-american and anti-capitalist (well I'm not american anyway, and noone ever asked me if I wanted to be capitalist) or will hire Linus,Alan Cox and the other Linux developers for a billion dollars a day. But that's another story... That said, I would thank all the people who take the time to answer newbies questions in this and any other places. Tux owns much to you all.:-^) --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't if computers weren't invented in the first place.
Re: [newbie] Internet Security -J.Miner and Microsoft
-Mensagem Original- De: civileme [EMAIL PROTECTED] Para: Judith Miner [EMAIL PROTECTED]; [EMAIL PROTECTED] Enviada em: domingo, 8 de julho de 2001 04:27 Assunto: Re: [newbie] Internet Security And despite the fact that I enjoy your posts, this is my last one to you and note it is on-list. It occurs to me that if you are a Microsoft shill, or executive, that you could be a lot more productive to your company by wasting my time than you could be by being negative on the newbie list. Civileme Interesting ... I had just written an e-mail congratulating Judith on her posts. After reading yours, tough, I must admit they do make some sense...and I haven't seen a reply of hers to your post. I would give a most outraged reply if I were mistaken with a Microshaft plant. And it looks weird to me that she doesn't know how to get the cedille, yet she knows so much about other things. I'm still not convinced she is a plant, tough. Time will tell. On the other hand, I guess that her posts didn't manage to scare anyone, if that was her intention. That linux needs to get easier to configure if it wants to atract Window$ users is a fact. Mandrake has gone a long way towards it by making the installation process easy- it is, in fact much easier and quicker than window$. But there is still work to be done, as I pointed in my last post. Will it be done? It depends on the community attitude towards new users, and their ability to handle micoshaft attacks, which will increase from now on. And it seems that the attacks can be very violent and unexpected indeed... --Jeferson L. Zacco aka Wooky [EMAIL PROTECTED] Linux registered user #221896 - Computers are used to solve problems that wouldn't exist if computers weren't invented in the first place.