Re: [newbie] partitions for Mandrake 7.2
I suggest you make 3. One for root, one for /home, and one for swap. The swap file is small, about 128 MB should do depending on how much RAM you have. Then allocate at least 2 GB for root / and at least 500 MB for /home. It's sorta dependent on what you feel like setting up however. There are many guides/opinions on the ideal partition setup (Mandrake probally has their ideal setup on their website somewhere), but you can't go wrong with what I've suggested. Actually I've already done it (couple of hours ago). I noticed a cool little button with "auto allocate" written on it which solved the problem and set things up pretty much as you suggest. Thanks for taking the time though.
Re: [newbie] Setting Up Secure Shell
Tim, I've got all these packages installed and I'm not able to connect to my machine using ssh. When I get to the login it asks me for the passwd and then refuses the connection. Are there other files that need to be configured or something that I'm missing? -- Mark "If you don't share your concepts and ideals, they end up being worthless," "Sharing is what makes them powerful." Linus Torvalds REPLY BELOW On Tue, 9 Jan 2001 Tim Holmes spake passionately saying: Personally I use OpenSSH, but there are other just run of the mill ssh packages you can install. On my home machine I have hte following ssh packages installed: [timh@yoda ~]$ rpm -qa |grep openssh openssh-2.2.0p1-7mdk openssh-askpass-2.2.0p1-7mdk openssh-server-2.2.0p1-7mdk openssh-clients-2.2.0p1-7mdk I think at the very least you need the server and the client installed but the others are helpful I do believe. I went to www.openssh.com and download the above packages as well as OpenSSL. You can also try www.freessh.org. I do believe they just have ssh and not the openssh, but it should do the trick for you. OpenSSH just boasts that it's more secure. And I think www.freessh.org is just a page to point you to another ssh download page. I got mine from OpenSSH, as well as OpenSSL and isntalled all of them by rpm -ivh openss* and it installed all of the SSH and SSL packages. Now I don't even use telnet. Here is the list of openssh and openssl packages I have installed. [timh@yoda ~]$ rpm -qa | grep opens openssl-0.9.5a-8mdk openssh-2.2.0p1-7mdk openssh-askpass-2.2.0p1-7mdk openssh-server-2.2.0p1-7mdk openssh-clients-2.2.0p1-7mdk So find those packages and install them and ssh will be up and good to go. Hope that helps. tdh -- T. Holmes Unixtechs.org [EMAIL PROTECTED] www.unixtechs.org/ "Real Men use Vi." * Andrew Rice Jr [EMAIL PROTECTED] [010108 14:11]: Can anyone run by me a little bit of how to setup a ssh server onto my Linux machine? -- ADRJ
Re: [newbie] ppp error 15
thanks I will give it a try and let you know. ed - Original Message - From: "civileme" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 10:14 AM Subject: Re: [newbie] ppp error 15 On Wednesday 10 January 2001 00:40, you wrote: I have been having a hell of a time with my Mandrake 7.2 powerpack install. I have setup my modem (worked great in 7.0) with setserial, and can connect thru kppp to my isp (earthlink) but it acts as though it has no DNS (can not connect to anywhere but ppp starts) I believe I have tried every damn setting I can think of. I looked at a log that said pppd died with error 15... man pppd says somethiong about "peer not returning an echo" is this some modem setting that I am screwing up? thanks in advance kppp will override the DNS settings in network if you check the box to do so You want to put in 207.217.120.43 209.179.179.19 207.217.77.42 As primary, secondary and tertiary Domain Name Servers Civileme Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" Content-Transfer-Encoding: quoted-printable Content-Description:
[newbie] Security check.
Hi, The system sent me a message containing the following warning: Security Warning: the md5 checksum for one of your SUID files has changed, maybe an intruder modified one of these suid binary in order to put in a backdoor... - Checksum changed files : /usr/bin/lppasswd - Checksum changed files : /usr/bin/ssh About the ssh, I guess the best would be to install it again. But what to do with the lppasswd file? Thanks to all. Fabian.
[newbie] Cant mount Windows D drive
Hi all, I just looked at the Fdisk for my windows D drive hdb2 in linux and it starts at 1275. Could that be my problem? Is it bad for it to be past 1024? I have not changed anything in fdisk. Thanks for helping me every one. I appreciate it. Jay
[newbie] 2.4 Stable. When?
When is mandrakesoft going to release a distro running 2.4, does anyone know? I can't wait for the mpeg 2 support. Regards, Peter Marks
[newbie] Printing problems
-- Mensaje Reenviado -- Subject: Printing problems Date: Sun, 17 Dec 2000 22:42:25 -0400 From: Walter Lpez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello someone helpme I have running Mandrake 7.2, works fine, but i cant print anything in my Staroofice 5.1, my printer is epson lq 850, works good under other apps like kword, abiword, netscape, etc. only with starOffice i have problems. Please helpme, Best regards --- __ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
[newbie] Forwarded mail.... (fwd)
Hey, Below is the second odd e-mail I've received siince instlaling lm7.2 (was in RH6.0 before). The headers imply that this ~was~ send from my box, but I'm confused as to what would be sending e-mail to "undisclosed recipients" why the From field would read "[EMAIL PROTECTED]" when I've never used the whole of the rfc address in the many years I've had an account with my Web host. So, anyone (civileme?) know what's up with this? Meph -- Forwarded message -- Date: Wed, 10 Jan 2001 18:04:23 -0800 (PST) From: Meph Istopheles [EMAIL PROTECTED] To: Steve Hovey [EMAIL PROTECTED] Subject: Forwarded mail Steve, what do you make of this? It came to me today had some sort of attachment: -- Forwarded message -- From meph Wed Jan 10 11:38:32 2001 Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from localhost (localhost.localdomain [127.0.0.1]) by Ra-Hoor.Aeon-AL.Com (Postfix) with ESMTP id 2FEB037496 for meph@localhost; Wed, 10 Jan 2001 11:38:32 -0800 (PST) Received: from mail.buffnet.net [205.246.19.62] by localhost with POP3 (fetchmail-5.5.2) for meph@localhost (single-drop); Wed, 10 Jan 2001 11:38:32 -0800 (PST) Message-Id: [EMAIL PROTECTED] Date: Wed, 10 Jan 2001 11:38:32 -0800 (PST) From: [EMAIL PROTECTED] To: undisclosed-recipients:; # $Id: hosts,v 1.9 1998/04/16 14:37:19 joerg Exp $ # # Host Database # This file should contain the addresses and aliases # for local hosts that share this file. # In the presence of the domain name service or NIS, this file may # not be consulted at all; see /etc/host.conf for the resolution order. # # 127.0.0.1 localhost localhost.my.domain myname.my.domain # # Imaginary network. #10.0.0.2 myname.my.domain myname #10.0.0.3 myfriend.my.domain myfriend # # According to RFC 1918, you can use the following IP networks for # private nets which will never be connected to the Internet: # # 10.0.0.0- 10.255.255.255 # 172.16.0.0 - 172.31.255.255 # 192.168.0.0 - 192.168.255.255 # # In case you want to be able to connect to the Internet, you need # real official assigned numbers. PLEASE PLEASE PLEASE do not try # to invent your own network numbers but instead get one from your # network provider (if any) or from the Internet Registry (ftp to # rs.internic.net, directory `/templates'). # (7³(7³(pL( ( ´¿¿þz(7³(« ( pL(D´¿¿ ,(lY(«7³( (lY(lY( Ü¿¿s(! (Ø¿¿ d((D´¿¿¸à( (¨¸¿¿=o( (` T´¿¿d(( ¨¸¿¿ÌÊ(d¿¿`¿¿0ä(¨¸¿¿nÌ(h¿¿d((´à(äÜ( t¿¿ GMT [removed many lines] -- "I did this 'cause Linux gives me a woody." -Dave '-ddt-' Taylor, announcing DOOM for Linux
Re: [newbie] ppp error 15
Earthlink's DNS settings are not the same for all of their customers, but depend on the network that you're using. Mine are the same as Tom's, but my authentication setting is PAP, not CHAP. For ex-Mindspring customers, though, the DNS addresses, mail server, news server and other settings are different. All told, they've got about 7 or 8 different groups of settings. I just learned this when I went to the EL support section and did a search on "DNS". This may be totally off of the wall, but might be worth a try: When I first installed LM last year, I couldn't get a connection. It turned out that the dialler was sending M1L4 to the modem, and that ain't legal -- the maximum value for the M parameter is 3. The modem balked. The fix was to edit the entry on the modem string page. My 2 cents - Carroll Tom Brinkman wrote: I have been having a hell of a time with my Mandrake 7.2 powerpack install. I have setup my modem (worked great in 7.0) with setserial, and can connect thru kppp to my isp (earthlink) but it acts as though it has no DNS (can not connect to anywhere but ppp starts) I believe I have tried every damn setting I can think of. I looked at a log that said pppd died with error 15... man pppd says somethiong about "peer not returning an echo" is this some modem setting that I am screwing up? thanks in advance Connecting to Earthlink can be a chore, and from what I can tell, varies by location (the local number you call). Be careful of advice to directly enter the DNS numbers in resolve.conf. EL use a Netscape- Enterprise server that's a kissin cousin to AoL's Bu!!Sh+t. Once you get good** EL DNS numbers entered into Kppp, on first good connect a different set are auto written to resolve.conf EL DNS (mine, YMMV): 207.217.77.82 and 207.217.120.83 (primary/secondary) my /etc/ppp/resolve.conf: nameserver 198.6.1.218 nameserver 198.6.100.218 (this is pretty standard DNS, not EL's, so you might try entering these in resolv.conf) my /etc/ppp/options: lock noauth noipdefault usepeerdns Kppp: authentication is CHAP, dynamic IP, default gateway, domain is www.earthlink.net, line termination 'cr' ** by good I mean: EL support (the 800 number) gave me 3 sets of bad numbers before I discovered the right numbers for myself ;( and 2 days before their windoze CD came in the mail. -- Tom Brinkman [EMAIL PROTECTED] Galveston Bay
Re: [newbie] rpm failure
I had this problem, bu I only had it on SuSE. And I could not find the RPM to download. Do we go to RedHATE's site to download this, or is there a Mandrake RPM to install, or a SuSE RPM to install? Does anybody know? "Anybody? Bueller? Bueller?" (I couldn't resist! :0) tdh -- T. Holmes Unixtechs.org [EMAIL PROTECTED] www.unixtechs.org/ "Real Men use Vi." * cyberclay [EMAIL PROTECTED] [010108 19:51]: Hey, Every time I attempt to install an RPM (with rpm-3.0.3-43mdk) I get the following error: only packages with major numbers = 3 are supported by this version of RPM error: gnomp3-0.1.6-1.i386.rpm cannot be installed Regards, cyberclay --- cclay at fastlane dot net I think, therefore I am dangerous http://www.hsien.net
Re: [newbie] Re: Win4Lin (was Recruitment Notice)
Jim Dawson wrote: Win4Lin is faster, but supports only Win9x and has very limited networking support. (WINSOCK applications only.) vmware supports Win9x, NT, 2000, Linux, FreeBSD (with a little help), NetWare (albeit not very well), Solaris, and others. (the only OS I know of that isn't supported at all is BeOS) and has good networking support, but it is a lot slower than Win4Lin. vmware recently introduced vmware Express, which supports only Win9x and is supposed to be faster than the regular version, however I have never tried it. If you need to run only Win9x and don't need network support beyond Internet applications, Win4Lin is probabally your best bet. If you need to run NT, Win2K, etc. and/or need good networking support and don't mind a performance hit vmware is the way to go. since i have a celeron 466, i probably won't run vmware on it. being able to run win2000 though will be useful. does vmware run reasonably on a fast machine, say athlon 1ghz? aston sydney, australia
RE: [newbie] Setting up Samba as Passowrd Server for win98
Look in /usr/doc/samba-2.0.7/docs/textdocs . You might also check out www.samba.org Basicly, you want: workgroup = WORKGROUP domain master = yes preferred master = yes local master = yes logon script = %U.bat logon path = \\%L\Profiles\%U logon drive = h: logon home = \\%L\%U\.profile and probably: security = user encrypt passwords = yes smb passwd file = /etc/smbpasswd username map = /etc/smbusers wins support = yes and you should have: [netlogon] comment = Network Logon Service path = /home/lan/shares/netlogon guest ok = yes writable = no share modes = no [Profiles] path = /home/lan/shares/profiles# browseable = no# guest ok = yes browseable = yes write list = @smbusers force group = lanadmin create mask = 0771 directory mask = 0770 map system = Yes map hidden = Yes map archive = Yes available = yes Of course, change the paths to the apropriate directory names. The permissions should be: drwxrwx--- 2 bill smbusers 4096 Sep 30 11:30 netlogon/drwxrwx--- 2 bill smbusers 4096 Sep 30 11:30 profiles/ Bill PS. I have a group "smbusers" that I put all samba users in. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve GulickSent: Wednesday, January 10, 2001 11:14 AMTo: [EMAIL PROTECTED]Subject: [newbie] Setting up Samba as Passowrd Server for win98 Can some one point me to a source of info on how to properly configure samba with webmin to act as a PDC for password authentication of win98? TIA Steve
Re: [newbie] Lost NT Partition
Adrian wrote: 3rd -- as i said, i was considering making a linux/win98/NT4 box. there is lots of documentation out there how to do this on the net. sure, some of it is old, but everything i read was very specific about the following: win98 first, then linux, then NT *NT must be installed last because its bootloader insist on being in control* That's not the way I normally do it, although I have used this method. My way is W98, then NT, then Linux. The key is to not install lilo to the mbr (I'm xenophobic and will probably use lilo until they don't put it in the distros anymore--grub is new fangled stuff), and make a bootdisk so I can copy the lilo boot record to a dos disk and then to the root drive and then edit the NT boot.ini. Kinda involved, but, darn it, it works flawlessly. sure, some of this linux stuff is confusing but if you jump in without doing any research you can't be surprised when you make a mistake. A typing error in DOS can really mess up a system... wonder what this file does opps... i needed that opps what is fdisk ok, sure opps darn, where are those windows and dos install disk ROFLMAO--yup, it wasn't funny at the time. as for it not making the boot disk during the install... was this mandrake 7.2? Mandrake has always given me the makebootdisk option, from 7.2 back to, I forget, 6 something. i hope your next linux experience is better. Me too. Linux is worth the trouble, and the more of us that use it, the better the hardware manufacturers will support the system. When all is said and done, Linux and NT are similar os's, designed to do the same things. IMO, Linux just does it better, with no secrets.
Re: [newbie] Recruitment Notice
I am interested in testing mandrake softwares. I have DSL connection, I have 20gig secondary drive all devoted to mandrake7.2 right now on one of my boxen and I could put experimental distro on it too. I have enjoyed the 7.2 mandrake and have only had a few problems with samba config, supermount, and some other minor glitches that the gurus have gotten me through. Right now the mandrake boxen is running steady and no problems. Let me know if I can help by trying new distro. Susan - Original Message - From: civileme To: [EMAIL PROTECTED] Sent: Friday, January 05, 2001 2:31 AM Subject: [newbie] Recruitment Notice Well, folks, it is that time of the development cycle where we traditionally (actually this is a brand new tradition) seek a few brave souls to act as testers for our next distro. This time, all you need is bravery and a computer system to try this out on. We are finishing testing protocols which will lead you through the testing steps; we have software that phones home with your tester number and your hardware configuration, and we are building a web site to post results and opinions. For the first time, we are looking for more than bugs to fix. We are looking for ratings of functionality that we can share with the community, and with the developers and maintainers of the packages, even those we do not do ourselves. To enroll, just email me. Tell me whether you have a fast connection and if not, send a postal address. Oh, and make sure you are able to dedicate a little time the month of Valentine's Day. Well the pay isn't great ($0) but you do get my personal assistance via email to configure your computer to the next release. Civileme -- QA/Software testing
Re: [newbie] still working on windows D drive
Jay wrote: /dev/hda1 /mnt/DOS_hda1 vfat user,exec,conv=binary 0 0 /dev/hdb2/mnt/DOS_hdb2 vfat user,exec,nodev,nosuid,rw,conv=binary 0 0 /dev/hda2 swap swap defaults 0 0 /dev/hdb1 /boot ext2 defaults 1 2 /dev/hdb3 / ext2 defaults 1 1 /dev/fd0/mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 /dev/cdrom /mnt/cdrom auto exec,nodev,nosuid,rw 0 0 /dev/cdrom2 /mnt/cdrom2 auto0 0 This is the fstab line I have for read-write access to my D-drive, 3rd partition: /dev/hdb3 /mymusic vfat rw 0 0 So I think you should have: /dev/hdb2 /mnt/DOS_hdb2 vfat rw 0 0 If I'm not mistaken, you have to create /mnt/DOS_hdb2 before this will work. I *think* I used "touch /mnt/DOS_hdb2 but I'm not sure. -- HTH, Joseph Red [EMAIL PROTECTED] www.cautioninc.com
[newbie] how to do 'ghost' install in linux
hi all. i know that for windows machine, i can use norton ghost to do a ghost installation of windows for a large number of computers. i've wondering if this can also be done for linux. if so, where do i go for information. please note that this is not an urgent request for help. i am just insanely curious. i do work for a computer hardware company, so this it MIGHT be useful down the track. thanks all aston sydney, australia
Re: [newbie] Adaptec AHA-2920 woes
On Wednesday 10 January 2001 08:13, you wrote: Update 1-10-01 I had the good fortune to have a local mentor take a look at this errant system and he was unable to get it to behave. We are now both of the opinion that the Adaptec AHA-2920 is not really an adequately supported scsi adapter.or the one I got is flaky! ...or maybe there's something amiss with the mobo...? So, there's a enw AHA-2930U on the way that should land on Friday and we'll give that a try. In the meantime, I've got another (not quite so) old acer windoze box with a single ide 2gb drive that swallowed 7.2 just fine and I'll play on that til the scsi card arrives and we can see what's what. later (::) I am running the 2930 card with absolutely no problems with LM 7.2. I did not respond earlier as I have no experience with (or have even heard of) the 2920. Good luck but it should work just fine. -- Mike Mattix [EMAIL PROTECTED]
Re: [newbie] IDE bus question again...
On Wed, 10 Jan 2001, you wrote: Dennis Myers wrote: Somebody correct me if I'm wrong, the line should read append="idebus=66" Try that and see if it doesn't change the boot messages. -- Dennis Myers Registered Linux user #180843 Thanks Dennis, I'll try that! ;-) Also, have you seen the Mandrakeuser.org how to on Multidisk system tuning? I tried the ideII performance tuning and saw a 30-40% increase in the disk read speed. I have two HDs on my computers and the one dedicated to linux only was the one I tuned up. It's running on UDMA 33 I believe and the speed jump was noticeable. Benchmarking the drives was interesting also. Another day of learning something new. I do love it! -- Dennis M. Registered Linux user #180842
Re: [newbie] Helix Gnome and MDK 7.2
Anthony [EMAIL PROTECTED] writes: Yea, that's some kind of bug in Helix-Gnome. The same thing happened to me too. To "fix" it, create the file ~/.Xclients-default if it's not already in your home directory, and then put "exec gnome-session" in that file. Then when you log in, select "Default" from the list of window managers, and it should bring up Gnome. It never worked. I've been forced to reinstall Mandrake's original Gnome package and work from there. Thanks for all of your help. -Mannequin* Hi all, I've just downloaded and installed Helix Gnome on my MDK 7.2 system. After the install 'kdm' stopped allowing me to access Gnome at all. (It doesn't show up in the window managers list at all.) How do I go about getting it back on the list so that I can use Gnome instead of KDE? I've seen elsewhere, where someone suggested that you create a file in /etc/X11/wmsession.d/ called '02gnome' which had the contents: NAME=Gnome ICON=gnome-wmsession.xpm DESC=Gnome Desktop Environment EXEC=/usr/bin/gnome-session SCRIPT: exec /usr/bin/gnome-session I tried that and when that didn't work, I manually edited usr/share/config/kdmrc and added Gnome to the list. Of course that added Gnome to the list, but caused 'kdm' to load up IceWM, instead of Gnome. I then used the 'Login Manager' application that came with KDE to edit the list, and put Gnome back in the list, but it only got the same results as putting it in manually. That's the extent of my travels so far. Any help would be appreciated. I guess the full extent of my question would be how to get Gnome to start up, and how to get Mandrake's menus to 'see' my Gnome software again. Thanks for you help. -Mannequin* -- Anthony http://binaryfusion.net Press any key to continue, or any other key to quit.
Re: [newbie] Recruitment Notice
Yes, I would especially like to test new distro, for fixing problems with CDRW stuff. I have 7.2 and went through the little fiasco with the CDburner right after install. Susan - Original Message - From: civileme To: [EMAIL PROTECTED] Sent: Sunday, January 07, 2001 3:19 AM Subject: Re: [newbie] Recruitment Notice On Sunday 07 January 2001 02:05, you wrote: Hey civilme, any idea if IDE CD-RWs like mine (LG CD-RW CED-8042B) will work in 8.0? peace, Rog http://www.slammingrooves.com Registered Linux user #19071 On Sat, 6 Jan 2001, civileme wrote: On Friday 05 January 2001 22:51, you wrote: Unusual is what we want--It does no good to make a distro that runs on only "usual" machines. I will send you some software to analyse your system--I think I probably know what doesn't work CDRW, LS120 Civileme Well I would say I have an unusual machine. Its a compaq 433 LS-120 / Floppy that came stock Cd-rom stock Both of the above are on the Secondary IDE device. after market Hewlett Packard CD-RW after market US Robotics/3Com modem Parallel Port Zip Drive Plus Agfa Snap Scan USB Scanner that Mandrake 7.2 recognizes but no software does. I still haven't gotten everything to run on this though, can't imagine trying out beta...lol. Well, the way to assure they do is to be a tester. Actually they sometimes work, if set on the master position of the IDE bus, enabled for DMA with hdparm, and do not share the ide channel with a standard CDROM. By opening this form of testing we hope to achieve far broader compatibility with hardware. We cannot configure anything special for the LG if all we have here is Plextor. Civileme
[newbie] Security check.
At thursday 11 Jan 15:10 AEST. Australia Can you help me,people are sending you e-mails and then the e-mails are being sent to me. HELP HELP GAGDE - WANT A NEW JOB? THEN LET THE JOB FIND YOU Visit www.ecruit.com.au and register your profile. Then the headhunters can find you. - Get your own free email account at http://www.freemail.com.au/ now part of the Webuser.com.au independent portal. Visit at http://www.webuser.com.au -
Re: [newbie] Dual processors ??
On Wednesday 10 January 2001 10:53, you wrote: FWIW... I run 7.2 on a dual processor system here. I use the SMP kernel. No problems. Everything seems to run just fine. I'm not sure what problems with software the original poster referred to... Perhaps I'm not running with software that has problems with SMP? Holly Mark Weaver wrote: I'd be real interested in knowing about this too cause I've been toying with the same idea of building a dual processor system. Linux is all I run anymore. I'd be more concerned as to how the kernel would react to such a situation more then some of the apps on that system. I can't imagine how'd they'd really care whether there were 1 or 10 processor. -- Mark "If you don't share your concepts and ideals, they end up being worthless," "Sharing is what makes them powerful." Linus Torvalds REPLY BELOW On Tue, 9 Jan 2001 David spake passionately saying: I was thinkg about building a dual processor PC using mandrake 7.2 as this should not be a problem ...however i read somewhere that even though the operating system might be Ok with dual processors some of the software that runs on it might not. Is this the case or not ??? as there would be no point in going down this road if i need to worry about every new piece of software i got.. David Most software is processor ignorant. The software just starts threads via the operating system and I would suspect most KDE and GNOME software IS mutli-threaded. The operating system handles the scheduling of the threads against the number of processors it has to work with. Even if the software you are using is NOT multi-threaded, if you doing more than one thing at a time the second processor can/will help you out. -- Mike Mattix [EMAIL PROTECTED]
Re: [newbie] FILESERVER, PROXY, FIREWALL, and DHCP Server
Jeremy Sudderth wrote: Agreed, That is what I was striving for any way. So how would you set it all up. I have access to any and everything need, I just need some suggestions on the best configuration. Thanks, Jeremy I don't have any experiences with proxying, but I can give you advice on SMB (Windows file serving), IP Masquerade, packet filtering with 2.2.x kernel (2.4 kernel has a completely revised system that I haven't used yet), and DHCP. One route is to find scripts and GUI's to do these tasks for you. Mandrake already has a GUI to help you out with almost all of these tasks. Also there are scripts like pmfirewall to help out with setting up your firewall configuration. The fun way is to put things together by hand. For IP Masquerade and packet filtering look into IPChains. For DHCP look into DHCPd. For SMB look into Samba. Here is an example script if you are looking into building a packet filtering masq box (look for the x's and substitute): #!/bin/bash # This script is by Jason Snyder # This is meant to be a semi generic Packet Filtering and IP Masquerading script. # This is designed to run under Linux on a 2.2.x kernel. # Tested under RedHat 6.0 and Mandrake 6.1. # Declare environment variables REALIP=x.x.x.x FAKEIP=x.x.x.x FAKESUBNET=x.x.x.0/24 FAKENETWORK=x.x.0.0/16 IDEV=eth1 #Device connected to the Internet LDEV=eth0 #Device connected to the Local Network #load all necessary patches to allow ip masq support /sbin/depmod -a /sbin/modprobe /lib/modules/2.2.x/ipv4/ip_masq_portfw.o /sbin/modprobe /lib/modules/2.2.x/ipv4/ip_masq_autofw.o /sbin/modprobe /lib/modules/2.2.x/ipv4/ip_masq_ftp.o ports=21 /sbin/modprobe /lib/modules/2.2.x/ipv4/ip_masq_irc.o ports=6667,6668,6669,700,1024,1025,1026,1027,1028,1029 # Flush all ipchains /sbin/ipchains -F input /sbin/ipchains -F forward /sbin/ipchains -F output # Default to DENY /sbin/ipchains -P input DENY /sbin/ipchains -P forward DENY # Allow from intranet to internet for tcp and udp /sbin/ipchains -A input -p tcp -i $LDEV -j ACCEPT /sbin/ipchains -A input -p udp -i $LDEV -j ACCEPT # Allow all local connections /sbin/ipchains -A input -s 127.0.0.1/32 -d 0/0 -j ACCEPT # Allow return connections from internet to intranet on high port numbers # exclude 6000-6010 - these may be used for X /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 1024:5999 -j ACCEPT /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 6011:65535 -j ACCEPT /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 1024:5999 -j ACCEPT /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 6011:65535 -j ACCEPT # Limit ICMP traffic /sbin/ipchains -A input -s $FAKENETWORK -i $LDEV -p icmp -j ACCEPT /sbin/ipchains -A input -i $IDEV -p icmp -s 0/0 0 -d $REALIP -j ACCEPT /sbin/ipchains -A input -i $IDEV -p icmp -s 0/0 3 -d $REALIP -j ACCEPT /sbin/ipchains -A input -i $IDEV -p icmp -s 0/0 11 -d $REALIP -j ACCEPT /sbin/ipchains -A input -i $IDEV -p icmp -d 0/0 -j DENY # Limit All internet TCP/UDP traffic to certain ports /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 1:20 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 1:20 -j DENY # Allow ssh2 and ftp to pass. /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 23:52 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 23:52 -j DENY # Allow DNS to pass /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 54:79 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 54:79 -j DENY #Allow http to pass /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 81:112 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 81:112 -j DENY #Allow IDENT to pass /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 114 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 114 -j DENY #Allow sftp (secure ftp) to pass /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 116:1023 -j DENY /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 116:1023 -j DENY #If non of these rules apply then allow on ports 1:1023 /sbin/ipchains -A input -p tcp -i $IDEV -d 0/0 1:1023 -j ACCEPT /sbin/ipchains -A input -p udp -i $IDEV -d 0/0 1:1023 -j ACCEPT # Turn on IP Masquerading for intranet to internet # Put in an extra Line in the hopes of catching Spoof attacks /sbin/ipchains -A forward -i $LDEV -s $FAKESUBNET -l -j DENY /sbin/ipchains -A forward -i $IDEV -s $FAKESUBNET -j MASQ echo Done Here Here are a few pointers when if you manually put together /etc/smb.conf on a machine with two NICs: 1. Specify the interface to attach to. (ex. interfaces = x.x.x.0/24) 2. Specify the IP address range(s) that can access the server (ex. hosts allow = x.x.x.) 3. Use encryped passwords. With Samba you should be able to hook into NT domains if you wish, but I have not done that yet. Most of my experience is with using user level permissions on a lone Linux box. Here is an example dhcpd.conf file on a machine with two interfaces (one internet, one intranet): option subnet-mask 255.255.255.0; option broadcast-address x.x.x.255; option routers x.x.x.1; option domain-name-servers x.x.x.x, x.x.x.x; option
Re: [newbie] Setting Up Secure Shell
Mark Weaver wrote: Tim, I've got all these packages installed and I'm not able to connect to my machine using ssh. When I get to the login it asks me for the passwd and then refuses the connection. Are there other files that need to be configured or something that I'm missing? Oh gosh I had that exact problem and I can't recall what I did to fix it... It seems to me that it was a combination of two things: the config and setting up my user name to allow ssh by generating an ssh key in my home dir... To do this, run ssh-keygen as the user that you want to allow to connect. Once you've done that, copy the file under your home directory /home/user/.ssh/identity.pub to /home/user/.ssh/authorized_keys. Now, that last step is supposed to be for logging in without a password by using the key on both the machine you're logging in from and logging in to. I never did get that idea to work but it wasn't what I was looking for anyway. :) My guess is that it was something in one of the configuration files and I changed a few things there. I guess what I'm saying (kinda stream of consciousness here, I'm tired! grin) is that it would be most helpful to see your config file to compare it with mine then I could probably give you a pointer. It took me a LOT of trial and error, even after looking at every reference I could find out there! Holly
Re: [newbie] Network solution
glad to help. I hate those damn reply requests too. Abe "Eugene C. Zesch" wrote: Thanks, thats a setting didn't notice before. abe wrote: if you are using netscape mail you can set the preferences to never send a reply. edit=preferences=mailnews groups=return receipts: its in the bottom right box. He can request 'em all he wants and I'll never even know. Abe "Eugene C. Zesch" wrote: Penndragon wrote: Hi Steven I understand your reason, but it irritates more people than will reply. My experience is that many will simply block ypu to avoid that dialog box every time you post :( I'm not one of those, but I do find it annoying. When posting to a liast, surely your post there is sign enough that it gets though? James I agree. I also find it annoying. FWIW Gene
Re: [newbie] Lost Mouse Wheel
you could also just read the XF86Config-4 file in your /etc/X11 directory. The pointer section should look something like this: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol""IMPS/2" Option "Device" "/dev/usbmouse" Option "Zaxismapping" "4 5" #Option "Emulate3Buttons" #Option "Emulate3Timeout""50" I use a usb mouse so my "device" section refers to a usbmouse, if yours is a ps/2 mouse, the device section should refer to either /dev/mouse or /dev/psaux. Basically just leave it as whatever it is. For mouse wheel to work the "Protocol" must be "IMPS/2" and you there must be a line Option "Zaxismapping" "4 5" just log in as su and start up a konqueror session, navigate to that directory and make the appropriate changes. To open the file in editable format you must right click on it and choose a text editor you are comfortable with. Once you are done, save, close the editor, vlose konqueror, exit your existing session and restart X. If you use the graphical login thingy it is an option in the shutdown list. Otherwise merely logging out and back in will take care of it. No need to reboot for something like this. Good luck! Abe Meph Istopheles wrote: Carson, I changed my screen resolution from 1280*1024 to 1024*768 and now my mouse wheel no longer works. Nothing else has changed. Can anyone explain to me how to make it work again? thanks!! Did you check to be sure you're using your mouse? I've noticed on a couple of occasions that lm7.2 will switch me to a generic mouse. I switch it back to the Logitec Mouseman First Mouse, it works again. If it's set correctly, you might switch to a generic, reboot switch back. Should work. Meph -- "I did this 'cause Linux gives me a woody." -Dave '-ddt-' Taylor, announcing DOOM for Linux
Re: [newbie] serious rpm problem
is it just me or are you not logged in as root or su in the snip below? That is probably your problem. Not your rpm database. You must be either su or root to do anything with rpms. Abe Fred Schroeder wrote: have you tried: rpm --rebuilddb I think that will do it, I am sure somebody will correct me if I am wrong. ;-) HTH Fred - Original Message - From: "cyberclay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 09, 2001 8:59 PM Subject: [newbie] serious rpm problem Hey, I'm having a pretty serious rpm problem. Something has apparently happened to my /var/lib/rpm/packages.rpm file: [cclay@www ~cclay]# rpm -q bash cannot open file //var/lib/rpm/nameindex.rpm: Invalid argument rpmQuery: rpmdbOpen() failed How can I re-create this? Should I just re-install rpm? Which version is appropriate for Mandrake 7.0, and where can I find it as a tar.gz file (because I obviously can't use an rpm). Regards, cyberclay --- cclay at fastlane dot net I think, therefore I am dangerous http://www.hsien.net
Re: [newbie] Dual processors ??
if you are running an SMP mandrake system will recompiling the software you use help it to use the SMP capabilities of the machine or not? You all have me curious now. My girlfriend wants a dual T-Bird system for her birthday this summer. This will be a strictly mandrake machine. Abe Tom Brinkman wrote: On Tuesday 09 January 2001 08:17 pm, Mark Weaver wrote: I'd be real interested in knowing about this too cause I've been toying with the same idea of building a dual processor system. Linux is all I run anymore. I'd be more concerned as to how the kernel would react to such a situation more then some of the apps on that system. I can't imagine how'd they'd really care whether there were 1 or 10 processor. Well, i've never run SMP. From what I understand, a multi processor system has no problems running software written for single proccessor systems, but multi cpu systems won't run 'em any faster/better either. The application has to be specifically written and compiled to take advantage of multi proccessors ... and they're few and far between on most all desktop systems. -- Tom Brinkman [EMAIL PROTECTED] Galveston Bay
Re: [newbie] XFree 4.0.1 to 4.0.2
hey, in the directory /etc/X11 there is a link called X. What does it point to? It should be /usr/X11R6/bin/XFree86 for X 4.02 Give that a look it may be your problem. Abe Adrian Smith wrote: hi Tom whomever else is following this ok, this is what i tried this time around. rpm --rebuilddb rpm -Uvh --allfiles * still the same thing (X 4.0.1 not .2) so, i did this: rpm --rebuilddb rpm Uvvh --allfiles *.rpm xlog rpm --rebuilddb shutdown -r now after doing all this: XFree86 -version reports the following: XFree86 Version 4.0.1 / X Window System (protocol Version 11, revision 0, vendor release 6400) Release Date: 1 July 2000 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: Linux 2.2.17-21mdksmp i686 [ELF] Module Loader present so then i ran rpm -qa | grep XFree it reports the following: XFree86-libs-4.0.1-28mdk XFree86-xfs-4.0.1-28mdk XFree86-4.0.1-28mdk XFree86-75dpi-fonts-4.0.1-28mdk XFree86-devel-4.0.1-28mdk XFree86-ISO8859-2-75dpi-fonts-1.0-14mdk XFree86-Xvfb-4.0.1-28mdk XFree86-Xnest-4.0.1-28mdk XFree86-100dpi-fonts-4.0.1-28mdk XFree86-static-libs-4.0.1-28mdk XFree86-server-4.0.1-28mdk XFree86-server-common-3.3.6-18mdk XFree86-SVGA-3.3.6-18mdk these are the files i have (is it something stupid like i'm missing a file?): Glide_V3-DRI-cvs-1mdk.i586.rpm (this one came up as a failed dependancy when i did rpm --test, so i added it to the directory) XFree86-100dpi-fonts-4.0.2-1mdk.i686.rpm XFree86-4.0.2-1mdk.i686.rpm XFree86-75dpi-fonts-4.0.2-1mdk.i686.rpm XFree86-Xnest-4.0.2-1mdk.i686.rpm XFree86-Xvfb-4.0.2-1mdk.i686.rpm XFree86-cyrillic-fonts-4.0.2-1mdk.i686.rpm XFree86-devel-4.0.2-1mdk.i686.rpm XFree86-doc-4.0.2-1mdk.i686.rpm XFree86-glide-module-4.0.2-1mdk.i686.rpm XFree86-libs-4.0.2-1mdk.i686.rpm XFree86-server-4.0.2-1mdk.i686.rpm XFree86-static-libs-4.0.2-1mdk.i686.rpm XFree86-xfs-4.0.2-1mdk.i686.rpm freetype2-2.0.2-0.20001211.1mdk.i586.rpm freetype2-devel-2.0.2-0.20001211.1mdk.i586.rpm looking over the output of my rpm -vv, most of it seems ok to me, but i have the whole file if anyone can look at it tell anything. i didn't want to send it to the list as it is 160K however is this bad? i see the word NO, as opposed to most of the time it says YES. these are out takes from the output of "rpm -Uvvh -allfiles *.rpm". D: requires: /sbin/ldconfig satisfied by db file lists. D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(VersionedDependencies) = 3.0.3-1 D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(CompressedFileNames) = 3.0.4-1 D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(PayloadIsBzip2) = 3.0.5-1 snip D: NO A rpmlib(CompressedFileNames) = 3.0.4-1B rpmlib(VersionedDependencies) = 3.0.3-1 D: YESA rpmlib(CompressedFileNames) = 3.0.4-1B rpmlib(CompressedFileNames) = 3.0.4-1 D: requires: mlib(CompressedFileNames) = 3.0.4-1 YES (rpmlib provides) D: YESA freetype2 = 2.0.2-0.20001211.1mdk B freetype2 = 2.0.2 D: requires: freetype2 = 2.0.2 satisfied by added package. D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(VersionedDependencies) = 3.0.3-1 D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(CompressedFileNames) = 3.0.4-1 D: NO A rpmlib(PayloadFilesHavePrefix) = 4.0-1 B rpmlib(PayloadIsBzip2) = 3.0.5-1 --- thanks much Adrian Smith 'de telepone dude Telecom Dept. x 7042 [EMAIL PROTECTED]
Re: [newbie] I can't see any WEB page
On Wed, 10 Jan 2001, Emilio Correa wrote: Does your ISP have proxy servers to access the web? If so you need to set that up in Netscape. Also, DNS is always a good thing to set up if you have the info at hand. Paul Hello, I am Emilio and my OS is Mandrake 7.0. with 96 of RAM and a HD of 8.0 GB. FaxModem USR ext. I recently setup an internet account by kppp, but I didn't fill in the DNS address. Now I can't see any WEB page with Netscape when I'm on line. My ISP doesn't need the DNS in windows 97 but may be it is different in kppp. Is necesary to fill in the DNS address in the kppp setup? Is this information available in linux in somewhere? Thanks and sorry for my english. -- Abandon all hope ye who press ENTER here... http://nlpagan.net - ICQ 147208 - Registered Linux User 174403 Linux Mandrake 7.2 - Pine 4.31