Re: [expert] hosts.deny and ftp
On Wed, 2002-11-20 at 21:18, Jack Coates wrote: > On Wed, 2002-11-20 at 17:25, Perry Ler wrote: > > > > > > anyone knows which application is controlling the hosts.deny? > > if i have an ip been throw into this file, which application shld i > restart so that box from that ip can come into the server again? The > only method i know is rebooting the machine but that is kind of stupid. > > > > tcp_wrappers acts on the contents of the file, portsentry _or possibly > other stuff_ writes into the file. Portsentry is the most likely > culprit, but there's things like snort plugins that could do it. > > > > > how do i get the proftpd to access connection? i have edited the > xinetd and hosts.allow file but all failed to allow connection through. > can someone help me on this? > > I don't touch FTP any more, sorry. Too much of a PITA compared to http > and scp. cd to /etc/xinetd.d and edit the proftd file where it says disable = yes change it to disable = no and restart xinetd. -- James Sparenberg <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] ncurses-devel mdk
Hello all I downloaded the kernel 2.4.19-16mdk source but could not install it as it depends on ncurses-devel. I did a check on my system to see which version of ncurses i have and i have ncurses-5.2-25mdk but I could not find on rpmfind.net the same development version. Could someone pointme where I should look for it on the net. Thx Bharath Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] hosts.deny and ftp
On Wed, 2002-11-20 at 17:25, Perry Ler wrote: > > > anyone knows which application is controlling the hosts.deny? > if i have an ip been throw into this file, which application shld i restart so that box from that ip can come into the server again? The only method i know is rebooting the machine but that is kind of stupid. > tcp_wrappers acts on the contents of the file, portsentry _or possibly other stuff_ writes into the file. Portsentry is the most likely culprit, but there's things like snort plugins that could do it. > > how do i get the proftpd to access connection? i have edited the xinetd and hosts.allow file but all failed to allow connection through. can someone help me on this? I don't touch FTP any more, sorry. Too much of a PITA compared to http and scp. -- Jack Coates Monkeynoodle: A Scientific Venture... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] No Floppy?
This should allow you to create at least one floppy device ... First I would enter / make sure a line like none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0 (it's actully all one line but word wrap in the e-mail client makes it more) then put a floppy in and try and mount it manually see if devfs created it... IF not. It can be created manually. As root cd to /dev mkdir floppy cd floppy mknod b 0 floppy 2 0(note those are both zero's not oh's) cd ../ ln -s floppy/0 fd0 This will create a config situation identical to all of the mdk 9.0 boxes I've checked. For whatever reason MAKEDEV is still there but no longer works in it's place we have mknod that requires more work to configure...*sigh* James On Wed, 2002-11-20 at 19:05, Tom wrote: > What have I overlooked? > > As root, I tried: > > cd /dev; /sbin/MAKEDEV fd > > and it comes up with a "don't have permission" error > > Then I tried: > > modprobe floppy > > and still no floppy devices. > > I am using the 7 CD box set of Mandrake 9.0 > > I am trying to configure the Internet services before connecting the machine > to Internet and was attempting to use the floppy for transferring > configuration files from another Mandrake machine (8.1) > > > __ > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- James Sparenberg <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] cron / at
Hi, chkconfig shows anacron is 'on' for levels 3-5. When I type service anacron status, it reports "anacron dead but subsys locked". I tried to delete subsys file, but I still have the same problem. Cheers -Sridhar Christian Jul Jensen wrote: On Tue, 19 Nov 2002, Sridhar wrote: I am using anacron straight out of an install from disk and have not configured anacron. anacrontab seems to contain default values. Should I do anything in anacrontab? No. I think your problem might be that anacron is not started at all. Try 'chkconfig --list' is it in the list? Is it 'on' for your runlevel? If not: 'chkconfig --add anacron' and 'chkconfig --level 2345 anacron on' should do. -- ./mvh Christian Jul Jensen "I'm not quite sure what I'm participating in. I joined the conversation because I wanted to type the word "esperanto" and email it to thousands of people for no reason at all. :-)" -- Allen Smith @ TYPO3-devel-list 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
[expert] 9.0 Networking === ARGHHHHHHHHHHHHHHHHHHH
I don't like this resorting to this kind of post, and I'll probably start a small war; but I need to vent... So far, 9.0 has been more irritation than help... I have a new IBM ThinkPad A20m which moves around with me. So... as I move around, I setup my environment for each new type of location... the unit is called "gypsy" for obvious reasons. Anyway... in NC, gypsy connects to my main LAN -- setup everything and all worked fine in the "default" profile. Next, in SC, gypsy connects to another LAN -- same parameters, except for the DNS servers, so I setup profiles NC and SC. Last night, I got around to setting it up for dialup... and there started the descent into hell... Summary: * MCC/Network&Internet is thoroughly confused with 3 profiles (not incl default) location interface status net_access NC eth0 down connected SC eth0 down connected DialUp modem down connected This SUX cuz the there's no LAN connection and the modem can't even be dialed up because... * devfsd keeps clobbering my /dev/modem -- I want/need it to be: lr-xr-xr-x1 root root12 Nov 20 22:32 /dev/modem -> /dev/tts/LT0 NOT: lr-xr-xr-x1 root root 5 Nov 20 22:04 /dev/modem -> ttyS0 which does NOT work with an internal Lucent LinModem... # ll /etc/devfs/conf.d/ total 16 -rw-r--r--1 root root 983 Aug 30 12:19 dynamic.conf -rw-r--r--1 root root 105 Nov 20 22:04 modem.conf -rw-r--r--1 root root 103 Oct 30 20:25 mouse.conf -rw-r--r--1 root root 105 Nov 20 22:04 ttyS0.conf Gee... any chance "conf" in {modem,ttyS0}.conf is really just the abbreviation for "confusion"...? Somehow, I doubt {modem,ttyS0}.conf are intended to be used at the same time... # for f in /etc/devfs/conf.d/*; do echo "- $f"; cat $f;done - /etc/devfs/conf.d/dynamic.conf # dynamic desktop and co REGISTER.*/part.* EXECUTE /etc/dynamic/scripts/part.script add $devpath UNREGISTER .*/part.* EXECUTE /etc/dynamic/scripts/part.script del $devpath REGISTERv4l/video.* EXECUTE /etc/dynamic/scripts/webcam.script add $devpath UNREGISTER v4l/video.* EXECUTE /etc/dynamic/scripts/webcam.script del $devpath REGISTERusb/scanner.* EXECUTE /etc/dynamic/scripts/scanner.script add $devpath UNREGISTER usb/scanner.* EXECUTE /etc/dynamic/scripts/scanner.script del $devpath REGISTERusb/rio500 EXECUTE /etc/dynamic/scripts/rio500.script add $devpath UNREGISTER usb/rio500 EXECUTE /etc/dynamic/scripts/rio500.script del $devpath REGISTERusb/tts/[13579] EXECUTE /etc/dynamic/scripts/visor.script add $devpath UNREGISTER usb/tts/[13579] EXECUTE /etc/dynamic/scripts/visor.script del $devpath REGISTER(usb/lp.*|printers/.*) EXECUTE /etc/dynamic/scripts/lp.script add $devpath UNREGISTER (usb/lp.*|printers/.*) EXECUTE /etc/dynamic/scripts/lp.script del $devpath - /etc/devfs/conf.d/modem.conf REGISTER^tts/0$ CFUNCTION GLOBAL mksymlink tts/0 modem UNREGISTER ^tts/0$ CFUNCTION GLOBAL unlink modem - /etc/devfs/conf.d/mouse.conf REGISTER^psaux$ CFUNCTION GLOBAL symlink psaux mouse UNREGISTER ^psaux$ CFUNCTION GLOBAL unlink mouse - /etc/devfs/conf.d/ttyS0.conf REGISTER^tts/0$ CFUNCTION GLOBAL mksymlink tts/0 ttyS0 UNREGISTER ^tts/0$ CFUNCTION GLOBAL unlink ttyS0 * just enabling modem access resulted in shorewall being silently enabled... When I tried to switch back to LAN mode, I was unable to connect to ANYTHING... Nov 19 23:25:37 gypsy drakgw[27131]: running: chkconfig --add shorewall Nov 19 23:25:37 gypsy drakgw[27131]: running: service > /dev/null shorewall restart Nov 19 23:25:41 gypsy logger: Shorewall Started Nov 19 23:25:41 gypsy drakgw[27131]: Configuring a DHCP server on 192.168.1.0 Nov 19 23:25:41 gypsy drakgw[27131]: launched command: /usr/sbin/update_dhcp.pl Nov 19 23:25:41 gypsy drakgw[27131]: Updating CUPS configuration accordingly Nov 19 23:25:41 gypsy drakgw[27131]: Starting daemons Nov 19 23:25:41 gypsy drakgw[27131]: launched command: /etc/rc.d/init.d/cups status >/dev/null Nov 19 23:25:42 gypsy drakgw[27131]: launched command: /etc/rc.d/init.d/cups stop Nov 19 23:25:43 gypsy cups: cupsd shutdown succeeded Nov 19 23:25:43 gypsy drakgw[27131]: launched command: /etc/rc.d/init.d/dhcpd status >/dev/null Nov 19 23:25:43 gypsy drakgw[27131]: launched command: /etc/rc.d/init.d/named status >/dev/null 2>/dev/null Nov 19 23:25:43 gypsy drakgw[27131]: launched command: /etc/rc.d/init.d/named stop Nov 19 23:25:44 gypsy named[1246]: shutting down Nov 19 23:25:44 gypsy named[1246]: stopping command channel on 127.0.0.1#953 Nov 19 23:25:44 gypsy named[1246]: no longer listening on 127.0.0.1#53 Nov 19 23:25:44 gypsy named[1236]: exiting Nov 19 23:25:45 gypsy named: named shutdown succeeded Nov 19 23:25:45 gypsy drakgw[27131]: launched command: /
[expert] SCSI disk driver compilation
Hello, The server on which I am trying to install Mandrake requires the mptbase and mptscsih drivers. I found the source code, however I am having a hard time figuring out how to compile them. Also, should the disk be ext2 or ext3 formatted? Does a kernel need to be on the disk as well? Thank you in advance. __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] make an rpm list on disk
On Wed, 20 Nov 2002 16:03:18 +1100, "Ron Stodden" <[EMAIL PROTECTED]>said: >Matthew O. Persico wrote: >> I am transplanting my cdrom, video card and hard disk from a dual CPU PII 266 box >to a single CPU PIV 1.7GHz box. >> >> I am betting that I can simply choose the non-smp kernel when I boot up to get me >going. >> >> If I lose the bet, I am going to have to re-install. >> >> I thought there was a way to put the list of RPMs on a disk so that when you >re-install, you don't have to slog through all the menus to chose what you want. Does >anyone know the command to make the file and how to invoke it during the install? > >You don't really provide enough information. Simplest way is to borrow >the hard disk from the source machine and put it on the new machine for >the following exercise: Not necessary. I'm not borrowing the disk, I'm moving it. Period. The old machine is going out to pasture. After I drop the disk in the new machine, I will do the re-install, taking care NOT to format any partitions other than / /usr /var /tmp and swap. I have since figured out that auto_inst.cfg is the file I need to restore the rpms as previously built. See previous note in this thread. Thanks -- Matthew O. Persico Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] make an rpm list on disk
On 20 Nov 2002 00:23:16 -0500, "Lyvim Xaphir" <[EMAIL PROTECTED]>said: >On Tue, 2002-11-19 at 21:33, Brian Parish wrote: >> On Wed, 2002-11-20 at 12:47, Matthew O. Persico wrote: > >> > I am transplanting my cdrom, video card and hard disk from a dual >> > CPU PII 266 box to a single CPU PIV 1.7GHz box. >> > >> > I am betting that I can simply choose the non-smp kernel when I boot >> > up to get me going. >> > >> > If I lose the bet, I am going to have to re-install. >> > >> > I thought there was a way to put the list of RPMs on a disk so that >> > when you re-install, you don't have to slog through all the menus to >> > chose what you want. Does anyone know the command to make the file >> > and how to invoke it during the install? >> > >> > Much obliged. >> > >> > -- >> > Matthew >> > >> Fire up the Control Center and look under Boot. You'll find an Auto >> Install icon there. >> >> HTH >> Brian > >Brian is correct. But after you create the disk there is more that you >can do. If you do a directory of the disk you will see several files, >but the one you are really interested in is "auto_inst.cfg". This is >the file that contains the names of ALL the rpms that were installed in >your system at install time. If you pull the file into an editor you >will see them. > >With this disk, you can start a new install of a newer version of >Mandrake (such as 9.0) and then when you get to the package selection >part, you unselect everything and load the rpm package names from the >floppy with the auto_inst file. (using the "load from floppy" option) >The rpm names in that file are not version specific, therefore all newer >versions of the rpms will be pulled into the install routine. > >Then the only thing to do is to peruse the flat list of the 9.0 packages >and select what might be new and interesting that wasn't in the 8.2 >distro. > >The point is that even if auto_inst.cfg was created under 8.2, it will >still work with 9.0. (not the entire install disk, just auto_inst.cfg) >This allows you to save yourself from reselecting everything whenever >you do a move from an older distro to a newer one (Mandrake, that is.) > >Just use the floppy load option in the package selection portion of the >Mandrake installer. Turns out that after I wrote, I found the AutoInst disk I made about two installs ago. Imagine my surprise when I opened it up and discovered that it is nothing more than a PERL SCRIPT It's just an array of rpms in no discernible order. Soo, I simply did rpm -qa | perl -ane '$F[0]=~s/-[0-9].*//;print "$F[0]\n" | sort -u > foobar and then slapped the whole mess into the auto_inst.cfg file, taking care to remove the few rpms that were not on the installation disk. Touchdown, ballgame over. Well, not quite. After I did that, I took the machine apart and started transplanting the pieces into the newer machine only to discover that the old machine had an AGP1 video card and the new machine is an AGP2/4. So, the port is on hold until I can buy a new video card tomorrow. Thanks for your assistance. -- Matthew O. Persico Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Turning off Root login
So, you don't have to leave the "console" entry in /etc/securetty? I thought that was necessary to be able to su to root. [EMAIL PROTECTED] wrote: On Wed, 20 Nov 2002, Brian York wrote: How can I turn off root login for the console? Don't mean to ask stupid questions just forgotten. edit /etc/securetty and remove the entries. You'll need to have the file there at least, even if it's empty. 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
[expert] No Floppy?
What have I overlooked? As root, I tried: cd /dev; /sbin/MAKEDEV fd and it comes up with a "don't have permission" error Then I tried: modprobe floppy and still no floppy devices. I am using the 7 CD box set of Mandrake 9.0 I am trying to configure the Internet services before connecting the machine to Internet and was attempting to use the floppy for transferring configuration files from another Mandrake machine (8.1) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mandrake/Linux Quality of Service and packetprioritization
On Wed, 2002-11-20 at 13:30, JOHAM,DAVID (HP-Boise,ex1) wrote: > I have a friend who is setting up an ISP co-op who's asked me for > information on how to set up Quality of Service and packet prioritization on > Linux (and particularly Mandrake). Sadly, I know nothing about the topic. > > Can anyone give me some pointers on where to go to get me/him started in > setting this up? In particular, we want to know how to do the following: > > 1) Allow individual users a specified amount of bandwidth > 2) Prioritize types of IP packets over one another (e.g. web has higher > priority than P2P) > 3) How to do this as easily as possible There is now a website devoted to the various Linux advanced routing and traffic control features. You can download a 147 page how-to from this site that documents many of the traffic shaping features. Several "cookbook" examples are also documented. There is also an active mailing list. http://lartc.org/ Seth Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] network goes dead
On Wed, 20 Nov 2002 10:44:26 -0500 Mark Weaver <[EMAIL PROTECTED]> wrote: > Pierre Fortin wrote: > > On Wed, 20 Nov 2002 08:04:34 -0500 (EST) daRcmaTTeR > > <[EMAIL PROTECTED]> wrote: > > > > > >> On Tue, 19 Nov 2002, Pierre Fortin wrote: > >> > >> > >>> On Tue, 19 Nov 2002 13:29:43 -0500 Mark Weaver > >>> <[EMAIL PROTECTED]> wrote: > >>> > >>> > Hi List, > > has anyone else noticed the network connectivity in Mandrake > 9.0 goes dead periodically? It's very annoying and it seems to > be linked to Shorewall firewall system. > > Mark > >>> > >>> Any chance you're experiencing the ssh "pause"... I use ssh > >>> extensively and experience pauses ONLY when modem connected > >>> (never when LAN connected) to the server. It doesn't affect all > >>> sessions; I can continue to work on another session while one or > >>> more are stalled... I rarely connect between 2 modem connected > >>> machines; but it's on my list to watch for that possible > >>> scenario... > >>> > >>> Pierre > >> > >> Hi Pierre, > >> > >> No. This is happening at work on the LAN. I don't use 9 on my > >> server at home. "it" and my old machine don't get along at all very > >> well. the network troubles with that machine running 9.0 are > >> terrible. The interruptions are across the spectrum from web server > >> to ssh. > >> > > > > > > In that case, some more details might help... during the outage of > > course :^) The usual: ifconfig, route -n, ... > > > > Is the problem on a "schedule" (at specific times or rate)? > > > > Anything else happening at the time? Other symptoms/anomolies? Other > > users affected? > > > > Cheers, Pierre > > nothing discernable, which makes it rather a pain to track. One thing > i've noticed is that if I restart the network service, OR just restart > the shorewall service the problem clears up. the shorewall service > restart may, or may not be related. In the short time I was able to get > 9.0 running on my home server I noticed the same behavior for a time. > > As far as I've noticed there doesn't appear to be any regular interval. > the events seem to be random. Other then losing connectivity for a time, > > and it does clear (unclog) after a time, things return to normal. > > here's the information from the ifconfig and route -n output: > > eth0 Link encap:Ethernet HWaddr 00:60:97:B9:59:E3 >inet addr:205.216.60.162 Bcast:205.216.60.255 > Mask:255.255.255.0 >UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >RX packets:4836553 errors:0 dropped:0 overruns:0 frame:0 >TX packets:417172 errors:0 dropped:0 overruns:0 carrier:0 >collisions:0 txqueuelen:100 >RX bytes:488489887 (465.8 Mb) TX bytes:357181688 (340.6 Mb) >Interrupt:14 Base address:0xec80 > > eth1 Link encap:Ethernet HWaddr 00:60:08:2E:15:CF >inet addr:205.216.60.39 Bcast:205.216.60.255 >Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 >Metric:1 RX packets:4953429 errors:0 dropped:0 overruns:0 >frame:0 TX packets:257085 errors:0 dropped:0 overruns:0 >carrier:0 collisions:0 txqueuelen:100 >RX bytes:509489013 (485.8 Mb) TX bytes:193906058 (184.9 Mb) >Interrupt:9 Base address:0xe8c0 > > loLink encap:Local Loopback >inet addr:127.0.0.1 Mask:255.0.0.0 >UP LOOPBACK RUNNING MTU:16436 Metric:1 >RX packets:99456 errors:0 dropped:0 overruns:0 frame:0 >TX packets:99456 errors:0 dropped:0 overruns:0 carrier:0 >collisions:0 txqueuelen:0 >RX bytes:15233458 (14.5 Mb) TX bytes:15233458 (14.5 Mb) > > [root@download root]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse > Iface > 205.216.60.00.0.0.0 255.255.255.0 U 0 00 > eth1 205.216.60.00.0.0.0 255.255.255.0 U 0 0 > 0 eth1 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 > lo 0.0.0.0 205.216.60.10.0.0.0 UG0 0 > 0 eth0 OUCH!!! TWO interfaces on the same subnet! Are you really sure what your network is doing? Just a peek at the route table shows two subnets (same) on eth1 while the default route is out eth0... Since you're apparently not routing between eth0 & eth1 (bridging?), try shutting down one interface... my guess is that your problems will not occur unless you bring it back online... If you have ethereal, try sniffing all interfaces... the RX packets/bytes on the interfaces is almost identical; but eth0 seems to carry more TX traffic (about 2:1)... sounds like some subtle pathing problems may be biting you... HTH, Pierre Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] hosts.deny and ftp
anyone knows which application is controlling the hosts.deny? if i have an ip been throw into this file, which application shld i restart so that box from that ip can come into the server again? The only method i know is rebooting the machine but that is kind of stupid. how do i get the proftpd to access connection? i have edited the xinetd and hosts.allow file but all failed to allow connection through. can someone help me on this?
Re: [expert] Turning off Root login
Brian York grabbed a keyboard and wrote: > > How can I turn off root login for the console? > > Don't mean to ask stupid questions just forgotten. I'm assuming that you're running at a msec level less than 4, at which point root login gets disabled by default. :-) Edit /etc/security/level.local (create it if it's not already there) and put in the lines: allow_remote_root_login no allow_root_login no The first one keeps people who are ssh'ing in from logging in directly as root, the second line stops direct root login at the console. Then run msec to apply the changes (they will stay in place even through your next reboot). HTH. --Dave -- David Guntner GEnie: Just say NO! http://www.akaMail.com/pgpkey/davidg or key server for PGP Public key Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mandrake/Linux Quality of Service and packet prioritization
On Wed, 20 Nov 2002, JOHAM,DAVID (HP-Boise,ex1) wrote: > > Hello all, > > I have a friend who is setting up an ISP co-op who's asked me for > information on how to set up Quality of Service and packet prioritization on > Linux (and particularly Mandrake). Sadly, I know nothing about the topic. > > Can anyone give me some pointers on where to go to get me/him started in > setting this up? In particular, we want to know how to do the following: > > 1) Allow individual users a specified amount of bandwidth Check out the Linux 2.4 Advanced Routing HOWTO: http://tldp.org/HOWTO/Adv-Routing-HOWTO/index.html In particular, the section on shaping. > 2) Prioritize types of IP packets over one another (e.g. web has higher > priority than P2P) Never done that specifically, but it seems to be supported using the above HOWTO. > 3) How to do this as easily as possible > Hire someone? :) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Problems trying to use rexec in mdk 9.0
On Wed, 20 Nov 2002, Alfredo C. [iso-8859-1] López wrote: > I'm having troubles running rexec in mandrake 9.0 > I suppose the problem is the server running trough xinetd. > The command > rexec -l login -p paswdd k1m1.domainname ps > > gives this error > > k1m1.domainame: No such file or directory > rexec: Error in rexec system call, > rexec: (The following system error may itself be in error) > rexec: No such file or directory I usually use this syntax: rexec username@hostname -p password command rexec [EMAIL PROTECTED] -p password /bin/ps Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Turning off Root login
On Wed, 20 Nov 2002, Brian York wrote: > How can I turn off root login for the console? > > Don't mean to ask stupid questions just forgotten. > edit /etc/securetty and remove the entries. You'll need to have the file there at least, even if it's empty. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Turning off Root login
How can I turn off root login for the console? Don't mean to ask stupid questions just forgotten. Thanks Brian Brian York Network Specialist Northen Kentucky Univ. IT, Servers and Operations 859-572-5121 AC 220
[expert] anybody sucessfully patched staroffice with pp2?
hi, has anybody out there sucessfully patched mandrake's staroffice-rpms against the recent patch (pp2) from sun? http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&; the patch binary always tells me that it found an installation in /home/glet/rpm/tmp/staroffice-de-6.0-root/usr/lib/staroffice which is rediculous, there is no user 'glet' here and neither of course is the path correct. udo -- "Well, if we were to build it idiot proof, someone would build a better idiot." Civilme, a well known & disenchanted support expert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Problems trying to use rexec in mdk 9.0
I'm having troubles running rexec in mandrake 9.0 I suppose the problem is the server running trough xinetd. The command rexec -l login -p paswdd k1m1.domainname ps gives this error k1m1.domainame: No such file or directory rexec: Error in rexec system call, rexec: (The following system error may itself be in error) rexec: No such file or directory The same error from machines running mdk 8.2 and 9.0 . I check the xinetd config files for xinetd and pam.d and are the same in the machines that have mandrake 7.1,8.2 and 9.0. -- = Lic. Alfredo Carlos López INIFTA - UNLP Phone: +54-221-425 7430 Instituto de InvestigacionesFax: +54-221-425 4642 Fisicoquímicas Teórica y Aplicada. Suc. 4 C.C. 16 1900 La Plata, Argentina Calle 68 nro.74 (e118/119) Dto. 15Phone: +54-221-423 6240 1900 La Plata, Argentina Cell-Phone: +54-221-(15) 455 0141 = "One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important." - Bertrand Russell (1872-1970) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Mandrake/Linux Quality of Service and packet prioritization
Hello all, I have a friend who is setting up an ISP co-op who's asked me for information on how to set up Quality of Service and packet prioritization on Linux (and particularly Mandrake). Sadly, I know nothing about the topic. Can anyone give me some pointers on where to go to get me/him started in setting this up? In particular, we want to know how to do the following: 1) Allow individual users a specified amount of bandwidth 2) Prioritize types of IP packets over one another (e.g. web has higher priority than P2P) 3) How to do this as easily as possible Thanks in advance! David Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Try another way to connection share via wlan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I have just about given up trying to share my laptop's modem connection via wlan connection with my desktop. I have picked up a modem for my desktop and would like to try to share a connection that way. Thing is, my laptop HAS to be the wlan AP (only prism2/2.5 cards are supported by the HostAP driver) and my desktop the client as there is no AP mode for the WUSB11 v2.6 wlan device (Atmel driver). I want to know if it is perfectly OK to use the laptop as the AP to get a wlan connection between my laptop and desktop, but use the desktop as the gateway to the internet? Would I simply set the gateway on my laptop to the IP of my desktop? What about DNS? Should I simply set DNS as not necessary? praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92/HC1i/6R1B/Yh0RAp7KAJ9Pb80e8EGlCb3OSGUi8vSWVsFk9ACgnFlk GiY+GtuhcWa1/AWERVtYMjI= =4XsA -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] network goes dead
On Wednesday 20 November 2002 09:45 am, Mark Weaver wrote: > >Jack and Melissa McSwain wrote: >> > > BTW has anyone noticed a dramatic increase in hack attempts in the last 2 > > to 3 weeks? Port scans show all the ports are stealth, and I have no > > servers running or installed, but they still manage to find the box. > > Win98 with norton personal firewall seems to be a little more stealth. > > Also Shorewall is set to drop instead of reject packets. On Tuesday 19 November 2002 12:29 pm, Mark Weaver wrote: > > What adjustments to shorewall did you make? > I started with the example scripts from the shorewall homepage, /etc/shorewall/common.def was either missing or empty on stock install there are 9 ip-tables rules in it for various things. In interfaces I added norfc1918,routefilter,noping,routefilter,dropunclean,logunclean I didnt have any of these before. The file rfc1918 was not present before (came from examples on shorewall) In Shorewall.conf I turned off IP forwarding, turned on route filtering, turned off forward ping, and NEWNOTSYN=NO Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Finally getting usb wlan working on desktop but...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have managed to get the hostap_cs driver to work with my Zoomair pcmcia wlan card in my Thinkpad. I have it setup as a dhcp server for my desktop which is using a USB Linksys WUSB11 v2.6 (Atmel driver) wlan device. I am able to assign an IP to the desktop and communicate well between laptop and desktop until I also connect to the internet via my laptop's winmodem (using the linmodem driver). The IRQs being used with the wlan card (AP) running and the modem in use are thus: CPU0 0:8985988 XT-PIC timer 1: 47885 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 3164 XT-PIC hostap_cs 5:7716744 XT-PIC ESS Solo-1 8: 1 XT-PIC rtc 9: 12531787 XT-PIC i82365, ltserial 10: 323998 XT-PIC usb-ohci 12: 768188 XT-PIC PS/2 Mouse 14: 108171 XT-PIC ide0 15: 1984 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 The only IRQ "conflict" I see is the sharing of IRQ 9 by i82365 and ltserial. I assume this is the problem for the instant my modem went active my connection to my desktop via wlan died and the Zoomair AP becomes useless. How can I assign either the ltserial or i82365 device to use/share another IRQ? Which IRQ would appear the be the best choice for this sharing? I HAVE to have one or the other sharing an IRQ, no choice, as NONE are free. I just don't know which would be the most likely sharing scheme to work and I don't know how to specifically force the use of a particular IRQ. I would like to try IRQ 7, which is only rarely used by me to connect to my parallel port Zip drive...but how? praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE929es1i/6R1B/Yh0RAkvLAKCKxgZjynRcBjS3FlbONSBC0XyPUgCfU2Aj ijG2iTTqfOtjPYOoTLa/8Os= =SH5x -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] IRQs
I just cannot believe this. I have a laptop (IBM Thinkpad) with absolutely no available IRQ resources. None. The only things attached to this is a phone cord for the modem (linmodem/winmodem). Every single IRQ is used up such that I cannot insert any pcmcia cards while connected via modem because the IRQ conflicts and trashes the pcmcia card. I want to be able to use my wlan card as an AP, have the laptop connected via modem, and have my desktop get to the internet via my laptop's phone connection. Basic connection sharing, but it appears flat out impossible. Without the wlan card inserted, my IRQs look thus: CPU0 0: 175953 XT-PIC timer 1: 4347 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 128808 XT-PIC ESS Solo-1 8: 1 XT-PIC rtc 9: 535202 XT-PIC i82365, ltserial 10: 15360 XT-PIC usb-ohci 12: 47425 XT-PIC PS/2 Mouse 14: 25766 XT-PIC ide0 15: 2 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 Looking at this one can see that IRQ 3 is available. If I insert my wlan card, it takes IRQ 3 and...the system either locks up or the pcmcia card is useless - likely because ltserial, the modem (driver) is sharing and IRQ with the pcmcia bus controller. When there is no card inserted there is no problem but insert a card and there is a wreck. Can anyone suggest ANY way to get this working? praedor -- Conservatives of all times are adventitious liars. - Friedrich Nietzsche. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] html front end to pine?
Sunday, David Guntner mused: > Michael Holt grabbed a keyboard and wrote: > > > > [...] I would like to make an html front-end to access the mail program (or > > pine) something similar to yahoo or hotmail but without all the crappy ads > > and weird email you get on those. I know I can come up with something, > > but I was wondering if someone had already designed something similar to > > what I'm talking about? > > Have you looked into Squirrelmail? As web-based mail interfaces go, it's > pretty nice, and allows you to set up POP3 access to your other mailboxes > out there on the net, so it could do what you want. > http://www.squirrelmail.org > > --Dave Cool, I think I'm going to use this package. I wasn't aware there are so many packages out there that do this type of work. And thanks to everyone else who answered this post - very helpful! Mike -- Michael Holt Banning, CA(o_ [EMAIL PROTECTED](o_ (o_ //\ www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com < Bad or missing mouse driver. Spank the cat? (Y/N) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Help with ssh (not openssh) - connection closed
> Your trying to use a ssh version that is too old. ssh v 1.2.33 > (commercial) only supports protocol version 1.x, not 2.0 that is used > with 3.2.0 ssh. > > upgrade your ssh client on the client side. > > if regular ssh works, then your remote machine has fallback turned on > (it will fire up sshd v1.x when a ssh 1.x client connects) but it's > misconfigured for the scp fallback part. > What should I do if I can't upgrade my ssh client? Many thanks Ed Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] Help with ssh (not openssh) - connection closed
is the other machine using portsentry??? if so, you may well have become blacklisted by that machine.. (its happened to me many times) that would explain why ping/telnet isn't working either. To fix it: flush your iptables rules ) iptables -F remove yourself from hosts.deny and restart portsentry add yourself to /etc/portsentry.ignore and hosts.allow then try again.. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eduardo Mendes Sent: Thursday, 21 November 2002 12:03 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; User Subject: Re: [expert] Help with ssh (not openssh) - connection closed Hi Many thanks. 1) scp --vv gives: Executing: host xxx.xxx.xxx.xx, user eduardo, command scp -v -t /home/eduardo/ SSH Version 1.2.33 [sparc-sun-solaris2.6], protocol version 1.5. Standard version. Does not use RSAREF. bertie: Reading configuration data /etc/ssh1/ssh_config bertie: ssh_connect: getuid 1105 geteuid 0 anon 0 bertie: Allocated local port 1023. bertie: Connecting to xxx.xx.xx.xxx port 22. bertie: Connection established. bertie: Remote protocol version 2.0, remote software version 3.2.0 SSH Secure Shell (non-commercial) bertie: Waiting for server public key. Connection closed by remote host. lost connection 2) I can't use strace. /dev/log problems 3) No telnet, no ping on the machine. Any suggestions? Many thanks Ed On Wednesday 20 November 2002 05:48 pm, Tru64 User wrote: > Hi, > > Enable debugging (option -vv) to see exactly why the > connection is being denied. > > Or better yet, run "strace -o output.file ssh > rest_of_command" > > That should trace the whole call, and u will be able > to see where the problem occurs. > > Can u ping this machine? telnet to it? Other basic > network stuff/firewall? > > _Thanks > > Richard Mollel > > --- Eduardo Mendes <[EMAIL PROTECTED]> wrote: > > Hello > > > > I am trying to scp some files from one host to > > another but no success. shh > > deamon is running as can be seen below: > > > > ps -ef | grep sshd > > root 10890 1 0 09:13 ?00:00:00 sshd > > root 14620 14542 0 15:35 pts/400:00:00 grep > > sshd > > > > > > However when I try > > scp 9611947.PDF eduardo@(ip address):/home/eduardo/ > > > > I get > > > > Connection closed by remote host. > > lost connection > > > > > > What am I doing wrong? > > > > Many thanks > > > > Ed > > > > > Want to buy your Pack or Services from > > MandrakeSoft? > > > Go to http://www.mandrakestore.com > > = > > > __ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com -- Prof. Eduardo Mazoni A. M. Mendes, PhD. Departamento de Engenharia Eletrônica Universidade Federal de Minas Gerais Av. Antônio Carlos, 6627, Pampulha 31270-901, Belo Horizonte - MG - Brazil mailto: [EMAIL PROTECTED] Tel: +55 (31)3499-4862 FAX: +55 (31)3499-4850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Help with ssh (not openssh) - connection closed
Eduardo Mendes wrote: Hi Many thanks. 1) scp --vv gives: Executing: host xxx.xxx.xxx.xx, user eduardo, command scp -v -t /home/eduardo/ SSH Version 1.2.33 [sparc-sun-solaris2.6], protocol version 1.5. Standard version. Does not use RSAREF. bertie: Reading configuration data /etc/ssh1/ssh_config bertie: ssh_connect: getuid 1105 geteuid 0 anon 0 bertie: Allocated local port 1023. bertie: Connecting to xxx.xx.xx.xxx port 22. bertie: Connection established. bertie: Remote protocol version 2.0, remote software version 3.2.0 SSH Secure Shell (non-commercial) bertie: Waiting for server public key. Connection closed by remote host. lost connection Your trying to use a ssh version that is too old. ssh v 1.2.33 (commercial) only supports protocol version 1.x, not 2.0 that is used with 3.2.0 ssh. upgrade your ssh client on the client side. if regular ssh works, then your remote machine has fallback turned on (it will fire up sshd v1.x when a ssh 1.x client connects) but it's misconfigured for the scp fallback part. 2) I can't use strace. /dev/log problems 3) No telnet, no ping on the machine. Any suggestions? Many thanks Ed On Wednesday 20 November 2002 05:48 pm, Tru64 User wrote: Hi, Enable debugging (option -vv) to see exactly why the connection is being denied. Or better yet, run "strace -o output.file ssh rest_of_command" That should trace the whole call, and u will be able to see where the problem occurs. Can u ping this machine? telnet to it? Other basic network stuff/firewall? _Thanks Richard Mollel --- Eduardo Mendes <[EMAIL PROTECTED]> wrote: Hello I am trying to scp some files from one host to another but no success. shh deamon is running as can be seen below: ps -ef | grep sshd root 10890 1 0 09:13 ?00:00:00 sshd root 14620 14542 0 15:35 pts/400:00:00 grep sshd However when I try scp 9611947.PDF eduardo@(ip address):/home/eduardo/ I get Connection closed by remote host. lost connection What am I doing wrong? Many thanks Ed Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com = __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Bryan Whitehead SysAdmin - JPL - Interferometry Systems and Technology Phone: 818 354 2903 [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] hostname
cd /etc/sysconfig Edit the file network... from then on whatever you put in the hostname colum will be the reality for that box. James On Wed, 2002-11-20 at 09:44, Praedor Tempus wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > OK, this question pops up periodically and I have asked it myself. How does > one assign a hostname to their system without breaking it and so that it > comes up every time one boots? I managed to get my laptop to be called > lapdog.ravenhome.net but cannot recall how. My hosts file contains both > 127.0.0.1 localhost.localdomain > 10.0.0.1 lapdog.ravenhome.net > > This isn't enough, however. I somehow managed to get my xterm prompt to > display the lapdog.ravenhome.net name as well but cannot recall how. > > Simply setting "hostname " will break the current session > and require a logout/login to get past it. It will also only last as long as > the current session. If I reboot it will be back to localhost.localdomain. > > I want my desktop system to identify itself as something other than > localhost.localdomain and I want it to do it with every bootup, login, etc. > > How do I do this? Ultimately, I will be setting up (hopefully) a local home > network and I will require the desktop to be a particular name for this to > work. > > praedor > > > - -- > Conservatives of all times are adventitious liars. > - - Friedrich Nietzsche. > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE928oW1i/6R1B/Yh0RAnlHAJ9Hr3g9Dxb8xNS2h6Dr5fmQwVqvZwCfWX1n > 9ZdSjl56MhOgptmddXTZKlk= > =BkT/ > -END PGP SIGNATURE- > > > __ > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- James Sparenberg <[EMAIL PROTECTED]> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] hostname
Hi, Try the file /etc/sysconfig/network Also, Most of the network related files in /etc/sysconfig/ can help you understand things a little better. --Sandeep Praedor Tempus wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, this question pops up periodically and I have asked it myself. How does one assign a hostname to their system without breaking it and so that it comes up every time one boots? I managed to get my laptop to be called lapdog.ravenhome.net but cannot recall how. My hosts file contains both 127.0.0.1 localhost.localdomain 10.0.0.1 lapdog.ravenhome.net This isn't enough, however. I somehow managed to get my xterm prompt to display the lapdog.ravenhome.net name as well but cannot recall how. Simply setting "hostname " will break the current session and require a logout/login to get past it. It will also only last as long as the current session. If I reboot it will be back to localhost.localdomain. I want my desktop system to identify itself as something other than localhost.localdomain and I want it to do it with every bootup, login, etc. How do I do this? Ultimately, I will be setting up (hopefully) a local home network and I will require the desktop to be a particular name for this to work. praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE928oW1i/6R1B/Yh0RAnlHAJ9Hr3g9Dxb8xNS2h6Dr5fmQwVqvZwCfWX1n 9ZdSjl56MhOgptmddXTZKlk= =BkT/ -END PGP SIGNATURE- 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] Help with ssh (not openssh) - connection closed
you appear to be getting blocked by hosts.deny (tcp wrappers).. or by a firewall iptables/chains rule, but most likely hosts.deny.. do you have a high security setting in msec??? put something like: ssh 123.123.123.123 In hosts.allow and try it again. (replace the 123... with your IP address.. try establishing a normal ssh connection and if that works, scp should also. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eduardo Mendes Sent: Wednesday, 20 November 2002 11:39 PM To: [EMAIL PROTECTED] Subject: [expert] Help with ssh (not openssh) - connection closed Hello I am trying to scp some files from one host to another but no success. shh deamon is running as can be seen below: ps -ef | grep sshd root 10890 1 0 09:13 ?00:00:00 sshd root 14620 14542 0 15:35 pts/400:00:00 grep sshd However when I try scp 9611947.PDF eduardo@(ip address):/home/eduardo/ I get Connection closed by remote host. lost connection What am I doing wrong? Many thanks Ed Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Help with ssh (not openssh) - connection closed
Hi Many thanks. 1) scp --vv gives: Executing: host xxx.xxx.xxx.xx, user eduardo, command scp -v -t /home/eduardo/ SSH Version 1.2.33 [sparc-sun-solaris2.6], protocol version 1.5. Standard version. Does not use RSAREF. bertie: Reading configuration data /etc/ssh1/ssh_config bertie: ssh_connect: getuid 1105 geteuid 0 anon 0 bertie: Allocated local port 1023. bertie: Connecting to xxx.xx.xx.xxx port 22. bertie: Connection established. bertie: Remote protocol version 2.0, remote software version 3.2.0 SSH Secure Shell (non-commercial) bertie: Waiting for server public key. Connection closed by remote host. lost connection 2) I can't use strace. /dev/log problems 3) No telnet, no ping on the machine. Any suggestions? Many thanks Ed On Wednesday 20 November 2002 05:48 pm, Tru64 User wrote: > Hi, > > Enable debugging (option -vv) to see exactly why the > connection is being denied. > > Or better yet, run "strace -o output.file ssh > rest_of_command" > > That should trace the whole call, and u will be able > to see where the problem occurs. > > Can u ping this machine? telnet to it? Other basic > network stuff/firewall? > > _Thanks > > Richard Mollel > > --- Eduardo Mendes <[EMAIL PROTECTED]> wrote: > > Hello > > > > I am trying to scp some files from one host to > > another but no success. shh > > deamon is running as can be seen below: > > > > ps -ef | grep sshd > > root 10890 1 0 09:13 ?00:00:00 sshd > > root 14620 14542 0 15:35 pts/400:00:00 grep > > sshd > > > > > > However when I try > > scp 9611947.PDF eduardo@(ip address):/home/eduardo/ > > > > I get > > > > Connection closed by remote host. > > lost connection > > > > > > What am I doing wrong? > > > > Many thanks > > > > Ed > > > > > Want to buy your Pack or Services from > > MandrakeSoft? > > > Go to http://www.mandrakestore.com > > = > > > __ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com -- Prof. Eduardo Mazoni A. M. Mendes, PhD. Departamento de Engenharia Eletrônica Universidade Federal de Minas Gerais Av. Antônio Carlos, 6627, Pampulha 31270-901, Belo Horizonte - MG - Brazil mailto: [EMAIL PROTECTED] Tel: +55 (31)3499-4862 FAX: +55 (31)3499-4850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] hostname
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, this question pops up periodically and I have asked it myself. How does one assign a hostname to their system without breaking it and so that it comes up every time one boots? I managed to get my laptop to be called lapdog.ravenhome.net but cannot recall how. My hosts file contains both 127.0.0.1 localhost.localdomain 10.0.0.1 lapdog.ravenhome.net This isn't enough, however. I somehow managed to get my xterm prompt to display the lapdog.ravenhome.net name as well but cannot recall how. Simply setting "hostname " will break the current session and require a logout/login to get past it. It will also only last as long as the current session. If I reboot it will be back to localhost.localdomain. I want my desktop system to identify itself as something other than localhost.localdomain and I want it to do it with every bootup, login, etc. How do I do this? Ultimately, I will be setting up (hopefully) a local home network and I will require the desktop to be a particular name for this to work. praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE928oW1i/6R1B/Yh0RAnlHAJ9Hr3g9Dxb8xNS2h6Dr5fmQwVqvZwCfWX1n 9ZdSjl56MhOgptmddXTZKlk= =BkT/ -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Help with ssh (not openssh) - connection closed
Hi, Enable debugging (option -vv) to see exactly why the connection is being denied. Or better yet, run "strace -o output.file ssh rest_of_command" That should trace the whole call, and u will be able to see where the problem occurs. Can u ping this machine? telnet to it? Other basic network stuff/firewall? _Thanks Richard Mollel --- Eduardo Mendes <[EMAIL PROTECTED]> wrote: > Hello > > I am trying to scp some files from one host to > another but no success. shh > deamon is running as can be seen below: > > ps -ef | grep sshd > root 10890 1 0 09:13 ?00:00:00 sshd > root 14620 14542 0 15:35 pts/400:00:00 grep > sshd > > > However when I try > scp 9611947.PDF eduardo@(ip address):/home/eduardo/ > > I get > > Connection closed by remote host. > lost connection > > > What am I doing wrong? > > Many thanks > > Ed > > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > = __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Help with ssh (not openssh) - connection closed
Hello I am trying to scp some files from one host to another but no success. shh deamon is running as can be seen below: ps -ef | grep sshd root 10890 1 0 09:13 ?00:00:00 sshd root 14620 14542 0 15:35 pts/400:00:00 grep sshd However when I try scp 9611947.PDF eduardo@(ip address):/home/eduardo/ I get Connection closed by remote host. lost connection What am I doing wrong? Many thanks Ed Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] patching kernel 2.4.18
read this... its from a kernel hacker... its how I learned, though i have only used it once or twice.. http://www.linuxgazette.com/issue32/ayers1.html install the source, put the patch in there, and run it with; patch -pl wireless-extensionsv15.patch a proper patch file contains the src file name as well as the changes... as long as it can find the file, you should be fine... so if you want to know whats gonna get patched, read the patch code. there is also a patch-kernel script included in the kernel src.. but i have not used it,, see the url above for details.. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Praedor Tempus Sent: Thursday, 21 November 2002 12:33 AM To: Mandrake Expert Subject: [expert] patching kernel 2.4.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have never quite gotten how to patch kernels. I have a patch for upgrading wireless extensions to version 15 that I would like to apply to kernel 2.4.18 (unless someone knows of a 2.4.18 kernel that already contains this patch as well as supermount). I have the file I have named "wireless-extensionsv15.patch". Where do I place this file and to which file(s) in the kernel source directory do I direct it? What patch command? praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE927lX1i/6R1B/Yh0RAt3+AJ9h30EaP40svQA6NiFqyQrHgTX7rACgl5+T kY2DD955gE4hAw+i0VuY4Aw= =vk4C -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] patching kernel 2.4.18
On Wed, 20 Nov 2002, Praedor Tempus wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have never quite gotten how to patch kernels. I have a patch for upgrading > wireless extensions to version 15 that I would like to apply to kernel 2.4.18 > (unless someone knows of a 2.4.18 kernel that already contains this patch as > well as supermount). > > I have the file I have named "wireless-extensionsv15.patch". Where do I place > this file and to which file(s) in the kernel source directory do I direct it? > What patch command? > > cd to your source directory, then: patch -p1 < /path/to/patchfile The patch contains information about the file it's patching. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] How to make /proc available to apache user?
Never mind, I found it. :-) I just assumed that /proc was readable by everyone, but found it was set to 750. I hadn't noticed it because my regular (non-root) user ID belongs to the adm group, which still has read there. Changed it to 755, and now the web application is working fine. --Dave David Guntner grabbed a keyboard and wrote: > > I've got a php script running a web page, which needs to be able to do > things like "ps" to determine if other processes that it will start and > stop are running. I've discovered that (apparently) by default, the /proc > filesystem isn't available to the apache user. When I do a "su - apache" > to be the apache user and try to do a "ps," I get this: > > $ ps -ef > Error: /proc must be mounted > To mount /proc at boot you need an /etc/fstab line like: > /proc /proc procdefaults > In the meantime, mount /proc /proc -t proc > $ > > I *only* get that when su'd to apache, if I'm a regular user, a "ps" works > just fine. > > So the question is: How do I enable /proc for apache? > > --Dave > -- > David Guntner GEnie: Just say NO! > http://www.akaMail.com/pgpkey/davidg or key server > for PGP Public key > > > -- David Guntner GEnie: Just say NO! http://www.akaMail.com/pgpkey/davidg or key server for PGP Public key Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] patching kernel 2.4.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have never quite gotten how to patch kernels. I have a patch for upgrading wireless extensions to version 15 that I would like to apply to kernel 2.4.18 (unless someone knows of a 2.4.18 kernel that already contains this patch as well as supermount). I have the file I have named "wireless-extensionsv15.patch". Where do I place this file and to which file(s) in the kernel source directory do I direct it? What patch command? praedor - -- Conservatives of all times are adventitious liars. - - Friedrich Nietzsche. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE927lX1i/6R1B/Yh0RAt3+AJ9h30EaP40svQA6NiFqyQrHgTX7rACgl5+T kY2DD955gE4hAw+i0VuY4Aw= =vk4C -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] How to make /proc available to apache user?
I've got a php script running a web page, which needs to be able to do things like "ps" to determine if other processes that it will start and stop are running. I've discovered that (apparently) by default, the /proc filesystem isn't available to the apache user. When I do a "su - apache" to be the apache user and try to do a "ps," I get this: $ ps -ef Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: /proc /proc procdefaults In the meantime, mount /proc /proc -t proc $ I *only* get that when su'd to apache, if I'm a regular user, a "ps" works just fine. So the question is: How do I enable /proc for apache? --Dave -- David Guntner GEnie: Just say NO! http://www.akaMail.com/pgpkey/davidg or key server for PGP Public key Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
On Wed, 20 Nov 2002, Stefano Pogliani wrote: > What does it mean writeing to a directory "without" copying to a filesystem ? > I see that Luca has answered your questions -- just elaborating a little here: A mount point is nothing more than an empty directory created by mkdir. When you mount a filesystem, whether on a HD, floppy, or CD, its hierarchy shows up under the mount point. Copying files to this mount point then copies files to the disk. If you unmount the filesystem then the directory is still there. For example, if you have a system setup in this way: / hda1 /home hda2 swap hda4 /home and /export are mounted filesystems under /. If you do an ls of /home, you'd see somethng like: drwx--6 klowelocal 401 Oct 7 21:51 klowe drwx--6 robert remote299 Feb 3 2001 robert drwx--6 wperez remote299 Feb 3 2001 wperez If you were then to unmount /home, ls would return nothing, *unless* you happen to have copied files there when the hda2 partition was unmounted. E.g.: $> mkdir /nothing $> touch /nothing/emptyfile $> ls /nothing emptyfile $> umount /home $> mount -t ext2 /dev/hda2 /nothing $> ls /nothing drwx--6 klowelocal 401 Oct 7 21:51 klowe drwx--6 robert remote299 Feb 3 2001 robert drwx--6 wperez remote299 Feb 3 2001 wperez In this example, emptyfile was create on the hda1 partition. The mount points do not need to be on the root filesystem. You can create mount points almost anywhere that has a "real" filesystem (i.e., probably not /proc -- though I admit I've never tried). So you could create a /home/external that's mounted on a separate disk. The mount point is created on hda2 in this example, but the mounted filesystem could be anywhere. This is what allows rescue disks to work. They boot up, create their own /, /usr, /lib, etc.., but then mount the damaged filesystems somewhere on their hierarchy. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] network goes dead
Pierre Fortin wrote: > On Wed, 20 Nov 2002 08:04:34 -0500 (EST) daRcmaTTeR > <[EMAIL PROTECTED]> wrote: > > >> On Tue, 19 Nov 2002, Pierre Fortin wrote: >> >> >>> On Tue, 19 Nov 2002 13:29:43 -0500 Mark Weaver >>> <[EMAIL PROTECTED]> wrote: >>> >>> Hi List, has anyone else noticed the network connectivity in Mandrake 9.0 goes dead periodically? It's very annoying and it seems to be linked to Shorewall firewall system. Mark >>> >>> Any chance you're experiencing the ssh "pause"... I use ssh >>> extensively and experience pauses ONLY when modem connected >>> (never when LAN connected) to the server. It doesn't affect all >>> sessions; I can continue to work on another session while one or >>> more are stalled... I rarely connect between 2 modem connected >>> machines; but it's on my list to watch for that possible >>> scenario... >>> >>> Pierre >> >> Hi Pierre, >> >> No. This is happening at work on the LAN. I don't use 9 on my >> server at home. "it" and my old machine don't get along at all very >> well. the network troubles with that machine running 9.0 are >> terrible. The interruptions are across the spectrum from web server >> to ssh. >> > > > In that case, some more details might help... during the outage of > course :^) The usual: ifconfig, route -n, ... > > Is the problem on a "schedule" (at specific times or rate)? > > Anything else happening at the time? Other symptoms/anomolies? Other > users affected? > > Cheers, Pierre nothing discernable, which makes it rather a pain to track. One thing i've noticed is that if I restart the network service, OR just restart the shorewall service the problem clears up. the shorewall service restart may, or may not be related. In the short time I was able to get 9.0 running on my home server I noticed the same behavior for a time. As far as I've noticed there doesn't appear to be any regular interval. the events seem to be random. Other then losing connectivity for a time, and it does clear (unclog) after a time, things return to normal. here's the information from the ifconfig and route -n output: eth0 Link encap:Ethernet HWaddr 00:60:97:B9:59:E3 inet addr:205.216.60.162 Bcast:205.216.60.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4836553 errors:0 dropped:0 overruns:0 frame:0 TX packets:417172 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:488489887 (465.8 Mb) TX bytes:357181688 (340.6 Mb) Interrupt:14 Base address:0xec80 eth1 Link encap:Ethernet HWaddr 00:60:08:2E:15:CF inet addr:205.216.60.39 Bcast:205.216.60.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4953429 errors:0 dropped:0 overruns:0 frame:0 TX packets:257085 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:509489013 (485.8 Mb) TX bytes:193906058 (184.9 Mb) Interrupt:9 Base address:0xe8c0 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:99456 errors:0 dropped:0 overruns:0 frame:0 TX packets:99456 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15233458 (14.5 Mb) TX bytes:15233458 (14.5 Mb) [root@download root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 205.216.60.00.0.0.0 255.255.255.0 U 0 00 eth1 205.216.60.00.0.0.0 255.255.255.0 U 0 00 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo 0.0.0.0 205.216.60.10.0.0.0 UG0 00 eth0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] xinitrc problem
On Wed, 2002-11-20 at 23:40, [EMAIL PROTECTED] wrote: > On 20 Nov 2002, Matthew Van Horn wrote: > > > (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 20 23:15:30 2002 > > Can you send/post the relevant portions of the above file? The log in > this email was truncated. I don't really know what's relevant, so here's the whole thing... XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 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/) Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 20 23:32:50 2002 (==) Using config file: "/etc/X11/XF86Config-4" (==) ServerLayout "layout1" (**) |-->Screen "screen1" (0) (**) | |-->Monitor "monitor1" (**) | |-->Device "device1" (**) |-->Input Device "Keyboard1" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "us" (**) XKB: layout: "us" (WW) Option "XkbOptions" requires an string value (==) Keyboard: CustomKeycode disabled (**) |-->Input Device "Mouse1" (**) FontPath set to "unix/:-1" (==) RgbPath set to "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules" (**) Option "AllowMouseOpenFail" Using vt 7 (--) using VT number 7 (II) Open APM successful (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on linux (II) LoadModule: "bitmap" (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor="The XFree86 Project" compiled for 4.2.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: "pcidata" (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor="The XFree86 Project" compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1022,7006 card , rev 25 class 06,00,00 hdr 80 (II) PCI: 00:01:0: chip 1022,7007 card , rev 01 class 06,04,00 hdr 81 (II) PCI: 00:07:0: chip 1022,7408 card , rev 01 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 1022,7409 card , rev 07 class 01,01,8a hdr 00 (II) PCI: 00:07:3: chip 1022,740b card , rev 03 class 06,80,00 hdr 00 (II) PCI: 00:07:4: chip 1022,740c card , rev 06 class 0c,03,10 hdr 00 (II) PCI: 00:09:0: chip 10ec,8139 card 11f6,8139 rev 10 class 02,00,00 hdr 00 (II) PCI: 00:0b:0: chip 1274,5880 card 1274,2000 rev 02 class 04,01,00 hdr 00 (II) PCI: 00:0c:0: chip 125d,2838 card 125d,2838 rev 01 class 07,80,00 hdr 00 (II) PCI: 01:05:0: chip 1002,5046 card 1002,0018 rev 00 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: "scanpci" (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor="The XFree86 Project" compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) UnloadModule: "scanpci" (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) PCI-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0e (VGA_EN is set) (II) Bus 1 I/O range: [0] -1 0xd000 - 0xd0ff (0x100) IX[B] [1] -1 0xd400 - 0xd4ff (0x100) IX[B] [2] -1 0xd800 - 0xd8ff (0x100) IX[B] [3] -1 0xdc00 - 0xdcff (0x100) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0xdc00 - 0xddff (0x200) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0xd800 - 0xdbff (0x400) MX[B] (II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus -1 I/O range: (II) Bus -1 non-prefetchable memory range: (II) Bus -1 prefetchable memory range: (--) PCI:*(1:5:0) ATI Rage 128 Pro PF rev 0, Mem @ 0xd800/26, 0xdd00/14, I/O @ 0xd000/8 (II) Addressable bus resource ranges are [0] -1 0x
Re: [expert] Mount problem on XFS partition
Stefano Pogliani wrote: Thanks a lot indeed. Now it seems to work ! Is there anything special I need to know in order to administer an XFS partition (some special commands, some special maintenance etc) or, for the sake of using it, it is just like an ext2 one ? Look at the other programs in xfsprogs. You should also install these packages: xfsdump acl (this last one to manage ACLs, but keep in mind that other utilities --fileutils, tar--, aren't patched to support ACLs). Take a look also at http://oss.sgi.com/projects/xfs/ Bye -- Luca Olivetti Note.- This message reached you today, it may not tomorrow if you are using MAPS services. They arbitrarily include in their lists IP addresses not related in any way to spam, and in so doing are disrupting Internet connectivity. Please stop supporting them. See http://slashdot.org/article.pl?sid=01/05/21/1944247 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] xinitrc problem
On Wed, 2002-11-20 at 09:01, [EMAIL PROTECTED] wrote: > On 20 Nov 2002, Matthew Van Horn wrote: > > Since I upgraded from 8.1 to 9.0, I am having problems using my old > > (8.1) ~/.xinitrc > > > > If the file even exists, then startx will not work. I don't know what > > the cause is, can someone point me in the right direction? > > > > The contents of my old .xinitrc are: > > #!/bin/bash > > export LANG=en_US > > export LC_CTYPE=ja_JP > > export LC_MESSAGES=en_US > > export XMODIFIERS="@im=kinput2" > > kinput2 -wnn -ccdef /home/mattv/myccdef & > > imwheel > > startkde > > > When you say if the file even exists it fails, do you mean that even an > empty script containing only #!/bin/sh causes a problem? That's what I mean. Here's the error from an empty (just #!/bin/sh) file. XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 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/) Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 20 23:15:30 2002 (==) Using config file: "/etc/X11/XF86Config-4" Using vt 7 (EE) R128(0): No DFP detected (EE) R128(0): [dri] DRIScreenInit failed. Disabling DRI. waiting for X server to shut down Here's the output when it works: (no .xinitrc) XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 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/) Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 20 23:16:19 2002 (==) Using config file: "/etc/X11/XF86Config-4" Using vt 7 (EE) R128(0): No DFP detected (EE) R128(0): [dri] DRIScreenInit failed. Disabling DRI. GetModeLine - scrn: 0 clock: 65000 GetModeLine - hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1344 vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10 I see that I also have a problem with DRI, I'll deal with that later. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Software for small newsgroup archive
Hi, subject tells it all. I have a small local newsgroup stored away in my leafnode spool. As the ISP is too lazy to maintain an archive I thought about providing that on my Website. As I said, it's small. Is there any software for that or a howto or something how I can go about that? wobo -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] network goes dead
On Wed, 20 Nov 2002 08:04:34 -0500 (EST) daRcmaTTeR <[EMAIL PROTECTED]> wrote: > On Tue, 19 Nov 2002, Pierre Fortin wrote: > > > On Tue, 19 Nov 2002 13:29:43 -0500 Mark Weaver > > <[EMAIL PROTECTED]> wrote: > > > > > Hi List, > > > > > > has anyone else noticed the network connectivity in Mandrake 9.0 > > > goes dead periodically? It's very annoying and it seems to be linked > > > to Shorewall firewall system. > > > > > > Mark > > > > Any chance you're experiencing the ssh "pause"... I use ssh > > extensively and experience pauses ONLY when modem connected (never > > when LAN connected) to the server. It doesn't affect all sessions; I > > can continue to work on another session while one or more are > > stalled... I rarely connect between 2 modem connected machines; but > > it's on my list to watch for that possible scenario... > > > > Pierre > > Hi Pierre, > > No. This is happening at work on the LAN. I don't use 9 on my server at > home. "it" and my old machine don't get along at all very well. the > network troubles with that machine running 9.0 are terrible. The > interruptions are across the spectrum from web server to ssh. > In that case, some more details might help... during the outage of course :^) The usual: ifconfig, route -n, ... Is the problem on a "schedule" (at specific times or rate)? Anything else happening at the time? Other symptoms/anomolies? Other users affected? Cheers, Pierre Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
Thanks a lot indeed. Now it seems to work ! Is there anything special I need to know in order to administer an XFS partition (some special commands, some special maintenance etc) or, for the sake of using it, it is just like an ext2 one ? Best regards and thanks a lot /stefano Luca Olivetti wrote: Stefano Pogliani wrote: I do not have the command: mkfs.xfs on my system. Is it in some RPM I did not install ? # rpm -qf $(which mkfs.xfs) xfsprogs-2.0.0-1mdk (this is under mdk 8.2). If you don't have it installed that explains why you couldn't create an xfs partition. Bye Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com smime.p7s Description: S/MIME Cryptographic Signature
Re: [expert] network goes dead
On Tue, 19 Nov 2002, Pierre Fortin wrote: > On Tue, 19 Nov 2002 13:29:43 -0500 Mark Weaver > <[EMAIL PROTECTED]> wrote: > > > Hi List, > > > > has anyone else noticed the network connectivity in Mandrake 9.0 goes > > dead periodically? It's very annoying and it seems to be linked to > > Shorewall firewall system. > > > > Mark > > Any chance you're experiencing the ssh "pause"... I use ssh extensively > and experience pauses ONLY when modem connected (never when LAN connected) > to the server. It doesn't affect all sessions; I can continue to work on > another session while one or more are stalled... I rarely connect between > 2 modem connected machines; but it's on my list to watch for that possible > scenario... > > Pierre Hi Pierre, No. This is happening at work on the LAN. I don't use 9 on my server at home. "it" and my old machine don't get along at all very well. the network troubles with that machine running 9.0 are terrible. The interruptions are across the spectrum from web server to ssh. -- daRmaTTeR Reg. Linux User #186492 "Stupidity has no moral high ground...it can't see that high!" Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Solution to problem in "XFree 4.2.0 (repost)"
Hi, first of all I hope this will get through to the ML, as I'm not subscribed. I just liked to test Mandrake 9.0 and had the same problems with a blinking XFree 4.2.1 and my "ATI 3D Rage LT Pro AGP" card. Looking for a solution, I found the thread "XFree 4.2.0 (repost)" on the Mandrake site but I didn't find a solution straigforward. The original message came from Oscar. Actually the solution is to set the option "nocompositesync" in the section for the graphics card. Finally I found the solution with searching xfree86.org for the terms ATI and problem ;-). As it seems, many Mach64 based cards should need this option, so I can't understand, why it's not default to them. The funny thing is, that I got this blinking screen on my worksystem, which is a SuSE 7.2/XFree 4.1.0 system, sometimes (maybe once a month). But as it didn't seem to occur regularly, I thought of failing hardware or something like that and it didn't happen too often to have a pressure for investigation... Now I think, with this option it won't reappear. I hope, someone find this useful. Have a nice day, Carsten -- With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge. -- Peter J. Schoenster Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
Stefano Pogliani wrote: I do not have the command: mkfs.xfs on my system. Is it in some RPM I did not install ? # rpm -qf $(which mkfs.xfs) xfsprogs-2.0.0-1mdk (this is under mdk 8.2). If you don't have it installed that explains why you couldn't create an xfs partition. Bye -- Luca Olivetti Note.- This message reached you today, it may not tomorrow if you are using MAPS services. They arbitrarily include in their lists IP addresses not related in any way to spam, and in so doing are disrupting Internet connectivity. Please stop supporting them. See http://slashdot.org/article.pl?sid=01/05/21/1944247 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
I do not have the command: mkfs.xfs on my system. Is it in some RPM I did not install ? /stefano Luca Olivetti wrote: Stefano Pogliani wrote: I think I certainly need some more help here. 1. "You're not actually copying to the xfs filesystem, only to the directory /mnt/backup." Does this mean that there is some other step to be done after formatting an XFS partition? What does it mean writeing to a directory "without" copying to a If the partition isn't mounted your /mnt/backup is a directory in the parent filesystem filesystem ? 2. My /etc/fstab looks this way /dev/hda5 /mnt/backup xfs defaults 1 2 ok, that's correct 3. "The disk is formatted but no filesystem is created. I've not played much with XFS, but on most other filesystems the formatting and creation of the actual filesystem are separate steps." How would I create a filesystem on the XFS formatted partition? mkfs.xfs /dev/hda5 (see also man mkfs.xfs) 4. "Your kernel does not support XFS or the module is not loaded. This would be unusual unless you've modified your kernel." I did not modify my kernel. I am running MDK 8.2 standard (download edition) I remember I had the same problem (couldn't create a new xfs partition) with diskdrake under 8.2. Got into the habit of making them manually so I didn't bother to see if newer versions of diskdrake fixed that. Bye Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com smime.p7s Description: S/MIME Cryptographic Signature
Re: [expert] cron / at
On Tue, 19 Nov 2002, Sridhar wrote: > I am using anacron straight out of an install from disk and have not > configured anacron. anacrontab seems to contain default values. Should I > do anything in anacrontab? No. I think your problem might be that anacron is not started at all. Try 'chkconfig --list' is it in the list? Is it 'on' for your runlevel? If not: 'chkconfig --add anacron' and 'chkconfig --level 2345 anacron on' should do. -- ./mvh Christian Jul Jensen "I'm not quite sure what I'm participating in. I joined the conversation because I wanted to type the word "esperanto" and email it to thousands of people for no reason at all. :-)" -- Allen Smith @ TYPO3-devel-list Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
Stefano Pogliani wrote: I think I certainly need some more help here. 1. "You're not actually copying to the xfs filesystem, only to the directory /mnt/backup." Does this mean that there is some other step to be done after formatting an XFS partition? What does it mean writeing to a directory "without" copying to a If the partition isn't mounted your /mnt/backup is a directory in the parent filesystem filesystem ? 2. My /etc/fstab looks this way /dev/hda5 /mnt/backup xfs defaults 1 2 ok, that's correct 3. "The disk is formatted but no filesystem is created. I've not played much with XFS, but on most other filesystems the formatting and creation of the actual filesystem are separate steps." How would I create a filesystem on the XFS formatted partition? mkfs.xfs /dev/hda5 (see also man mkfs.xfs) 4. "Your kernel does not support XFS or the module is not loaded. This would be unusual unless you've modified your kernel." I did not modify my kernel. I am running MDK 8.2 standard (download edition) I remember I had the same problem (couldn't create a new xfs partition) with diskdrake under 8.2. Got into the habit of making them manually so I didn't bother to see if newer versions of diskdrake fixed that. Bye -- Luca Olivetti Note.- This message reached you today, it may not tomorrow if you are using MAPS services. They arbitrarily include in their lists IP addresses not related in any way to spam, and in so doing are disrupting Internet connectivity. Please stop supporting them. See http://slashdot.org/article.pl?sid=01/05/21/1944247 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mount problem on XFS partition
I think I certainly need some more help here. 1. "You're not actually copying to the xfs filesystem, only to the directory /mnt/backup." Does this mean that there is some other step to be done after formatting an XFS partition? What does it mean writeing to a directory "without" copying to a filesystem ? 2. My /etc/fstab looks this way /dev/hda5 /mnt/backup xfs defaults 1 2 3. "The disk is formatted but no filesystem is created. I've not played much with XFS, but on most other filesystems the formatting and creation of the actual filesystem are separate steps." How would I create a filesystem on the XFS formatted partition? 4. "Your kernel does not support XFS or the module is not loaded. This would be unusual unless you've modified your kernel." I did not modify my kernel. I am running MDK 8.2 standard (download edition) 5. Thanks a lot for your help. Best regards /stefano [EMAIL PROTECTED] wrote: On Tue, 19 Nov 2002, Stefano Pogliani wrote: I just tried today to create an XFS partition on a new hard drive. It was the first time I was playing with Journalized partitions, so I may have done something strange. I used diskdrake and created an XFS partition. I formatted it and then I rebooted (as I was asked to do). On rebooting I noticed an error message when trying to mount the newly created partition. I did not make that much attention. Then when issuing the "df -Tk" command (to just see my brand new first-time XFS partition listed) I did not see it. Well, I thought, maybe there is something I am missing so I verified in /etc/fstab and the partition is listed correctly there. I can copy files in this partition (mount point is /mnt/backup) and all went well with the copy (and subsequent "ls" command). You're not actually copying to the xfs filesystem, only to the directory /mnt/backup. So, I decided to MOUNT that partition to verify if mounting would make the partition visible by the "df -Tk" command and, surprise, I saw the same error message I saw during boot: [root@scarlet root]# mount /mnt/backup/ mount: wrong fs type, bad option, bad superblock on /dev/hda5, or too many mounted file systems What does your /etc/fstab show? (/dev/hd5 is where the /mnt/backup XFS partition is created). Any idea of what I did wrong? This was an experiment: I wanted to make sure I was able to do something with Journalized partitions before moving to MDK 9.0 where I am planning to use journalized partitions everywhere. Thanks a lot for any hint. It could be a few things: The disk is formatted but no filesystem is created. I've not played much with XFS, but on most other filesystems the formatting and creation of the actual filesystem are separate steps. Your /etc/fstab has an incorrect entry for the mount. Your kernel does not support XFS or the module is not loaded. This would be unusual unless you've modified your kernel. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com smime.p7s Description: S/MIME Cryptographic Signature