Re: Debian 4.0 Mister stati c IP, og hopper på DHCP

2007-09-11 Thread Anders Breindahl
On 200709081440, Jonas Smedegaard wrote:
 Hvis du (eller andre) er interesseret i at fiksere netværksenheden
 yderligere, så kan jeg anbefale at bruge ifrename. Pakkerne ifscheme
 eller ifupdown-scripts-zg2 skulle også kunne bruges, men jeg er aldrig
 blevet rigtigt gode venner med dem.

Jeg vil i den forbindelse reklamere for filen

  /etc/udev/rules.d/z25_persistent-net.rules

Hvori man kan kalde sine interfaces hvad som helst. På en simpel facon,
som distribueres med en standard Debian-installation. (Aliasser såsom
``outer'' kunne være praktiske).

Hilsen, skrewz.


signature.asc
Description: Digital signature


Re: Resolv.conf - hvordan ?

2006-10-20 Thread Anders Breindahl
On 200610201433, Lars P. Magnussen wrote:
 På en debian sarge test server har jeg afinstalleret exim4 og installeret 
 postfix.
 Næste (hver) gang jeg bootede var resolv.conf blank, bortset fra 
 bemærkningen om at man ikke skal redigere direkte her. Derfor var der ikke 
 nogen DNS ref. Jeg indsatte så direkte i filen, og så kører det.
 Jeg har læst her og der, men jeg kan ikke helt gennemskue, hvordan resolv 
 fungerer. Kan se at der, i et subdir, er (blevet) installeret et fetchmail 
 og et postfix script, som køres ved boot ??
 Skal systemet ved boot ikke selv finde DNS server IP adresserne via adsl 
 routeren / gatewayen på 192.168.1.1 ?
 
 I div. (også Debian) beskrivelser står der, at man retter direkte i 
 resolv.conf, men det synes jeg ikke stemmer med beskrivelser i div. man 
 sider.

Antageligvis har du statisk konfigurerede interfaces på den omtalte
maskine -- dhclient kan typisk selv opdatere resolv.conf.

(Hvis dit problem er, at den routers dhcp-server ikke giver dig
dns-oplysninger, må du søge routerens manual om oplysninger om den
slags).

Den pæne måde at have statisk konfigurerede interfaces på, er at tilføje
dem til interfaces(5)-filen under /etc/network.

Ingen steder står det nævnt [0], men, som en del af den statiske
konfiguration skal specificeres indstillinger for dns, og dette gøres
med klausulen ``dns-nameservers''. Et eksempel på Cybercity-nameservere
i Kolding-egnen følger:

iface eth0 inet static
  gateway 192.168.0.1
  dns-nameservers 212.242.40.3 212.242.40.51
  address 192.168.0.80
  netmask 255.255.255.0


Jeg håber, at dette hjælper.
Hilsen, skrewz.

[0] Jow, i /usr/share/doc/resolvconf/README.gz. Men det er ikke en
manpage.


signature.asc
Description: Digital signature


Fail2ban og en_DK

2006-05-31 Thread Anders Breindahl
Hej,
Jeg har sat min firewall op med fail2ban i forsøget på at nedbringe
størrelsen på mine logcheck-mails. Imidlertid støder jeg panden mod en
væg, når jeg `/etc/init.d/fail2ban start`'er:

2006-05-31 12:06:48,895 ERROR: unknown locale: en_DK
2006-05-31 12:06:48,896 ERROR: Please check the format and your locale settings.
2006-05-31 12:06:48,973 ERROR: Fail2Ban got an unhandled exception and died.
2006-05-31 12:06:48,973 ERROR: Type: 'AttributeError'
Value: ('strptime',)
...
2006-05-31 12:06:48,996 WARNING: Restoring firewall rules...

Spørgsmålet er, om der er en køn løsning. Jeg har genereret en_US, og
jeg kan udføre dette hack i scriptet, førende til, at fail2ban opretter
sine regler, og det hele virker:

/etc/init.d/fail2ban stop
killall fail2ban
...
LANG=en_US /usr/bin/fail2ban

Monstro nogen har en kønnere løsning? Måske et kønnere hack? :)
Hilsen, skrewz.
-- 
  .''`.  Anders Breindahl
 : :' :  smtp:[EMAIL PROTECTED]
 `. ``   http://skrewz.dk
   `-xmpp:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: USB-nøgle

2006-01-25 Thread Anders Breindahl
On 2006-01-25  2221, Anders Ellenshøj Andersen wrote:
 On Wednesday 25 January 2006 22:09, Anders Breindahl wrote:
  Det er ikke helt den ``rigtige'' måde at gøre dette på.
 
 Nej den HELT rigtige måde at mounte en usb key på er ved hjælp af pmount

- snip -

  pmount /media/sda1
 
 Og KDE 3.5 autodetekterer endda lortet for dig og popper et vindue op som 
 spørger hvad du har lyst til at gøre, så behøver du ikke engang at bruge 
 tastaturet for at bruge din usb nøgle. Man skal slet ikke mounte den manuelt 
 mere. Det er helt windows-agtigt efterhånden.

Høhø, måske det netop er hvad diskvalificerer dette som ``rigtigt''?

fstab-metoden er generisk og platformuafhængig. Og den laver ikke
popups -- intet så slemt som af-brugbarhedsnørder-foreslåede metoder. :)

Anyway. Hvad end man lyster.

Hilsen, Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: an advice about security.

2006-01-10 Thread Anders Breindahl
On 2006-01-10  1257, Mauro Sanna wrote:
 Hello.
 My users connect via a samba server to their home directories and to a 
 develop directory that is /home/develop.
 Then they copy all the data from /home/develop to /var/www/final.
 Now they want to connect directly to /var/www/final to avoid the copy.
 Can I share /var/www/final with samba or it can be a security problem?

Well. It could be a security ``risk'', in the sense that it would be
possible for your developers to put up files, that trigger an exploit of
your httpd (and the parsers it may feature), and thereby gain control of
your system. However, that would be directly malicious from your users,
and you'd be having a lot of other concerns if you were to counter such
hostility.

If I understand you correctly, you migrate from having your users commit into 
their
homedirs and then commiting that into the final-dir, to having them
commit directly into the final-dir. That might be dangerous, as your
developers may more easily override already-correct files.

As I see it, you could go ahead with your plan as is, bearing in mind
that it is sub-optimal.
You could attempt a remedy on your current scheme, and have a cronjob
copy the data of /home/develop to /var/www/final every night or the
like. If you go with this approach, you really shold keep a backup of
the final-dir, at least a week back.
But, as another poster pointed out, your developers would be better off
learning to use CVS, or rather, subversion. Those are fully-fledged
systems for collaborating on source code and the likes.

Regards, Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Autoexec.bat

2006-01-02 Thread Anders Breindahl
On 2006-01-02  1946, Anil Gupte wrote:
 BlankIs there an equivalent of the autoexec.bat file in Debian?  Basically I 
 want to execute a scrpt and maybe mount a USB port on startup.
 
 Any suggestions will be appreciated.

I don't know what ``BlankIs'' is. Mounting your USB-thingie should be
done using an entry in /etc/fstab (unless you're using something more
fancy than basic mounting). Like this one:
/dev/sda1   /usbvfatauto  0   0

To run a script at startup (with root priviledges), make a symlink (man
ln) to your script in /etc/rcS.d/S90myscript or the like. Then it'll be
executed (remember to have `chmod +x`'ed it) at boot. Also remember,
that the script should return, or it'll make the boot process hang
forever.

Regards, Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



OT: Re: Guide til debian sarge

2005-12-25 Thread Anders Breindahl
On 2005-12-25  1931, Anders Ellenshøj Andersen wrote:
 http://www.aboutdebian.com

Hmm. Jeg bryder mig ikke om, når man siger ``Red Hat Linux'', men kan
se igennem fingre med det, i kraft af at Red Hat selv bidrager til at
udbrede fejlen.

Når så folk siger ``Debian Linux'', så frustreres jeg.

Ergo kan jeg ikke anbefale guiden: Hvis jeg anbefalede folk at bruge
den, ville jeg konstant skulle uddybe for dem, at operativsystemets navn er
ulig dets kernels.

På den anden side -- når guides ikke har forstået *navnet* på
operativsystemet, så er de sjældent særligt seriøse. Jeg stødte forleden
på en ``Linux hardening tips'', hvor man foresloges at sætte
``Linux-variablen TMOUT'' til det antal sekunder der går, inden Linux
logger èn ud. Det var moderat underholdende. :)

rant off
Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: non-free internet radio?

2005-09-04 Thread Anders Breindahl
On Sunday 04 September 2005 20:05, Colin Andrews wrote:
 NooB Disclaimer:
 Though I've used unix/linux for many years, it's mostly been on servers or
 just bash/csh command line environments. I've just installed Sarge on a
 brand new system and I'm really liking it. I'm still a bit of a NooB when
 it comes to desktop related features (configuring X, watching DVDs...)

 Anyways... My question relates to internet radio feeds. Some of the
 stations I like to listen to over the internet actually offer feeds in
 formats that aren't a problem for linux (mp3, ogg) but most stations give
 you a choice between Windows Media Player and Real Player. I know that Real
 has a linux version of their player, but I'd rather not install it. Real
 player for windows always seems like total spyware, and it's totaly anoying
 with all ads  popups it puts up even if it isn't spyware.

 Is there a reasonable free/open source solution out there that will let me
 listen either of these stream types?

Mplayer [0] eats most stuff. In case you're very unlucky, you will be required 
to fetch the non-free codecs. Instructions to install both (which are not 
DFSG-free) follow:

Add Christian Marillats repository to your sources.list. Instructions on [1].
`aptitude update; aptitude install mplayer-586` (IIRC).

Regards, Anders Breindahl.

[0] http://mplayerhq.hu/homepage/design7/news.html


pgpyW3I9tmzXh.pgp
Description: PGP signature


Re: Grub hænger pga Qtec controller

2005-08-18 Thread Anders Breindahl
On Thursday 18 August 2005 12:50, Lars wrote:
 Jeg har problemer med at grub hænger, når jeg sætter en disk på min qtec
 controller. Normalt starter comp'en fint op når hda og hdc sidder i og
 qtec controller-kortet sidder i. Men så snart jeg sætter en disk på
 controlleren, stopper grub op ved grub loading, please wait.

 jeg blev anbefalet controlleren her i debian-user-dk, hvor han skrev:
 På min maskine bliver denne prioriteret
 før onboard-controlleren, så de diske som sad på denne kom til at være
  hhv. hd{a,b,c,d}, mens de på onboard-controlleren hed hd{e,f,g,h}.

 Så tænkte på at prøve at ændre i grub. så hda sættes til hde. Men da jeg
 ikke få menuen frem ved opstart, ved jeg ikke for meget jeg vil teste.
  title   Debian GNU/Linux, kernel 2.6.8-2-386
  root(hd0,0)
  kernel  /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
  initrd  /boot/initrd.img-2.6.8-2-386
  savedefault
  boot

 Så nogle gode ideer?

Det var da træls.
Beklageligvis døde det bundkort, som controlleren sad på, for mig, og mit eget 
kort ligger brak. Jeg kan derfor ikke rigtig debugge min maskine mod din.

Umiddelbart vil jeg foreslå, at du prøver en Knoppix-boot med en harddisk i 
controlleren. Hvis problematikken er lignende den jeg oplevede (som i øvrigt 
ledte til, at jeg måtte geninstallere Debian, da jeg formåede at låse mig 
ude. Ja, Jonas -- det var lilos skyld! :) ), er problematikken, at grubs 
menu.lst har flyttet sig i filsystemet. Det er det mest plausible, jeg kan 
forestille mig.

Men, kan du boote en knoppix26, og se disken (og dens indhold?) på 
controlleren?

Med venlig hilsen, Anders Breindahl.


pgp25p174V2T6.pgp
Description: PGP signature


Re: lame not in the debian package repository?

2005-08-15 Thread Anders Breindahl
On Monday 15 August 2005 10:37, Hans du Plooy wrote:
 Paul Johnson wrote:
  But the point still stands, if you want free you use Ogg.  If you want
  wrong, go with MP3.

 I really couldn't care if mp3 is free or not, it doesn't cost anything
 to compile lame and it doesn't cost anything to play back mp3s either,
 so what's the fuss?

That, in order to use the technology patented by BMG Music (right?), you'll 
have to make an agreement with them. That technology only is in effect when 
encoding to mp3, and therefore LAME -- although easily and freely 
distributable -- can't be used freely; it isn't DFSG-free.

That's the fuss.

 What concerns me more is that ogg offers much better sound quality for
 the same bitrate/size as mp3.  *That* is what's important to me.

Sorry to hear that, but it's your choice nonetheless. BTW, ``ogg'' is only the 
container format -- the audio codec goes by the name ``Vorbis''.

Regards, Anders Breindahl.


pgpjFTSJtbOCW.pgp
Description: PGP signature


Re: Network card recommendation

2005-08-15 Thread Anders Breindahl
On Monday 15 August 2005 23:48, Roberto C. Sanchez wrote:
 On Mon, Aug 15, 2005 at 10:54:40PM +0200, Jan Schledermann wrote:
  A safe bet is a card with a realtek chip. It works well and is not
  expensive.

 Yeah.  It's safe in the same way that a Pinto was safe in a rear end
 collision.  Seriously, Realtek are the *cheapest* and *worst* possible
 chips.  If you want anything approaching reliable, then don't get them.
 If you want something that will not hog your CPU under heavy load, then
 don't get a realtek.  Really, 3COM is the way to go.  Failing that,
 maybe Intel, though I am not as familiar with their newer hardware.

 -Roberto

Please educate me: What exactly determines a NIC's reliability? What defines 
its effectiveness?

Regards, Anders Breindahl.


pgpTSY0vNnO8g.pgp
Description: PGP signature


Re: Xlib

2005-08-12 Thread Anders Breindahl
On Friday 12 August 2005 11:39, Morten Bartvig wrote:
 Jeg har et lidt mærkeligt problem med min Debian-maskine. Når den har
 stået et stykke tid (nogle timer), kan jeg ikke åbne nogen
 GUI-programmer. Følgende fejl opstår:
 Xlib: connection to :0.0 refused by server
 Xlib: Maximum number of clients reached
 xterm Xt error: Can't open display: :0.0

 Den anden linie antyder, at der kan være alt for mange programmer åbne,
 der bruger X-serveren, men dette er ikke tilfældet. Det samme sker, selv
 om jeg ikke har noget åbent overhovedet.

 Når jeg logger ud af Gnome og ind igen, er der intet problem, indtil der
 går nogle timer igen.

Prøv at vise os outputtet fra `xlsclients` (fra pakken xbase-clients).

Med venlig hilsen, Anders Breindahl/skrewz.


pgpELwUXPcPMh.pgp
Description: PGP signature


Re: help

2005-08-12 Thread Anders Breindahl
On Friday 12 August 2005 03:41, NetSnake wrote:
 help

 --
 
 NetSnake [EMAIL PROTECTED].
 Tel: 010-65220088-635
 Mobile: 13810621539
 Operation  Maintenance team.
 Prosten Technology Co.,Ltd.
 


http://lists.debian.org/debian-user/2005/07/msg02467.html ?

I couldn't resist. :)

Regards, Anders Breindahl.


pgp4rCrIeB9xS.pgp
Description: PGP signature


Re: Cannot stat - Kopier filer

2005-08-09 Thread Anders Breindahl
On Monday 08 August 2005 22:07, Lars wrote:
 (plus hvis folk kan anbefale en ata-controller (ata 133 og gerne
 sata), der er til at have med at gøre i linux..)

Det kan jeg hjælpe med.

http://g2p.dk/hardware/hardware-vis.asp?Kode=H006292
Styres med BLK_DEV_SIIMAGE i Linux. På min maskine bliver denne prioriteret 
før onboard-controlleren, så de diske som sad på denne kom til at være hhv. 
hd{a,b,c,d}, mens de på onboard-controlleren hed hd{e,f,g,h}. Mindre problem, 
specielt når man bruger LVM.

Med venlig hilsen, Anders Breindahl/skrewz.


pgpm0pvTY02Gv.pgp
Description: PGP signature


Re: OSS device /dev/dsp is already in use by another program

2005-08-09 Thread Anders Breindahl
On Tuesday 09 August 2005 23:12, Jon D. Irish wrote:
 I just finished compiling a 2.6.12.4 kernel to support the sound card in my
 Dell Optiplex GX270; however, when I try to play audio via Music Player, I
 keep getting a OSS device /dev/dsp is already in use by another program
 error. I have verified that there are no other programs running at the
 time, so what else would be using the device?

Try using lsof (may be installed by running `apt-get install lsof`) on the 
file:
le-skrewz:/home/skrewz#  lsof /dev/dsp
COMMAND  PID USER   FD   TYPE DEVICE SIZE   NODE NAME
nasd2682 root4u   CHR   14,3  310544 /dev/dsp

You may then use kill to kill the process by pid.

Regards, Anders Breindahl.


pgpldrJZTNLDb.pgp
Description: PGP signature


Re: libdvdcss repository

2005-08-08 Thread Anders Breindahl
On Monday 08 August 2005 14:48, Daniel Sørensen wrote:
 Findes der et repository med libdvdcss inkluderet?

deb ftp://ftp.nerim.net/debian-marillat/ unstable main

[EMAIL PROTECTED]:~$ apt-cache show libdvdcss2
Package: libdvdcss2
Priority: optional
Section: libs
Installed-Size: 104
Maintainer: Christian Marillat [EMAIL PROTECTED]
Architecture: i386
Source: libdvdcss
Version: 1.2.8-0.0
Replaces: libdvdcss-dev (= 0.0.3-3), libdvdcss0 (= 1.0.0-0.0)
Provides: libdvdcss
Depends: libc6 (= 2.3.2.ds1-4)
Filename: pool/main/libd/libdvdcss/libdvdcss2_1.2.8-0.0_i386.deb
Size: 26686
MD5sum: 7a345341d5a02ec32735a32aa2b4f209
Description: Simple foundation for reading DVDs - runtime libraries
 To allow applications to access some of the more advanced features
 of the DVD format.
(Ikke, at jeg har lyst til at bruge det -- det er i karambolage med nogle 
patenter, og er derfor i karambolage med DFSG. Non-free, med andre ord.)

Btw, gutter: Er ftp-repositories ikke ved at være udfasede, til fordel for 
http-repositories?

Med venlig hilsen, Anders Breindahl/skrewz.


pgpdCcNidbdZK.pgp
Description: PGP signature


OT: Http-repositories (was:Re: libdvdcss repository)

2005-08-08 Thread Anders Breindahl
On Monday 08 August 2005 16:10, Jonas Smedegaard wrote:
 On 08-08-2005 15:32, Anders Breindahl wrote:
  Btw, gutter: Er ftp-repositories ikke ved at være udfasede, til fordel
  for http-repositories?

 Det må du spørge Marillat om, vedr. hans repositories. :-)

 Mine repositories ved http://debian.jones.dk/ er alle http.


Jeg har endnu ingen. Har heller ikke rigtig noget, som endnu er værd at hoste 
som debian-pakke.
Jeg tænkte imidlertid på, om Debian generelt udfasede ftp-mirrors, per 
politik. Her, fra -boot:

On Friday 29 July 2005 00:39, Joey Hess wrote:
 Out of 312 mirrors, there are 35 mirrors that only carry ftp and 31 that
 only carry http. It's hard to count, but some of these are sites that
 split http and ftp to different hosts.

... Og senere bibringer Lennart Sorensen, at ftp.countrycode.debian.org kan 
anvendes som http, ligeså. Og det er vist rigtigt:
http://ftp.de.debian.org/

Men, om det skaber en reel politik, ved jeg ikke. Det ville imidlertid være 
praktisk, hvis http blev den gængse metode: Webhoteller kan let hoste et 
repository. På den anden side, kunne noget p2p-stads jo lige så godt 
indrettes snarligst. :)

Med venlig hilsen, Anders Breindahl/skrewz.


pgpdP2cka2MzU.pgp
Description: PGP signature


Quick advise: Racoon and IPsec

2005-08-08 Thread Anders Breindahl
Hello list,

I am going to be fiddling with some ipsec'ing for securing my WLAN and 
enabling tunnelling to my home network through the Internet.
I had great success last time I asked d-u for such quick advise, so I'll try 
again:

Can you please provide your preferred points of entry to the field of 
tunnelling and automatic keying?
Is IPsec and Racoon what I want? Which alternatives exist?
Are there any common sources of error in this field, that I should be aware 
of?
Anything else worth mentioning?

I should mention, that I have tried the IPsec HOWTO by Ralf Spenneberg, but it 
didn't answer all my questions. Great short introduction, though.

Regards,
Anders Breindahl/skrewz.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Quick advise: Racoon and IPsec

2005-08-08 Thread Anders Breindahl
On Tuesday 09 August 2005 03:32, Jeff Stevens wrote:
 Anders,

 Our situations differ a bit, however I've found Debian's racoon package
 to be quite useful.  I just use it to encrypt all traffic between two
 hosts that use NFS and XDMCP on my LAN.  Who says NFS can't be secure in
 transit?  I also only use PSKs and haven't bothered with certs.

 When you install it, debconf will ask if you want to use racoon-tool.
 I've only used racoon with the racoon-tool configuration file, which I
 understand simplifies things.

 After installing, there are really only three steps:

 1.  Add your host/PSK entry to /etc/racoon/psk.txt
 2.  Add a connection to /etc/racoon/racoon-tool.conf
 3.  Restart /etc/init.d/racoon

 It's not perfect.  The most annoying issue in my little setup is that
 NFS doesn't mount immediately on boot.  It seems it takes some time
 (seconds) for the connection to become available and the first few
 packets go nowhere.  I think this is pointed out in the IPSec HOWTO.

 -Jeff

Thank you for your answer. I will look into racoon-tool.

Since I control all hosts in the setup I have in mind, it should be no problem 
to use preshared keys. In fact, I dd'ed from /dev/random to create the set, 
when I played with it.
The one thing that bugs me, is, that the tunnel will bear a VLAN, but reside 
on the Internet (or any other insecure network); therefore the the laptop 
somehow has to identify itself as a part of the VLAN first, and a part of the 
insecure network second.
That is a problem in my mind, as there will only be one physical interface 
involved: My laptop will not be a remote endpoint for a network -- just for 
itself. How do one accomplish to have the laptop's eth0 on a (potentially 
NAT'ed) Internet IP-address, while having it consider a gateway on the VLAN 
to be its primary route (or default gateway, as I believe it's called)?

Anyway, I'll just let answers settle. Thank you again.
Regards, Anders Breindahl.


pgptss5nqVETR.pgp
Description: PGP signature


Re: apt-get - quiet - også ved advarsler!

2005-08-05 Thread Anders Breindahl
On Thursday 04 August 2005 23:53, Daniel Sørensen wrote:
 Hej,

 apt-get -qq -y --force-yes dist-upgrade

 Burde ovenstående ikke være fuldstændig quiet?

 Jeg får denne meddelelse:

 ADVARSEL: Følgende pakkers autensitet kunne ikke verificeres! libartsc0
 libarts1 akode etc

Medmindre brugeren af scriptet virkelig ved, hvad vedkommende gør, er 
ovenstående kommando meget farlig. Opdateringer -- selv i stable -- kan 
ødelægge ting: Fra apt-gets manpage:
   -q, --quiet,
- snip -
  you
  should  never  use  -qq without a no-action modifier such as -d,
  --print-uris or -s as APT may decided to do  something  you  did
  not expect. Configuration Item: quiet.


Men, det værende sagt, så redirecter du blot outputtet til /dev/null. 
Sandsynligvis forekommer det output, som du tænker på, ikke på standard 
output, men snarere på standard error. De to skal da marges sammen i standard 
output, for så at smide den nye stdout-stream i /dev/null. Det gøres i bash 
således:

kommando-som-skriver-på-både-stdout-og-stderr  /dev/null 21

(se i øvrigt bashs manpage, specielt under ``REDIRECTION'')
Du skulle også overveje, at redirecte alt dette output til en anden fil 
end /dev/null. Så kan brugeren i det mindste se, hvad der gik galt. 
Eksempelvis:
LOGFILE=$PWD/mitscript-log-$(date +%c)

kommando-som-skriver-på-både-stdout-og-stderr  $LOGFILE 21

Med venlig hilsen, Anders Breindahl/skrewz.


pgpaQwVtg1vfF.pgp
Description: PGP signature


Re: VCD udfra DivX og Xvid-film

2005-08-03 Thread Anders Breindahl
On Tuesday 02 August 2005 21:43, Jonas Smedegaard wrote:
 Marillats uofficielle pakker laves mig bekendt kun til Debian, ikke
 Ubuntu - det fremgik sandsynligvis tydeligt af den webside hvor du
 kopierede APT-linjen!

Nåh, tja. Hvis jeg ikke husker galt, udpegede jeg den. Debian-pakker plejer at 
virke i Debian-baserede distributioner -- men du har selvfølgelig ret.

I øvrigt vil jeg lige påpege, at mencoder er mere end beslægtet med mplayer -- 
de to kompileres af samme kode.

Med venlig hilsen, Anders Breindahl/skrewz.


pgpWcT4Sj4jBe.pgp
Description: PGP signature


Re: Håndtering af RF Remote control

2005-08-03 Thread Anders Breindahl
On Tuesday 02 August 2005 22:49, Daniel Sørensen wrote:
 Hej,

 Jeg har en Medion PC med en USB Remote control!

http://www.alltheweb.com/search?exec=FAST+Searchtype=allquery=medion+usb+remote+control+gnu+linuxcat=web_sb_lang=any

Første hit ser lovende ud. Können Sie Deutsch sprechen?
http://www.linuxforen.de/forums/showthread.php?t=119967

Dette er måske også behjælpeligt:
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0408.2/0838.html

Med venlig hilsen, Anders Breindahl/skrewz.


pgpHiJ2bauPen.pgp
Description: PGP signature


OT: Ordkløveri

2005-08-03 Thread Anders Breindahl
On Wednesday 03 August 2005 16:44, Jonas Smedegaard wrote:
 On 03-08-2005 13:21, Anders Breindahl wrote:
  Nåh, tja. Hvis jeg ikke husker galt, udpegede jeg den.

 Du omtalte Marillat i et andet, tidligere spørgsmål, ja. Og på en måde
 som inviterede til at blindt at installe uofficielle pakker uden at tage
 stilling til om de fungerer sammen med værtssystemet.

 Jeg beskrev tidligere i denne tråd at søge på Google efter Marillat.

Jeg vil ligefrem gå så langt som at sige, at jeg privat, i Daniels dage hos 
Debian, udpegede Marillats repository som en nem måde at skaffe sig mplayer 
på. Jeg skulle ydermere mene, at jeg rådede ham, da han skiftede til Kubuntu, 
at han stadig burde kunne installere mplayer fra samme pakker.

  I øvrigt vil jeg lige påpege, at mencoder er mere end beslægtet med
  mplayer -- de to kompileres af samme kode.

 Siger du dermed at min bror og jeg ikke er beslægtede? ;-)

Hehe, nej. No offence.
Det virkede blot som om, at du troede at de to programmer ``kun'' var 
beslægtede. To emner som er beslægtede, kunne eksempelvis være så forskellige 
som Ubuntu og Debian. Jeg ville blot virke opklarende; om ikke overfor dig, 
så overfor andre læsere.

Er du også maskinkode-kompatibel med din bror? :)
... Hvilket får mig til at tænke på: Det kunne være rigtig smart, hvis 
mennesker var kompileret med debugging-symbols. Sygehusvæsenet ville blive 
hyper-effektivt.

Med venlig hilsen, Anders Breindahl/skrewz.


pgpbyWZeUjmch.pgp
Description: PGP signature


Re: mp3 encoder ?

2005-07-28 Thread Anders Breindahl
On Thursday 28 July 2005 15:02, Søren Christensen wrote:
 Hvor finder jeg en mp3 encoder (fx lame), den er ikke en del af debians
 (sarge) officielle pakker. Findes den i contrib?

 og er der nogen, der for prins knud gider gentage, hvordan og hvor man
 tilføjer contrib til aptitude.

 Med venlig hilsen
 SøreHvor finder jeg en mp3 encoder (fx lame), den er ikke en del af
 debians (sarge) officielle pakker. Findes den i contrib?

 og er der nogen, der for prins knud gider gentage, hvordan og hvor man
 tilføjer contrib til aptitude.

echo 'deb ftp://ftp.nerim.net/debian-marillat/ stable main' 
 /etc/apt/sources.list; aptitude update; aptitude install lame

Husk at indhente licens hos Fraunhofer til at komprimere med lame, før du går 
i gang med det.
Ellers kan free software-pakken vorbis-tools med applikationen oggenc nok 
klare det... Bedre.

Med venlig hilsen, Anders Breindahl/skrewz.


pgp7fWBAhDldA.pgp
Description: PGP signature


Re: OT: In defence of ``newbie-picking'' (was:Re: MS Project 2003)

2005-07-26 Thread Anders Breindahl
On Tuesday 26 July 2005 17:46, Dick Davies wrote:
 The OP asked 'how do I read MS Project files', and the response was:
 'use less, hur hur'

 That's not newbie bashing, that's trying to be funny and sounding like an
 ass

Now I must protest; you have gotten it all wrong.
I attempted to kill off a thread by suggesting something obvious. That in 
itself is no offence, neither is it supposed to be funny nor ``sounding like 
an ass''. I can't grasp how it may it interpreted as such, but please fill me 
in.

Regards, Anders Breindahl.


pgpZFLvrKWbLz.pgp
Description: PGP signature


Re: problem with a device 2TB

2005-07-26 Thread Anders Breindahl
On Tuesday 26 July 2005 09:52, christian gattermair wrote:
 i use debian sarge with 2.6.8-2-686-smp and like to use an raid device
 (sda) with 3 TB.

 i have read in the internet and found that there is an kernel feature
 called LBD. it is activated

 cfdisk /dev/sda
 FATAL ERROR: Cannot get disk size

 fdisk /dev/sda
 You must set cylinders.
 You can do this from the extra functions menu.
 Warning: invalid flag 0x of partition table 4 will be corrected by
 w(rite)
- snip -
 kernel: sda : very big device. try to use READ CAPACITY(16).
 kernel: SCSI device sda: 6445080576 512-byte hdwr sectors (3299881 MB)
 kernel: SCSI device sda: drive cache: write back, no read (daft)
 kernel:  /dev/scsi/host0/bus0/target0/lun0: p

 thx 4 any hint or tip

It is only a vague hint, but if you're unafraid to loose data on the device, 
you could try repartitioning the disk with cfdisk's ``-z''-option. This will 
start cfdisk with an empty partition table, and thereby hopfully working 
around cfdisk's inability to detect the size of the disk.

If you dare, how are the results?
Regards, Anders Breindahl.


pgpv03LuXkexP.pgp
Description: PGP signature


Re: Three OS on one HD

2005-07-25 Thread Anders Breindahl
On Tuesday 26 July 2005 00:02, Rajiv Vyas wrote:
 I am thinking about having three OS (XP, Debian and SuSE) on one HD. I'll
 mostly be using Debian (70%), XP (20 to 25%) and ocassionally SuSE. What's
 the best way to go about partitioning the HD. Will load XP first for sure.

It is my experience, that the Debian installer does a good job detecting other 
OS's. THerefore, I'd install that one last.
The Windows installer doesn't seem to understand the presence of other OS'es. 
Therefore, it will install itself to the MBR, overwriting anything there.
By the way, I experienced problems in Debian's autodetection of Windows XP, 
when it was already patched to SP2.

But the method is:
Windows (remember to have an SP2-installler-CD nearby in the case of Windows 
XP, as you should be unplugged from the network while installing)
SuSE GNU/Linux
Debian GNU/Linux

Regards, Anders Breindahl.


pgpUx9r2SbKpD.pgp
Description: PGP signature


Re: Sound is clipping - alsamixer isn't working

2005-07-25 Thread Anders Breindahl
On Thursday 21 July 2005 17:27, Lars Stokholm wrote:
 Installing ALSA (alsa-base and alsa-utils) broke the sound on Debian
 too. I did it because MPD sounded like the sound was played from within
 a tin can, or something. XMMS is clipping on OSS and ALSA. Before
 installing ALSA, only OSS was working, but it wasn't clipping.

Do I get it correct: OSS works flawlessly under Debian, while installing ALSA 
breaks sound?
If that is the case, you've got a remedy there.

  Actually, I'd like to see the output of `lsmod`, too.

 $ lsmod | grep snd
 snd_intel8x0   36460  2
 snd_ac97_codec 69988  1 snd_intel8x0
 snd_pcm_oss55080  0
 snd_mixer_oss  20096  3 snd_pcm_oss
 snd_pcm98728  2 snd_intel8x0,snd_pcm_oss
 snd_timer  25732  1 snd_pcm
 snd_page_alloc 11752  2 snd_intel8x0,snd_pcm
 gameport4704  1 snd_intel8x0
 snd_mpu401_uart 7968  1 snd_intel8x0
 snd_rawmidi25124  1 snd_mpu401_uart
 snd_seq_device  8200  1 snd_rawmidi
 snd57156  9
 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd
_mpu401_uart,snd_rawmidi,snd_seq_device soundcore  10336  3 snd

  If you enabled the OSS mixer API in the kernel -- could an
  OSS-mixer-application control the hardware, then?

 I'm sorry, but I don't know what you are talking about.

In Linux' menuconfig:
OSS Mixer API
  x To compile this driver as a module, choose M here: the module   x  
  x will be called snd-mixer-oss.   x  
  x x  
  x Symbol: SND_MIXER_OSS [=y]  x  
  x Prompt: OSS Mixer API   x  
  x   Defined at sound/core/Kconfig:49  x  
  x   Depends on: !M68K  SOUND!=n  SND  x  
  x   Location: x  
  x - Device Drivers   x  
  x   - Sound  x  
  x - Advanced Linux Sound Architecturex  
  x   - Advanced Linux Sound Architecture (SND [=y])   x  
  x   Selects: SND_OSSEMUL  x  

More or less, if you compile your own Linux'es, this enables you to use ALSA 
without using ALSA-aware mixers.
If this API emulation enabled you to change mixer volumes, the problem you 
have was limited to the ALSA mixer API (and the driver itself could be good 
enough).

You could try it out. I really am running low on advises, though.
Regards, Anders Breindahl.


pgpWFzi34FLo1.pgp
Description: PGP signature


Re: MS Project 2003

2005-07-25 Thread Anders Breindahl
On Tuesday 26 July 2005 02:19, Rajiv Vyas wrote:
 Are there any free software that would open MS Project files?

 Rajiv

Have you tried `less`?

Regards, Anders Breindahl.

OT: My apologies to Rajiv Vyas for clobbing up his/her mailbox.
Why is reply-to not debian-user? Didn't it use to be?


pgplKtPCerMzu.pgp
Description: PGP signature


OT: In defence of ``newbie-picking'' (was:Re: MS Project 2003)

2005-07-25 Thread Anders Breindahl
On Tuesday 26 July 2005 03:54, Michael Z Daryabeygi wrote:
 Anders Breindahl wrote:
  Have you tried `less`?

 Why are you picking on (perceived?) newbies? That's not funny.
 I'm pretty sure he needs more functionality than that.
 And I know from his other thread that he is doing his best to get away
 from M$, so we should genuinely try to help him.

I am sorry, that you read it as me picking on newbies. That was not my 
intention; I merely (attempted unarrogantly) tried to state the not-always 
obvious.

I am also sorry to announce, that I am one of those, who will be ``jumping 
down peoples' throats'' in the case of not keeping to the net-etiquette. It 
really makes it less satisfying to be a part of the community. I suppose I 
don't belong on -user with this standpoint; but as it seems like the only 
place in Debian I may be of service, I stick around, keeping my annoyance to 
myself (mostly, that is).

In defence of my post, though:
It is my experience, that the Windows-community uses cleartext files more 
often than one assumes. (Opposite to arbitrary binary formats).
Often I have been able to extract the information I needed by treating the 
files as cleartext.
I am also convinced, that no one would want to run a Windows-only IDE on a 
GNU/Linux machine -- and I therefore assumed that Rajiv only wanted to do the 
``extracting information''-part, and therefore could cope with `less`.

 Project is a beast that I am afraid to learn.  But I would be interested
 to know if anyone has tried it in wine.

Not that I have the ability to command such development forces -- but wouldn't 
creating a Microsoft-compatible program be a misallocation of Free Software 
development ressources?
The trouble about .doc seems to prove that to me: The more we want a a 
FS-alternative to a Microsoft program, the harder they will make it to 
develop?

Regards, Anders Breindahl.


pgpR7P8JdV5pA.pgp
Description: PGP signature


Re: Mere sid sjov, nu med KDE igen..

2005-07-20 Thread Anders Breindahl
On Wednesday 20 July 2005 19:44, Anders Ellenshøj Andersen wrote:
 Anders Breindahl wrote:
 Men hold din frustration lidt mere inde. Du burde have forventet at
 ``unstable'' lever op til sit navn -- og KDE 3.4.1 er kun i Debian i
 ``experimental'', AFAIK.
 Vi (jeg er delvist i båd med dig) er jo bare owned; hvad er der ellers at
 sige?

 Er det nu ikke tilladt at brokke sig lidt??? Jeg er udemærket klar over
 hvad unstable betyder. Og jeg er forberedt på at tage det sure med det
 søde. Men derfor kan man vel godt have lov til brænde lidt dæk af, om
 man så må sige.

Ja. Du virker blot så bebrejdende, hvilket det ikke giver mening at være. 
Tragisk som det er, har vi nemlig intet krav på, hvor stabile 
software-repositories'ne skal være, og min pointe er, at du overreagerer over 
den ustabilitet du oplever. Specielt set i lyset af, hvad dine vælg hedder.
Det er på mange måder spild af båndbredde -- specielt hvis du poster alle dine 
frustrationer til -user-danish, og dermed beder os andre om at læse dem.

Det er min mening. Som jeg skriver i det første ord af mit svar, betyder det 
ikke, at du ikke /må/ brokke dig -- blot at det ikke falder i god jord hos 
(folk med holdninger som) mig.

Med venlig hilsen, Anders Breindahl/skrewz.


pgpbkZmlQt52T.pgp
Description: PGP signature


Re: Sound is clipping - alsamixer isn't working

2005-07-20 Thread Anders Breindahl
On Wednesday 20 July 2005 08:02, Lars Stokholm wrote:
  On 2005-07-19, Anders Breindahl [EMAIL PROTECTED] wrote:
   Version of Linux.

  2.6.10-5-386 (default in Ubuntu 5.04 - Hoary). I've tried 2.6.12-3-686
  also, but it didn't make things better.

   Relevant hardware-specifications.

  Information from alsamixer:
Card: Intel ICH5
Chip: C-Media Electronics CM9761

  Motherboard: MSI MS-7012

  CPU: Pentium IV 3GHz (hyperthreading disabled in BIOS)

  If you need more specifications, let me know.

   Interesting output of various system logs

  I'm very new to Linux, it's been less than a week, so I'm sorry to

I suppose you're talking about the operating system ``GNU/Linux''.

  say that I don't know any system logs yet. Do you have any request?

The related stuff of the output from `dmesg`.
Actually, I'd like to see the output of `lsmod`, too.


   and any unusual output of media applications

  I don't think there are any.

   If I may venture an arrogant guess: You come from Windows, where maximum
   in the mixer settings does not correspond to maximum on the hardware --
   and have therefore turned PCM to 100%, by habit...?

  You're right, but I didn't turn anything up in Linux, and I can't turn
  it down, using for example alsamixer - it doesn't work.

Oh, o.k. I don't know how the Ubuntu team looks at default volumes. However, I 
am not an expert in this field, so I can't put my finger on the problem 
you're having.
I have some tests for debugging, you could try, though.

Does the card work in any other distributions?
If you enabled the OSS mixer API in the kernel -- could an 
OSS-mixer-application control the hardware, then?
Have you STFW'ed on terms as ``alsa can't control mixer'' and ``alsa ich5 
mixer''?

Regards, Anders Breindahl.


pgpID9p2UrnyN.pgp
Description: PGP signature


Re: Sound is clipping - alsamixer isn't working

2005-07-19 Thread Anders Breindahl
On Wednesday 20 July 2005 00:25, Lars Stokholm wrote:
  I have two problems on Ubuntu (and Knoppix aswell), they are hopefully
  related:
 
  The first problem is that the sound is clipping (it makes a scratchy
  sound on places in music where the volume is high).
 
  I've tried different music players, different file formats, different
  output methods. They all yield the same result.
 
  For testing I now use XMMS, playing a wave file on a completely new
  install of Ubuntu; the only modification is the installation of XMMS.
 
  The second problem is that alsamixer isn't working. I can push the
  sliders all I wan't - nothing happens. And it isn't just alsamixer,
  the slider in the Gnome-panel isn't working either, and nor is the
  volume control in Music Player Daemon e.g.
 
  What is the problem?

In this aspect, it is terribly relevant to supply further information. I 
suggest:
Version of Linux.
Relevant hardware-specifications.
Interesting output of various system logs, and any unusual output of media 
applications

However, if you're able to get any mixer working, you might be suffering from 
the PCM-channel being turned too high up.
If I may venture an arrogant guess: You come from Windows, where maximum in 
the mixer settings does not correspond to maximum on the hardware -- and have 
therefore turned PCM to 100%, by habit...?

Regards, Anders Breindahl.


pgptYrSm4SSC3.pgp
Description: PGP signature


Re: Mere sid sjov, nu med udev

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 20:36, Anders Ellenshøj Andersen wrote:
  Den nyeste version af udev (0.60) virker kun med kerne 2.6.12 som ikke
  findes i sid endnu..
 
  Doh.. :-)
 
  Det er derfor vi nørder bare ælsker sid der.. Nå.. Men det findes der jo
  råd for også.
 
  Anders

Se det på den lyse side: Vi får rig mulighed for at beklage os over det.
Men, hvad er der at sige? Som jeg konstaterede på debian-kde: That's unstable 
for you.
... Og man overvejer at bruge Etch.

Hilsen, Anders Breindahl/skrewz.


pgpPyEYONg7Xd.pgp
Description: PGP signature


Re: How to check ARP cheat in Lan.

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 15:15, 不坏阿峰 wrote:
   i am sorry that my english is poor/
  in our company ,we have a software controling and Loging the Lan activity.
  eg : we deny computer from factory mailing and using web ,and loging it.
  the softeware is bebind the router ,is in the Lan. now we bought a new
  router with double Wan by using ADSL,but we find some problem between
  them. it is seem that they have confict.
 
  so i find some details though Google, i got information about the means
  which the software work. it can prevent computers from using internet by
  ARP cheating. so i want to find a software to check whether is it work
  with ARP cheating.
 
  Linux is power in net,so i want to find a software can help me.

O.k. I think that helped.
I tried searching the web for ``ARP cheating'' and the first hit mentioned 
``ARP spoofing''. There's a usual excellent article on Wikipedia on that:

http://en.wikipedia.org/wiki/ARP_spoofing

The Wikipedia article has a reference to Ettercap, which happens to be a 
network sniffer. I suspect Ettercap to be using ARP spoofing itself. This is 
however where my personal knowledge isn't enough.

I guess that you would be able to set up another sniffer in your network, and 
in this way conclude whether packets reach their intended destination, or if 
false ARP replies are being sent on the network.

This is about as close as I can take you. Perhaps others on the list could 
confirm whether Ettercap could do the job.

Regards, Anders Breindahl.


pgp1bvp42z8iy.pgp
Description: PGP signature


Re: kdm and kayboard

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 18:35, Enrique Morfin wrote:

  When the box boots and kdm starts, the keyboard is
  useless, i have to click on menu, then console login.
  I login as root, then /etc/init.d/kdm restart and
  everything is ok.
 
  There is no diff in XFree86.0.log (before and after
  kdm restart) neither in kdm.log
 
  It began to hapen in my tibook after an upgrade, so i
  think it was upgrade fault, but today it began the
  same problem in an amd box, with no upgrade (yesterday
  was working flawlessly). Any ideas?

An idea would be, that your Xmodmaps are messed up. I have a similar problem 
on this machine, where xdm hasn't loaded my Xmodmap (which is first done in 
my xinitrc. Therefore, my keyboard behaves as QWERTY in xdm, and ``Norsk 
Dvorak'' when I login.

It's only an idea. Perhaps your /var/log/X*.log can tell you more.

Regards, Anders Breindahl.


pgpSQoGlNcsHd.pgp
Description: PGP signature


Re: Pinnacle pctv stereo no sound

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 08:47, L.V.Gandhi wrote:
  On 7/17/05, Andras Lorincz [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm using debian sarge with kernel 2.6.8. I have problem getting sound
   to work for my tv tuner which is Pinnacle Pctv stereo with saa7134
   chipset. I have the internal audio connector connected to Aux in on my
   sound card. I can get the picture but there is no sound, just a
   background noise. When installing the modules I do this:
  
   #modporbe bttv card=1
   #modprobe tuner type=5
   #modprobe saa7134
  
   Thanks in advance for your help.
 
  see the kmix/alsamixer for line. Whether it is turned on and vol is
  atleast 50%

Excuse me for reusing the thread.
I am in some sort of the same problem. I have a cheap framegrabber-card 
(saa7134 insmod option card=37, exactly), and audio is supposed to be input 
to my via82xx-onboard soundcard.
However, as a means of debugging, I tried putting my in-ear headphones into 
the audio-out-jack of the tunercard, and heard absolutely nothing. I tried 
started and stopping tvtime, seeing how saa7134's debugging output reported 
the audio to be unmuted and muted accordingly, but nothing helped.

That's not supposed to happen, right? Normally, the output impedance of 
line-out-connections is close enough to that of a headphone-out, so one would 
expect to hear something. Or am I missing something?

Regards, Anders Breindahl.


pgpO36IqtDZ7c.pgp
Description: PGP signature


Re: Pinnacle pctv stereo no sound

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 22:20, Andras Lorincz wrote:
- snip - (message would have been here)
  Well finally I solved the problem. I downloaded kernel 2.6.12 from
  http://kernel.org, compiled it and everithing works.
 
  BTW, how can I see the debug output messages from a module?

Depends on the module. To obtain a list of options, try something like 
`modinfo saa7134`.
Each module option is set using an equality-sign:
`modprobe saa7134 card=37 audio_debug=1 video_debug=1`

The output of kernel modules is viewable through `dmesg`:

saa7130[0]/video: prescale=2 xscale=1024 yscale=1024
saa7130[0]/video: yscale LPI yscale=1024
saa7130[0]/video: set_control name=Mute val=1
saa7130[0]/audio: ctl_mute=1 automute=0 input=Television  =  mute=1 
input=Television

I believe that the output is also logged to some place in /var/log, but I 
haven't cared, yet.

Regards, Anders Breindahl.


pgpDxdJ446DlU.pgp
Description: PGP signature


Re: dhcp problem

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 05:26, [EMAIL PROTECTED] wrote:
  I got my broadband setup and my provider uses DHCP and I have a
  intelligent router (modem).
 
  I installed dhcpcd as dhcp client and it works fine except that it couldnt
  get right nameservers and
  hence resolving host name takes lot of time.
 
  If I put nameservers (I got it from my provider) in /etc/resolv.conf, it
  works fine. But the problem is
  when I login as different user, it shows different nameserver in
  networking.
  Do I have to configure nameserver for every user on my system?

If you are using a combined solution, using both DHCP and static 
configuration, I suggest hacking your /etc/network/interfaces to echo the 
static DNS-settings to /etc/resolv.conf. Something like this:

iface eth0 inet dhcp
 post-up echo -e 'search\nnameserver ip.of.pri.dns\nnameserver ip.of.sec.dns' 
 /etc/resolv.conf

This isn't the best advise, I'm sure. But I *guess* it does the trick.
However, it should be noted that I never tested it with dhcpcd; only dhclient.

Regards, Anders Breindahl.


pgpwvPmCSn7ui.pgp
Description: PGP signature


Re: SD card only mounts after fdisk?

2005-07-18 Thread Anders Breindahl
On Monday 18 July 2005 04:26, Carl Fink wrote:
  I have a card reader built into my new PC that detects SD cards as
  /dev/sda.  Normally my fstab entry lets me mount them as a normal user.
  That's:
 
 
  /dev/sda1/media/sd   vfatrw,user 0   0
 
 
  Sometimes (like just now), though, instead mount reports:
 
 
  mount: special device /dev/sda1 does not exist
 
 
  The interesting thing is, if as root I fdisk /dev/sda and the hit p,
  and q, mounting works again.
 
  Is this a bug in mount?  In the SCSI subsystem?  I'm ignorant here, it's
  quite possible it's some subtle mistake I'm making.
 
  Any suggestions appreciated.

It sounds more like either a corrupted filesystem on the memory card, or some 
non-conformant FAT-implementation in the mobile device. I have great faith in 
Linux's FAT-implementation.

I would try zeroing the card and remaking the filesystem (check which version 
of FAT, before zeroing: I've seen both FAT16 and FAT32 on such partitions) 
using mkfs.vfat. Then check if the problem persists.
(As a sidenote, this would be exactly what your signature warns about).
It isn't a perfect way of determining a bad implementation, but luck also 
seems to play a role.

Regards, Anders Breindahl.


pgpps0jo87AfT.pgp
Description: PGP signature


ftp.dk.debian.org

2005-07-17 Thread Anders Breindahl
Hej gutter,

Hvordan ser det ud med vores primære danske mirror? Da jeg stadig var helt 
frisk og jomfruelig Debian-bruger, havde vi adgang til ftp.dk.debian.org. Den 
lå på en server hos teledønmark... Men maskinen døde, AFAIK.
Vi er ikke på listen over officielle mirror-donationer [0] mere, i hvert fald.

Det synes jeg, at er lidt synd. Vi er et relativt veludviklet land, og har 
rimelig mange Debian-brugere, så vidt jeg ved. Og ikke mindst, så står vi i 
et stort dilemma, hver gang vi skal vælge mirror-land: Er det svenskerne, 
nordmændene eller tyskerne, vi skal bekende os til? :)

Anyway. Er der nogen som kender til statussen på en dansk main-server? Kunne 
nogen af de allerede-eksisterende [1] mirrors forfremmes til officielle på et 
teknisk grundlag?
Hvis opgaven kun er triviel, synes jeg, at vi skal få gjort noget ved det.

Lidt mere offtopic, så tænkte jeg, at det kunne være interessant, at lave et 
p2p-netværk af pakkeservere. Efter der kommer gpg-signering på pakkerne, er 
der ingen grund til at have /nogen/ officielle mirrors, mere.
Og i stedet for et trægt og manuelt-vedligeholdt mirror-system, kunne 
processen automatiseres ved at være baseret på bittorent eller noget 
lignende. Hastigheden vil ikke tage nævneværdig skade, hvis de 
allerede-eksisterende mirrors kunne være de største uploadere.
Hvad synes I om ideen? Er den bearbejdet, og i så fald, hvor?

Med venlig hilsen, Anders Breindahl.

[0] http://www.us.debian.org/mirror/official_sponsors
[1] http://www.us.debian.org/mirror/sponsors


pgpxthmiec54Y.pgp
Description: PGP signature


Re: How Can I Schedule A Perl Script?

2005-07-17 Thread Anders Breindahl
On Monday 18 July 2005 04:55, Stephen R Laniel wrote:
  Caveat: if this job needs to run with root privileges, then
  you'll need to edit the global crontab in /etc/crontab.

Unless I'm mistaken, root should rather add her custom cronjobs to her own 
crontab by running `crontab -e` herself. Works for me, anyhow.

Anders Breindahl.


pgpOV6iRSfqhj.pgp
Description: PGP signature


Re: How to check ARP cheat in Lan.

2005-07-17 Thread Anders Breindahl
On Sunday 17 July 2005 16:32, 不坏阿峰 wrote:
   Maybe arp cheat i called is correct, i think you can understand. thx
 
  i found some software that used in the company for Lan monitor,first it
  can sniffer,and second it can control to stop some computer outing to
  internet . i find some details and guess it may be use arp cheat to
  prevent the computer outing to internet. is it right?
 
  whether is there a software to check the arp cheating in the Lan. thx

I am sorry, but I am afraid I don't understand what you're asking. Perhaps you 
could provide more information?

What is the relevant software called? Is it run on your company's router or 
just on a host behind the router? Could you attempt describing ``ARP 
cheating'' better?

Regards, Anders Breindahl.


pgpUZhcElJWwT.pgp
Description: PGP signature


Re: Networked sound

2005-07-13 Thread Anders Breindahl
On Friday 08 July 2005 15:58, Hugo Vanwoerkom wrote:
 
  http://radscan.com/nas.html
 
  HTH
  H

This was helpful. I got it to work. Thanks.

A problem arose: If I want audio coming out of my laptop rather than from my 
server, I will need to alter the variable AUDIOSERVER. At first, that 
variable was only modified in .bashrc, but I wasn't satisfied: I wanted to be 
able to alter the currently used audioserver on-the-fly and not only on 
re-login.

So I went and hacked this together.
# ! /bin/bash
# This is distributed under the GNU General Public License. I am Anders 
Breindahl, and may be reached at [EMAIL PROTECTED]
if [ -f ~/scripts/determine-audioserver ]; then
export AUDIOSERVER=$(sh ~/scripts/determine-audioserver)
else
export AUDIOSERVER=tcp/$(hostname):8000
fi

if [ $1 == mplayer ]; then
$@
elif [ $1 == auplay ]; then
$@
else
audiooss $@
fi

Now, the output of my script determine-audioserver (which quickly tests for a 
soundserver using auinfo) is assigned at program start. Therefore, if I 
launch all audio-applications through this wrapper, I may change where sound 
goes at program start, rather than at reboot. A bit more useful.

Regards, and thanks again, Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: convert wmv video format ?

2005-07-08 Thread Anders Breindahl
On Friday 08 July 2005 04:58, Carl Fink wrote:
  On Fri, Jul 08, 2005 at 04:07:44AM +0200, Anders Breindahl wrote:
   BTW, I suppose the thing you mention about the Windows machine would
   only be a juridical issue. Mr. Marillat packages a bunch of them.
 
  They're in general packaged as x86 executables.  You'd need either an x86
  box, or an emulator like Bochs, to use them.

I'm sorry for taking this so long off course.

Suppose you have either a native i386-compatible or the necessary emulator. In 
the technical perspective, this would make you able to use the non-free 
codecs.
However, even at this point, you would need a Windows machine to ``obtain'' 
the codecs from [0]. Otherwise you would be stealing special 
programming-artwork, that Microsoft doesn't want us to have freely available.

Regards, Anders Breindahl.

[0] Otherwise you would have a problem explaining how you got those WMV9-dlls.


pgpYFbyVEHEel.pgp
Description: PGP signature


Networked sound

2005-07-07 Thread Anders Breindahl
Hi,

I am very eager to establish some sort of networked sound. By that I refer to 
having my sound applications output on a different host on the LAN.
Before I start hacking away at it, I would like to know if some of you have 
made it work. Any easy entry-points?

I am already using arts on the relevant hosts, so configuring output through 
that would be nice. I have STFW'ed multiple times and found nothing directly 
useful.

Any ideas and pointers to information will be appreciated.
Anders Breindahl/skrewz.


pgpPr99tYhFlH.pgp
Description: PGP signature


Re: convert wmv video format ?

2005-07-07 Thread Anders Breindahl
On Friday 08 July 2005 00:25, belahcene wrote:
  Is there possibility to convert the wmv window  video format to one
  which is recognized by a linux reader

`mencoder infile.wmv -ovc lavc -ovc lavc -o outfile.avi' should work. 
Provided, that you got mplayer to play the file.
If it doesn't work, read the manpage of mplayer.

Regards, Anders Breindahl.


pgpdtJRNvJYMN.pgp
Description: PGP signature


Re: convert wmv video format ?

2005-07-07 Thread Anders Breindahl
On Friday 08 July 2005 00:58, Anders Breindahl wrote:
  `mencoder infile.wmv -ovc lavc -ovc lavc -o outfile.avi' should work.

Sorry, I meant to say:
`mencoder infile.wmv -ovc lavc -oac lavc -o outfile.avi'

Regards, Anders Breindahl.


pgpsLHqS7wksB.pgp
Description: PGP signature


Re: convert wmv video format ?

2005-07-07 Thread Anders Breindahl
On Friday 08 July 2005 03:29, Roberto C. Sanchez wrote:
  That only works if he has the win32 codecs installed.  He may not have
  access from a Windows machine from which to obtain them, or he may not
  be on an x86 machine.  Sadly, the support for wmv and other proprietary
  video formats is lacking.

I know, but some (IMO, quite a lot) are natively supported. WMV9 is somewhat 
unsupported, though.
I don't really know what revision of the format he is trying to decrypt, but 
if he *can* play the file in mplayer, mencoder will do the job.

BTW, I suppose the thing you mention about the Windows machine would only be a 
juridical issue. Mr. Marillat packages a bunch of them.

Regards, Anders Breindahl.


pgplcuo5ojhXW.pgp
Description: PGP signature


Re: windowmaker

2005-07-07 Thread Anders Breindahl
On Friday 08 July 2005 04:20, Andy Streich wrote:
  Hi,
 
  Based on advice on this list to maestro I'm considering switching to
 
  windowmaker:
   I no longer have time to spend hours tweaking config files, and thus
   prefer an integrated desktop environment, but GNOME and KDE are too
   bulky for my PIII-650 / 320MB workstation
 
  I'm even resource-poorer with a PII-400/128MB workstation.  I tried KDE,
  switched to GNOME, and now am investigating windowmaker.  Can anyone give
  me pointers to information about what to expect?  Specifically,
 
  1.  resources to learn/understand windowmaker
  2. email client that works well (and lightly) in that environment (love
  KMail, but the overhead is too much on my system)
  3. package manager, I've been using Synaptic.  Am I right in assuming that
  aptitude is the way to go in a windowmaker environment or am I reduced to
  the command line?
  4. am I just too optimistic that my old system is adequate to run some
  kind of GUI on linux?
  5. where do I learn about how to change from booting into a GNOME dm to
  login to a windowmaker dm?

1. Start by using WPrefs to setup various things about WMaker. It does what 
you want -- relieve you from editing config files. Some things are better 
configured through wmakerconf, though. Wmakerconf needs to be installed 
separately.

2. I'll just listen along. I am also attempting to switch from KMail.

3. Synaptic will run, too. As I see it, you don't need to change. However, 
aptitude will also work perfectly in an xterm or the like.

4. I would definitely not say so. I've run KDE 3.3 rather smoothly on a 233MHz 
P2 with 56MB of RAM.

5. It would be edited in your ~/.xinitrc. However, I have found it to be 
enough to edit ~/.xsession, so that it contains the line ``wmaker''.

Regards, Anders Breindahl.


pgpijXdV713n8.pgp
Description: PGP signature


Re: Executing script

2005-07-04 Thread Anders Breindahl
On Tuesday 05 July 2005 05:48, j Mak wrote:
  Hi,
 
  I have a script for ejecting cd from the drive. The
  script resides in the /usr/bin directory.  But, I am
  unable to make the link to the script work. The only
  way I can execute the script is to login as root,
  navigate to the /usr/bin directory and double-clicking
  on it. How can i make the link on the desktop execute
  the script?
  I am running kde desktop; the link dialog doesn't let
  me check the executable box; only the read and write
  boxes.

Are you sure that the script-file has the x-bit set for your group?
Try making the ``link to application'' point to 
``sh /usr/bin/your-script-name''.

Try posting the output of `ls -la /usr/bin/your-script-name'.

Regards, Anders Breindahl.


pgp31WDABLMwI.pgp
Description: PGP signature


Re: Laptop touchpad clicking twice

2005-07-02 Thread Anders Breindahl
On Saturday 02 July 2005 01:41, Wayne Sitton wrote:
 I have Debian Sid installed on my laptop.  Everything works fine except
 the touchpad.  when I tap it once it registers a double-click. In the
 XFree86 config I have the mouse set to /dev/psaux and the PS/2 protocol.

 Where would be the config to look at for this, or how could I fix this?


 Wayne

Had the same problem. Try commenting out either ``InputDevice Generic 
Mouse'' or ``InputDevice Configured Mouse'' in /etc/X11/XF86Config-4. 
That solved it for me.

Regards,
Anders Breindahl/skrewz.


pgpevENGsVeyP.pgp
Description: PGP signature


Re: mail server

2005-07-02 Thread Anders Breindahl
On Saturday 02 July 2005 18:32, askar k wrote:
 Is there step-by-step guide on building a mail server
 postfix+spamassassin+clamavd+etc... on the internet?

http://workaround.org/articles/ispmail-sarge/

Regards, Anders Breindahl.


pgpqMRVA1CVfO.pgp
Description: PGP signature


Re: Question

2005-06-27 Thread Anders Breindahl
On Monday 27 June 2005 18:43, M N wrote:
 I am an inexperienced(somewhat) Linux user and would
 like to know
 how I may be able to run .exe files as Windows does.

 Thank you for any help.

You could use Wine (as root: `apt-get install wine') to run Windows 
executables. However, as Lee points out, we probably can help you achieve 
what you think you need a Windows executable for, in another way.

Therefore, tell us what you want to do.

Regards, Anders Breindahl/skrewz.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian Sarge DVD Download Limit?

2005-06-13 Thread Anders Breindahl
On Tuesday 14 June 2005 00:13, Glyn Tebbutt wrote:
 I've never tried jigdo, what's the speed like?
 I was aware of the bug, the ie server doesn't seem to have those image's
 , ill search around, i dont really want to download cd images as ive got
 a dvd burner, might as well make use of it :)

As jigdo uses the packages-servers, the bandwidth should be more than enough.

Since you seem concerned about speeding up the download-process, I suggest you 
use a smaller image, and then download the packages on-demand, afterwards. 
It'd save Debian a lot of traffic.
That is, you can probably easily cope with CD1 and an Internet connection 
after the initial install.

I personally have never used the second DVD of any two-DVD set I've downloaded 
anyway.

Regards, Anders Breindahl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Request for window manager recommendations

2005-06-12 Thread Anders Breindahl
On Monday 13 June 2005 00:38, [EMAIL PROTECTED] wrote:
 Have just finished installing sarge (am a first-time debian user, very
 impressed), and now am chosing a window manager. I have fond memories
 of using a little-known WM called VTWM on SunOS, but that was almost 10
 years ago now. I'm guessing the are other, at least equally noteworthy
 WM's around.

 Not so keen on KDE/GNOME because as I understand they are somewhat
 CPU-intensive and take longer to load than the traditional WMs.

 A personal recommendation of your favourite window manager would be
 much appreciated.

Well -- I like wmaker, so that'd be my recommendation. Quite lightweight, a 
part of the GNU project, and awesome if you never maximize windows -- like 
me. :)

Screenshots at http://www.windowmaker.org/gallery.html.

Regards, Anders Breindahl/skrewz.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NO SOFTWARE PATENTS initiative.

2005-05-13 Thread Anders Breindahl
Hehe, mon det er en pro-patent-virksomhed, som sender denne slags med det 
formål, at få os til at se dumme ud?

Ellers mangler jeg motivet for at sende den slags ud. Nogen andre ideer?

Hilsen, Anders Breindahl/skrewz.


On Thursday 12 May 2005 01:34, Anders Ellenshøj Andersen wrote:
 Så mangler de bare lige at lære Engesk der..

 :D

 Anders
 On Thursday 12 May 2005 01:16, nsp nsp wrote:
  Hello people:
 
  NO SOFTWARE PATENTS!!! new initiative.
 
 
  See this url:
 
  http://www.netcolony.com/nsp/index.html
 
 
  Regards.



Re: Udpakning af Rar filer

2005-04-30 Thread Anders Breindahl
Hej,

AFAIK, så kan man ikke gøre noget som helst med pakken ``unrar'', mens man er 
tvunget over i unrar-nonfree, for at få noget, som virker. Det har jeg 
selvfølgelig ikke nogen erfaring med.

Se iøvrigt:
http://packages.debian.org/cgi-bin/search_packages.pl?keywords=unrarsearchon=namessubword=1version=allrelease=all

Winrar har deres eget commandline-trial-utility til Linux på:
http://www.rarlab.com/download.htm

Iøvrigt har jeg erfaret. at man har bedre muligheder med det Free'e program 
p7zip, som er en ``quick port'' af 7-zip til Windows. Dette program er under 
LGPL'en.

På 7-zips downloadside er der henvisning til en experimental-pakke i Debian:
http://packages.debian.org/experimental/utils/p7zip

Jeg har iøvrigt haft held med at kompilere p7zip på Debian Sarge. Det, som jeg 
fik ud af det, kunne udpakke visse 3.0-filer, mens det havde problemer med 
3.2-filer.

Med venlig hilsen, Anders Breindahl.


On Saturday 30 April 2005 11:33, Admir Trakic wrote:
 Hej,

 Er der nogen det kan udpakke noget_som_helst med denne pakke!?
 Jeg har prøvede så mange gange, og jeg kan kun liste indholdet dog ikke
 udpakke.

 Jeg kører:
 unrar/unstable uptodate 1:0.0.1-1



Re: Ekstrem langsom computer

2005-04-18 Thread Anders Breindahl
Nej, jeg beklager.
Næste skridt i min bog ville være, at tjekke om du tilfældigvis ser nogen 
proces sluge cpu-tiden (kswapd er min egen favorit)...  Og derefter søge 
hjælp på den engelske debian-user.

Med venlig hilsen, Anders Breindahl.

On Monday 18 April 2005 21:13, you wrote:
 Anders Breindahl wrote:
  Det var da en sjov historie. Altså, ikke fordi jeg morer mig, men --
  finurlig. Kunne du sende outputtet af:
 
  `lsmod'
  `dmesg'
  `tail -n 100 /var/log/messages'
 
  -- Efter du eventuelt stryger private oplysninger outputtet.
 
  Jeg tør ikke garantere om der er noget at finde, men -- vi kan jo kigge
  på det, og se om der er noget du har overset. :)
 
  Med venlig hilsen, Anders Breindahl.

 Nu har jeg endelig fået den op igen. Jeg har ikke rigtigt brugt den,
 fordi jeg blev så irriteret over, at den var så langsom...

 krikkit:~# lsmod
 Module  Size  Used byNot tainted
 3c59x  24648   1
 smbfs  31296   0  (unused)
 nfsd   42848   0  (unused)
 keybdev 1664   0  (unused)
 usbkbd  2848   0  (unused)
 input   3072   0  [keybdev usbkbd]
 usb-uhci   20708   0  (unused)
 usbcore48032   0  [usbkbd usb-uhci]

 krikkit:~# dmesg
 Linux version 2.4.18-bf2.4 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002
 (Debian prerelease)) #1 Son Apr 14 09:53:28 CEST 2002
 BIOS-provided physical RAM map:
  BIOS-e820:  - 000a (usable)
  BIOS-e820: 000f - 0010 (reserved)
  BIOS-e820: 0010 - 0600 (usable)
  BIOS-e820: ffe0 - 0001 (reserved)
 On node 0 totalpages: 24576
 zone(0): 4096 pages.
 zone(1): 20480 pages.
 zone(2): 0 pages.
 Local APIC disabled by BIOS -- reenabling.
 Found and enabled local APIC!
 Kernel command line: auto BOOT_IMAGE=Linux ro root=301
 Initializing CPU#0
 Detected 231.787 MHz processor.
 Console: colour VGA+ 80x25
 Calibrating delay loop... 445.64 BogoMIPS
 Memory: 93432k/98304k available (1783k kernel code, 4488k reserved, 549k
 data, 280k init, 0k highmem)
 Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
 Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
 Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
 Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
 CPU: Before vendor init, caps: 0080fbff  , vendor = 0
 CPU: L1 I cache: 16K, L1 D cache: 16K
 CPU: After vendor init, caps: 0080fbff   
 Intel machine check architecture supported.
 Intel machine check reporting enabled on CPU#0.
 CPU: After generic, caps: 0080fbff   
 CPU: Common caps: 0080fbff   
 CPU: Intel Pentium II (Klamath) stepping 04
 Checking 'hlt' instruction... OK.
 Checking for popad bug... OK.
 POSIX conformance testing by UNIFIX
 enabled ExtINT on CPU#0
 ESR value before enabling vector: 
 ESR value after enabling vector: 
 Using local APIC timer interrupts.
 calibrating APIC timer ...
 . CPU clock speed is 231.7916 MHz.
 . host bus clock speed is 66.2233 MHz.
 cpu: 0, clocks: 662233, slice: 331116
 CPU0T0:662224,T1:330992,D:116,S:331116,C:662233
 mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
 mtrr: detected mtrr type: Intel
 PCI: PCI BIOS revision 2.10 entry at 0xfcaae, last bus=2
 PCI: Using configuration type 1
 PCI: Probing PCI hardware
 Unknown bridge resource 0: assuming transparent
 Unknown bridge resource 1: assuming transparent
 Unknown bridge resource 2: assuming transparent
 PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
 Limiting direct PCI/PCI transfers.
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Initializing RT netlink socket
 Starting kswapd
 VFS: Diskquotas version dquot_6.4.0 initialized
 Journalled Block Device driver loaded
 vga16fb: initializing
 vga16fb: mapped to 0xc00a
 Console: switching to colour frame buffer device 80x30
 fb0: VGA16 VGA frame buffer device
 pty: 256 Unix98 ptys configured
 keyboard: Timeout - AT keyboard not present?(ed)
 keyboard: Timeout - AT keyboard not present?(f4)
 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
 SERIAL_PCI enabled
 ttyS00 at 0x03f8 (irq = 4) is a 16550A
 ttyS01 at 0x02f8 (irq = 3) is a 16550A
 Real Time Clock Driver v1.10e
 block: 128 slots per queue, batch=32
 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
 Uniform Multi-Platform E-IDE driver Revision: 6.31
 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
 PIIX4: IDE controller on PCI bus 00 dev 39
 PIIX4: chipset revision 1
 PIIX4: not 100% native mode: will probe irqs later
 ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
 ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA

Re: Ekstrem langsom computer

2005-04-07 Thread Anders Breindahl
Det var da en sjov historie. Altså, ikke fordi jeg morer mig, men -- finurlig. 
Kunne du sende outputtet af:

`lsmod'
`dmesg'
`tail -n 100 /var/log/messages'

-- Efter du eventuelt stryger private oplysninger outputtet.

Jeg tør ikke garantere om der er noget at finde, men -- vi kan jo kigge på 
det, og se om der er noget du har overset. :)

Med venlig hilsen, Anders Breindahl.

On Tuesday 05 April 2005 10:34, Morten Bartvig wrote:
 Jeg har installeret Debian stable på en Pentium II 266 MHz-maskine med
 96 MB ram (en Dell-maskine) beregnet til diverse server-ting. Det der
 undrer mig er, at installationen tog helt vildt lang tid, og at den
 generelt er vildt langsom.

 Det var ikke reelt muligt for mig at installere andet end Woody (f.eks.
 Sarge netinstall), da det simpelthen tog for lang tid. Jeg kunne ikke
 køre Ubuntu Live, den låste fast undervejs. Under installationen tog det
 i hvert fald 20 minutter for den at oprette RSA- og DSA-nøgler.

 Da jeg kun skal bruge maskinen installerede jeg ikke X-Windows, men
 alligevel er den meget langsom. Når jeg vil logge ind på den via en
 ssh-forbindelse tager det ret lang tid, før jeg får lov til at skrive
 brugernavn og kodeord, og generelt er den langsom. Det føles lidt på
 samme måde, som hvis man har en meget langsom (eller belastet)
 netforbindelse. Og jeg forbinder til den via lokalt netværk.

 Jeg ved godt, at en PII ikke er vildt hurtig, men til sammenligning har
 jeg en AMD K2 350 MHz kørende med XandrOS, som kører fint, og
 installationen tog ikke specielt lang tid. Og maskinen har før kørt
 Windows (Win98 vist nok).

 Er der nogen, der har nogen ideer om, hvad der er galt? Jeg går næsten
 ud fra, det må være noget hardware-mæssigt (og så må jeg gå til kort),
 men den har virket fint før, og den virker jo også nu, den er bare
 langsom. Al hjælp vil blive modtaget med glæde.

  - Morten


pgpuHJlyn3CBa.pgp
Description: PGP signature


Re: Problemer med cdrecord

2004-12-22 Thread Anders Breindahl
Hej igen,

Din antagelse virker sandsynlig. En af mine kammerater har også siddet med 
det, og vi rettede det ved at installere en custom 2.6.9'er. I den 
forbindelse var det nødvendigt, at installere module-init-tools. 
Sandsynligvis ønsker du at at installere dem før du installerer kernen.

Den beklagelige erfaring jeg har gjort mig med kerne-udskiftning, er at at 
ting kan gå rigtig galt, hvis man gør noget dumt. Derfor må jeg anbefale en 
lille backup af de vigtigste private ting, samt at du har en installationscd 
tilgængelig. Bare for at undgå ubehagelige overraskelser.

Ud over det, så virker make-kpkg-metoden ved at lave en debian-pakke, som man 
skal installere med dpkg. Det er præcis det samme du vil komme til med 
apt-get (hvor nogen andre imidlertid har gjort compile-arbejdet) og det burde 
gå rigtig gnidningsfrit. Jeg har imidlertid aldrig installeret en 
pre-compilet kerne før, selv.

Med module-init-tools, en lille backup, en installationscd og din nævnte 
fremgangsmåde, tror jeg godt at jeg tør sige god for det. Imidlertid påtager 
jeg mig ikke ansvaret.

Med venlig hilsen, Anders Breindahl.


On Wednesday 22 December 2004 16:57, Ole Eivind Hansen wrote:
 Altså stadig en fejlmeddelelse. Det bekræftiger min antagelse, at den 
 sidstnævnte kommando virker med kerne 2.6., men ikke med 2.4. Derfor tænker 
 jeg på at udskifte min kerne (2.4.26-1-k7) med 2.6.9-1-k7. I følge 
 Debianguiden kan det gøres blot med kommandoen
 # apt-get install kernel-image-2.6.9-1-k7
 Men er det virkelig så enkelt? Eller er der noget, man først skal sikre sig 
 inden man springer ud? (Jeg har sikret mig, at pakken er tilgængelig 
 via /etc/apt/sources.list)



Re: Problemer med cdrecord

2004-12-19 Thread Anders Breindahl
Hej,
Jeg prøvede lige at køre et par kommandoer på min egen maskine:
Først denne kommando:
# cdrecord -scanbus
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to [EMAIL PROTECTED].
  The original author should not be bothered with problems of this version.

cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI 
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .



Og så denne:
# cdrecord dev=ATA: -scanbus
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to [EMAIL PROTECTED].
  The original author should not be bothered with problems of this version.

scsidev: 'ATA:'
devname: 'ATA'
scsibus: -1 target: -1 lun: -1
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) 'TOSHIBA ' 'DVD-ROM SD-C2502' '1D13' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Jeg finder dette interessant - monstro det kan hjælpe dig, også, til trods for 
at du ikke kører 2.6.9?
Ydermere er mange tilfredse med at bruge frontenden k3b i KDE.

Med venlig hilsen, Anders Breindahl.


On Sunday 19 December 2004 14:13, Ole Eivind Hansen wrote:
 Jeg har installeret cdrecord i Debian Sarge men den virker ikke.
 Når jeg udfører kommandoen cdrecord -scanbus, får jeg følgende fejlmeddelelse:
 
 Cdrecord-Clone 2.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
 Schilling
 NOTE: this version of cdrecord is an inofficial (modified) release of
 cdrecord
       and thus may have bugs that are not present in the original
 version.
       Please send bug reports and support requests to
 [EMAIL PROTECTED].
       The original author should not be bothered with problems of this
 version.
  
 cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open
 SCSI driver.
 cdrecord: For possible targets try 'cdrecord -scanbus'.
 cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 cdrecord:
 cdrecord: For more information, install the cdrtools-doc
 cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
 
 
 Jeg har fulgt vejledningen i /usr/share/doc/cdrecord/README.ATAPI.setup for 
 kerne 2.4.20-bf2.4 efter bedste evne uden held. Problemet er, at der i 
 eksemplet nævnes lilo men jeg har grub og desuden har jeg kerne 2.4.26-1-k7. 
 Jeg ved at komfigurationsfilen for grub er /boot/grub/menu.lst, men hvordan 
 skal fremgangsmåden beskrevet i overnævnte fil modificeres i midt tilfælde?
 Eller vil det som alternativ være nemmere at opgradere kernen til en i 2.6. 
 serien?(og hvordan gøres det i så tilfælde?)
 
 Venlig hilsen Ole Eivind Hansen
 
 



dpkg missing binary `keep'

2004-10-20 Thread Anders Breindahl
Hi list,

I've run into a problem with Sid:

When upgrading the package lm-sensors I get this error:

le-skrewz:/home/skrewz# dpkg 
-i /var/cache/apt/archives/lm-sensors_2.8.8-1_i386.deb
(Reading database ... 93306 files and directories currently installed.)
Preparing to replace lm-sensors 2.8.7-8 
(using .../lm-sensors_2.8.8-1_i386.deb) ...
Unpacking replacement lm-sensors ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error processing /var/cache/apt/archives/lm-sensors_2.8.8-1_i386.deb 
(--install):
 subprocess new post-removal script returned error exit status 1
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/lm-sensors_2.8.8-1_i386.deb

I have been poking around, and haven't been able to find a solution. I have 
tried manually editing /var/modutils/0keep to not call `keep', and I have 
tried various combinations of purging, reinstalling and removing the packages 
lm-sensors and modutils.
If `keep' is indeed an executable, I would guess that I could work around the 
problem by temporarily placing it in my path, running the `apt-get upgrade', 
which bugs me at the moment, and returning the original state of the 
system... But I am unable to find a such executable binary.

Now I ask the list for help. Have you got any suggestions for me?

Kind regards, and thanks in advance, Anders Breindahl.
PS: as I am no longer a reader of this list, please send a copy direct to my 
email.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get - unmet dependencies

2004-09-12 Thread Anders Breindahl
Thank you for your reply. 
 
I worked around it by `dpkg -r kontact' and recursed it manually up to 
`kdepim', I believe. 
 
I have absolutely no clue to why it is necessary to return to `dpkg' for 
this cleanup. However, thanks for your help. 
 
Regards, Anders Breindahl. 
 
-- Original Message --- 
From: Federico Joselevich Puiggrós [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Sent: Fri, 10 Sep 2004 10:47:49 +0200 
Subject: apt-get - unmet dependencies 
 
 a3bm() { 
  
   Hi! I 'worked around' with the problem that you reported 
   at 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg117020.html 
  
   I did an: 
  
   dpkg -i --force-overwrite /var/cache/apt/archives/kontact- 
 plugins_4%3a3.2.3-2_i386.deb 
  
   and it aparently worked. 
  
   Hope it helps. 
  
   F. 
 } 
  
 --  
 area3 loves you, S.L. 
 perez galdós 7, 3º 
 (08012) barcelona 
 spain 
 TE: +34-93-415-9480 
  
 Key fingerprint = 7A 81 0A 0C 0D 58 4E E3  57 96 70 AA ED C7 29 E7 
  
 ¯`.(¯`. *  [EMAIL PROTECTED] * .¯).¯) 
--- End of Original Message --- 
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-get - unmet dependencies

2004-09-02 Thread Anders Breindahl
Hello list. 
 
I was wondering if there is any way to correct this fault in apt-get: 
# apt-get upgrade 
Reading Package Lists... Done 
Building Dependency Tree... Done 
You might want to run `apt-get -f install' to correct these. 
The following packages have unmet dependencies: 
  kdeaddons: Depends: kontact-plugins (= 4:3.2.3-2) but it is not installed 
E: Unmet dependencies. Try using -f. 
 
The problem is, that I cannot use apt at anything as this fault stops it 
from going anywhere. I have tried the -f switch: 
 
# apt-get -f install 
Reading Package Lists... Done 
Building Dependency Tree... Done 
Correcting dependencies... Done 
The following extra packages will be installed: 
  kontact-plugins 
Suggested packages: 
  kdeaddons-doc-html 
The following NEW packages will be installed: 
  kontact-plugins 
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 
307 not fully installed or removed. 
Need to get 0B/52,4kB of archives. 
After unpacking 188kB of additional disk space will be used. 
Do you want to continue? [Y/n] 
(Reading database ... 81569 files and directories currently installed.) 
Unpacking kontact-plugins 
(from .../kontact-plugins_4%3a3.2.3-2_i386.deb) ... 
dpkg: error 
processing /var/cache/apt/archives/kontact-plugins_4%3a3.2.3-2_i386.deb 
(--unpack): 
 trying to overwrite `/usr/lib/kde3/kcm_kontactknt.so', which is also in 
package kontact 
dpkg-deb: subprocess paste killed by signal (Broken pipe) 
Errors were encountered while processing: 
 /var/cache/apt/archives/kontact-plugins_4%3a3.2.3-2_i386.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 
 
I've also tried `apt-get autoclean'. I've even tried 
removing /usr/lib/kde3/kcm_kontactknt.so, with no result. 
 
So I'm asking the list. Any help is appreciated. 
(Linux 2.6.8.1, sid, wmaker and kde. Debian-mirror: ftp.dk.debian.org) 
 
Regards, Anders Breindahl. 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Quick question: Choice of release

2004-08-16 Thread Anders Breindahl
I and a friend are playing with the idea of convincing our gymnasium to 
using Debian GNU/Linux as their main server OS. 
 
As it comes to this issue, which release we would want; stable, testing or 
unstable? 
 
Making the choice, it would matter that the focus is on reliability. We 
would want it to be absolutely reliable and secure. No security flaws would 
be accepted. On the other hand, we wouldn't want it to be outdated, so any 
performance-fixes are not included. What is the best compromise? 
 
Regards, skrewz a.k.a. Anders Breindahl. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]