Re: [Grml] Problem with grml autoconfig

2011-09-06 Thread Ulrich Dangel
* Bojan Sukalo wrote [06.09.11 08:37]:
Hi,
> Thank You once more.
> 
> Thing with keys works like a charm.
> 
> I tar all the dirs you mentioned to config.tbz on GRMLCFG labeled fs 
> (preserving absolute path) and it gets restored on boot.
>  
> 
> As for ssh:mysecret that was typo and ssh=mysecret doesn't do any
> good. Maybe it's a bug or I make mistake somewhere else along the way.
 
Just tested it and it works for me. Please note that the password is set
for the user grml.

> Also, to avoid these kind of problems it seems to me that
> configuration is somewhat misleading.
> 
> I'll quote from grml-autoconfig web page:
> 
> Without any additional boot parameters, the GCA at DCSDIR/config.tbz
> is automatically unpacked and DCSDIR/scrips/grml.sh is automatically
> executed on system startup
> 
> 
> DCSDIR/scrips/grml.sh shoud be, according to my experience DCSDIR/grml.sh
 
It seems to be a little bit more complicated. If you are not using the
GRMLCFG label i think it should have worked.
I think we can change that to check for DCSDIR/scripts/grml.sh first and
if not existant DSCDIR/grml.sh second.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Problem with grml autoconfig

2011-09-05 Thread Ulrich Dangel
* Bojan Sukalo wrote [05.09.11 15:50]:
 
> Is there a workaroud. bootoption ssh:mysecret does not seem to start
> the sshd or to change password for grml user.
 
The bootoption is ssh=mysecret (not : but =)

> Even if it does, will I abe able to change from grml to root without
> knowing the root pass.

Yes.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


[Grml] Date for Grml Developer Meeting in October

2011-07-27 Thread Ulrich Dangel
Hi everyone,
as you may already know there are currenntly four Grml developers in
Banja Luka at DebConf11. Due to that rare occasion we synced our schedules
and came up with a date for our next Grml developer meeting:

Wednesday 12.10.11 to Friday 14.10.11

We don't have a location yet as the location depends on the
participants. If you want to join the Grml Developer meeting feel free to
reply to this mail (or send an email to cont...@grml.org)

If you really want to join the Grml Developer meeting but you don't have
time between 12.10 and 14.10 please contact me privately via email or IRC.

Ulrich

P.S: Please have a look at http://feedback.grml.org/ and share your
thoughts about Grml.
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Missing mcrypt/mdecrypt

2011-07-11 Thread Ulrich Dangel
* Stefan Weiss wrote [11.07.11 17:38]:
Hi,
>> Use openssl/gnupg/gnutls.
>
> I understand that you don't want to include deprecated packages.  
> Unfortunately, none of the mentioned alternatives are very useful for  
> simple symmetric stream encryption. I suppose I could set up an  
> assymetric scheme with private and public keys, but that feels like  
> overkill for a dd backup.

I beg to differ. 

dd ... | gpg -c > /tmp/output works

Use gpg -d /tmp/output to decrypt the file.

or 

dd ... | openssl aes-256-cbc -salt -out /tmp/output

Use openssl aes-256-cbc -d -in /tmp/output to decrypt the file.

> I'm going to try and add TrueCrypt to my Grml USB stick myself. Up until  
> now, I've been a purely passive Grml user... I've never changed any of  
> the defaults, apart from --bootoptions. I guess I could just store the  
> .deb somewhere and install it when I need it. If there's a simple way to  
> make the installation "stick", could you point me to the relevant part  
> of the docs?

There are multiple options, first use the persistent bootoption, see
http://wiki.grml.org/doku.php?id=persistency

OTOH you can place debs in a specific folder/partition and they will be
installed automatically. See
http://grml.org/config/grml-autoconfig.1.html for the list of
bootoptions.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Missing mcrypt/mdecrypt

2011-07-11 Thread Ulrich Dangel
* Stefan Weiss wrote [11.07.11 06:13]:
> - but it seems mcrypt and mdecrypt are not included in the (full-size)  
> Grml ISO. Any chance of adding those to the next release?

I am not sure but according to the package description mcrypt is
deprecated:

 Please note that this package is buggy and unmaintained by
 the upstream authors.  If you can, please look for other
 implementations (openssl, gnutls, gnupg).

Therefore i don't think it is worthwhile to ship mcrypt.

> I'm not set on using mcrypt; if there's a better way to do this, I'd be  
> interested in that, too. I never store unencrypted data on portable  
> devices (ever since I almost lost one), not even automated backups.

Use openssl/gnupg/gnutls.

> But more generally, mcrypt/mdecrypt might come in handy in recovery  
> situations, so it might make sense to include them anyway. Same goes for  
> TrueCrypt, come to think of it.

Truecrypt can not be shipped with Grml as it has a propertary license.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Boot grml without CD ends with "No init found"

2011-06-22 Thread Ulrich Dangel
* Fog_Watch wrote [22.06.11 04:44]:
Hi,
> I have a Proliant DL380G3 that I would like to boot without a CD.  The
> instructions
> (http://wiki.grml.org/doku.php?id=tips&s=tohd#boot_grml_without_cd)
> seem clear enough, but alas I'm not successful yet.
 
Please consider using grml-rescueboot. You just have to place an iso
image in /boot/grml and run update-grub afterwards and everything will
be setup auomtatically.

> >From the grml cdrom grub screen I can "grml noeject
> fromhd=/dev/cciss/c0d0p3" and boot successfully.  From the grub screen
> on /dev/cciss/c0d0 I'm not so successful.  Soon after displaying the
> "GRML" ASCII art I get the nasty error:
> "No init found. Try passing init= bootarg."
> and a busybox prompt, not a grml prompt.  Maybe the initrd borked?
> 
> Any help with achieving a grml prompt would be appreciated.
 
Ok, just a guess, add boot=live ignore_bootid to the parameters.
 
> grml201012
 
This is an old version. Please consider switching to Grml 2011.05

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Custom user configs on grml

2011-05-23 Thread Ulrich Dangel
* Richard Hartmann wrote [22.05.11 11:03]:
Hi,
 
> Thus, my question: Is it worthwhile to include some user configs in
> grml? I am aware of the size constraints grml is facing, but RC files
> tend to be tiny and compress well. mrud is not sure if it's worth the
> trade-off, I think it is.

Yes, i don't like to include custom configs on the grml cd. And i think
it won't benefit anyone but the owners of the included configs.

It also raises some question like which config do we want to include?
What requirements do we use for the user provided configs? Must they be
documented? Should we just allow everything or do some basic QA? How
about updates? I also don't see the benefit if we just include some
configs from some people.

OTOH you can easily create customized grml cds with grml2iso (with
modified bootparamets to load the specific configuration and add your
config automatically) and put it on your fileserver.

,
| ./grml2iso -b "config=richih.tar.bz2" \
| -c dir/to/put/on/cd -o custom.iso grml.iso grml64.iso
`

> Great idea? Insane?

Another slightly different idea is maybe to provide a webservice for it.
Everyone can register a handle and specify the location of the archive.
You would specify the handle as a boot parameter and it would use the
webservice to get the location from the archive.

The only disadvantage is that it would only work with an internet
connection and everyone would have to host their files themselves.

Ulrich

P.S: With our current hosting situation (under-powered, old, not
project specific) i don't think we will provide such an service
in the near future.
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml64-small upgrade error

2011-04-11 Thread Ulrich Dangel
* Xi Shen wrote [11.04.11 12:32]:
Hi,

Please always reply to the list (reply to all/list reply) as others may
also help you and need the information you provided to me.
> Yes, I am using a USB pen drive, and I have persistent setup.
> 
> So, updating grub on usb pen drive is not supposed to work? Then how
> can we update it?


You can replace the squashfs file direclty with a version from a daily
image.

Please note that i am no using the persisency feature myself, maybe
other have better ideas.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml64-small upgrade error

2011-04-11 Thread Ulrich Dangel
* Xi Shen wrote [08.04.11 13:27]:
Hi,
> Hi,
 
See
http://blog.grml.org/archives/353-Grml-kernels-cant-be-installed-with-dpkg-1.16.0.html
for the problem description.

But you seem to have two different kind of problems. One is the dpkg
warning message. You can get rid of it with installing the latest grml
kernel from the grml testing repostory.

The other one is a little bit more problematic:

> package 'linux-image-2.6.36-grml64':
> error in Version string 'grml.02': version number does not start with 
> digit
> Setting up grub-pc (1.99~rc1-8) ...
> /usr/sbin/grub-probe: error: cannot stat `aufs'.
> dpkg: error processing grub-pc (--configure):
>  subprocess installed post-installation script returned error exit status 
> 1
>  dpkg: dependency problems prevent configuration of grub:
>   grub depends on grub-pc; however:
> Package grub-pc is not configured yet.
>   dpkg: error processing grub (--configure):
>dependency problems - leaving unconfigured
>Setting up libslang2-modules (2.2.3-3) ...
>configured to not write apport reports
>  configured to not write apport 
> reports
> Setting up slsh (2.2.3-3) ...
> Installing new version of config file /etc/slsh.rc ...
> Errors were encountered while processing:
> grub-pc
> grub
> 

It seems that you want to upgrade your iso image via apt-get upgrade. I
assume you have setup a persistent partition and want to update your usb
stick. This does not work with grub as it tries to load the support for
your specific fs (in your case aufs) which does not exist and exists.

I dont know a solution you just may uninstall grub and just install a
dummy package (equivs) to resolve the dependencies of the kernel image.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Creating Live USB with grml2usb

2011-03-16 Thread Ulrich Dangel
* Roman Gelfand wrote [16.03.11 17:34]:
Hi,
> I would like to put grml live cd on usb drive.  I created bootable w96
> fat32 partition and formatted it using mkfs.vfat.   I ran "grml2sub
> grml.iso /dev/sdb1".
> 
> I am getting boot error.

I am sorry to hear that. What was exactly the problem? Can you write the
message down or make a screenshot with a camera? Without any further
information we can't help you.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Grub2 install behavior changed? Grml LiveCD 2010.12

2011-02-16 Thread Ulrich Dangel
* hans...@gmail.com wrote [16.02.11 10:30]:
Hi,
> 
> OT - Do you (or anyone) know of a tool (other than boot-info-script)
> that parses all block device bootloaders and reports what type they
> are and where they're pointing to?
 
Maybe not exactly what you need or want, but maybe linux-boot-prober
from the os-prober package goes in the right direction. But it does not
run auomatically on all detected blockdevices AFAIK.
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] dupmerge - : Value too large for defined data type

2011-02-09 Thread Ulrich Dangel
* hans...@gmail.com wrote [09.02.11 20:22]:
> I've been doing some scripting based on dupmerge, so please also let
> us know whether that will be updated or replaced by rdfind.

rdfind is already included in grml-full. It should be also in the daily
images.  Im not sure if dupmerge will be dropped but it is still
included in Grml.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] How to switch from dynamic IP to static IP in grml

2011-02-07 Thread Ulrich Dangel
* T o n g wrote [07.02.11 21:59]:
Hi Tong,
> > How can I switch from dynamic IP to static IP now?
> > 
> > $ grep -i network /etc/grml/autoconfig 
> > CONFIG_DEBNET='yes'   #
> > search for /etc/network/interfaces on partitions and set up network
> > afterwards
> 
> That's the one, is it?

Grml 2010.12 does not automatically start pump but uses
/etc/network/interfaces. This means it is enough to just
configure your ip configuration via /etc/network/interfaces


Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] [solved] Libvirt and grml

2011-02-06 Thread Ulrich Dangel
* T o n g wrote [07.02.11 01:43]:
Hi,
just a little bit nitpicking:

> > Is libvirt supported by grml out of box?
> 
> $ ls /lib/modules/2.6.36-grml64/kernel/drivers/virtio
> virtio.ko  virtio_balloon.ko  virtio_pci.ko  virtio_ring.ko

JFTR libvirt does not need virtio. libvirt is just a toolkit/api for
different virtualization frameworks.

So yes libvirt should run on grml, but it does not have anything to do
with virtio per se.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] disk partition encryption roadmap

2011-01-27 Thread Ulrich Dangel
* T o n g wrote [25.01.11 18:02]:
Hi,
 
> Question about disk encryption

There is also a thread on reddit about a similar topic.

http://www.reddit.com/r/linux/comments/f9mtk/recommended_full_disk_encryption/

> BTW, I just need a mini how-to about disk encryption, it does not need to 
> be in-depth or comprehensive but rather short and to the point, to allow 
> anyone with a minimum of linux disk encryption knowledge to create 
> encrypted memory sticks, USB disks, or partitions in minutes.

initial setup:
--
cryptsetup luksFormat $DEVICE
cryptsetup luksOpen $DEVICE $NAME
mkfs.$WHATEVER /dev/mapper/$NAME
mount /dev/mapper/$NAME /mnt/

closing:

umount /mnt
cryptsetup luksClose $NAME

open:
-
cryptsetup luksOpen $DEVICE $NAME
mount /dev/mapper/$NAME /mnt

done :)
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Is nss-ldap missing from grml 2010.04 ?

2011-01-02 Thread Ulrich Dangel
* jonty wrote [02.01.11 16:01]:
Hi,
> Hi All,
> 
> I have been using grml for the last couple of months.  I am building a
> network of about 20 machines, all running grml, and I want them to share
> a single set of login names and passwords.  So I decided to configure
> OpenLDAP as a service on one machine and configure the other machines to
> find login+password from this service.

Are you sure grml is the right distribution? It is not meant to be used
as a normal desktop system. If you want to run normal Linux Desktops
just use a normal Distribution like Debian, Ubuntu, RHEL or Opensuse.

> This seems a strange omission from grml.  It contains slapd to run the
> service and several clients such as freeradius-ldap, libnet-ldap-perl,
> postfix-ldap, and smbldap-tools.  So why not libnss-ldap?
 
I think libnet-ldap-perl is a dependency. Postfix ldap i dont know but
we should probably remove it, yes.
  
> I could install libnss-ldap on each client machine.  But then I have to
> repeat those same steps on 20 machines, which makes it 20 times more
> likely I will make a mistake somewhere.
 
You can remaster the cd yourselv via grml-live, use the netscript
bootoption to download a script from some server and execute it or
scripts to run a script from the cd.

> I tried "apt-get install libnss-ldap" on a test machine.  This started
> updating libc-bin and installing locales, which seemed a good way of
> breaking the distro.  

Thats the normal way. And its very unlikely that it will break your
system.

Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] mdadm error during boot

2010-12-14 Thread Ulrich Dangel
* Grischa wrote [14.12.10 23:11]:
> Hi there,
>
> I installed grml to my harddisk and I'm getting a small error during  
> every boot: "mdadm: No arrays found in config file or automatically  
> Mount failed for selinuxfs on /selinux: no such file or directory" I  
> don't know how to fix this. Any suggestions? How do I deactivate the  
> software RAID?

This is not an error just an info messsage. But if you dont use
sowftware raid you just uninstall the software raid (mdadm) package via:

sudo aptitude remove mdadm

Ulrich Dangel
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] GRML HD Install is receiving DHCP address, though static is assigned.

2010-09-24 Thread Ulrich Dangel
* Brandon McGinty wrote [25.09.10 05:32]:
Hi,
> List,
> I've installed GRML on two machines, now.

Just as a side comment, this is not really supported. Best way is to
install debian and add the corresponding grml packages.

> In the /var/log/messages file, I noticed a line about Pump being used,
> though I could find nothing to override or disable it, and no prooff
> that it was making wlan0 use a DHCP address.
 
Run grml-autoconfig and deselect the dhcp option. This should fix the
problem.

If you want to do it manually set CONFIG_DHCP to no in
/etc/grml/autoconfig.local

,[ /etc/grml/autoconfig.local ] 
| CONFIG_DHCP='no'
`

regards,
Ulrich
-- 
twitter: @mr_ud  | identica: @mru
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml autoconfig and kvm network

2010-09-24 Thread Ulrich Dangel
* T o n g wrote [25.09.10 05:04]:
Hi,
> > Is it my kvm problem or grml autoconfig's?
> 
> Most probably it's kvm. Still probing why

The nic specification is missing. So its neither kvm nor
grml-autoconfig problem but incorrect/missing commandline options.

Some examples:
,
| -net nic,model=virtio -net user
| -net nic,macaddr=00:1d:92:ab:3f:73 -net 
tap,ifname=tap2,script=no,downscript=no
`

regards,
Ulrich
-- 
twitter: @mr_ud  | identica: @mru | http://spamt.net/
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml autoconfig and kvm network

2010-09-24 Thread Ulrich Dangel
* T o n g wrote [25.09.10 04:14]:
Hi,
> Hi,
> 
> Whenever I use the '-net user' kvm command-line option, the guest grml 
> will not have the eth0 device.

Yes, because the nic specification is missing.

> According to
> https://help.ubuntu.com/community/KVM/Networking
> 
> ,-
> | By default, if you enable the usermode networking using the '-net
> | user' command-line option, the guest OS will get an IP address in
> | the 10.0.2.0/24 address space and the host OS will be reachable
> | at 10.0.2.2.
> `-
 
The documentation is wrong. The current version of
https://help.ubuntu.com/community/KVM/Networking does not contain this
paragraph anymore. Seems to be fixed since 2010-09-20.

> Is it my kvm problem or grml autoconfig's?

Neither. The the paragraph was wrong. 

regards,
Ulrich
-- 
twitter: @mr_ud  | identica: @mru | http://spamt.net/
IRCNet:  mru | freenode: mrud
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml-live and passwords

2010-08-09 Thread Ulrich Dangel
* T o n g wrote [10.08.10 00:25]:
Hi,
> Ok, then I guess the following is only done half the way, right?
> 
> $ grep -B1 ROOTPW class/GRMLBASE.var
> # root password for the new installed linux system; md5 and crypt are 
> possible
> ROOTPW='x'

AFAIK it is just copied from FAIBASE.var. As the variable is never used
in the grml classes it seems to me that, at least the grml classes, do
not support it directly.
 
> Setting ROOTPW not properly documented in fai-guide
> http://thread.gmane.org/gmane.linux.debian.fai/7612/focus=7618
 
The FAIBASE class supports AFAIK setting the password via the ROOTPW
variable. 
Just have a look at the fai documentation. This has IMHO nothing to do
with grml-live.

Please note that i do not have deep knowledge of grml-live nor of fai.
So maybe you should ask the more general fai related questions on the
fai list or wait until mika is back.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml-live and passwords

2010-08-09 Thread Ulrich Dangel
* T o n g wrote [09.08.10 05:26]:
Hi,
> Hi,
> 
> What's the password for root and user grml by default in the system built 
> by grml-live? 

None.

,[ ./templates/GRML/README.txt ]
| Security considerations for grml
| 
|
| 
|
| 2.) There are no default passwords. All accounts are locked by default.
| Even local logins are not possible (unless you set a password or create
| new user accounts as root).
|
`

> Is it possible that I config grml-live with passwords not 
> in clear text?

It is possible. But it is not directly supported by grml-live, e.g. you would
have to write your own script.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Using grml to build a stacked Debian Live system

2010-07-31 Thread Ulrich Dangel
* T o n g wrote [31.07.10 05:17]:
Hi Tong,
> On Fri, 30 Jul 2010 09:44:13 +0200, Ulrich Dangel wrote:
> 
> >> 4. Install the next layer. This time grml-debootstrap is used instead,
> >> to install all grml-medium packages on top of the current chroot
> >> system.
> >> 
> >>   grml-debootstrap --verbose --arch amd64 --target
> >>   /grml/grml-live/grml_chroot/ . . .
> > 
> > Just to be sure, grml can not be installed with grml-debootstrap. You
> > are just installing a normal debian system.
> 
> OK. Then let's use grml-full / grml-medium / grml-small just as 
> conceptual names for the following unnamed stacked system:

Hm? In your howto grml-small is grml-small as it is installed with
grml-live.

IMHO do not reuse the name grml-{full,medium} as it creates wrong
expectations.

What you can try is to use the package list from grml-live for
grml-debootstrap to install all packages from grml-{medium,full}

Ulrich

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Using grml to build a stacked Debian Live system

2010-07-30 Thread Ulrich Dangel
* T o n g wrote [29.07.10 06:21]:
Hi,

> 4. Install the next layer. This time grml-debootstrap is used instead, to
> install all grml-medium packages on top of the current chroot system.
> 
>   grml-debootstrap --verbose --arch amd64 --target 
> /grml/grml-live/grml_chroot/ . . . 

Just to be sure, grml can not be installed with grml-debootstrap. You
are just installing a normal debian system.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-07-22 Thread Ulrich Dangel
* T o n g wrote [23.07.10 01:50]:
> However, IMHO, it only goes half the way. It still isn't able to solve 
> the problem that I want to boot two different version of grml-medium off 
> the same device. I think a better approach is to use, say boot-signature, 
> which is per boot folder, not per disk.
 
Yes it does not, as this solution is designed for determine the correct
boot medium and has nothing to do with several versions of one flavour
on one disk. It is btw. possible to do this manually without a problem.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-07-22 Thread Ulrich Dangel
On Thursday 22 July 2010 01:04:06 T o n g wrote:

> Sorry I still don't get it.
> 
> Say when grml2usb installing grml-small and generates a bootid of grml-
> small-123. Then when grml2usb installing my own flavour of grml, it
> generates another bootid of my-own-456. Now grml-small expect that the
> bootid is grml-small-123, and mine being my-own-456. My understand is
> that only one of them can boot now. which part I've figured wrong?

All flavours will be adjusted to expect bootid small-123. 

To be more clear:
* No bootid.txt exists on the target - generate one
* read the first line of bootid.txt and use it as bootid
* Adjust bootid parameter on $FLAVOUR to read bootid

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml2usb installation structure consideration

2010-06-19 Thread Ulrich Dangel
* T o n g wrote [17.06.10 19:08]:
Hi,
> [ Other directory layout for grml2usb]
> use directories instead of defined locations, e.g.
> /os/some-thing vs /{live,boot}...

First of all good idea, but this is hard to implement at least with
isolinux, you would still need at least one isolinux directory for all.

Oh and just copying by hand will also not work OOTB with syslinux, you
would need grub for it or extend syslinux.

The problem is that can not be done without proper investigation and
porting all grml specific utils to the new layout, and the layout should
be as similar as possible to the layout of a normal Grml-CD as you do
not want to have two different code base for it.

But I really like the idea.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] get source package from unstable

2010-06-19 Thread Ulrich Dangel
* T o n g wrote [19.06.10 06:11]:
> How can I get source package from unstable when in squeeze? 
> 
> $ apt-get source util-linux /t unstable
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> W: Ignore unavailable target release 'grml' of package 'util-linux'
> E: Unable to find a source package for 
>
> $ apt-get source util-linux /tunstable
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> W: Ignore unavailable target release 'grml' of package 'util-linux'
> E: Unable to find a source package for 
> 
> Why is that?
 
Read the E: line yourself, it says something like:
E: Unable to find a source package for /t
This means /t testing is not interpreted as a option but as a normal
argument. / is typically used in windows for command options but on unix
its typically -.

You should use -t testing for your command and it will work, e.g.
,
| apt-get -t testing source util-linux
`

Oh and make source that you have the corresponding deb-src entry in your
sources.list{.d}

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-06-13 Thread Ulrich Dangel
* T o n g wrote [13.06.10 18:50]:
Hi,
> I mean to ask,
> 
> - what exactly does the bootid stand for?

An id identifying the correct boot device.

> - how does the file /conf/bootid.txt generated?

grml-live, like everything else.

> - how would bootid work with integrating multiple-grml on the same USB?

grml2usb takes care of it. 
Basically the process is:
If no /conf/bootid.txt is present, generate a random id and write it to
/conf/bootid.txt.
Read /conf/bootid.txt and adjust the bootid parameter for every
specified iso.

> Is there somewhere to read more about it?

What do you want to know? IMO it is quite simple, it is an identifier to
identify the system.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] [Grml-devel] bug report from grml-medium

2010-06-09 Thread Ulrich Dangel
* Michael Gebetsroither wrote [09.06.10 20:05]:
Hi,
> > Adding lynx would consume 5,288kB additional disk space.
> > So from my POV it's not really worth adding.
> > What do other users/devs say?
> 
> Not worth 5MB of space, imho, so nack
> 
> If you can use lynx the chance is really high that you also can just use
> apt-get update; apt-get install lynx.

Same opinion. Do not include it.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] can't mount squashfs

2010-05-25 Thread Ulrich Dangel
* John G. Heim wrote [19.05.10 23:44]:
Hi,
> Hi,
> 
> I am trying to modify the grml CD to allow me to include the Dell open 
> management tools. This is so that I can boot from a grml CD and configure 
> the RAID controller on a Dell server.
> 
> I am trying to follow the instructions on the wiki but I can't mount the 
> squashfs.  The error message I get is below. I am trying this on a debian 
> squeeze machine with a 2.6.30 kernel.
> 
> # mount -o loop -t squashfs ./new/live/grml.squashfs  ./loop/
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>missing codepage or helper program, or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
> o...@lambeau:~/grml#I have done 

The problem is that the squashfs file is lzma compressed. It seems that
your kernel does not support this. Just use a grml kernel with the lzma
patches or patch it yourself.

And please have a look at grml-live, you can easily create custom isos
with it.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] hwclock in UTC vs. local time

2010-04-28 Thread Ulrich Dangel
* Darshaka Pathirana wrote [29.04.10 02:10]:
Hi,
> > Okay.. after taking a few seconds to really check what was going on
> > the solution is as simple as:
> > 
> > % hwclock -s --localtime
> > 
> > I've added a localtime module to grml-quickconfig and attached the
> > patch. Hopefully it will find it's way to the package. ;) (I did /not/
> > change the changelog.)
> 
> Tested the new grml-release recently and it seems that the variable
> UTC has been changed to "no" which means the problem moved to systems
> where the hwclock is set to UTC. The solution there would then be:

As we already got several release-candidates its very unlikely that the 
patch will make it into 2010.04.

And to be honest i am not sure if this is something which should be
added to the default grml-quickconig as it is IMHO not as often used
as for example changing the keyboard layout or starting X.

Would you mind to add your patch and problem description to our
bugtracking system  so others can benefit from it
and use your patch?

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Timezone problem

2010-04-19 Thread Ulrich Dangel
On Monday 19 April 2010 11:06:51 Darshaka Pathirana wrote:

> When booting grml on a system where Windows is installed and the
> hardware-clock is set to local time I often get annoyed when finding
> out that the timestamps are all wrong because grml assumes the system
> is set to UTC.
> 
> There might be a boot option to fix this ("grml gmt tz=..." ?) but I
> would prefer such an option somewhere in the start menu.

What do you mean with start menu? Bootloader with several additional 
boot-options for grml  or grml-quickconfig (menu after you booted grml 
allowing easy start/change several things like keyboard layout)?
For the later it should be easily doable to write a new entry. Have a 
look at man grml-quickconfig and the menu entries in /usr/share/grml-
quickconfig/

 
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] zsh for all users

2010-04-19 Thread Ulrich Dangel
* Dietmar Segbert wrote [19.04.10 22:14]:
Hi,
 
> What must i do, that all users use zsh?
 
You have to specify which shell shall be used while creating a new user.
You can do this for example via adduser --shell /bin/zsh

To change the shell after you created the user use chsh and specify
/bin/zsh as shell.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Call for Help: Grml's Download webpage

2010-04-11 Thread Ulrich Dangel
On Sunday 11 April 2010 18:29:02 Chaitat Pattana wrote:
> Hmm... a drop down which will bring user to a mirror download link?
> 
> I am a web programmer so I should be able to help you ... if noone helps
>  you already ... : )

IMHO it should really be more like a wizard, e.g. select 32/64bit, the flavor 
(small/medium/normal) and then probably (?) the version, stable, rc, daily 
images.

And if you want you can also allow to choose the base distribution for the 
daily images (stable/testing/unstable)

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


[Grml] grml-quickconfig behavior

2010-03-31 Thread Ulrich Dangel
grml-quickconfig currently always shows its menu until q or enter is 
pressed. This means if you just start to write a text, or press a cursor
key after booting you will see multiple time grml-quickconfig.

After booting grml now several times i would like to change the 
grml-quickconfig behavior to exit immediately if a wrong key is pressed.

What do you think? Keep the current behavior or change it? Please try
it on our rc1 

Thanks,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml 2009.10: strange behavior of networking script?

2010-03-26 Thread Ulrich Dangel
* Peter Mattern wrote [23.03.10 15:39]:
> What I'd actually expect, is invoke-rc.d networking stop to bring down 
> eth0 already the first time. At least, this behavior can be seen on 
> Debian. Thus, I'm way confused. Is something going wrong here? Am I 
> missing something? Anything else?
 
The dhcp client is not startet via /etc/init.d/networking but via
grml-autoconfig. This means invoke-rc.d networking stop can't do
anything as it was not started to configure the device.

regards,
Ulrich

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Probleme, und kein Licht

2010-03-10 Thread Ulrich Dangel
On Wednesday 10 March 2010 22:04:05 Thomas Schmidt wrote:
> Hi!
> [german]

I replied to Thomas privately. Please note that this is a english mailinglist, 
as documented in http://grml.org/mailinglist/

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] GRML-Medium in VirtualBox- obsolete.

2009-11-17 Thread Ulrich Dangel
On Tuesday 17 November 2009 20:05:50 Vivek Sharma wrote:
Hi,

Please reply to the mailing list as other may have the same problem or someone 
else could answer your questions.

> On Sun, Nov 15, 2009 at 8:29 AM, Ulrich Dangel  wrote:
> > On Saturday 14 November 2009 18:17:21 Vivek Sharma wrote:
> > > I have installed grml-medium 2009.10 in VirtualBox on windows7. I am
> > > not able to share-folder on host machine, a step before i am not able
> > > to install Guest-Addition on my guest-os, i click devices>install guest
> > > addition, nothing shows up. Some post said i need to install some
> > > kernel-patch in grml. anyone any idea.
> >
> > The Virtualbox guest-additions are already available in grml. Just run as
> > root:
> > aptitude update
> > aptitude install virtualbox-ose-guest-modules-2.6.31-grml (or grml64 if
> > you
> > use grml64)
> 
> i have done this, do i have install the script after this, when you mount
> the guestAddition.iso and run the script. If yes, where will that script be
> stored.

What script? You do not need the guestAddition.iso as everything needed is 
already included in debian/grml.

> If no thanks. but its still not working.

It should have worked. Please install virtualbox-ose-guest-utils and run:
/etc/init.d/virtualbox-ose-guest-utils start
or load the vbox kernel modules manually.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] GRML-Medium in VirtualBox- obsolete.

2009-11-14 Thread Ulrich Dangel
On Saturday 14 November 2009 18:17:21 Vivek Sharma wrote:

> I have installed grml-medium 2009.10 in VirtualBox on windows7. I am not
> able to share-folder on host machine, a step before i am not able to
>  install Guest-Addition on my guest-os, i click devices>install guest
>  addition, nothing shows up. Some post said i need to install some
>  kernel-patch in grml. anyone any idea.

The Virtualbox guest-additions are already available in grml. Just run as 
root:
aptitude update
aptitude install virtualbox-ose-guest-modules-2.6.31-grml (or grml64 if 
you 
use grml64)

> how do i resolve this, is there something else i have to install, than
> linux-headers-generic like linux-headers or linux-headers-2.6.31-grml

It should be enough to just install the provided guest-modules. 

You can also build the guest modules yourself (not recommend), just 
install 
virtualbox-ose-guest-source and kernel headers for your current kernel. 
Then 
you can use module-assistent to build the virtualbox guest-additions for 
your current kernel.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] X11 forwarding

2009-01-27 Thread Ulrich Dangel
On Tuesday 27 January 2009 20:10:00 m...@mythic-beasts.com wrote:

> Thank you. I tried this just now but stil the $DISPLAY is not set on PII.

Do you have xauth installed on the server? Its needed for correct 
X11Forwarding.
Can you please connect via ssh -vX and provide the output?

Uli

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] X11 forwarding

2009-01-27 Thread Ulrich Dangel
On Tuesday 27 January 2009 17:37:10 Maurice McCarthy wrote:
Hi,

> I must have a misconfiguration somewhere on the PII.

You just have to enable X11Forwarding in your sshd_config.
Just put 
,
| X11Forwarding yes
`
in your /etc/ssh/sshd_config and reload the ssh daemon.

Uli

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Booting with grub on usb-flash-pen

2007-07-04 Thread Ulrich Dangel
On Wednesday 04 July 2007 23:20:57 Morten Christensen wrote:
>
>
> Because of that problem, I tried an grml2hd install on the flashpen, and
> now I have en ordinary grub bootmanager to work with and not syslinux.

To have grub on a boot cd just read 
http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD-ROM.html
 
and have fun. This works pretty forward.

> --
> Morten Christensen

Uli
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Chat o. ä von einem Rechner zum anderen im LAN

2007-04-12 Thread Ulrich Dangel
* Andreas Kalex wrote [12.04.07 23:37]:
Hi,
> Hallo,
> 
> wie kann ich in einem einfachen Netz (192.168.0.x) am einfachsten von
> einem Rechner zu einem anderen chatten bzw. Nachrichten
> senden/empfangen. Z.B wenn man jmd. anweisen möchte welche Tasten,
> Menus etc er aufrufen soll.
> Benötige ich einen chat-server oder irc-server?

Ja, irgendeine Art von Dienst. 

Sei es entweder netcat mittels:
,
| netcat -l -p 1234 
`
auf der Serverseite und 
,
| netcat $ip 1234 
`
auf der Clientseite oder einfach irgendein talk client && Server.

Dann kannst Du einfach talk(d)/ytalk installieren, und dann mit anderen
kommunizieren.

Achja, wenn Du windows Client hast, dann kannst Du mittels smbclient -M
kommunizieren. Und wenn Du deine smb.conf entsprechennd konfiguriert
hast (message command) geht auch das chatten mittels smb messages.


Uli
-- 
ES BRENNT!
Der Ingenieur steht auf, schnappt sich den Feuerlöscher, schäumt
das ganze Zimmer ein. Das Feuer ist gelöscht und er legt sich wieder schlafen.
Der Physiker steht auf, rechnet, schnappt sich den Feuerlöscher,
löscht mit drei kurzen Sprühstößen das Feuer und legt sich wieder schlafen.
Der Mathematiker steht auf, rechnet, beweist, daß er mit Hilfe des
Feuerlöschers den Brand löschen könnte und legt sich wieder schlafen.
___
Grml mailing list - [EMAIL PROTECTED]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] hints about grml 0.9 on HD and ipw3945

2006-12-14 Thread Ulrich Dangel
* Michael Prokop wrote [14.12.06 15:19]:
Hi,
> Notice a problem with /etc/resolv.conf? I couldn't debug it in
> detail due to lack of time but the problem definitely goes away if
> you do not use the package resolvconf, so just run:
> 
> # apt-get --purge remove resolvconf

Hm, no, please :)

Just issue the command
,
| resolvconf -d $INTERFACE
`

The problem is when you use dhclient or something like that which
modifies resolv.conf with resolvconf it generates an entry in
/etc/resolvconf/run/interfaces/$INTERFACE but ifup/ifdown generates an
entry named $INTERFACE.inet $INTERFACE.dhcp so $INTERFACE will never be
overwritten.

A solution is to have an entry in /etc/network/interfaces

,[ /etc/network/interfaces ]
| iface dhcp inet dhcp
`

and use ifup $INTERFACE=dhcp

> regards,
> -mika-

Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] grml - slow at the end of booting

2006-11-29 Thread Ulrich Dangel
* roland wrote [29.11.06 23:03]:
> Hello !
 
Hi,

> I often use grml on old machines and inside VMware virtual machines.
> 
> works very well, but depending on the hardware, in the end of the boot
> there is a long delay between "Happy hacking!..." and a shell being
> opened.
 
> it´s between 5-15 seconds delay, maybe i have seen even longer delays, but 
> didn`t stop.
> this is somewhat annoying if you boot into grml several times a day.
> 
> what is causing this delay? 
> can we speed this up somehow ?
 
If you run vmware on linux there is is a problem with the cstate the
processor is running.

Try to run 
,
| echo 1 > /sys/module/processor/parameters/max_cstate
`

You can reset this with
,
| echo 8 > /sys/module/processor/parameters/max_cstate
`

> roland

Probably this helps to speed up the vms,
Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Console screen rotation

2006-11-27 Thread Ulrich Dangel
* Mark wrote [27.11.06 07:43]:
Hi,
> 
> > So one solution is to create a startup script which change
> > /sys/class/graphics/fbcon or add a boot parameter.
> 
> Consider a lilo.conf stanza like
> 
> image=/boot/vmlinuz-2.6.17-grml
> label="grml-hires"
>   append="grml_from_hd noswap video=vesafb:[EMAIL PROTECTED] "
>   read-only
>   vga=775
>   initrd=/boot/initrd.img-2.6.17-grml
> 
> How would you add a boot parameter for console rotation? (syntax please)
 
append="grml_from_hd noswap video=vesafb:[EMAIL PROTECTED] fbcon=rotate:$number"
e.g.
append="grml_from_hd noswap video=vesafb:[EMAIL PROTECTED] fbcon=rotate:1"

> M.

HTH
Uli
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Console screen rotation

2006-11-26 Thread Ulrich Dangel
* Mark wrote [27.11.06 00:52]:
Hi,
> Is there a way to boot grml with the screen rotated.  Once X starts
> there is xrandr, but console is puzzling.
 
Have a look at linux/Documentation/fb/fbcon.txt

,
| 4. fbcon=rotate:
|  
| This option changes the orientation angle of the console display. The
| value 'n' accepts the following:
|
|   0 - normal orientation (0 degree) 
|   1 - clockwise orientation (90 degrees) 
|   2 - upside down orientation (180 degrees)
|   3 - counterclockwise orientation (270 degrees)
| 
| The angle can be changed anytime afterwards by 'echoing' the same
| numbers to any one of the 2 attributes found in
|  /sys/class/graphics/fbcon
|
| rotate - rotate the display of the active console
| rotate_all - rotate the display of all consoles
| 
| Console rotation will only become available if Console Rotation
| Support is compiled in your kernel.
|
| NOTE: This is purely console rotation.  Any other applications that
| use the framebuffer will remain at their 'normal'orientation.
| Actually, the underlying fb driver is totally ignorant of console
| rotation. 
`

So one solution is to create a startup script which change
/sys/class/graphics/fbcon or add a boot parameter.

> M.

HTH
Uli

-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Sugestion - zsh logout

2006-11-25 Thread Ulrich Dangel
* Mark wrote [26.11.06 04:48]:
> > > [ wipe HISTFILE ]  
> > Why dont just set SAVEHIST to zero or set HISTFILE to /dev/zero.
> 
> Yes that works.  Some people do.  It's less secure but works.
 
What is the different? If you wipe HISTFILE in /etc/zlogout a user could
change in $HOME/.zlogout histfile and you wipe nothing. If you set
HISTFILE to /dev/null in /etc/zshrc a user can change it in
$HOME/.zshrc, where is the difference? 

> > > Very appropriate for mobile USB devices that change hands (or get
> > > lost!).
> > 
> > why you dont just encrypt
> 
> We do, of course.  The command line history is a security leak in its
> own right (orthogonal to disk encryption), much like swap space.  

Hm, there is a big difference. In the swap space there resits user data
like Documents Contents, Passwords and so on. Oh ok, if you use
something like echo grml:totalysecret | chpasswd there is a information
leak. Yeah your right, but i dont think that you can compare swap space
with command history.

> Google
> for info, if the problems seem non-obvious.  We just wanted to second
> the idea of "do something," whatever it may be.

Yeah, but wiping HISTFILE in zlogout doesnt change anything. I
personally think adding clear to zlogout should be enough. 

> Thanks,
> 
> M.

Uli
-- 
Ob Bundes-Internetbeauftragter, Landes-Internetminister oder
Green-Card-Regelung: Kein Politiker, der sich als zukunftsorientiert
präsentieren will, kann sich den Themen Internet und EDV entziehen.
-- Heise Newsticker
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Debian repos based on locale

2006-11-25 Thread Ulrich Dangel
* Mark wrote [26.11.06 04:41]:
> Default apt sources for grml are .de & .at domains.  For grml proper,
> ok.  For external Debian packages, default apt sources based on locale
> would be nice.  (Debian.org subdomains make this fairly easy, yes?)

Hm, netselect-apt should make this pretty easy, i think. Btw. it is not
as easy as you think. For example multi user systems which different
locales for different user. Which should be the default mirror and so
on.

> The user should get continental selection between Europe, Africa, Asia,
> North America, South America.  The big problem is going over ocean
> cables for apt updates.
> 
> No need for separate files.  Have all repos listed in one file,
> commented out.  Scripts like grml2hd can comment-in as appropriate to
> finalize.

One easy solution would be run 
,
| netselect-apt -o /tmp/sources.list && 
| cat /tmp/sources.list >> /et/apt/sources.list && 
| rm /tmp/sources.list
`
and have no debian sources in /et/apt/sources.list

Please note that this have a litte problem, if /tmp/sources.list is a
symlink to another file. So if you want to use this in productive
environment please use mktemp.

Btw. if you use this solution, the problem is that you must have a
network connection that this will work.

> M.

Uli
-- 
Kräht der Bauer auf dem Dach, liegt der Hahn vor Lachen flach.
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Sugestion - zsh logout

2006-11-25 Thread Ulrich Dangel
* Mark wrote [26.11.06 04:28]:
> > Small suggestion :
> > in the /etc/zsh/logout I added the small word 
> > 
> > "reset"
> > 
> > which automatically leaves a clean console when logging out.
> > I like that and nobody nosing around. also security concern. 
 
clear should be the right way, because reset resets also the terminal
settings, which may be not that what you want to have.

> We second the idea.  (Maybe diskwipe the zsh history?)

Why dont just set SAVEHIST to zero or set HISTFILE to /dev/zero.

> Very appropriate for mobile USB devices that change hands (or get
> lost!).

Hm, i dont know whats the problem with the history of commands you used,
but why you dont just encrypt $HOME, or $TMP or whatever you need? This
would also the right way if you think about mobile devices which could
get lost and private data could leak.

> M.

Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] ipw2200 monitor mode

2006-11-03 Thread Ulrich Dangel
* carli graph wrote [03.11.06 11:35]:
Hi,
> i have [EMAIL PROTECTED], ipw2200 modules -1.0.8 with 
> linux-headers-2.6.16-grml, so
> i think it's grml 0.7 and don't know witch driverversion...
 
modinfo ipw2200

> and monitor mode doesn't work:
> 
> # iwconfig eth0 mode monitor
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device eth0 ; Invalid argument.
> 
> please, does anyone know how to get working this?
 
Use a newer kernel, or just run apt-get update && apt-get dist-upgrade
The upgrade should run without any problems.

The problem is, that in this kernel release the monitor mode isn't
enabled in the source, so you could not put the card in the monitor mode
if you are using the ipw2200 driver from vanilla. You have to manually
patch the source, build you're own driver, or upgrade :)


> thanks, markus.

Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Calculators

2006-11-02 Thread Ulrich Dangel
* Michael Schierl wrote [02.11.06 22:58]:
Hi,
> and (how) can I reference previous outputs? I can name them beforehand
> but if I do it is lots more to type. Using screen or gdm to copy the
> value is not better either.
> 
> -
> >>> 0xAFFE
> 45054
> >>> previous * 2
> Traceback (most recent call last):
>   File "", line 1, in ?
> NameError: name 'previous' is not defined
> >>>
> -

You just can do 0xAFFE*2 or something like
variable=0xAFFE
variable*2

Btw. ipython is much nicer for such stuff, there you can access the last
output with _ and the previous with __ and so on. _i is the last input
and __i is the previous 

So you can easily calculate :)

Uli
-- 
Was an Büchern mit am besten ist: Manchmal sind da ganz phantastische Bilder 
drin.
George Walker Bush in U.S. News & World Report, 3. Januar 2000
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Is accessing striped "dynamic disks" from GRML possible?

2006-11-02 Thread Ulrich Dangel
* Michael Schierl wrote [02.11.06 22:14]:

Hi Michael,

i resend this to the list, because probably you get some cool and nice
suggestions for an console calculator :)

> 
> Windows Internal, but it works...
> 
 
Nice :-)

> > Try the link above and build it on you're own. 
> But: What calculator to use in grml for all that hex/decimal conversions
> (and multiplications and additions)?  

Try python. Just enter 0xfa or something and you get the corresponding
decimal value.

If you want the hex value of a decimal number, use hex($numer) and it
works.

You can calculate with hex values in bc when you set the base. Just do
an ibase=16 and it should work.

> There is no orpie (great console RPN calculator) and GNU Calculator
> for Emacs is not there either. Okay, dc/bc is there, but I don't know
> (and could not figure out by grepping the man page) how they can
> handle hex numbers...

Hm, i just tried orpie and i think python is much nicer, especially if
you use ipython.

> libgcc and libstdc++ are too old when "dpkg -i"-ing it from the
> grml-0.8 CD. Thanks anyway.

Hm, i used grml 0.8.3 or something like that, and it worked out of the
box. I can rebuild it, if you really need it.
 
> Michael

Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Is accessing striped "dynamic disks" from GRML possible?

2006-11-02 Thread Ulrich Dangel
* Michael Prokop wrote [02.11.06 16:10]:
Hi,
> * Michael Schierl <[EMAIL PROTECTED]> [20061101 19:15]:
> 
> > I wanted to rescue some files from a broken Win2000 install with grml.
> > The data to rescue were stored on a striped partition on a dynamic disk
> > (Windows' equivalent to a software raid0).
> 
> Running on fakeraid? [ http://linux-ata.org/faq-sata-raid.html ]
 
No. dynamic disk is the equivillant on the windows side to the software
raid, which you assemble with mdadm. Fakeraid is done by the driver
itself, and dynamic disk is done by windows itself. Yes, windows has
such things to, oh and you can also "mount" disks to some directorys...

You can get the software which is needed to access such a dynmic disc
from http://www.linux-ntfs.org/cvs/vc/dynamic-disk/ But i dont know how
good it works.

> [...]
> > Does anyone know a way to access these files from grml? Or is it
> > impossible to do this from Linux and I have to include a BartPE disk in
> > my rescue disk set as well?
 
Try the link above and build it on you're own. 
Just do an
,
| cvs -d:pserver:[EMAIL PROTECTED]:/cvs/linux-ntfs login
`
and 

,
| cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/linux-ntfs co -P dynamic-disk   
   
`

I've just build a .deb for this package, you can get it from
http://schu.la/grml/dynamic-disk_0.8-1_i386.deb 
Note: I didnt test it, because i dont have any windows partitions right
here. Hope that helps someone

> regards,
> -mika-

Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Starting domain name service bind failed

2006-10-31 Thread Ulrich Dangel
* T wrote [01.11.06 00:48]:
Hi,

> If I restart it again, I get back the same error:
> 
>  % /etc/init.d/bind9 restart
>  Stopping domain name service...: bindrndc: connection to remote host closed
>  This may indicate that the remote server is using an older version of 
>  the command protocol, this host is not authorized to connect,
>  or the key is invalid.
>   failed!
>  Starting domain name service...: bind failed!
 
Ok, this meens, the key which rndc uses to stop the server is wrong.

> Any explanation? 

To start the server, there is no key needed. If you stop it, a key is
needed. So the rndc key is wrong. 
I have also a solution, do an 
,
| mv /etc/bind/rndc.conf /etc/bind/rndc.conf.org
`

Btw. this is _not_ a bug in the debian package. The  problem is imho, that grml
ships that file.

> thanks

HTH
Uli
-- 
WARNING: RAID-6 is currently highly experimental. If you use it, there is 
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush. 
/usr/src/linux/drivers/md/Kconfig - 2.6.8
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: ndiswrapper in grml-small?

2006-10-13 Thread Ulrich Dangel
* Ulrich Dangel wrote [13.10.06 18:28]:
Hi,

Oh, btw. i forgot to mention, you can also just put youre deb files
under /cdrom/debs/ and use the debs boot para...

Uli
-- 
You will gain money by an illegal action.
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: ndiswrapper in grml-small?

2006-10-13 Thread Ulrich Dangel
* Celejar wrote [13.10.06 17:59]:
Hi,

If you use the scripts boot para, this is pretty easy.

Create a directory called scripts in the top of the cdrom, and put a
shell script named grml.sh on it.

You can now install packages or other stuff from this shell script. You
can also put the .deb itself on the cdrom and just run 
,
| dpkg -i /cdrom/$deb-package.deb
`


> Celejar

Hope this helps.
Uli
-- 
Schade, jetzt kommt nix mehr.
-- Klaus Knopper
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] Re: Linux RTC init error in ioctl (rtc_irqp_set 1024)

2006-10-08 Thread Ulrich Dangel
* T wrote [08.10.06 16:50]:
Hi,
> PS. So far I think the conclusion is the x11 video driver (-vo x11), is
> w to slow. Hope we can get -vo xvidix fixed soon...
 
Try -vo xv

> thanks

HTH
Uli
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/