unsubscribe

2004-05-20 Thread Fredrik
unsubscribe

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



Re: help

2006-01-04 Thread Fredrik

Hello
I'm not sure want you are trying to do.

If you want to go back to an ordinary user from eg. Root
just write exit

Or do you want to change the prompt ?
PS1="[EMAIL PROTECTED]:\w\$" will give you [EMAIL PROTECTED]


//FredrikN




frederick c woodruff wrote:


Well thank you for help,I used su to get past my name @ debian$,now Im
stuck at the next step,like I said before I am new at this,now I am
getting debian:/home/desktop#,I tried some commands I thought would work
they did not,can someone help please what command do I need please,like
I said I am very new at this,trying to get logged on to sarge.new
install.





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




Re: omitting directory

2006-02-21 Thread Fredrik

Sed Nivo wrote:


Hi,
I want to copy directory 'commons-dbcp' in directory '/opt', but computer say:
Nightwish:/home/wasyl/tmp# cp commons-dbcp /opt
cp: omitting directory `commons-dbcp'


 


Try
cp -R commons-dbcp /opt/commons-dbcp


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




Re: [root user] How to disable root account?

2005-11-26 Thread Fredrik

[EMAIL PROTECTED] wrote:


On Fri, Nov 25, 2005 at 01:33:34PM +0200, Maxim Vexler wrote:


On 11/25/05, Robert Brockway <[EMAIL PROTECTED]> wrote:


Anyone wanting to lock the root account (not a good idea IMHO) should have
a root enabled session (sudo, su or whatever) put to the side and not
touched during the procedure.  This session would be used only to reverse
the procedure if it was found that establishing superuser privs was no
longer possible in new sessions.


In the worst case, couldn't someone just boot from a livecd, run
[passwd root], then [cat /etc/shadow | grep root] on the livecd and
finally simply copying that entry into the locked out system shadow
file ?



That's doing it the hard way.  Just pass "init=/bin/sh rw" to the kernel
with your bootloader, and do:
# passwd root
# mount -o ro,remount / && reboot

If your bootloader has a password and you've lost that, you can use a
boot disk, but you still shouldn't muck around with the passwd & shadow
files directly, probably ever.  Just mount the root filesystem and
chroot /mnt passwd (or visudo) as root.



Well, to hack a PC with physical access is easy.
That is why i'm krypted my hd with blowfish-256.

It will take thousands of years to hack :-)


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




Re: [root user] How to disable root account?

2005-11-27 Thread Fredrik

[EMAIL PROTECTED] wrote:

On Sat, Nov 26, 2005 at 08:38:09PM +0200, Maxim Vexler wrote:


On 11/26/05, Fredrik <[EMAIL PROTECTED]> wrote:



Well, to hack a PC with physical access is easy.  That is why i'm
krypted my hd with blowfish-256

It will take thousands of years to hack :-)


And would render data recovery in case of HD failure impossible.
I really don't think that for a regular home user block level hd
encryption is a good idea.

That is unless you maintain a strict backup policy and use a raid1 / 5
/ 10 data duplication storage OR you really do have something to hide
;)



Then you have to encrypt the backups...  Meanwhile, disk level
encryption provides no extra security while the machine is up, which is
probably most of the time.



The question was about rebooting the system and get root access.


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




3Com 509B Ethernet card working in Windows but not in Linux

1999-07-21 Thread Fredrik Jonsson
Hi,

According to the Hardware-HOWTO Linux should support the 3Com  509B
Ethernet card. When I try to install the driver I get an error and during
booting a line appear:

eth0 unknown interface  /* something like that */

In Windows 95 the card funktion and I can ping it from my Mac via the
local network. I's a Pentium 133 MHz system i'm installing on.

Any tips?

TIA

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


3Com 509B Ethernet card problem part 2

1999-07-26 Thread Fredrik Jonsson
Hi,

Thanks to all who responded to my first (very incomplete) question!

I have now disabled PnP on the card and set IRQ to 10 and io to 300. IRQ
10 is set to ISA (not Pnp) in Bios. Donald Beckers el3-diag report the
card to be OK, se below.

What I was trying to do was to compile the 3c509 driver hard into the
kernel with "modconf" and was geting only errors. Many suggested to load
the driver as a module insteed so I have put the line "alias eth0 3c509"
in to the file "conf.modules" via update-modules command. But I still get:

On Boot
 eth0 unknown interface

When I check modprobe

# This file was generated by: modprobe -c (2.1.121)
 [Deletia]
 # Aliases
 alias eth0 3c509
 alias eth0 off
 [Deletia]

The first line about 3c509 looks like mine but where does the "off"
command come from?

After running el3-diag, insmod and modprobe I am for some reason able to
run "modconf" and put the driver in to the kernel but on reboot the
process stops at "3c509", only a CTRL+C makes it continue.

After running insmod "3c509", modprobe "3c509", ifconfig ... and route
... everything looks fine, se below, but I can't get a connection/ping
other computers on my local network. The settings in ifconfig and route
disappears after a reboot, I presume this is not right.

TIA

Regards,
Fredrik Jonsson

* Some (necessary?) info:

el3diag.c:v0.11 3/16/97 Donald Becker ([EMAIL PROTECTED])
 Looking for card 1.
 Generating the activation sequence on port 0x100 for card 1.
 Activating the card at I/O address 300.
 EEPROM contents:
  0060 9724 7cb9 9050 c183 0036 5a46 6d50 0010 a000 0060 9724 7cb9
1320  9583
 An ISA EtherLink III board was activated at I/O 0x300, IRQ 10.
 eth0: 3c509 found at 0x300.

# This file was generated by: ifconfig -a
loLink encap:Local Loopback
  inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
  UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0

eth0  Link encap:Ethernet  HWaddr 00:60:97:24:7C:B9
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0
  Interrupt:10 Base address:0x300

Kernel IP routing table (via netstat -nr)
 Destination Gateway Genmask Flags   MSS Window
irtt Iface
 192.168.0.0 0.0.0.0 255.255.255.0   U  1500 0
  0 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U  3584 0
  0 lo

PING 192.168.0.2 (192.168.0.2): 56 data bytes
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
--- 192.168.0.2 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss


--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


ssh with RSA-key login problem

1999-08-01 Thread Fredrik Jonsson
Hi,

I have setup sshd on my Debina system, genrated keys for root and user1
with ssh-keygen and put the public key in the file .ssh/authorized_keys.
I have moved the private keys to my Mac where I run a ssh client
(niftytelnet-1.1-ssh-r3).

root login works without a problem but when I try to login as user1 my
ssh client complains that "Server does not allow RSA authentication, or
the public key for user "user1" was not accepted. Reverting to password
authentication.

What is wrong?

Debian:/home/user1/.ssh# ls -la
total 6
drwxr-sr-x   2 user1 user1 1024 Aug  1 15:33 .
drwxrwsr-x  10 user1 user1 1024 Aug  1 15:31 ..
-rw-rw-r--   1 user1 user1  327 Aug  1 15:33 authorized_keys
-rw---   1 user1 user1  523 Aug  1 15:32 identity
-rw-rw-r--   1 user1 user1  327 Aug  1 15:32 identity.pub
-rw---   1 user1 user1  512 Aug  1 15:31 random_seed

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


Re: ssh with RSA-key login problem

1999-08-02 Thread Fredrik Jonsson
Nathan E Norman <[EMAIL PROTECTED]> 99-08-01 22.55 wrote>

>>root login works without a problem but when I try to login as user1 my
>>ssh client complains that "Server does not allow RSA authentication, or
>>the public key for user "user1" was not accepted. Reverting to password
>>authentication."
>>
>>What is wrong?
>
>.ssh/authorized_keys is group writable, and that tends to freak out SSH.
>
>`cd; chmod -R g-w .ssh/*' should help.

Hi,

I tried this but it made no difference. Anything else I can try?

TIA

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


Re: ssh with RSA-key login problem

1999-08-03 Thread Fredrik Jonsson
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> 99-08-03 01.39 wrote:

>Fredrik> ssh client complains that "Server does not allow RSA
>Fredrik> authentication, or the public key for user "user1" was not
>Fredrik> accepted. Reverting to password authentication.
>
>ssh has a verbose switch. Use it and see why it rejects the RSA key.

Hi,

I found it and it say:

debian: Trying RSA authentication with key '[EMAIL PROTECTED]'
debian: Remote: Bad file modes for /home/user1
debian: Server refused our key.

How do you fix "Bad file modes"?

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


Re: SAMBA: Help!!

1998-09-29 Thread Fredrik Ax
On Tue, 8 Sep 1998, bmorgan wrote:

> This is a reposting of a previous message.  I'm starting to get
> desperate.  Any help would be greatly appreciated!
> 
> I'm having trouble connecting to my debian machine from my windows
> machine using samba.  I've successfully done this before, but now I've
> got several users connecting to the samba server for IP printing to
> jet-direct boxes.  Right now, I've got my SMB.CONF file set so that it
> uses the workgroup "linux" and "security = user."  All my users should
> be able to connect with the same login name (student), and no password.
> 
> Is it possible for multiple users to connect to the samba server all
> using the same login name?  Or do I need to have a separate account for
> everyone who connects (the latter would NOT be a good scenario, if I can
> 
> avoid it).  Is there something else I need to set in the smb.conf file
> to allow multiple users with the same login name?  Perhaps the "security
> =" parameter?


If you use "security = share" no user/password information at all is
needed to access the public shares on the machine. But if you like to
restrict the access you will have to do it for each and every share in
/etc/smb.conf

shares example:

[publicro]
  comment = Public read only
  browseable = yes
  read only = yes
  public = yes
  path = /public_readable_path

[publicrw]
  comment = Read/write for all
  browseable = yes
  writable = yes
  public = yes
  path = /public_writable_path

[studentfolder]
  comment = Read/write for user student
  browseable = yes
  writable = yes
  public = no
  path = /student_path
  valid users = student


Good luck
/Fredrik


Re: X server problems

1998-09-29 Thread Fredrik Ax
On Tue, 29 Sep 1998, Braden N. McDaniel wrote:

> I've just installed Debian 2.0. While I have some rather superficial
> familiarity with Linux in general (have played with a few distributions),
> this is my first crack at Debian.
> 
> This is what I get when I run startx:
> 
> X: exec of /usr/bin/X11/XF86_NONE failed
^^

You are not using the VGA server. In fact you aren't using any server
at all (/usr/bin/X11/XF86_NONE is used when there is no default X
server).


> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> giving up
> xinit: No such file or directory (errno 2)
> xinit: No such process (errno 3): server error
> 
> I'm using a board with a Permedia2 chip, so I know I need to get the X
> server from SuSE eventually, but right now I'm just trying to get X up and
> running with the generic VGA X server. I gather from the messages that
> something didn't get installed or configured properly, but I don't know
> where to go from there.

You must install the VGA server in order to use it.

dpkg -i dists/stable/main/binary-i386/x11/xserver-vga16_3.3.2.3-1.deb

from the root of your Debian distribution.
(substitute binary-i386 with correct binary-folder if not Intel) 
or use dselect to selecet the xserver-vga16 package.

If you have another xserver installed you will, when the package is
configured, be asked if you want to use VGA16 as default instead. 
Answer Yes. If you want to change the default xserver by hand,
edit the file /etc/X11/Xserver.

Good luck
/fax


Re: make a cd with the potato distribution

1999-02-18 Thread Fredrik Ax
On Thu, 18 Feb 1999, Patrice Grosperrin wrote:

>  I'm trying to take all files and directories of the 
>  debian 1.2 (potato) which are in debian ftp.

Potato is nowhere near a release yet, and when it will be released
it will be with at least version number 2.2.

>  But I've a problem, the size of the binary-i386 of 
>  the directory main is higher than a CD.
>  Which files or directories can I put on my first CDr
>  , my second, ...
>  I was waiting for the CD distribution of debian 1.1 but
>  my distributor (France-Lindis) still don't have it.

Slink is about to be released as Debian 2.1.
Preliminary release date is March 2nd.

/fax



/etc/hosts problem

1999-08-27 Thread Fredrik Ax

My problem is that the /etc/hosts files doesn't seem to be used
when resolving hostnames.

I'm runing Debian 2.1 r2 with
Linux kernel 2.2.11   (downloaded recompiled source)
glibc 2.0.7   (libc6_2.0.7.19981211-6.deb)
libresolv 2.0.7   (libc6_2.0.7.19981211-6.deb) 


Here are some config files. Things whithin <> of course
have real values in the files.

--- /etc/resolv.conf ---
nameserver 127.0.0.1
search   
nameserver 
nameserver 
nameserver 


--- /etc/host.conf -
order hosts,bind
multi on



--- /etc/hosts -
127.0.0.1   localhost
 
 


... and so on.

I have a working nameserver and no problems with DNS registered
names. But for hosts not in the DNS but only in the /etc/hosts
file the names can't be resolved.

Ex. (% == shell prompt):

% ping 
PING  (): 56 data bytes
64 bytes from : icmp_seq=1 ttl=64 time=1.3 ms
64 bytes from : icmp_seq=2 ttl=64 time=0.6 ms
...

% ping 
ping: unknown host 


Any suggestions?

TIA
Fredrik


Re: /etc/hosts problem

1999-08-31 Thread Fredrik Ax
On Fri, 27 Aug 1999, Sebastian Canagaratna wrote:

> 127.0.0.1 is the localhost ( your machine ). Unless
> your machine is acting as the name server names will not be
> secolved.  You will have to get the name server from the network
> administrator. 

I'm fully aware that 127.0.0.1 is the localhost, and (as stated
in my initial request) I do have a fully functional nameserver on
my loclahost. BUT I don't want to add temporary names for
testmachines etc into the named.

The problem is that the hosts file doesn't get used when resolving
hostnames even though my /etc/host.conf says it should be
primarily used.

Any suggestions ...


--- Forwarding my initial request 

My problem is that the /etc/hosts files doesn't seem to be used
when resolving hostnames.

I'm runing Debian 2.1 r2 with
Linux kernel 2.2.11   (downloaded recompiled source)
glibc 2.0.7   (libc6_2.0.7.19981211-6.deb)
libresolv 2.0.7   (libc6_2.0.7.19981211-6.deb) 


Here are some config files. Things whithin <> of course
have real values in the files.

--- /etc/resolv.conf ---
nameserver 127.0.0.1
search   
nameserver 
nameserver 
nameserver 


--- /etc/host.conf -
order hosts,bind
multi on



--- /etc/hosts -
127.0.0.1   localhost
 
 


... and so on.

I have a working nameserver and no problems with DNS registered
names. But for hosts not in the DNS but only in the /etc/hosts
file the names can't be resolved.

Ex. (% == shell prompt):

% ping 
PING  (): 56 data bytes
64 bytes from : icmp_seq=1 ttl=64 time=1.3 ms
64 bytes from : icmp_seq=2 ttl=64 time=0.6 ms
...

% ping 
ping: unknown host 




Re: /etc/hosts problem

1999-08-31 Thread Fredrik Ax
On Tue, 31 Aug 1999, Francois GELIS wrote:

> With glibc2.x, isn't that configured in something 
> like /etc/nsswitch.conf instead of /etc/host.conf ?

Yeap it is ... and that solved my problem.

Thx a bunch ;-)
/fax


Re: Netscape fails to automatically open ps, ram, ...

1998-03-03 Thread Fredrik Ax
On Mon, 2 Mar 1998, Bob Nielsen wrote:

> On Mon, 2 Mar 1998, Fernando Tadeu C Brandt wrote:
> 
> > Netscape is showing the following error box when I try to open 
> > postscripts, sound file, etc:
> > 
> > sh: -c line 1: missing closing ')' for arithmetic expression
> > sh: -c line 1: syntax error near unexpected token `;'
> > sh: -c line 1: '((gv /tmp/MO34FAF5B0003B1); rm /tmp/MO34FAF5B0003B1 )&'
> > 
[SNIP]

> This is the classic symptom of running the somewhat-buggy bash-2.0 in bo.
> 

The problem is that bash interpretates "((" not as two seperate brackets
but as a bracket for expression evaluated according to the arithmetic
evaluation rules and therefore misses the closing "))" bracket.


> I would suggest upgrading to hamm to get around this.  There is a bo
> version of bash-2.05 around which provides a workaround, but you have to
> be very careful when you do upgrade to hamm if you have that version
> installed (I found out the hard way). 

A faster solution whould be to install "ash" wich is distributed in
version 0.2-1 in bo. Use dselect, or for even faster install 
"dpkg -i bo/binary/shells/ash_0.2-1.deb" from your Debian 1.3x
distribution.

When installed change the symlink name sh in /bin to point at ash 
instead of bash:

% cd /bin
% ln -sf ash sh

Good Luck
/fax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running just an X-server

1998-03-05 Thread Fredrik Ax
On Thu, 5 Mar 1998, Erik van der Meulen wrote:

> I have a small Debian box running as a server in a small network
> (NT/95).  Until now I have done all configuration using a terminal
> session from the client to the server (which does not have a
> monitor).  I would like to be able access my server with an
> x-client. All x-servers on the list seem to be dedicated to some
> graphical device. Is there a minimal installation I could perform
> which would allow me to have only the daemon on the server and
> the graphical stuff on the client?

What I think you want to do is to configure the server using GUI
utilities running on top of X, right? If so, you should not install 
a X-server on your server (no use since it got no monitor) but on 
the client you use when configuring the server. (If the client 
is a windows machine you might want to have a look at the free 
X-server MI/X at URL: 
http://www.microimages.com/www/html/freestuf/mix/mix.htm)

Now you have to connect to the server (using a terminal 
connection), set the display on the server to point to a screen
on your client. This is done by setting the environment variable
DISPLAY to :. 

Assuming your client's network address is "myclient" you should use
the following command: "export DISPLAY=myclient:0" (or if you use 
(t)csh: "setenv DISPLAY myclient:0").

Now when you start a x-utility on the server it will use the display
on the client. Don't forget to set xhosts on your client to allow 
the server to use it's display though.


Hope this is to any help
/fax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Dual Booting Win NT and Debian

1998-03-18 Thread Fredrik Ax
On Wed, 18 Mar 1998, Tristan Day  wrote:

> After going through the 'NT OS Loader + Linux mini-HOWTO,' I managed to dual
> boot Linux and NT, but only using a boot floppy for Linux. Although I am
> pleased that this time I installed Debian it didn't lock me out of NT, I
> still want to dual-boot from my hard drive as promised by the HOWTO.
> 
> I have copied the bootsector using
> 
> dd if-/dev/hda6 of=bootsect.lnx bs=512 count=1
> 
> and put it onto my c: drive, and put the line
> 
> C:\BOOTSECT.LNX="Linux"
> 
> into the end of my Boot.ini file, but on booting and selecting Linux from
> the NT Dual Boot screen, I get
> 
> "NTDETECT 4.00
> 
> ERROR: NT CANNOT FIND THE FILE /WINNT/SYSTEM32/NTOSKRNL.EXE
> 
> PLEASE INSTALL THIS FILE AND TRY AGAIN"


This is just a guess, but have you forgotten to run lilo before you
copied the bootsector? Make sure you "/etc/lilo.conf"
have the boot-entry to /dev/hda6. It should probably look
something like this:

boot=/dev/hda6
root=/dev/hda6
compact
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
label=Linux
read-only
---

then run "lilo" 
and copy the bootsector with 
"dd if=/dev/hda6 of=bootsect.lnx bs=512 count=1"

Don't forget to copy "bootsect.lnx" to the NT-"C:\"-partition.

Hope this helps
/fax


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


Re: Linux SAMBA -> Win NT.

1998-03-23 Thread Fredrik Ax
On Mon, 23 Mar 1998, Toth Laszlo wrote:

> Hi!
> 
> 
> I have problems with it too. I have Service Pack 3. When I try logging in
> with samba, I get this message:
> 
> \\drama is not accessible
> The account is not authorized to login from this station.

Either you upgrade samba to support encrypted passwords which is the
best solution (see the other replies). But if you can't do that you
can force the NT machine to accept plain text  passwords by changning
in the registry. Use the attached reg-file or run regedit and add in
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters"
a dword-field named  "EnablePlainTextPassword" with value 1.
To get back encrypted passwords only just change the value to 0.

/fax

REGEDIT4



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]

"EnablePlainTextPassword"=dword:0001

@=dword:



[Microsoft Home][Products][Search][Support][Shop][Write Us][Image][Microsoft 
Home]

[Microsoft Technical Support][Microsoft Technical Support][Image][Current 
Features]



[Image]

[Search Support Online]

[Submit a Question]

[Return to...]



With Unencrypted Password SP3 Fails to Connect to SMB Server



Last reviewed: September 10, 1997

Article ID: Q166730

The information in this article applies to:



   * Microsoft Windows NT Workstation version 4.0

   * Microsoft Windows NT Server version 4.0



SYMPTOMS



After upgrading your Windows NT 4.0 computer to Service Pack 3

(SP3), you are unable to connect to SMB servers (such as Samba or

Hewlett-Packard (HP) LM/X or LAN Manager for UNIX) with an

unencrypted (plain text) password.



When attempting to connect after you upgrade to Windows NT 4.0

Service Pack 3, you receive the following error message:



   System error 1240 has occurred.



   The account is not authorized to login from this station.



Connecting to SMB servers (such as Samba or Hewlett-Packard (HP)

LM/X or LAN Manager for UNIX) with an unencrypted (plain text)

password fails after you upgrade to Windows NT 4.0 Service Pack 3.



CAUSE



This is because the SMB redirector in Service Pack 3 handles

unencrypted passwords differently than previous versions of Windows

NT. Beginning with Service Pack 3, the SMB redirector does not send

an unencrypted password unless you add a registry entry to enable

unencrypted passwords.



RESOLUTION



To enable unencrypted (plain text) passwords, modify the registry

in the following way:



WARNING: Using the registry editor incorrectly can cause serious,

system- wide problems that may require you to reinstall Windows NT.

Microsoft cannot guarantee that any problems resulting from the use

of the registry editor can be solved. Use this tool at your own

risk.



  1. Run Registry Editor (Regedt32.exe).



  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:



 \system\currentcontrolset\services\rdr\parameters



  3. Click Add Value on the Edit menu.



  4. Add the following:



   Value Name: EnablePlainTextPassword

   Data Type: REG_DWORD

   Data: 1



  5. Click OK and then quit Registry Editor.



  6. Shut down and restart Windows NT.



To enable unencrypted (plain text) passwords in an automated setup,

modify the registry in the following way:



WARNING: Using the registry editor incorrectly can cause serious,

system- wide problems that may require you to reinstall Windows NT.

Microsoft cannot guarantee that any problems resulting from the use

of the registry editor can be solved. Use this tool at your own

risk.



Add the following line to the Product.Add.Reg section of the

Update.inf file:



   HKLM,System\CurrentControlSet\Services\Rdr\Parameters,

   "EnablePlainTextPassword", 0x10001, 1



 [Did this information help answer your question?]

[Yes]

[No]   [Image]

[It didn't apply]

 [Image]







  Additional query words: prodnt 4.00 VAX

  Keywords : NTSrvWkst kbnetwork kbbuglist kbfixlist

  Version : 4.0

  Platform : winnt

  Issue type : kbreadme

  Solution Type : kbservicepack



  THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE

  BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.

  MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR

  IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY

  AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL

  MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR

  ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,

  INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR

 

Re: millenium 2

1998-03-26 Thread Fredrik Ax
On Wed, 25 Mar 1998, Ossama Othman wrote:

> Hi,
> 
> > i can't get my Matrox Millenium 2 running under X11.
> > 
> > I'm using an old X-Server date : Jun 1997
> > 
> > I think that's the problem, but where can i get a new one ?
> 
> Several places:
> 1. ftp.XFree86.org and mirrors like ftp.kernel.org/pub/mirrors
> 2. The debian XFree86 3.3.1 package or better yet, the XFree86 3.3.2
> package when it is released.

If you use the debian packges for XFree86 3.3.1 you will have to use
the S.U.S.E svga server. It's downloadable from

ftp://ftp.suse.com/suse_update/XFree86-3.3.1-SuSE/tgz/

Interesting packages to retrieve would be:
xsvga.tgz
xfsetup.tgz

/fax


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


Re: Ooooh A new HDD!

1998-03-26 Thread Fredrik Ax
On Thu, 26 Mar 1998, Michael Beattie wrote:

> I have no idea how to split up my stuff... should I put /usr on it? or
> what? I have no idea... 

My suggestion is that you put "/home" and/or "/usr/local" on the new
disk. It's always nice to have this "non-debian" stuff on a seperate
disk when upgrading the system.

/fax


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


Re: off-topic autofs permissions

1998-04-23 Thread Fredrik Ax
On Thu, 23 Apr 1998, Daniel Martin at cush wrote:

[SNIP]

> /etc/fstab:
> /dev/sda4/misc/zip   vfat   noexec,umask=0000  0
> (If you just had "defaults" before, you can just replace it with the
> "umask=000" bit)
> Then everyone will be able to write to /misc/zip.
> Also, anyone will be able to delete anyone else's files on /misc/zip

You can restrict who should be able to write to the disk by creating a
group and add all users that should be able to write to the disk. In my
example I allow users in the group fat (gid=108) to write to fat disks. 

In your /etc/group add a line (you can use any group-id, 108 is just an
example):
-
fat:x:108:userid1,userid2,userid3
- 
where useridX are the users that should have write access to the disk

The entry for the zipdisk in the /etc/fstab would then be: 
-
/dev/sda4 /misc/zip vfat defaults,gid=108,umask=002,quiet 0 0
-
Now all files on the zipdisk will get group-id 108 (fat) and all users
in that group will be able to write to the disk, but others will only
be able to read from the disk. (The access rights will be "rwxrwxr-x"
on all files.) The quiet option will suppress error messages when
trying to change the modes on the files. 

If you want users to be able to mount/unmount disks in your removable
media (the zip drive) you should us another set of options in fstab
though:
-
/dev/sda4 /misc/zip vfat
noauto,rw,user,exec,dev,suid,async,gid=108,umask=002,quiet 0 0
-
With these options every user can mount/umount /misc/zip and the user
mounting the disk will be the owner of all the files on the disk.  As
before all users in group fat will be able to write to the disk as
well. If you don't want them to be able to do that, just remove the gid
and umask options.

Hope this is of any use
/Fredrik


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


Netscape + Java + X 24 bpp

1998-04-20 Thread Fredrik Ax

System configuration:

 * Base: Debian 1.3.1 r6 (bo, libc5)
 * Kernel: version 2.0.30
 * X: XFree86 3.3.1 (debian packages 3.3-4) with the 
   S.u.S.E. XF86_SVGA server.
 * Gfx hw: Matrox Millenium II
 * Netscape: Communicator 4.04 pro (installed with the
   "netscape4_4.0-5.deb" package from hamm).


Problem:
 
 When accessing a page with java (applets) netscape crashes if I'm 
 running X in 24 bpp. Netscape don't crash if I'm running X in 8 or 
 16 bpp.


Anybody got netscape work with java in 24 bpp?

/fax


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


Re: stuck with only 1 xterm in X

1998-04-21 Thread Fredrik Ax
In article <[EMAIL PROTECTED]>, you wrote:

> a last question,does it possible in X to be logged on as several
> user at once (you see,have 2 xterm logged as root,one as
> alaint,etc...)

See man-pages for: su, rsh, rlogin, ssh 


> after this is answered,i'll keep my mouth shut except when
> answering question (i found that i asked more than enough 
> questions)??

You may ask as many questions as you like, but it would be better 
if you found another more appropriate forum for asking unix-newbie 
questions like the ones you have produced so far. To gain a 
little bit more experience you should also try browsing around in 
Unix related FAQs and the man-pages in section 1. It will give you
some hints about what you can do and play around with.

Good luck
Fredrik


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


Re: Cron for NT

1998-01-17 Thread Fredrik Östlind
John Fotiadis/SYBASE Greece wrote:

> Does anyone know any cron program for NT 4.0 Server ?
>

There is a command named AT in WinNT Server 4 for scheduling processes or
programs.
This command requires that the "Schedule" service is started.

To see more info about this search for AT in the WinNT help file

//Fredrik



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Linux and ultra dma drives

1998-01-28 Thread Fredrik Östlind
Hi..

Well i have been running my linuxbox on a Quantum Fireball ST 4,3Gb (ultra
dma) for about four month now, and i haven't experienced any problems yet.

//Fredrik


' ALLAN W. BART wrote:

> hi,
>
> i just wanted to know about compatibility.
>
> allan
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] .
> Trouble?  e-mail to [EMAIL PROTECTED] .




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Debian 2.0

1998-02-11 Thread Fredrik Ax

Since I'm going to set up a couple of Linux hosts
in the near future I wonder if there is a release
date (fix or approximate) set for Debian 2.0?

If not, how long will it maximum take before 
testing etc. is done?

TIA
/fax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: Linux on top of win95

1998-02-20 Thread Fredrik Ax
On Wed, 18 Feb 1998, Sen Nagata wrote:

[SNIP]

> does anyone know whether there is something that can be used under w95
> or dos that will allow access to linux partitions?

Peter van Sebille has written ext2 drivers for Win95. The driver
is called FSDEXT2 and is at the present available in the incoming 
folders of sunsites e.g.
ftp://sunsite.unc.edu/pub/Linux/Incoming/FSDEXT2.ZIP

He also have a homepage for FSDEXT2 at
http://www.globalxs.nl/home/p/pvs/index.htm
from which downloading is possible.

/fax


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Debian Package Finder (DOH!)

1997-04-18 Thread Fredrik Ax
On Sat, 19 Apr 1997, Adam Shand wrote:

> > The requested URL /cgi-bin/joe/PFind.cgi was not found on this server.
> 
> A number of people have reported getting this error... if you are still
> getting it please let me know.  It works perfectly for me so if it's still
> broken i need to know so I can figure out why.
> 

I still have the problem BUT if you on the page you get the error
msg chage the server "www.hanoi.com" to "hanoi.earthlight.co.nz"
it works just fine.

If you e.g. search for tetex you get the error msg on URL:
http://www.hanoi.com/cgi-bin/joe/PFind.cgi?searchString=tetex&default=...

change it to:
http://hanoi.earthlight.co.nz/cgi-bin/joe/PFind.cgi?searchString=tetex...

I hope this helps you find the bug!

Regards
/fax
--
+- Fredrik Ax -+-- Snailmail --+-- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]   |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax/ |
+-oOO-(_)-OOo--+---+-+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: new kernel to use with loadlin

1997-04-25 Thread Fredrik Ax
On Fri, 25 Apr 1997, Eugene Sevinian wrote:

> I am trying to compile new kernel (2.0.27) to use with loadlin from w95.
> It seems that some things are working but some are not. 
> 
> Here is some of the  bootup messages captured manualy. (I did not find it
> in the /var/log/messages. Why?)
> ---
> Loading modules: vfat Initialization of vfat failed
> sambfs: Initialization of vfat failed
> 3c503 dev_tint: wrong version or undefined
> dev_ffree_skb: wrong version or undefined
> dev_alloc_skb: wrong version or undefined
> eth_type_trans: wrong version or undefined
> netif_rx: wrong version or undefined
> ether_setup: wrong version or undefined
> Loading failed! The module symbols (from linux-2.0.27)
> don't match your linux-2.0.27
> 8390: No such file or directory.
> -
> 
It seems you have recompiled the modules to otherwise you should
run "make modules" and "make modules_install". And don't forget
to run "depmod -a" once you have installed the modules. 

Hope this helps
/fax
--
+- Fredrik Ax -+-- Snailmail --+-- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]   |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax/ |
+-oOO-(_)-OOo--+---+-+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Help: eth0 is not being found

1997-05-04 Thread Fredrik Ax

On 3 May 1997, Terrence M. Brannon wrote:

[CUT]

> I will be more than happy to add lines to this one-at-a-time if there
> is a list of them somewhere.

Heres your list: 

ls /lib/modules/kernelversion/net/*.o | cut -d. -f1

where kernelversion is something like 2.0.27
you can try running insmod on them one and one to see if they works 

you might even try something like this :-)
ls /lib/modules/kernelversion/net/*.o | cut -d. -f1 | xargs -n1 insmod

I'm not sitting at my linux system right now so I have some reservations
for inccorrect path?! ... but I'm almost certain that it's right!

/fax




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Really good looking screen savers....

1997-05-07 Thread Fredrik Ax
On Wed, 7 May 1997, Sam Ockman wrote:

> Anyone know of any really good looking screen-savers...something like
> xlock, but that looks more like something Microsoft will have in Windows
> 97?
> 
Hmmm, screen-savers should be activated when there is no activity, in
other words when no one is near the screen, hence there is no meaning
for a screen-saver to be good looking. Imho a blank screen or even
better a shut off monitor is the best screen-saver. In most xservers
this is built in.

I can see one reason to have a good looking screen saver in a lock
program, that is if you are showing computers to a public audience
which is allowed to walk around freely among the computers.

I'm sorry but this doesn't really answer your question, but I so
irritated of all "cool" cpu-time-eating screen-savers...

> Thanks,
> Sam

/fax




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: PLEASE HELP! debian apache package wiped my /etc/httpd!

1997-05-12 Thread Fredrik Ax
On Mon, 12 May 1997, Douglas L Stewart wrote:

> Argh.  I have an old Redhat system (3.x) that I've been converting to a
> Debian 1.2 system.  Everything's been going okay... until now.
> 
> I just installed the apache package and it _WIPED_ my /etc/httpd directory
> calling it obselete, without prompting me to do so, and withing saving the
> contents anywhere.
> 
> This is a _HUGE_ problem.  This machine is a production web server!
> Unfortunatley, there are no backups.
> 
> Does anyone have any ideas how I can possibly extract some of the
> configuration information from the currently running httpd's?  I don't
> have the status or info modules compiled in. :(
> 
> Any suggestions would be GREATLY appreciated.  I can't believe it just
> wiped my /etc/httpd directory like that. :( The package should
> really be modified so it won't do that.
> 
> -douglas
> 

I don't exactly know how to do this but I've got some ideas.  If you're
lucky the httpd have still got the file open, which means it's still
physicly on the disk. You can use "lsof" to check for open files.  Then
you can check /proc/. 

"lsof" also gives you the inode number for the open file. From this
information you should be able to write a "not so simple" program that
fetches the superblock and extracts the file. There might even exists
such a program?

/fax
--
+- Fredrik Ax -+-- Snailmail --+-- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]   |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax/ |
+-oOO-(_)-OOo--+---+-+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: post news periodically, how?

1997-05-14 Thread Fredrik Ax
On Tue, 13 May 1997, Lawrence Chim wrote:

> Hi,
> 
> Is it possible to post the same news to newsgroups automatically
> and periodically, say bi-weekly?
> 
It sounds like a cron job to me, but why would you send the same news
periodically ... I smell spam here :(

/fax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Incomming mails..

1997-05-14 Thread Fredrik Ax
On Tue, 13 May 1997, Carlos Marcos Kakihara - bacate wrote:

>   Hi, my host is saving incomming mails in /usr/mail/username instead
> /var/spool/mail/username. Should I change it? Is it ok for pine? If it
> doesn't, where can I change this directory (or pine configuration)?
> 

Pine's got no problems with inboxes anywhere in the file system, you can
even have your inbox on a remote pop-server. Just change the inbox-path
under "Setup", "Configure" (from "Main Menu"). If you turn on
"enable-incoming-folders" in "Setup", "Config" you can even have multiple 
incoming mail folders. To add a folder press "Add" in the "Incoming
Message Folders" section of "FOLDER LIST" or simply edit the ~/.pinerc
by hand (much faster if you should add a lot of folders).

If your system is set up and working with /usr/mail/uid as mail folders
and you want to keep it that way, but want to support the 
/var/spool/mail/uid location as well the easiest way to accomplish that
would be to make a soft link:

cd /var/spool
ln -s /usr/mail

Hope this is helps
/fax
--
+- Fredrik Ax -+-- Snailmail --+-- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]   |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax/ |
+-oOO-(_)-OOo--+---+-+






--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


tst pls ignore

1997-05-14 Thread Fredrik Ax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: Form Debian 1.2 to Debian 1.3, How?

1997-05-26 Thread Fredrik Ax
On Mon, 26 May 1997 [EMAIL PROTECTED] wrote:

> 
> 
>   I have installed Debian 1.2, Linux kernel 2.0.27, in my home PC and I
>   would like to migrate to Debian 1.3, I download the files from Internet .
>   As I am not very skilled in this matter, Could anybody give the basics
>   guidelines?. Many thanks in advance.
>
Basicly you just have to run dselect whith 1.3's filetree as base.
Most (all?) packages asks you if you want to replace the original 
config files, if you wish to overwrite them, a backup file is created,
otherwise an "side file" with a new config file is created.

/fax
--
+- Fredrik Ax -+-- Snailmail --+-- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]   |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax/ |
+-oOO-(_)-OOo--+---+-+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: vfat drives and users

1997-05-28 Thread Fredrik Ax
On Tue, 27 May 1997, Brian Skreeg wrote:
> 
> I`ve recently installed *yet* another hardrive in a bid for more room.
> The drive has been formatted as fat16 for use by Win95 as well. Now I`ve
> decided to ask about a problem I`ve ignored until now. Both the new drive
> and my present Win95 drive are mounted in fstab using vfat at mountpoints
> /DOS and /AMIGA (don`t ask why , it`s too painful to talk about). Currently
> only root can write to these drives. I`d like to make it so my usual
> account "oz" can write to these as well. How?
> 

I have solved this by creating a group for each filesystem that don't
support access permissions. E.g I have a group "fat" with gid=23 for
fat disks. Then each user that should have write access to the disk
must be a member of that group. That you do be adding the line
fat::23:oz
to your /etc/group (see also manpage for adduser).

Then in your /etc/fstab you should use gid=23 and umask=002, this
means no matter who mounts the filesystem (probably root during boot)
all the files and dirs will have group 23 (fat). The umask option tells
the system to make no restrictions for owner and group (in which oz is
a member), that is all the files and dirs will get access permission
rwx for owner and group and rx for others.

The line in your /etc/fstab would look something like this:
/dev/hdxx /DOS   vfatdefaults,gid=23,umask=022,quiet 1  2

If you don't use the quiet option you will get an error message each
time you try to change the access permissions (done e.g. during moving
with mv)

Hopes this helps, it solved all my problems, and is a solution
that supports that some users have write permissions and others not.
(The ones that are members of fat have)

/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: DSELECT question

1997-06-03 Thread Fredrik Ax
On Mon, 2 Jun 1997, Alexander Stavitsky wrote:

> Dselect in that respect works fine for me. I am however upset with dselect
> when using cdrom/mounted access methods. In those cases dselect does want
> to see all of the packages mentioned in Packages file present. Even those
> that you've chosen not to install. It also ignored symlinks across
> filesystems. 

I agree with you that it is a bit irretating that deselect scans for ALL
pakages ... I can see that it's done for consistency reasons, BUT it would
be great if there was a switch to turn this off.

Symlinks I have had NO problems with. I have a set of deb-packages on 
a zipdrive which I mount as vfat on /zipdrv and have a symlink to
/zipdrv/debpack from /usr/local/ ... It works just great!

/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: new kernel

1997-06-03 Thread Fredrik Ax
On Tue, 3 Jun 1997, Syd Alsobrook wrote:

> Hello,
> I have a machine that i just upgraded to v1.3 (that went perfectly). My
> question is this I want to upgrade the kernel (now v2.0.27) the easiest way
> possible can I copy the kernel from the install floppies for v1.3 (has
> kernel 2.0.30) or is it easier just to recompile the kernel?
> 

It would probably be easier to copy the kernal, BUT I still recommend you 
to recompile the kernal. Then you will get a kernel that is optimized 
for your needs, which doesn't include alot of non-used drivers.

After you installed the kernal-source be sure to read 
/usr/src/linux/README 

other usefull information is available in
/usr/src/linux/Documentation/modules.txt 
(if you want to use modules that is)

Tip: make menuconfig is nice, and have a easy-to-use built in
help function (also availabel in make config)

Good luck
/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [META] Use of the list for non-Debian matters

1997-06-09 Thread Fredrik Ax
On Mon, 9 Jun 1997, DANIEL STRINGFIELD wrote:
> 
> I'm not personally thrilled with the high volume, but I wouldn't wan't to
> make things not specific to debian (other than things like how to on
> Redhat or something) to stop being supported.  I think the list serves
> well as a LINUX mailing list, for Debian Users.  Not a specifically Debian
> list for Linux users.
> 

I couldn't agree more to this. After all this is a debian-USER list.
Maybe we should consider starting a debian-DIST list, though. The purpose
of such a list would be to discuss issues specific to the debian
distribution.

Just an idea
/fax


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [META] Use of the list for non-Debian matters

1997-06-10 Thread Fredrik Ax

On Mon, 9 Jun 1997, Max Stevens wrote:

> :0:
> * ^TOdebian-user
> debian-user
> 

If match "* ^To.*debian-user" you will miss all CC:ed and BCC:ed mail to
the list. You will also miss all mail that have named the list e.g.
"Debian Mailinglist <[EMAIL PROTECTED]>"

One solution would be to match "* ^(To|Cc)[EMAIL PROTECTED]" which will get
all mails whith "debian-user@" somewhere on the lines beginning with "To"
or "Cc". This method is very usefull for list that don't add a header..
which the debian-lists fortunatly do. The best alternative would therefore
be to match the added header instead:

:0:/home/fax/mail/incoming/debian-user.lock
* ^X-Mailing-List:[EMAIL PROTECTED]
/home/fax/mail/incoming/debian-user

/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [META] Use of the list for non-Debian matters (fwd)

1997-06-10 Thread Fredrik Ax

Hi,

As J.H.M.Dassen, and W Paul Mills kindly pointed out to me, "^TO" in
.procmailrc matches the beginning of most lines with recieving addresses. 
I will have to learn to read the mail carefully ... I missed it was
capital letters in TO ... and I also have to check things up in the
man-pages before answering. But that applies to many of the questioners on
this list as well. Please try to find the answers in the man-pages and the
/usr/doc dir before asking the list. That will probably reduce the load
quiet a bit ( wow, I found my way back to the topic of this thread ;)
 
On Tue, 10 Jun 1997, Fredrik Ax wrote:

> :0:/home/fax/mail/incoming/debian-user.lock
> * ^X-Mailing-List:[EMAIL PROTECTED]
> /home/fax/mail/incoming/debian-user
> 

But I still think it's better to filter on the "X-Mailing-List" header.
There are after all, methods of sending mails to the list without having
the address in any field of the header.

/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Problem getting German Umlaute

1997-06-10 Thread Fredrik Ax
On Mon, 9 Jun 1997, Stefan Baums wrote:

> Christian Meder wrote:

[SNIP]

> > In ~/.emacs
> > (standard-display-european t)
> > 
> > Please tell me if this does function for you too !
> >
> It works all right for bash (thanks so far), but not for emacs, or tcsh
> (which I'd like to use), where the effect is nil.

The emacs stuff you will get right if you sets your input-mode and
require iso-syntax. You can put this in your ~/.emacs, but
I prefer putting this stuff globaly so all users benefits from it:
In /etc/emacs/site-start.el add:

;;--- Support European keys -- 
(standard-display-european t)
(set-input-mode 
 (car (current-input-mode))
 (nth 1 (current-input-mode))
 0)
(require 'iso-syntax)


I can't get the european keys to work in tcsh though ... I've tried 
everything from all possible HOWTOs (Finish, Danish, German) ...

> echo  $version
tcsh 6.06.00 (Cornell) 1995-05-13 (i386-unknown-linux) 
options 8b,nls,bye,al,sm,nd

any idea?
/fax
--
+- Fredrik Ax -+-- Snailmail --+- Where to reach me on the net -+
|\\|// | Kämnärsvägen 13 E:202 | E-mail: [EMAIL PROTECTED]  |
| @ @  | S-226 46 LUND, SWEDEN | WWW: http://www.df.lth.se/~fax |
+-oOO-(_)-OOo--+---++


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Best Ethernet Card

1997-09-15 Thread Fredrik Ax
On 12 Sep 1997, Dale Martin wrote:

> Leszek Gerwatowski <[EMAIL PROTECTED]> writes:
> 
> The other card I see mentioned a lot, but never see much as far as
> recommendations, is the Intel EtherExpress 100.  Anyone have any
> thoughts on those?
> 

I'm using an EtherExpress 100 together with Linux. The only problem 
I've had, was finding the driver! It is (was?) not included in the
2.0.30 kernel source code. I had to download it and compile it as an
module by hand (which really wasn't a problem). But once installed
it has worked great!

/frax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Package problems on stable

2003-11-28 Thread Fredrik Karlsson
Dear list,

I'm currently having problems dist-upgrading stable. (see log below)
Does anyone know what this is about?

/Fredrik

<-- snipp --->

Preparing to replace util-linux 2.11n-4 (using
.../util-linux_2.11n-7_i386.deb) ...
install-info: No dir file specified; try --help for more information.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing
/var/cache/apt/archives/util-linux_2.11n-7_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
install-info: unrecognized option `--description=System V interprocess
communication facilities'
Try `install-info --help' for a complete list of options.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/util-linux_2.11n-7_i386.deb
  localepurge: processing locale files ...
E: Sub-process /usr/bin/dpkg returned an error code (1)


<-- snipp --->


-- 
---------
Fredrik Karlsson, Research Student

Department of Philosophy and Linguistics
Umeå University
S-901 87 UMEÅ
SWEDEN
Tel: +46 90 786 56 84   Web: http://www.ling.umu.se/~fredrik/
Fax: +46 90 786 63 77   Email: [EMAIL PROTECTED]
PGP-fingerprint:2DD5 54A1 4555 6D00 F386  C269 C430 0C0F 1A53 49B9 

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 
-


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



Re: Linux in Wired (fwd)

1997-08-29 Thread Fredrik Ax

-- Forwarded message --
Date: Thu, 28 Aug 1997 15:45:06 +0200 (CEST)
From: Fredrik Ax <[EMAIL PROTECTED]>
To: Peter S Galbraith <[EMAIL PROTECTED]>
Subject: Re: Linux in Wired 

On Thu, 28 Aug 1997, Peter S Galbraith wrote:
> 
> Fredik Ax wrote:
> 
> > I disagree! The office suits for Linux (e.g. StarOffice and
> > Applixware) are starting to get really good. I can't really see any
> > need to run this kind of applications on a windoze system.
> 
> Can they import and create Word documents?
> That's *my* problem.  The rest of the Department expects me to provide
> Word documents.  If I could do that in Linux using StarOffice
> or Applixware, I'd never need Windows.

Since (for some creepy reason) our company's documentation standard is 
M$ Word, I myself have similair problem.

At the moment I'm using swriter3 (Word Processor included in StarOffice
3.1) which reads Word 6 documents perfectly. It even gets all
"self-updating" fields like filename and pagenumber etc right. I'm sorry
to say so (and I can't understand why)  but creating word documents isn't
swriter3's strong side. Lot of information get lost (like justification of
text etc) when exporting as a word document, but it's at least
readable by M$ Word. I have heard that Applixware version 4.2 should be
able to export M$ Word documents somewhat better than StarOffice, but I
haven't tried it myself yet.

Don't give in to them ... keep using a real OS!
Fredrik Ax



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Debian installer

2005-01-06 Thread Fredrik Lindberg
Hi!
I installed sarge the other day and I noticed a feature that would be very 
nice in the installer. When you are asked if your system clock is set to GMT 
there is no obvious way of resetting the system clock if it is wrong. I 
think it would be nice if there were a button there where you could adjust 
system time. The only option now, if I have not missed something, is to 
restart the machine and correct system time in the bios before you continnue 
installation. The main issue is that all files created during install can 
get the wrong date and time if you do not do this.

regards:
Fredrik Lindberg (06.01.2004).
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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



dpkg - perl - debconf

2000-11-17 Thread Fredrik Bjurenfors
gamma:/home/ollesson# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up debconf (0.5.20) ...
Can't locate XSLoader.pm in @INC (@INC contains: /usr/lib/perl5
/usr/lib/perl5/5  
6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux
/usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux
/usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/i386-linux/POSIX.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/POSIX.pm
line 7.
Compilation failed in require at /usr/lib/perl5/Debconf/Template.pm line 5.
BEGIN failed--compilation aborted at /usr/lib/perl5/Debconf/Template.pm
line 5.
Compilation failed in require at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing debconf (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of bsdmainutils:
 bsdmainutils depends on debconf; however:
  Package debconf is not configured yet.
dpkg: error processing bsdmainutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 debconf
 bsdmainutils
E: Sub-process /usr/bin/dpkg returned an error code (1)

[EMAIL PROTECTED]:~$ dpkg -l|grep perl
ii  libnet-perl1.0703-4   Implementation of Internet protocols for
Per
ii  perl-5.004-bas 5.004.05-6 The Pathologically Eclectic Rubbish
Lister
ii  perl-5.005 5.005.03-7.1   Larry Wall's Practical Extracting and
Report
ii  perl-5.005-bas 5.005.03-7.1   The Pathologically Eclectic Rubbish
Lister
ii  perl-5.6-base  5.6.0-3The Pathologically Eclectic Rubbish
Lister
ii  perl-base  5.004.05-1.1   Fake package assuring that one of the
-base 

This machine is running woody


What can I do to fix this problem?




Changing architecture from i386 to i686 (dpkg-buildpackage to opt imize for PII)

2000-01-10 Thread Fredrik Liljegren
I would like dpkg-buildpackage to use egcs' optimizations for Pentium II,
and let the whole system understand that it is a "i686" and not i386 to get
proper defaults...

I grep'd i386 in /etc and found that it's mentioned in quite a lot of
locations.  Is there any standard or at least certain way of accomplishing
this?

Regards, EOF


Can't find /dev/dsp

2000-01-16 Thread Fredrik Appelberg
Hi all!
I've been trying to get my SB Live soundcard working, and after
installing a precompiled kernel (2.2.13) and dowloading and compiling
the emu10k1 driver code from creative I am at last able to play a cd
on my computer. However, when I run mpg123 it complains about not
being able to open /dev/dsp. This seems pretty reasonable, since even
I can't find a /dev/dsp (or /dev/audio for that matter).
So, how do I get these devices installed? Is there any way of doing it
without compiling the kernel (I tried that late last night, but the
computer hung while booting, I think it's a ecgs 2.95 matter)?

Thanks,
--Fredrik


Re: Can't find /dev/dsp

2000-01-16 Thread Fredrik Appelberg
On Sat, Jan 15, 2000 at 08:28:09PM -0500, Jim B wrote:
> cd /dev/
> ./MAKEDEV audio
> 
> should make those devices for you.

Thanks, man. Everything works like a charm now.

--Fredrik


startup & shutdown

2000-01-17 Thread Fredrik Appelberg
Hi again!

Allright, now I finally got my sb live soundcard working (debian
kernel-image installs take all the pain out of kernel-upgrading) I
thought it would be cool if I could get it to autoload when booting,
so that I won't have to do su & modprobe manually every time. So
started looking for rc.local (yes, I am an ex-redhatter), then
remembered that debian uses a different startup routine. After having
read the dox on sysvinit I'm still stumped though. Where do I put
stuff that I want executed once and exactly once on boot? rc.boot
seems like good candidate, but I don't want to mess with startup stuff
that I don't know anything about.

Then for my next question: my motherboard have some fancy
power-management features. Is it possible to turn the power off with a
command (kinda like win95 does when shutting down)? When I do 'halt' I
still have turn the power off manually. This is no big deal, but it
would be nice.

--Fredrik


Re: Problems installing Debian on Compaq Armada M700.

2001-08-09 Thread Fredrik Jagenheim
On Thu, Aug 09, 2001 at 06:01:36PM +0300, David Randelman wrote:
> I seem to be having problems installing Debian on my laptop Compaq
> M700, there seems to be 2 problems: 1) It won't install a boot
> manager on the HD even though I have a dedicated H.D and even tried
> to partition a 10MB drive in the beginning of the disk just in case.

Hum, I've installed Debian on my laptop (same make/model as yours) a
couple of times and never had this problem. Is it LILO that won't
start? Will it even install on it?
I partitioned my disk as follows
hda1HPFS/NTFS   (hardly used, but there for work reasons)
hda2Fat32   (To move files between win2k/Linux environment)
hda3ext2/boot
hda4extended
had5ext2/
hda6swap

> 2) I can't access the parallel floppy drive which comes with Compaq-
> It accesses but has problems reading or writing.

Hum, haven't tried the floppy. Such outdated technology. ;)

//Fredde



Re: exim not sending mail

2001-08-09 Thread Fredrik Jagenheim
With most DSL connections you don't need a smarthost (that is, a
server that will accept your mail and forward it to the correct
server) and let you send your mail directly to the correct server.
Try to run eximconfig and set your server to alternative 1 (if my
memory serves me correctly), that is, 'my computer can send and
receive mails directly to the internet'.

//Fredde

On Thu, Aug 09, 2001 at 12:32:43PM -0700, patrick q wrote:
> SOLVED (sorta)
> 
> I tweaked /usr/share/doc/exim/example.conf.gz to get a working
> configuration.  
> 
> I don't know what was wrong with the output from eximconfig but I did
> notice there was no setting for primary_hostname
> 
> Cheers,
> patrick.
> 
> 
> --- patrick q <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I'm trying to config exim|procmail|mutt with a DSL connection to the
> > internet, single workstation.  



Re: dselect and hda:irq timeout

2001-08-10 Thread Fredrik Jagenheim
On Fri, Aug 10, 2001 at 03:17:09AM -0400, Michael Mueller wrote:
> 
> I double checked - there is no way to set CPU clk speed on Biostar M7VKB rev
> 1 board.  It must be set by a Duron-Mainboard interaction.
> 
> I'll try some kernel compiling and different cables to see if the problem
> pops up with something other than dselect.  I also loaded and ran another
> distro one of the boxes with no reported problems on hda.
> 

Perhaps those other distros had different defaults for the DMA and
other settings. Check what 'hdparm' has to say about the drive.

I had problems like yours before and I think it was because that
the drive was about to break, physically.

Hopefully that's not the case for your new drive though.

//Fredde



Re: sqrt C function(clarification)

2001-08-11 Thread Fredrik Jagenheim
On Sat, Aug 11, 2001 at 03:44:17AM -0400, [EMAIL PROTECTED] wrote:
> I'm sorry not to have provided more information in my first e-mail although 
> i'm very glad so many people responded to help, but i've done some more 
> testing:
> 
> specifically i'm getting 'prase error in tmp/x' where x is a long string of 
> characters that tends to change on every run of the complier (at least when 
> i'm compiling other programs). I've tried the following and gotten no errors
> 

With this;

#include 
#include 

double num;

int main()
{
  num = 16; 
  num = sqrt(num);  
  return 0; 
}   

I don't get any problems with neither gcc version 2.95.4 20010703
(Debian prerelease) or gcc version 3.0.1 20010801 (Debian prerelease).

Both compiles just fine, and runs without any segfaults.

My bet would be that your compiler-enviroment is broken. Did you
compile/install it yourself?

//Fredde



Re: best practice for tar and gzip?

2001-08-12 Thread Fredrik Jagenheim
On Sun, Aug 12, 2001 at 02:46:42AM -0700, patrick q wrote:
>   
> Would it not be better to compress the files individually first and
> then tar them into an archive instead of the normal tar.gz operation,
> to have the best chance of recovering as many files as possible?

The best would be not to pack the files at all. The better alternative
would be to pack the files individually and then tar them, as you
said. And, as you already are aware of, if you gzip the tarred file,
you risk loosing most of the files in the archive.

It depends on how big your files are. If all of them are 100bytes big,
you will not gain as much gzipping 1000 of them, as you would with
gzipping the 100*1000 tar-file.

If you MUST gzip them, and HAVE to gzip the tar-archive because of
size-issues, make sure you always test the tar-file after the copying,
and every once in a while for medium errors. It seemed like you had
several copies of the tar-files too, so if one of them would get a
error, you can copy it from the other location.

The testing can be done with MD5, I suppose, to save processing power,
instead of 'tar tzf'.

Sorry if I did not help that much, just repeating your questions as
answers. :)

//Fredde



Re: Snort

2001-08-15 Thread Fredrik Jagenheim
On Wed, Aug 15, 2001 at 10:30:55AM -0500, Michael Heldebrant wrote:
> On 15 Aug 2001 15:15:00 +1000, Craig W wrote:
> > 
> putatively stable package.  Maybe the maintainer of the package 
> has some more insight.  Robert van der Meulen <[EMAIL PROTECTED]> is
> listed.  Give him an email.

Don't count on it. Atleast he hasn't answered my email about what the
status for releasing snort 1.8. Not that he is under obligation to
answer any emails, just a warning that he might just not. :)

//Fredde



Re: hej bara en fragar

2001-08-18 Thread Fredrik Jagenheim
Depends on what you want to do. 
To change the layout of the keyboard use 'xmodmap'.
I have one keyboard map for US (when programming) and one for Swedish
(when being social). I also have 'vim' setup with digraphs so I can
type whatever char I need without changing keyboard map.

You have to look into your own windowmanager if you can bind keys to
certain commands so you can run shellscripts that does the 'xmodmap'
changes for you.

As a side note, there are other debian mailinglists that talk
Swedish, German and many other national languages, keeping
'debian-user' as a international mailinglist. I know I'd hate if
someone started a long thread written in Russian, Swahili or any other
language that I did not grasp.

//Fredde

On Sat, Aug 18, 2001 at 12:19:34PM +0200, Markus Hansen wrote:
> hur kan man har en a° med en tysk keyboard?
> eftersom du är fra°n sverige, har du kanske en idee?
> tack
> markus
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



Re: Opinions on Laptops to Install With Debian

2001-11-18 Thread Fredrik Jagenheim
> > Mark Seven Smith, 2001-Nov-16 15:52 -0800:
> > > 
> > > What sort of a laptop should I look for, in terms of what is really
> > > compatible with Linux, and especially DEBIAN?
> > > 
> > > Suggestions?
> > > 

I have installed it on my Compaq Armada m700. Never had any problems
with it with Debian. The best thing is that it does have 3
mousebuttons, something I haven't seen on any other laptops. Ok, so I
haven't looked THAT closely on the others. :)

//Humming



Re: Debian TVIO like PVR

2001-11-23 Thread Fredrik Jagenheim
On Fri, Nov 23, 2001 at 02:17:02PM -0500, Paul McHale wrote:
> > According to Tom's Hardware, realtime MPEG4 encoding requires
> > about a 600mhz
> > P3.
> 
> Does this assume the encoding is all done in software?  I would guess a
> hardware assisted MPEG encoder would require much less.  But I have NO idea
> about this.  I am just curious.

I doubt very much that a 600MHz P3 would be able to encode a MPEG4
stream in realtime. I would think a P3 600Mhz would be sufficent to
/decode/ a MPEG4 stream though. :)

I found a couple of references on MPEG4 on Toms Hardware so you can
look for yourselves:

Optimizing MPEG4:
http://www6.tomshardware.com/video/01q1/010223/

Best CPU for MPEG4:
http://www6.tomshardware.com/cpu/00q3/000925/
Quote:
> the conversion of a four-minute MPEG-2 sequence (test object) depended
> heavily on the used CPU and lasted between 10 minutes (AMD Athlon
> 1100) and 20 minutes (Intel Celeron 667).

Not even a Athlon 1.1Ghz managed to keep up to encode MPEG4.

> 
> I know the Tivo doesn't have much horse power.  They are case in point for a
> design which is just fast enough.  They appeared to have spared every
> expense.  It is an awesome unit.  Just saying, I don't think they have a
> 600MHz processor ...  Could be completely wrong.

Tivo doesn't use MPEG4 for it's compression to begin with. I'd guess
MPEG-2 or MPEG-1 with a hardware codec.

Much cheaper to throw in a custom chip that does the encoding/decoding
than using a general performance CPU as a replacement.

//Humming



Re: apm question: shutdown instead of user suspend

2001-04-17 Thread Fredrik Forsberg
Hello
What you can do is add the following line to your /etc/lilo.conf
append="apm=on" then run /sbin/lilo 
After that it should power down when you shutdown your computer.

/Fredrik
- Original Message - 
From: "Martin Würtele" <[EMAIL PROTECTED]>
To: "debian user list" 
Sent: Tuesday, April 17, 2001 9:41 PM
Subject: apm question: shutdown instead of user suspend


: hi,
: 
: i'd like to change user suspend into shutdown so my notebook powers down
: when i close it. i haven't found any useful information so far :-(
: 
: any ideas?
: 
: tia martin
: -- 
: | /"\ ASCII RIBBON | e-mail:   [EMAIL PROTECTED]  |  .''`. |
: | \ / CAMPAIGN AGAINST | work: http://www.factline.com  | : :' : |
: |  X  HTML MAIL| gpg-key:  30DC 1D28 1D79 32F5 5E67 | `. `'  |
: | / \ AND POSTINGS |   3ABB 28EE B35A 3E8D CCC0 |   `-   |
: 
: 
: -- 
: To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
: with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
: 
: 



Re: gunzip stops working

2001-10-21 Thread Fredrik Jagenheim
On Wed, Oct 17, 2001 at 12:48:41PM -0400, Ken Januski wrote:
> Thanks for the advice. I was driving myself nuts trying to figure
> out what was going on!
> 

'file' is a great command. For this and much more. :)



Re: some questions (after a HD crash)

2001-11-04 Thread Fredrik Jagenheim
On Sun, Nov 04, 2001 at 10:05:44AM -0800, Karsten M. Self wrote:
> GTX (?) disks are widely reported to have quality issues, as previously
> noted.
> 

IBM 75GXP is the model. I know, since I'm running one on my
workstation as of now and are just waiting for it to give up. :(

Something about using glass-platters I think someone pinpointed the
problem to.

//Humming



Re: HD spin down with hdparm : HD always wakes up !!!

2001-11-15 Thread Fredrik Jagenheim
Ok, someone will probably tell you it's a bad idea, but remounting the
drives with 'noatime' in the options will cause the drives to spin up
less.

The only drawback I've noticed so far is that mutt can't figure out
when a mailbox has been updated, but for my laptop that's not really a
problem as I read the mail remote. :)

//Humming



Re: xscreensaver

2001-11-16 Thread Fredrik Jagenheim
On Fri, Nov 16, 2001 at 02:21:29PM -0500, Dmitriy Kropivnitskiy wrote:
> You know, the guys are right about DRI. GL needs it to run full screen.
> What was not mentioned is the fact that xscreensaver will not run as a root 
> and DRI has root only permissions by default. Put following in your XF86Config
> Section "DRI"
> Mode 0666
> EndSection
> See if that helps
> 

Also, run 'xscreensaver-command -prefs', pick the 'Graphic Demo' that
you think goes slow in fullscreen, say 'Bubble3d'.
Click 'Demo'. Does it run slow? Probably, since it is launched in the
same way as it does when it is run as a screensaver.
Now, here's the trick; fiddle with the 'Visual' setting. Try 'GL',
'Default', 'Any', 'Best' or any of the other alternatives, until you
feel that the fullscreen is accelerated.

Do this for every other OpenGL screensaver that you might have
actived.

HTH,
//Humming



Re: Questions on pop3 servers

2001-11-16 Thread Fredrik Jagenheim
On Fri, Nov 16, 2001 at 09:30:15AM -0500, Mike Dresser wrote:
> 
> What program would i use to remove old messages automatically once a month
> or something?
> 
> Although, I suspect some ls -l magic with a sort piped into rm would work
> ;)
> 

'find' is your friend;
'find . -type f -mtime +31 -print' to verify that those are the files
you wish to remove. This is a good idea, since I type from memory so
the arguments MAY be wrong. :)
'find . -type f -mtime +31 -exec rm -f {} \;' will remove the files.

HTDBA (Hope This Doesn't Break Anything)
//Humming



Re: IRC DCC through a firewall

2001-10-04 Thread Fredrik Jagenheim
On Thu, Oct 04, 2001 at 05:02:12PM +0100, Andrew Pritchard wrote:
> Quoting dman <[EMAIL PROTECTED]>:
> > I've got a Debian firewall setup, which is working ok. I can DCC
> > receive files, but I can't DCC send. The ip_masq_irc module is |
> > installed on the firewall. If I try to send, it starts trying to |
> > send, the receiver gets the right IP address, and sends the |
> > acknowledgement, but the transfer never starts. Have I |
> > misconfiguered something or is this by design?
> > 
> 
> ipchains, fairly loose rules. It's a debian stable box, very very
> little running on the machine.
> 

I'm a little unsure of the DCC protcol, but could it be that you never
see the ack?
That is, you send 'I have a file for you' over _normal_ IRC channel.
He receives this and then sends the ack to a different port on your
computer telling you 'fine, I accept that fine file you have for me,
let's use this socket-pair for the transfer'.
And as you're probably running NAT, your firewall won't know that the
port your friend is sending to should go to your IRC program, thus it
simply drops it, and you never see the ack, and the transfer doesn't
start.
As I said, I don't remember the IRC protocol, haven't been on there
for ages, but check your firewalls logging for what it drops...

Oh, you wanted to know the solution too?
Check if you can't either get a SOCKS-server running on the firewall
(I've tried it, and I can't make it work at all) or tell the IRC
program to use specific ports for DCC transfers and forward those
ports inward. For example, I've done this for accepting files through
ICQ (using iptables, but you get the idea):
iptables -t nat -A PREROUTING -i eth1 -p TCP --dport 6060 -j DNAT --to 
192.168.1.2

HTH,
//Fredde



Re: convert: ps -> png

2004-05-07 Thread Fredrik Salomonsson
Hi Karsten!

I also got the same problem just now and tried on another machine with
imagemagick from unstable (imagemagick 5:6.0.1-1 which depended on libdps1).

This helped and I'm enough satisfied!

Regards,
Fredrik Salomonsson


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



Diskless client using sarge?

2004-09-05 Thread Fredrik Jonson
Hello, 

I'm considering turning my desktop, a mini-itx via epia-v, into a 
diskless client. Debian seems to provide a diskless package, but
that package unfortunately also seems to be more or less abandoned.

What I wonder is, should I still try go the diskless package way, 
as regards instructions etc? And also, does anyone here have any
experience setting up a diskless client (using dhcp/nfs) using 
sarge as base? Any hints in this area would be greatly appreciated. 

Oh, I did find the howtos at tldp already, but they all seem a bit
outdated, using 2.4-kernels etc, so I've dismissed them for now. 

TIA && regards, 
-- 
Fredrik Jonson


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



Local Exim and reportbug

2008-06-03 Thread Fredrik Tolf
Hello list!

I have a few Debian systems at home, and my own domain name with e-mail
set up (that's the domain I'm posting this from). The SMTP server that
sends mail outwards (I'm running Sendmail on Etch) uses SMTP
authentication to avoid being an open relay. I use GSSAPI authentication
with krb5.

What would be the best way, then, to use programs such as reportbug on
machines other than the SMTP host? The problems I'm running into are the
following:

 * Normally, the exim4 installation has remote forwarding completely
turned off.
 * To try and solve that problem, I have tried to turn on smarthost
forwarding, using my normal SMTP server as the smarthost, but that does
not work, since the internal Exims cannot authenticate to the server.

How best to solve this? I have found the `--smtphost' option for
reportbug, but I cannot find whether it can use GSSAPI authentication,
and I don't want to report a dummy bug just to test. Does anyone know?

Besides that, is there a way to get the local Exim to authenticate
properly to the smarthost (using GSSAPI)? After all, there are lots of
programs aside from reportbug that use the local MTA program to send
mail.

Thank you for your attention!

Fredrik Tolf



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



Re: console DVD writer?

2009-02-21 Thread Fredrik Tolf
On Sat, 2009-02-21 at 12:12 +0100, asdf asdf wrote:
> What are people using for writing CD/DVD's under console?

I use `growisofs' from the `dvd+rw-tools' package for DVDs. I don't
think it words for CDs, unfortunately. It is unfortunate because I like
it a lot better than wodim.

Fredrik Tolf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Samba PDC troubles

2009-02-23 Thread Fredrik Tolf
Hi list!

I've been playing a little with Samba lately, trying to make it a PDC
for a network of Windows computers (no, I don't particularly want them,
but it's kind of out of my hands), and I'm having some trouble. I hope
there's someone more knowledgeable than I with Samba who knows what
might be causing this.

See, to play around a bit, I set up a virtual network with an Etch
server and two XP clients running as KVM guests, and I managed to get it
all working as it should and as I want it, but when I try it out on the
real machine where it's supposed to be running, I can't get the
workstations to join it. The problem is that Samba isn't running as root
when it runs the "add machine script" and trying to do the actual work
of adding the workstation to the tdbsam database, so it gets permission
errors.

I can't find that I've configured the two machines differently in any
way that would matter, though. I've set up group mappings in the same
way, and I've verified that the user I'm logging in as to add the
machines is in Samba's "Administrators" group (which I've mapped to the
"adm" group on both the test server and the real server).

Does anyone know what could cause such behavior?

Thanks for reading!
Fredrik Tolf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



HAL and PolicyKit

2009-05-02 Thread Fredrik Tolf
Hi list,

I noticed that in a recent upgrade, HAL started requiring PolicyKit. I'd
really like to avoid having PolicyKit installed on my system (it's like
a parallel system of security that I know neither how it works nor how
my incomplete knowledge of it may be exploited); is there any way I can
avoid it and still keep HAL installed?

Fredrik Tolf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Sendmail filesystem access

2008-10-27 Thread Fredrik Tolf
Hi list!

I'm wondering what's up with the sendmail configuration in Debian. There
seems to be some kind of filesystem call wrapper installed in Sendmail
that prevents various parts of sendmail access to various parts of the
filesystem even though it's running as root, but I can't figure out what
part of Sendmail does it or how it can be configured.

It isn't just limited to sendmail proper either, but also programs like
makemap. Right now, I'm having problems with regenerating access.db,
like this:

$ pwd
/etc/mail
$ sudo make
Creating /etc/mail/relay-domains
# Optional file...
Updating access_db ...
makemap: error opening type hash map /etc/mail/access.new.db: Permission
denied
chown: cannot access `/etc/mail/access.new.db': No such file or
directory
chmod: cannot access `/etc/mail/access.new.db': No such file or
directory
mv: cannot stat `/etc/mail/access.new.db': No such file or directory
make: *** [/etc/mail/access.db] Error 1
$ ls -ld
drwxr-xr-x 7 smmta smmsp 4096 2008-10-28 03:41 .

Does anyone know how this can be remedied, and where it comes from in
the first place?

Fredrik Tolf



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



Read-only bind mounts

2008-01-17 Thread Fredrik Olofsson
Hi,

I read somewhere that Linux kernel 2.6.23 supports read-only bind
mounts, but I can't get this to work. I am running Debian Sid updated
today.

~# mount -o ro --bind /tmp /mnt
~# touch /mnt/foo
~# ls -l /mnt/foo
-rw-r--r-- 1 root root 0 2008-01-17 16:27 /mnt/foo
~# ls -l /tmp/foo
-rw-r--r-- 1 root root 0 2008-01-17 16:27 /tmp/foo

Am I doing something wrong? Or is it simply not implemented?

Thanks for you help
/Fredrik


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



Re: upower history

2012-11-04 Thread Fredrik Eldh

Brian wrote:

reportbug is for reporting bugs in Debian packages. Your first mail
gives no indication you are using Debian.


True, but I do use a Debian package.

By the way, I found the commit responsible for my problem:
http://cgit.freedesktop.org/upower/commit/?id=260e62d872f6433348469500247b4db3ae11dd7b

And its referenced bug:
https://bugzilla.redhat.com/show_bug.cgi?id=634228


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5096900c.2080...@nerdshack.com



Re:mount: /dev/ad0s1 : No such device

2012-11-12 Thread Fredrik Jonson
William A. Mahaffey III wrote:
 
>   I am brand new to Debian [...] [I have a box that] has 2 other drives
>  on it, 1 IDE 500 GB Seagate, 1 SATA 500 GB WD. Those are both use ext3
>  filesystem, left over from the CentOS 5.7 that I was running on that box
>  before the root drive died. I tried to mount those drives as ext3 drives & I
>  get the following:
>
>  # mount -t ext3/dev/ad0s1  /mnt
>  mount: /dev/ad0s1: No such device

Are you sure that /dev/ad0s1 is your file system? I'd expect a PATA drive to
show up named /dev/hda or /dev/hdb and partitions named /dev/hda1 etc. Likewise
SATA drives are normally named /dev/sda with partitions named /dev/sda1 etc.

Are you running debian-kfreebsd?

What does dmesg say about the disks? What about 'cfdisk -P s /dev/ad0'?

-- 
Fredrik Jonson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnka1loc.sht.fred...@biggles.jonson.org



Problems with mdraid on initrd

2014-05-04 Thread Fredrik Tolf

Dear list,

I recently upgraded to Wheezy a system that has its root filesystem on top 
of LVM and mdraid, and it gained a problem in booting, in that the initrd 
calls mdadm to scan for the mdraid devices before the kernel is done with 
detecting the physical drives on the machine. As such, mdadm sees none of 
its devices and initializes no arrays, and the initrd doesn't find the 
root filesystem.


I can fix this easily during the boot process by simply waiting for the 
initrd to drop to a shell, and then scan for the mdraid devices and 
initialize LVM manually and then let the initrd continue booting, but it 
would be kinda nice if I didn't have to boot the system manually. :)


Why would the initrd do this? What is the mechanism that normally makes 
the initrd wait for devices to be fully detected, and why doesn't work in 
this case? Could it have something to do with the fact that I'm running a 
custom-compiled kernel?


--
Fredrik Tolf


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/alpine.deb.2.10.1405050642320.12...@shack.dolda2000.com



Re: Problems with mdraid on initrd

2014-05-05 Thread Fredrik Tolf

On Mon, 5 May 2014, Tom H wrote:

boot_delay and rootdelay are possible kernel cmdline parameters.


Thanks, that would probably help, for sure.

Isn't "udevadm settle" normally supposed to work, though? Even if 
rootdelay can work around the problem, I'd like to find the root cause.


--
Fredrik Tolf


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/alpine.deb.2.10.1405060702220.12...@shack.dolda2000.com



iscsistart: TargetName not set.

2016-08-18 Thread Fredrik Nilsson
Hi,

I have installed Debian Jessie (8.5) on an iscsi disk but I am having
difficulty booting the system afterwards. (The installation itself went
smoothly although a bit slow.)

The Supermicro server I have at my disposal mounts the iscsci target fine
via bios/nic firmware and grub loads then up nicely. But the problem starts
after grub when the the ip-address has been retrieved via dhcp.

iscsistart then tries to mount the iscsi device but fails with the
following line

iscsistart: TargetName not set. Exiting iscsistart

It then drops me into the initramfs shell. From there I have been able to
find /etc/iscsi.initrams and /etc/initiatorname.iscsi which seems to
contain the correct information to mount the target.

Any additional parameters I add to the kernel command line via grub seems
to be ignored.

When I googled this error message I found an old error that was caused by
the network not bein available at the time iscsistart was started, but it
was several years that particular issue was resolved.

Any help on how I can debug and fix this is much appreciated.

Thanks!

/Fredrik


Re: iscsistart: TargetName not set.

2016-08-19 Thread Fredrik Nilsson
Hi,

Thanks for your reply.

The contents of initiatornam.iscsi is one line:

GenerateName=yes

iscsi.initramfs has the following contents:

ISCSI_TARGET_NAME="iqn.2004-04.com.qnap:ts-412:iscsi.littlesister.c83a5e"
ISCSI_TARGET_IP="192.168.15.251"
ISCSI_TARGET_PORT="3260"
ISCSI_TARGET_GROUP="1"

I don't use any user authentication in the current setup since I want to
minimize things that can go wrong. I also only use ip-addresses when I
communicate with the NAS which acts as the iSCSI target.

Looking at the kernel parameters there is no mentioning of any ip settings.
I have tried supplying static ip settings, initiatorname and target name as
kernel parameters but to me it looked liked those settings where ignored.
So based on that I guess that the initramfs in this case runs its own DHCP
client and grabs its config from some other place then the kernel
parameters.

I have also tried to set the target name via the dhcp root-path option,
which is then written out on the console at boot time, but the result is
still the same error message and a drop to the initrams shell.

Regards
Fredrik


2016-08-19 13:29 GMT+02:00 Christian Seiler :

> Hi,
>
> (writing this from my phone, so please pardon my bottom quote)
>
> For reference: I co-maintain open-iscsi in Debian.
>
> Could you provide the contents of the initiatorname.iscsi and
> iscsi.initramfs files in the initramfs verbatim? (Anonymizing
> users/passwords is OK of course.)
>
> Also: did you specify the target as a host name or IP address? IIRC only
> IP addresses work for rootfs on iSCSI. (Not sure though and I am not in
> front of a computer to check.)
>
> Furthermore: does the initramfs run its own DHCP client? Do you have
> ip=dhcp (or an equivalent static config) in your kernel command line args?
> (The installer should set this.)
>
> Regards,
> Christian
>
>
> Am 19. August 2016 08:27:00 MESZ, schrieb Fredrik Nilsson <
> afredr...@gmail.com>:
>>
>> Hi,
>>
>> I have installed Debian Jessie (8.5) on an iscsi disk but I am having
>> difficulty booting the system afterwards. (The installation itself went
>> smoothly although a bit slow.)
>>
>> The Supermicro server I have at my disposal mounts the iscsci target fine
>> via bios/nic firmware and grub loads then up nicely. But the problem starts
>> after grub when the the ip-address has been retrieved via dhcp.
>>
>> iscsistart then tries to mount the iscsi device but fails with the
>> following line
>>
>> iscsistart: TargetName not set. Exiting iscsistart
>>
>> It then drops me into the initramfs shell. From there I have been able to
>> find /etc/iscsi.initrams and /etc/initiatorname.iscsi which seems to
>> contain the correct information to mount the target.
>>
>> Any additional parameters I add to the kernel command line via grub seems
>> to be ignored.
>>
>> When I googled this error message I found an old error that was caused by
>> the network not bein available at the time iscsistart was started, but it
>> was several years that particular issue was resolved.
>>
>> Any help on how I can debug and fix this is much appreciated.
>>
>> Thanks!
>>
>> /Fredrik
>>
>>
>>


Starting systemd user services on boot on a Debian server

2015-10-13 Thread Fredrik Jonson
Hi,

What is the recommended way to set up Systemd user services with Debian?

With previous Debian releases I've been running services like tomcat from
regular user accounts by creating wrapper scripts that controls the PATH and
environment variables, and start those scripts with @reboot from the user's
crontab.

While this works ok, I find that the scripts are hard to maintan and does not
meet all requirements of service managment. It would be nice to migrate
away from my fragile scripts to something that's dedicated to controlling
services, like Systemd units.

AFAIU, to make this happen, I need to have a user Systemd instance started on
boot. How do I set up my Debian server to automatically start a user instance
for a regular user on boot to control the user's service units?  Is there a
recommended way to do it?

BTW, if I just try to start systemd from the console, it fails:

 $ systemd --user
 Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.

Clearly that is not the way to do it. Any advice?

-- 
Fredrik Jonson



Re: Starting systemd user services on boot on a Debian server

2015-10-16 Thread Fredrik Jonson
Ansgar Burchardt wrote:
>  Fredrik Jonson  writes:
> > What is the recommended way to set up Systemd user services with Debian?
> 
>  Just run 'loginctl enable-linger [USER]' as root.

Initially that didn't work...

 root@host# loginctl enable-linger foouser
 Failed to create bus connection: No such file or directory

A quick google seems to indicate[0][1] that it is related to dbus somehow.
I checked, and the server didn't have dbus installed on the machine, so I
installed it (apt-get install dbus) and reran the command:

 root@host# loginctl enable-linger foouser

This time the command ran without any apparent objections from the system.

Next, I create my unit in $HOME/.config/systemd/user/foo.service but
systemctl fails to enable it:

 foouser@host$ systemctl --user enable foo.service
 Failed to get D-Bus connection: Connection refused

Now what?

I notice that there isn't a systemd or dbus instance running under the user.
Should there be, and if, what's responsible for starting it?

Additionally, when I try to start a user instance manually, it fails:

 foouser@host$ systemd --user
 Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.

[0] http://immae.eu/blog/2014/05/26/manage-your-session-with-systemd/
[1] https://lists.archlinux.org/pipermail/arch-general/2014-May.txt

-- 
Fredrik Jonson



Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-16 Thread Fredrik Jonson
Ansgar Burchardt wrote:
>  Fredrik Jonson  writes:
> > What is the recommended way to enable Systemd user services with Debian?
> [...]
>  The documentation for "loginctl enable-linger" says "If enabled for a
>  specific user, a user manager is spawned for the user at boot and kept
>  around after logouts." I guess you didn't restart the system?
>
>  [...]
>
>  A user manager should in either case also be started when logging
>  in. This is handled by logind + libpam-systemd. I assume you might not
>  have the latter installed?

Good guess, that's another culprit identified:

 foouser@host$ sudo apt-get install libpam-systemd
 foouser@host$ sudo shutdown -r now
 [... the system reboots]
 [... I've previously created ~/.config/systemd/user/foo.service]
 foouser@host$ systemctl --user enable foo
 foouser@host$ systemctl --user start foo

Succes!

What a great friday afternoon. Debian is awesome!

>  I don't think you can just start "systemd --user" as it wants to manage
>  cgroups for services it spawns. "/lib/systemd/system/user@.service" has
>  Delegate=yes to allow it to do so.

Right, I was just aimlessly typing commands that I hoped where anywhere close
to relevant to resolving the problem. :)

>  libpam-systemd is also responsible for setting the XDG_RUNTIME_DIR
>  variable.
>
>  libpam-systemd is currently at Priority: optional. I'm wondering if it
>  should be raised to Priority: standard.

Maybe. I gleaned at the package documentation and wasn't totally convinced it
was relevant. There was already a file /etc/pam.d/systemd-user from the systemd
package, so I didn't understand that I also had to install another package that
provided the actual pam module. Would it not make more sense to have the pam
config in the same package that provides the actual pam module?

Still there might have been relevant keywords that I should have picked up on,
the package description does state:

 This package contains the PAM module which registers user sessions in
 the systemd control group hierarchy.

OTOH, in the next paragraph I read the following statement, that definitively
steered me away from installing it:

 If in doubt, do install this package.

When debian developers tells me in their package documentation that I really
should not install their package, I tend to follow their advice. :)

Anyway, it works now.

In summary, to enable systemd user units on boot in Debian, the following steps
are required:

 sudo apt-get install dbus libpam-systemd
 sudo loginctl enable-linger [USER]
 sudo shutdown -r now

Ansgar, I'm greatful, thanks for all your advice!

-- 
Fredrik Jonson



Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-16 Thread Fredrik Jonson
Michael Biebl wrote:

>  Am 16.10.2015 um 19:05 schrieb Fredrik Jonson:
> 
> >  If in doubt, do install this package.
>
>   Did you maybe misread that as
>  "If in doubt, do *not* install this package".

Yes I did. I don't know how many times I've read that sentence, and clearly saw
a _not_ in there. Interesting.

-- 
Fredrik Jonson



Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Fredrik Jonson
In  Lisi Reisz wrote:
>  On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote:
> > Michael Biebl wrote:
> > >  Am 16.10.2015 um 19:05 schrieb Fredrik Jonson:
> > > >  If in doubt, do install this package.
> > >
> > >   Did you maybe misread that as
> > >  "If in doubt, do *not* install this package".
> >
> > Yes I did. I don't know how many times I've read that sentence, and clearly
> > saw a _not_ in there. Interesting.
> 
>  The structure foreshadows a "not".

Maybe the presence of the entire sentence indicates that the package really
should be installed by default on systems where systemd is installed?

-- 
Fredrik Jonson



Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Fredrik Jonson
Brian wrote:
>  On Sat 17 Oct 2015 at 13:29:48 +0200, Michael Biebl wrote:
> 
> > We might also consider bumping the prio of libpam-systemd to standard,
> > as Ansgar suggested. That means, it would be installed by default,
> > unless you explicitly deselect the standard task in d-i.
> 
>  [priority] standard
> 
>  These packages provide a reasonably small but not too limited
>  *character-mode* system.
> 
>  Unless I am misunderstanding something, libpam-systemd has a focus on
>  non-character-mode systems.

Maybe. Though this thread shows that libpam-systemd solves at least one common
use case on character-mode only systems too.

The installed size of libpam-systemd plus dbus is 1.2 MB. Is that too much for
priority standard?

-- 
Fredrik Jonson



Find obsolete packages without using aptitude?

2015-01-13 Thread Fredrik Jonson
Hi All,

Here's a small challenge. I'm trying to find obsolete or orphaned packages
on a system that's been dist-upgraded. Aptitude can give me list with this
query:

 aptitude search ?obsolete

The definition of that query is: "This term matches any installed package
which is not available in any version from any archive.". It has been
installed locally or installed from a repository that is not in apt's
sources.list.

How would you accomplish that assuming you cannot use aptitude?

I've tried various arguments to dpkg-query, couldn't find the right
selector.  The closest I get is using 'deborphan --all-packages -p 5'. Not
quite though, deborphan spuriously also identifies a few packages that are
not relevant.

BTW, should I report the latter as a bug? F.x. deborphan reports 'chrony' as
orphaned, but I installed it yesterday and it sure looks available.

-- 
Fredrik Jonson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmbaj3f.6d5.fred...@biggles.jonson.org



Re: Find obsolete packages without using aptitude?

2015-01-14 Thread Fredrik Jonson
Bob Proulx wrote:
 
>  Try this:
> 
>apt-show-versions | grep -v uptodate
> 
>  Or read my answer posted here Saturday:
> 
>https://lists.debian.org/debian-user/2015/01/msg00358.html

Thanks, excellent. I'll try to improve the variety of my search phrases,
and digging deeper in the archive before posting next time.

-- 
Fredrik Jonson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmbd6gi.g6k.fred...@biggles.jonson.org



Re: Find obsolete packages without using aptitude?

2015-01-17 Thread Fredrik Jonson
Jörg-Volker Peetz wrote:
>  Bob Proulx wrote on 01/14/2015 06:25:
> > Fredrik Jonson wrote:
> > > I'm trying to find obsolete packages on a system that's been
> > > dist-upgraded. How would you [do that without using] aptitude?
> > 
> > Try this:
> > 
> >   apt-show-versions | grep -v uptodate
> 
>  This doesn't show all the results "aptitude search ~o" finds on my system
>  [...] This shell command works for me:
> 
>  awk '/^Package: / {print $2}' /var/lib/dpkg/status | sort |
>  (awk '/^Package: / {print $2}' /var/lib/apt/lists/*_Packages | sort |
>  comm -23 --nocheck-order /dev/fd/3 -) 3<&0

Interesting. The shell command above indeed does include more packages that
are obsolete on my system too.

As far as I can tell the difference is that your awk command includes packages
that have been removed but not purged, while apt-show-versions ignores 
non-purged packages that have only config files left.

-- 
Fredrik Jonson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmbklog.c3p.fred...@biggles.jonson.org



Injecting virtual dependencies into apt

2011-11-30 Thread Fredrik Tolf

Dear List,

I'm wondering if there's a way to inject virtual packages into apt. For my 
part, I'm running a HTTP server that I've compiled and installed from 
source, and because apt doesn't know about it, it wants to install Apache 
or some other package providing the  virtual for such simple 
packages as gitweb or wordpress. I would like to tell apt that the system 
has  installed. Is there any mechanism for me to do so?


I've been googling quite a bit on the subject without finding anything, so 
I'm starting to fear that apt can't do that.


--

Fredrik Tolf


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.02.302317450.18...@wolf.dolda2000.com



Re: Injecting virtual dependencies into apt

2011-11-30 Thread Fredrik Tolf

On Wed, 30 Nov 2011, Tom H wrote:

On Wed, Nov 30, 2011 at 5:41 PM, Fredrik Tolf  wrote:

I'm wondering if there's a way to inject virtual packages into apt. For my
part, I'm running a HTTP server that I've compiled and installed from
source, and because apt doesn't know about it, it wants to install Apache or
some other package providing the  virtual for such simple packages as
gitweb or wordpress. I would like to tell apt that the system has 
installed. Is there any mechanism for me to do so?


You can use "equivs".


Would you look at that. Thank you very much!

--

Fredrik Tolf


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.02.1112010633340.22...@wolf.dolda2000.com



Re: What is possible with static ip?

2010-12-07 Thread Fredrik Andersson
Yeah im doing that now, got dynamic ip and a free dyndns account.
Running xampp and wordpress without problem.
Gonna try setup some ftp for buddies and stuff i need when im away.

fredrikfri...@gmail.com [X10]

Den 8 dec 2010 07.19, "Stan Hoeppner"  skrev:

Matt Smith put forth on 12/7/2010 3:32 PM:
> I discovered my isp has assigned me a static ip.
>
> Does this mean I can make files available over the internet, if I want to
> leave a box running 24/7?

Yes, but you can do the same thing with a dynamic IP address and a
dynamic DNS service.  A static IP is not a requirement to "host"
anything.  I ran a home mail/web server for many years on SBC DSL with a
dynamic (PPPoE) address.  Many tens of thousands of other geeks have as
well. :)

--
Stan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/4cff2341.2080...@hardwarefreak.com


Re: Fetchmail + SSH tunnel

2002-05-08 Thread Fredrik Steen
On Wed, 08 May 2002 04:23:34 +0200, Carlos A P Gomes wrote:

> Does anybody use fetchmail to get mail through a ssh tunnel? I'm trying
> that with no success.

[...]

Have a look at:
http://www.tldp.org/HOWTO/mini/Secure-POP+SSH.html

./fs



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



Re: what serve the file in the /dev directory

1998-03-30 Thread Tor Fredrik Aas
The files  in the /dev are not the actual device drivers , but the
files
 corresponding to a spesific device driver , so on my system the
/dev/hda
 is the first harddisk etc. You don't actually need everyone. If you
dont
 have a scsi disk you cant omit all the /dev/sd files. The best way to
 make these files are with the MAKEDEV script (or if you want you can
 make them manually with the mknod command ). The BootDisk-HOWTO has a
 list at the end telling which files you must have . On a really plain
 bootdisk i got away with :
 
 # ls -l /mnt/dev/
 
 crw--w--w-   2 root tty4,   0 Mar 29 07:06 console
 brw-rw   1 root floppy 2,   0 Mar 29 07:06 fd0
 brw-rw   1 root disk   1, 250 Mar 29 07:06 initrd
 crw-rw-rw-   1 root sys   10,   2 Mar 29 07:07 inportbm
 crw-rw   1 root kmem   1,   2 Mar 29 07:06 kmem
 crw-rw   1 root kmem   1,   1 Mar 29 07:06 mem
 crw-rw-rw-   1 root sys1,   3 Mar 29 07:07 null
 brw-rw   1 root disk   1,   0 Mar 29 07:06 ram0
 brw-rw   1 root disk   1,   1 Mar 29 07:06 ram1
 brw-rw   1 root disk   1,   2 Mar 29 07:06 ram2
 brw-rw   1 root disk   1,   3 Mar 29 07:06 ram3
 brw-rw   1 root disk   1,   4 Mar 29 07:06 ram4
 brw-rw   1 root disk   1,   5 Mar 29 07:06 ram5
 brw-rw   1 root disk   1,   6 Mar 29 07:06 ram6
 brw-rw   1 root disk   1,   7 Mar 29 07:06 ram7
 lrwxrwxrwx   1 root root4 Mar 29 07:06 ramdisk -> ram0
 crw--w--w-   2 root tty4,   0 Mar 29 07:06 systty
 crw-rw-rw-   1 root sys5,   0 Mar 29 09:23 tty
 lrwxrwxrwx   1 root root7 Mar 29 09:23 tty0 -> console
 crw--w--w-   1 root tty4,   1 Mar 29 07:05 tty1
 crw--w--w-   1 root tty4,   2 Mar 29 07:05 tty2
 crw--w--w-   1 root tty4,   3 Mar 29 07:06 tty3
 crw--w--w-   1 root tty4,   4 Mar 29 07:06 tty4
 crw--w--w-   1 root tty4,   5 Mar 29 07:06 tty5
 crw--w--w-   1 root tty4,   6 Mar 29 07:06 tty6
 crw-rw-rw-   1 root sys1,   5 Mar 29 07:07 zero
 
 But this doesn't add support for any type of fixed disk. The link from
 systty to console is after my understanding rather important, since my
 system won't boot witout it !
 
 Happy hacking !
 
 George Bonser wrote:
> >
> > Those are your device drivers!   BE CAREFUL IN THERE!
> >
> > For example, if you have an ide hard disk it is /dev/hda
> >
> > On Sun, 29 Mar 1998, Alain Toussaint wrote:
> >
> > > Hello
> > >   i need to know what serve the files in the /dev directory,it's
> > > because i did some experiment trying to build a boot/root disk set (sort
> > > of rescue disk and a good way to learn about linux),i copied all the files
> > > in the /dev directory to a floppy disk (the root disk in question) using
> > > this method:
> > >cd /dev
> > >find . -print | cpio -pmd /mnt/dev
> > >
> > > i also copied the needed library for bash ( libreadline.so.2,
> > > libncurses.so.3.0, libdl.so.1 and libc.so.5 ) but now,i lack the space
> > > needed for copying bash,does anyone here know where i can get the
> > > information i need to safely prune the /dev directory without erasing
> > > something important ??
> > >
> > > thanks a lot for your help !!
> > >
> > > Alain
> 
> -------
> [EMAIL PROTECTED]
> http://dragon.telnett.no/~fredrik
> "Don't trust an operating system were you don't have the source."

-- 
---
[EMAIL PROTECTED]
http://dragon.telnett.no/~fredrik
"Don't trust an operating system were you don't have the source."


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


Re: Re: Re: SATA problems

2005-07-15 Thread Fredrik von Kantzow


Have you gotten further with this?

-Fredrik

Jim wrote:
OK , I did that  and got the following results

I entered lspci, got the response "/bin/sh: lspci : not found"

then for lsmod, I got a long string of files/modules, with "size" and 
"used by" columns. I have only recorded the names here, no way of 
cutting and pasting unfortunately...

xfs
reiserfs
jfs
ext3
jbd
vfat
af_packet
eth1394
via_rhine
mii
tg3
firmware_class
nls_cp437
ds
gentu_socket
pcmcia_core
sr_mod
sbp2
isofs
ide_cd
cdrom
ide_disk
ide_generic
pdc202xx_new
aec62xx
alim15x3
amd74xx
atiixp
cmd64x
cs5520
cs5530
cy82c693
generic
hpt34x
ns87415
opti621
pdc202xx_old
piix
rz1000
sc1200
serverworks
siimage
sis5513
slc90e66
triflex
trm290
via82cxxx
floppy
usb_storage
scsi_mod
ide_core
ohci1394
ieee1394
fbcon
font
vga16fb
vgastate
vesafb
cfbcopyarea
cfbimgblt
cfbfillrect
usbserial
usbhid
usbkbd
ehci_hcd
ohci_hcd
usb_core
i_hcd
thermal
processor
fan
unix

That's the lot from that list.

Thanks
Jim


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