Re: What has happened to proof reading? (was ... Re: root user)

2013-09-04 Thread William Hopkins
On 09/05/13 at 02:31am, Chris Bannister wrote:
 On Tue, Sep 03, 2013 at 03:45:49PM -0400, William Hopkins wrote:
  
  A top poster is surely not one to talk about grammar :P
 
 What's worse a top poster who doesn't trim or a bottom poster who
 doesn't trim?
 

Dunno. I trimmed!

-- 
Liam


signature.asc
Description: Digital signature


no soundcards found...

2013-09-03 Thread William Hopkins
Hi all,

Having some issue getting sound working on a box, thought I'd reach out to the 
list. I'm sure I'm missing something obvious (:

System is up to date, but has no sound. Info follows.. 


 * Symptoms:

$ aplay -l
aplay: device_list:235: no soundcards found...

$ aplay -L
null
  Discard all samples (playback) or generate zero samples (capture)

$ alsamixer
cannot open mixer: No such file or directory



 * Config and system info:

$ ls ~/.asoundrc
ls: cannot access /home/user/.asoundrc: No such file or directory

$ lspci|grep audio
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio 
Controller (rev a2)

$ lspci -vn
[...]
00:04.0 0401: 10de:0059 (rev a2)
Subsystem: 10de:cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
I/O ports at f000 [size=256]
I/O ports at ec00 [size=256]
Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: Intel ICH
[...]

$ lsmod|grep -iE '(sound|snd)'
snd_intel8x0   19595  0 
snd_ac97_codec 79152  1 snd_intel8x0
ac97_bus 710  1 snd_ac97_codec
snd_pcm47226  2 snd_intel8x0,snd_ac97_codec
snd_seq35463  0 
snd_timer  12270  2 snd_pcm,snd_seq
snd_seq_device  3673  1 snd_seq
snd34423  6 
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore   3450  1 snd
snd_page_alloc  5045  2 snd_intel8x0,snd_pcm

$ dpkg -l|grep -i alsa
ii  alsa-base1.0.23+dfsg-2ALSA 
driver configuration files
ii  alsa-utils   1.0.23-3 
Utilities for configuring and using ALSA
ii  libasound2   1.0.23-2.1   
shared library for ALSA applications
ii  libasound2-doc   1.0.23-2.1   
developer documentation for user-space ALSA application programming
ii  linux-sound-base 1.0.23+dfsg-2base 
package for ALSA and OSS sound systems

$ uname -mr
2.6.32-5-686 i686

-- 
Liam


signature.asc
Description: Digital signature


Re: strange bash behavior

2013-09-03 Thread William Hopkins
On 09/02/13 at 08:29am, David Guntner wrote:
 Darac Marjal grabbed a keyboard and wrote:
  On Mon, Sep 02, 2013 at 08:06:17AM -0700, David Guntner wrote:
  Matej Kosik grabbed a keyboard and wrote:
 
  What do you mean by appears in a subshell?
  
  From man 1 bash:
  (list) list  is  executed in a subshell environment (see COMMAND EXECU‐
 TION ENVIRONMENT below).  Variable assignments and builtin  com‐
 mands  that  affect  the  shell's  environment  do not remain in
 effect after the command completes.  The return  status  is  the
 exit status of list.
 
 Ok, I'm still not following you.
 
 What, exactly, is it that you are doing at your keyboard, in order to
 run it in this subshell?  I'm assuming that in your main one you're
 just typing the expression and hitting enter.  So what are you doing
 when the second example fails?

Respectfully, read the snippet from bash(1) he provided. Commands in
parentheses are executed in a subshell. which is a second instance of bash
with its own (inherited) working environment. If you're not a bash person,
that's OK, but don't reply to bash questions (:

-- 
Liam


signature.asc
Description: Digital signature


Re: strange bash behavior

2013-09-03 Thread William Hopkins
On 09/03/13 at 03:45pm, Joe Pfeiffer wrote:
 Stephen Powell zlinux...@wowway.com writes:
 
  Interesting.  If break appears out of context, you should get
  an error message something like:
 
 bash: break: only meaningful in a 'for', 'while', or 'until' loop
 
  You didn't get an error message, so part of bash thinks it is in context.
  Yet it did not exit the loop.  It seems to me that you should get one
  behavior or the other.  Either you should get an error message or it
  should exit the loop.
 
 Good point -- it is odd that it isn't giving the error message.

The loop context is inherited by the subshell, so break thinks it is fine. It
is only that it is totally meaningless to break there, since that signal cannot
be captured by parent shell environment. 

This seems to be expected behavior..

-- 
Liam


signature.asc
Description: Digital signature


Re: What has happened to proof reading? (was ... Re: root user)

2013-09-03 Thread William Hopkins
On 09/03/13 at 10:02am, Verde Denim wrote:
 On Sep 3, 2013 9:00 AM, Chris Bannister cbannis...@slingshot.co.nz
 wrote:
 
  On Tue, Sep 03, 2013 at 09:53:25AM +0200, Ralf Mardorf wrote:
   On Sun, 2013-09-01 at 21:27 +0200, Tony Baldwin wrote:
On Mon, Sep 02, 2013 at 05:40:22AM +1200, Chris Bannister wrote:
 On Sun, Sep 01, 2013 at 11:05:12PM +0700, st wrote:
 
  Edit /etc/aliases to add a line saying,
 
  root:   youraddr...@of.choi.ce
 
  and run the newaliaces command.

 Hey, c'mon guys! Can you please check what you type BEFORE hitting
  send.

to clarify, that should be
newaliases
  
   The word looks that bizarre that even I didn't miss t and I'm a
   dyslexic. Typos could happen.
 
  All the more reason to be extra diligent!
 
 Typos could happen.  And tea is at 4... ;)

A top poster is surely not one to talk about grammar :P

-- 
Liam


signature.asc
Description: Digital signature


Re: What has happened to proof reading? (was ... Re: root user)

2013-09-03 Thread William Hopkins
On 09/03/13 at 10:40pm, Lisi Reisz wrote:
 On Tuesday 03 September 2013 20:45:49 William Hopkins wrote:
  A top poster is surely not one to talk about grammar :P
 
 He didn't talk about grammar.  He quoted someone else and made a joke about 
 tea.
 

You've got me there, but I wasn't sure how else to put it. Just teasing, either 
way.

-- 
Liam


signature.asc
Description: Digital signature


Re: no soundcards found...

2013-09-03 Thread William Hopkins
On 09/03/13 at 02:46pm, Gregory Nowak wrote:
 On Tue, Sep 03, 2013 at 03:31:11PM -0400, William Hopkins wrote:
  Having some issue getting sound working on a box, thought I'd reach out to
  the list. I'm sure I'm missing something obvious (:
  
  System is up to date, but has no sound. Info follows.. 
 
 Try installing the firmware-linux package if you don't have it
 already. It's possible your card requires firmware to function.
 

Done, no effect. Output of all commands remains the same.

-- 
Liam


signature.asc
Description: Digital signature


Re: no soundcards found...

2013-09-03 Thread William Hopkins
On 09/03/13 at 08:58pm, Gregory Nowak wrote:
 On Tue, Sep 03, 2013 at 08:14:24PM -0400, William Hopkins wrote:
  Done, no effect. Output of all commands remains the same.
 
 Ok. I had another look at your original message, and notice you seem
 to be doing all this as a regular user. So, let's take a step back in
 that case. Are you able to do all this as root? If yes, then you
 probably just need to add your regular user account to the audio group.
 
Oh, I was performing many of the necessary steps as root, but you're quite
right. Everything is working normally but my user can't access the associated
devices. Thanks for the much-needed injection of common sense!

-- 
Liam


signature.asc
Description: Digital signature


Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread William Hopkins
On 07/22/13 at 08:23am, Stephen P. Molnar wrote:
   2013/7/22 emmanuel segura emi2f...@gmail.com
   2013/7/21 William Hopkins we.hopk...@gmail.com
   On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
In the case of Debian 7.1.0 the vmware tools installed without
any
   problems.
   
Unfortunately, this was not the case with Debian Testing.  the
tools installed without any problems, but when the installer ran
/usr/bin/ware/vmware.config.tools.pl there were errors:
   
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration: [71G done
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
   Blocking file system: [71Gfailed
/etc/init.d/vmware-tools: 1187: local: ': bad variable name
   Guest operating system daemon: [71G done
Unable to start services for VMware Tools
 The lines in question are:
   
1090   local run_kver=`get_version_integer`
   
and
   
1187local run_kver=`get_version_integer`
  
   Can you provide the vmware.config.tools.pl from your system?
   Can you `type get_version_integer`? if it's referenced in that
   script, can you
   provide it also? Sounds like an unescaped quote in one of these
   scripts, might
   have to identify the maintainer and bugreport upstream.
  
   Also, didn't you post this recently, with a longer log? Is this
   the same issue?
  
   Hello List
  
   Maybe i wrong but i think the error is local
   run_kver=`get_version_integer`  the script calls
   get_version_integer like external command, but it's a function
  
 
 Thanks for you  reply and suggestion.  Unfortunately, diffuse show
 no differences between the two /etc/init.d/vmware-tools files.

Did I miss it, or have you provided the script I requested? 


-- 
WIlliam


signature.asc
Description: Digital signature


Re: unable to mount a vfat filesystem.

2013-07-21 Thread William Hopkins
On 07/18/13 at 01:14pm, Tony van der Hoff wrote:
 On 18/07/13 11:48, atar wrote:
  
  Note: it's worth to note here that I'm using at the Live version of
  Debian from the Debian Live Project.
  
 
 No, you're not:
 User-Agent: Opera Mail/12.15 (Win32)
 
 

That was remarkably unfriendly and unhelpful. Surely you're not accusing atar
of anything?

-- 
William


signature.asc
Description: Digital signature


Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-21 Thread William Hopkins
On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
 In the case of Debian 7.1.0 the vmware tools installed without any problems.
 
 Unfortunately, this was not the case with Debian Testing.  the tools
 installed without any problems, but when the installer ran
 /usr/bin/ware/vmware.config.tools.pl there were errors:
 
 Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
 /etc/init.d/vmware-tools: 1090: local: ': bad variable name
 /etc/init.d/vmware-tools: 1090: local: ': bad variable name
Blocking file system:failed
 /etc/init.d/vmware-tools: 1187: local: ': bad variable name
Guest operating system daemon: done
 Unable to start services for VMware Tools
  The lines in question are:
 
 1090   local run_kver=`get_version_integer`
 
 and
 
 1187local run_kver=`get_version_integer`

Can you provide the vmware.config.tools.pl from your system?
Can you `type get_version_integer`? if it's referenced in that script, can you
provide it also? Sounds like an unescaped quote in one of these scripts, might
have to identify the maintainer and bugreport upstream. 

Also, didn't you post this recently, with a longer log? Is this the same issue?

-- 
William


signature.asc
Description: Digital signature


Re: Gnome doesn't save brightness setting

2013-07-21 Thread William Hopkins
On 07/21/13 at 11:02am, Amandeep Singh wrote:
 Hi,
 
 I am using Debian wheezy on my lenovo t430 laptop. And each time I start my
 laptop, it starts in full brightness mode, and each time I have to reduce
 it. I am tired of doing this. Does anyone know any solution. Is this a
 known bug, or am I the only person experiencing it?

Hi Deep,

I find most laptops don't remember brightness settings. You can add a setting
to your .xsession or similar to set it on X startup. How you do this varies on
what command tool changes brightness on your laptop and what your X environment
is like. 

-- 
William


signature.asc
Description: Digital signature


Re: Grub 2.00 in testing?

2013-07-21 Thread William Hopkins
On 07/20/13 at 08:43pm, Carl Johnson wrote:
 Does anybody know what is going on with grub in testing?  I have been
 waiting for 2.00, but it seems to be stuck at 1.99.  Grub-common at
 http://packages.debian.org/jessie/grub-common shows that it is at
 1.99-27+deb7u1, but the source files show 2.00-14.  The qa page at
 http://packages.qa.debian.org/g/grub2.html shows that 2.00-14 was
 migrated to testing on 2013-06-14, so there appear to be some
 inconsistancies.
 

No idea. Maybe ask debian-dev?

-- 
William


signature.asc
Description: Digital signature


Re: Monitor network download speed

2013-07-21 Thread William Hopkins
On 07/20/13 at 08:59am, Joe Riel wrote:
 Any recommendations for a graphical tool to monitor, real-time,
 the download network speed.  My connection to work frequently
 gets really slow, in which case I need to disconnect and reconnect.
 I currently use the gnome network monitor tool, however, its 
 display of Network History connection speed is buggy.  Right now,
 the vertical axis labels are:
 
 00.0 KiB/s
 20.0 KiB/s
 40.0 KiB/s
 60.0 KiB/s
 80.0 KiB/s
 00.0 KiB/s
 
 The fastest is supposed to be on the top, but what speed is it?
 I have no idea.  This happens all the time.  Other times I see
 all labels being 0.00 KiB/s.  Even when the labeling is correct,
 the scaling is usually bad, so the entire graph extends to all
 1/5 the height.  
 
 There must be a better application.

I like nload in the console. 

-- 
WIlliam


signature.asc
Description: Digital signature


Re: any way to get the mouse position on two places on the screen?

2013-07-21 Thread William Hopkins
On 07/20/13 at 09:55pm, Albretch Mueller wrote:
  Anyway I was trying to be the possibly least verbose I could. 

Whoever told you this was a good idea was lying. Be more verbose. 


 Since I need to do some screen capture based on ffmpeg I need to know the
 pixel coordinates of the a rectangle on my screen and the easiest way I could
 think of getting that info is by positioning the the mouse at those two
 different places, in which case I would be physically constrained of doing it
 at the same time, no?

Probably not, now that you've listed the actual issue. I don't know why you
need to know both at once.. get one, then get the other? Or does the rectangle
move?

Can you be more verbose?

-- 
William


signature.asc
Description: Digital signature


Re: VLC commandline problems in Wheezy

2013-07-21 Thread William Hopkins
On 07/20/13 at 02:46pm, Intense Red wrote:
I have a Wheezy (with the deb-multimedia.org repository) computer running 
 a 
 KDE desktop as a HTPC. I use VLC to watch videos.
 
If I run KDE's default VLC invocation, /usr/bin/vlc VideoFileName.ext, 
 VLC will run fine, popping up in a window on the desktop.
 
However, if I run my own call of VLC, /usr/bin/vlc VideoFileName.ext --
 fullscreen --play-and-exit --no-repeat, then VLC will not load.
 
The setup using commandline parameters has worked fine in the past (this 
 machine has been running Wheezy since its testing days), so I'm thinking this 
 is a change/bug caused by some recent update.
 
Has anyone else experienced oddities with VLC using commandline parameters?
 

No, sorry. But I'd be glad to help you troubleshoot.. what calls VLC, and does
it have any logging? What happens if you run that command manually (via SSH,
for example, assuming you have it configured so you can run X utilities over
SSH)

-- 
WIlliam


signature.asc
Description: Digital signature


Re: libGL.so.1 and nvidia drivers

2013-07-21 Thread William Hopkins
On 07/16/13 at 09:13pm, Brad Alexander wrote:
 I'm using the nvidia drivers from the repos on a sid machine. They were
 just upgraded to the long-term 319.32-1 from the repos. However, I have
 cisco's anyconnect, and when I launch it, I get
 
 $ /opt/cisco/anyconnect/bin/vpnui
 /opt/cisco/anyconnect/bin/vpnui: error while loading shared libraries:
 libGL.so.1: cannot open shared object file: No such file or directory
 
 However, the library is installed (part of libgl1-nvidia-glx), even though
 it does not appear in ldconfig -v, and through a whole series of
 /etc/alternatives symlinks,

On a different troubleshooting tack, why are you running a UI that requires
OpenGL? I've found that the vpnc package works just fine for Cisco VPNs.

-- 
WIlliam


signature.asc
Description: Digital signature


Re: Why do I have wpasupplicant installed if I don't have a wifi interface?

2011-11-17 Thread William Hopkins
On 11/14/11 at 10:22am, Ralf Mardorf wrote:
 On Mon, 2011-11-14 at 03:43 -0500, Rick Thomas wrote:
  Can anybody tell me why I have wpasupplicant installed, even though I  
  don't have a wifi interface on this machine?
  
  The machine has a single 10/100 twisted pair ethernet interface which  
  is configured static in the /etc/network/interfaces file.  It does  
  not have any wifi hardware, and (consequently?) no wifi mentioned in  
  interfaces...
  
  If I try to deinstall wpasuplicant, it then wants to also remove  
  network-manager and network-manager-gnome.  Should I just let it?   
  What would be the consequences if I do?
  
  Thanks!
  
  Rick
 
 Try a dummy package. You can build dummy packages with equivs.
 
 http://www.debian.org/doc/manuals/apt-howto/ch-helpers.en.html
 
 No knowledge is needed, it just takes a minute.
 
 I replaced some pulseaudio packages for gnome-core and this didn't cause
 any issue, but note, dummy packages could cause issues ;).
 

This amuses me because I replaced gnome packages for pulseaudio doing the same.

-- 
Liam


signature.asc
Description: Digital signature


Re: Headless pulseaudio sound server

2011-11-17 Thread William Hopkins
On 11/13/11 at 06:59am, Carlo Borelli wrote:
 Hello guys, latest updates on pulseaudio made me useless my headless sound
 server based on pulseaudio.
 This the message the server give me:
 
 dbradders@Casa:~$ pulseaudio -D
 E: [pulseaudio] main.c: Daemon startup failed.
 dbradders@Casa:~$
 
 /var/log/syslog:
 Nov 13 06:55:26 Casa pulseaudio[12450]: [pulseaudio] server-lookup.c:
 Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to
 autolaunch a dbus-daemon without a $DISPLAY for X11
 
 so, now appear like we must use an xorg session to use it...
 Any clues?
 

dbus-daemon is contained in the dbus package, and pulseaudio depends on dbus
(through consolekit).  My solution was to create a dummy package for both dbus
and consolekit.

I have lots of dummy packages for commonly-required but useless packages such
as gconf, console/policykit, hal, dbus, etc. Careful consideration of the
package in question and what it provides will help you avoid any troubles.

I can report I've had no issues, but pulseaudio has to be configured not to try
to load nonexistent modules (in default.pa, probably). DBUS in this case is
being used to help consolekit determine when users go idle or log out.

-- 
Liam


signature.asc
Description: Digital signature


Re: Multiple Network Gateways

2011-07-15 Thread William Hopkins
On 07/15/11 at 04:00pm, Volkan YAZICI wrote:
 Hi,
 
 I would like to setup a simple network detailed in the below schema.
 
 --8---cut here---start-8---
 
,===.   eth0   ,---.
   || internet  || - | reyiz |
`==='10.10.98.100  `---'
  ^
 eth1 | 192.168.100.100
  |
  |
  |
   ,---.   eth3   |
   | pampa | +
   `---^   192.168.100.98
 
 
 reyiz# cat /etc/network/interfaces
 auto lo
 iface lo inet loopback
 
 auto eth0
 iface eth0 inet static
 gateway 10.10.98.110

results in a default gateway entry being added to eth0

 iface eth1 inet static
 gateway 192.168.100.98

results in a default gateway entry being added to eth1
 
 reyiz# route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
 192.168.100.0   0.0.0.0 255.255.255.0   U 0  00 eth1
 0.0.0.0 192.168.100.98  0.0.0.0 UG0  00 eth1
 0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0
 
 --8---cut here---end---8---
 
 The problem here is that there exists two entries in the routing table
 for 0.0.0.0 network pointing to both eth0 and eth1. But I just want to
 have 192.168.100.0 network requests to be handled by eth1, the rest
 should be redirected to eth0. That is, the desired routing table is as
 follows.
 
 --8---cut here---start-8---
 Destination Gateway Genmask Flags Metric RefUse Iface
 10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
 192.168.100.0   192.168.100.98  255.255.255.0   U 0  00 eth1
 0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0
 --8---cut here---end---8---
 
 How should I configure /etc/network/interfaces to have such a routing
 scheme?

Don't add a 'gateway' entry to any interface except the one your default
gateway is accessed through. Looks like eth0. Otherwise the rest of the routing
should be automatically configured by ifup.

-- 
Liam


signature.asc
Description: Digital signature


Re: Root passwd not accepted

2011-07-14 Thread William Hopkins
On 07/13/11 at 08:32pm, Tom H wrote:
 On Wed, Jul 13, 2011 at 5:18 PM, William Hopkins we.hopk...@gmail.com wrote:
  On 07/13/11 at 02:35pm, Camaleón wrote:
  On Tue, 12 Jul 2011 13:21:17 -0600, Lloyd Rice wrote:
 
   I'm new at this. Sorry. But I think this is a real bug.
  
   Debian Release 6.0.2.1
   Architecture: amd64
  
   I have done a number of installs with both CD and DVD images on two
   different
   machines.  I have tried a number of different combinations of options
   during these
   installs. Obviously, I could not try all possible combinations. But the
   common
   pattern seems to be that if I request the Graphical expert install and
   then
   select the shadow password system, then in the  installed system, the
   root password cannot be authenticated.
 
  (...)
 
  Did you enable sudo by any chance?
 
  If yes, your root's password is your user's password.
 
  That's not true.. certainly, sudo can be configured (and is by default in
  Debian) to prompt for the requestor's password and not root's password. But 
  the
  root password for login and su remains unchanged, and those are the methods
  Lloyd specified he attempted to use after install.
 
 If the OP chose not to allow login as root, sudo'll have been
 configured as you describe and becoming root with sudo -i or sudo
 -s will be done with the user's password so it's a pseudo root
 password. :)

I'm being literal. In no case is the root password actually modified.

-- 
Liam


signature.asc
Description: Digital signature


Re: Root passwd not accepted

2011-07-13 Thread William Hopkins
On 07/13/11 at 02:35pm, Camaleón wrote:
 On Tue, 12 Jul 2011 13:21:17 -0600, Lloyd Rice wrote:
 
  I'm new at this. Sorry. But I think this is a real bug.
  
  Debian Release 6.0.2.1
  Architecture: amd64
  
  I have done a number of installs with both CD and DVD images on two
  different
  machines.  I have tried a number of different combinations of options
  during these
  installs. Obviously, I could not try all possible combinations. But the
  common
  pattern seems to be that if I request the Graphical expert install and
  then
  select the shadow password system, then in the  installed system, the
  root password cannot be authenticated.
 
 (...)
 
 Did you enable sudo by any chance?
 
 If yes, your root's password is your user's password.

That's not true.. certainly, sudo can be configured (and is by default in
Debian) to prompt for the requestor's password and not root's password. But the
root password for login and su remains unchanged, and those are the methods
Lloyd specified he attempted to use after install.

-- 
Liam


signature.asc
Description: Digital signature


Re: Complex IPv6 setup

2011-07-12 Thread William Hopkins
On 07/12/11 at 09:42am, Stephan Seitz wrote:
 On Mon, Jul 11, 2011 at 06:05:16PM -0400, William Hopkins wrote:
 needed so default gateway is on the SLAAC NIC. The real question
 is why are you concerned with 'randomizing' your IP? The prefix is
 what people will know you by, and the prefix will not change. All
 IP-based tracking will recognize you fine after the IP change.
 
 At least you won’t get a statistic for a certain host only for a network.
 
 And how to I do this with DHCP for guests (should work with windows
 and linux)?
 Again, DHCP isn't used for IPv6 (although it exists if you need certain
 requirements like providing a tftp boot rom for PXE)
 
 And how do you publish DNS servers? WINS servers? NTP servers? How
 can you restrict the IP addresses to a certain range?

Available services can be advertised by themselves (mDNS) or by your router
(RADVD). See RFC 6106 [1]. Restriction to range is simply setting which /64 you
use for SLAAC, look into the RADVD documentation.

[1] http://tools.ietf.org/html/rfc6106

-- 
Liam


signature.asc
Description: Digital signature


Re: IPv6 and DNS

2011-07-12 Thread William Hopkins
On 07/12/11 at 08:50pm, Arno Schuring wrote:
 Laurence Hurst (l.a.hu...@lboro.ac.uk on 2011-07-12 11:54 +0100):
  Hi folks,
  
  I notice a couple of other IPv6 related questions on this list so I
  hope this isn't too far of topic...
 [..]
  
  I am curious, if I wanted to translate my IPv4 configuration into an
  IPv6 world;
 As of this moment, it is not recommended to run IPv6-only networks,
 dual-stack is preferred. Not in the least because most of the Internet
 is not yet reachable over v6 (sadly...). The best way to go forward is
 to get IPv6 running in basic mode first (autoconfiguration), and then
 start moving more services on IPv6 once you feel confident -- but take
 a *good* look at firewalling rules before you do so.

Who doesn't recommend it? It's almost impossible at this moment, but not
recommended not to if you can. 

And just because you have to keep IPv4 around to reach non-IPv6 internet
resources is *no reason* to ignore the perfectly working native IPv6 solutions
to OPs problems.

-- 
Liam


signature.asc
Description: Digital signature


Re: Root passwd not accepted

2011-07-12 Thread William Hopkins
On 07/12/11 at 01:21pm, Lloyd Rice wrote:
 I'm new at this. Sorry. But I think this is a real bug.
 
 Debian Release 6.0.2.1
 Architecture: amd64
 
 I have done a number of installs with both CD and DVD images on two different
 machines.  I have tried a number of different combinations of options during
 these installs. Obviously, I could not try all possible combinations. But the
 common pattern seems to be that if I request the Graphical expert install
 and then select the shadow password system, then in the  installed system,
 the root password cannot be authenticated.

This should not be. Are you posting because you're willing to help
troubleshoot? After you do such an install with a test password, can you reboot
into 'rescue mode' and post the contents of your /etc/passwd and /etc/shadow ?

-- 
Liam


signature.asc
Description: Digital signature


Re: vimdiff

2011-07-12 Thread William Hopkins
On 07/12/11 at 03:28pm, shawn wilson wrote:
 could someone please tell me how i'm messing up? i know they didn't
 remove vimdiff from debian stable:
 
 
 \h:\w\$ vimdiff
 This Vim was not compiled with the diff feature.
 \h:\w\$ apt-get install vimdiff
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 E: Unable to locate package vimdiff
 \h:\w\$ apt-cache search vimdiff

Please post `dpkg -l vim`
On my squeeze system, vimdiff is a symlink to vim.basic

-- 
Liam


signature.asc
Description: Digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-12 Thread William Hopkins
On 07/11/11 at 01:24pm, Camaleón wrote:
 Marketing and I follow different ways... I still look for a motherbaord 
 that provides RS-232, LPT and Floppy by default O:-)

Just a +1 for RS-232 support. Until desktops start coming with out-of-band
management (iLO, etc.) serial is an absolute requirement (:

-- 
Liam


signature.asc
Description: Digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-12 Thread William Hopkins
On 07/11/11 at 04:47pm, Robert Holtzman wrote:
 On Mon, Jul 11, 2011 at 06:48:28AM +0200, Ralf Mardorf wrote:
  Perhaps you one day will switch from an integrated graphics to a
  graphics card, since your needs might change. Care about slots for the
  future, don't waste time with thinking about an IDE connector, the
  industry has dropped IDE and they are going to drop PCI too.
 
 What will rplace PCI?`

PCI-X. Duh.

-- 
Liam


signature.asc
Description: Digital signature


Re: Debian Policy questions

2011-07-11 Thread William Hopkins
On 07/11/11 at 07:19am, Sven Joachim wrote:
 On 2011-07-11 04:43 +0200, William Hopkins wrote:
 
  If you're curious, the issue I've been having is regarding package
  dependencies. Some packages seem to have extraneous dependencies outside of
  what is strictly required (package build tools will tell you what is 
  strictly
  required). Packages being depended on are e.g. dbus, gconf, etc.
 
 Could you give some examples?

Absolutely! Easy to find examples with apt-cache rdepends dbus. I would posit
that nearly all packages that depend on DBUS should actually depend on
libdbus{,-c++,-java,-ruby}. Do these packages (such as rhythmbox) fail to work
if DBUS isn't running? No.. the calls are never calls required for running,
only for nifty extra features like telling your systray what song you're
listening to.

Sometimes, though, they are required for installing. Since insserv, I get
'service dbus has to be enabled to start service x' and occasionally a failure
in a postinst/preinst script calling dbus-uuidgen or something ridiculous that
shouldn't be done in the installer.

Same goes for gconf.. I don't know any packages that use it alone, most use a
config file with the option to store extra/alternate values in gconf. (e.g. 
pidgin)
 
  Even with equivs I can't always manage to install packages without getting 
  the
  dependency because of things like preinst/postinst scripts.
 
 If the maintainer scripts actually use the extraneous dependencies,
 then maybe they are not really as extraneous as you think.

Almost all dependencies should be automatically detected by the package build
process, which involves ldd inside a minimal chroot environment. Anything extra
the maintainer adds as depends and not suggests|recommends should be absolutely
required for the functioning of the program, and not just some specific
feature. The program should fail to do it's job, or crash without it for it to
be considered a 'dependency' imo. This is where I was looking for policy input.

In a binary distro like Debian, we have a lot of conveniences at the expense of
the time of the maintainers. I appreciate it. And I appreciate decisions have
to be made at the package maintainer level that would be made at the user level
in a distro like Gentoo (i.e. USE flags). So right now they've said 'it's OK
for a package to be built with DBUS|GConf|etc features'. All I ask is that they
only require the libraries, and not the system daemons. Then the feature will
not work, but the package usually continues to function.

To date I've accomplished this with pinning, equivs, and occassionally with
rebuilding a package from source with different dependencies or configure
flags. It shouldn't be that difficult. And it should never be impossible.

Please forgive my wall of text (:

-- 
Liam


signature.asc
Description: Digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-11 Thread William Hopkins
On 07/10/11 at 03:09pm, mark wrote:
 Hi,
 
 I'm looking for components for a new PC to install debian on.  I've 
 been looking at motherboards (MSI  Gigabyte) and it seems that the 
 IDE interface no longer exists.  Is no more IDE interface the new 
 direction for PCs so that I will have to buy a SATA burner?

Ah, changes in hardware standards are the way of the world. I have some ISA
cards lying around still, but no machines which could possibly use them (:

I didn't realize IDE was no longer being provided, though. I bought a new
top-of-the-line computer last year and it still had them. Oh well, they had to
go sometime (: I think the last time I was annoyed about such a change was when
you couldn't get floppy drives anymore..

-- 
Liam


signature.asc
Description: Digital signature


Re: Debian Policy questions

2011-07-11 Thread William Hopkins
On 07/11/11 at 11:52am, Camaleón wrote:
 On Sun, 10 Jul 2011 22:43:45 -0400, William Hopkins wrote:
 
  Listers, looking for a little community input:
  
  What is the best way to get answers on Debian policy questions? I have
  had some issues I'd like to get a policy answer on or possibly provide
  input (aka, my $0.02) for.
  
  If you're curious, the issue I've been having is regarding package
  dependencies. Some packages seem to have extraneous dependencies outside
  of what is strictly required (package build tools will tell you what is
  strictly required). Packages being depended on are e.g. dbus, gconf,
  etc.
 
 (...)
 
 Package dependencies does not seem -a priory- to be Policy issue... I 
 would ask in debian devels or packagers mailing list to get some feedback 
 there.

I think it should be a policy issue.. as I described in another email,
shouldn't we be enforcing that 'depends' is only required for running, and
packages for additional features should be recommends|suggests? Thanks for the
suggestion though.. I've been considering joining more lists, perhaps I will
lurk a while and test the waters.

-- 
Liam


signature.asc
Description: Digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-11 Thread William Hopkins
On 07/11/11 at 03:20pm, Chris Brennan wrote:
 On 7/11/2011 2:55 PM, William Hopkins wrote:
  On 07/10/11 at 03:09pm, mark wrote:
  I think the last time I was annoyed about such a change was when
  you couldn't get floppy drives anymore..
  
 
 Wait! So you can't get floppy drives anymore!?! :P

PCs don't come with them, that I've seen. Lots of motherboards without the
connectors, too. It's a shame, CDs are so overkill for PXE boot roms, GRUB/LILO
disks, Tom's RTBT, etc...

And there's a gap between machines with floppy support and ones with USB boot
disk support.. but luckily most now support USB so I can use a thumbdrive for
these things.

Don't get me started on not being able to find small HDDs anymore :P

-- 
Liam


signature.asc
Description: Digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-11 Thread William Hopkins
On 07/11/11 at 03:47pm, shawn wilson wrote:
 On Jul 11, 2011 3:30 PM, William Hopkins we.hopk...@gmail.com wrote:
 
 
  Don't get me started on not being able to find small HDDs anymore :P
 
 
 I've got some 40 meg hdd's on my shelf (think they're SCSI). I'll send you
 one if you pay up front. I think they're about 8 lbs :)

Heh, I don't have any that small anymore.

 But seriously, I've never had an issue with this. You can get a cf card or
 (possibly SD card) controller you can boot from or possibly a new usb card
 for that.

SD cards are preettyy slow for booting. And not good for heavy writes.

 However I've only done this once. In the industry, we use fc or iscsi hba
 cards that allow booting off of a san. And pxe works in a pinch (or for
 clients if you were smart about what and how you purchase).  

Which industry? I've done IT in the financial, retail, and tech industries and
booting from SAN or PXE are not standard. My complaint was for home use,
though.. these 500GB+ disks are just absurdly overkill for my uses.

-- 
Liam


signature.asc
Description: Digital signature


Re: Complex IPv6 setup (was: Does IPv6 preclude use of a NAT gateway?)

2011-07-11 Thread William Hopkins
On 07/10/11 at 01:42pm, Stephan Seitz wrote:
 On Sat, Jul 09, 2011 at 09:47:59PM -0500, John Hasler wrote:
 Liam writes:
 The remote side will know your actual IP address...
 One of the 2^64 at your disposal.
 
[...]
 With IPv6 all my internal hosts have for now fixed external IPv6
 addresses. This is working. But how do I configure the systems to
 use a random IPv6 address for (certain) external connections? To my
 internal hosts the system should use the fixed IPv6 addresses, to
 certain external hosts (like my vServer) as well if possible, but to
 others it should be the random IPv6 address.

Set up a virtual NIC, use static IP with one and let the other SLAAC (NOT DHCP,
IPv6 obviates the need for DHCP) in a different subnet. Then setup routing as
needed so default gateway is on the SLAAC NIC. The real question is why are you
concerned with 'randomizing' your IP? The prefix is what people will know you
by, and the prefix will not change. All IP-based tracking will recognize you
fine after the IP change. 

 And how to I do this with DHCP for guests (should work with windows
 and linux)?

Again, DHCP isn't used for IPv6 (although it exists if you need certain
requirements like providing a tftp boot rom for PXE)

-- 
Liam


signature.asc
Description: Digital signature


Re: Does IPv6 preclude use of a NAT gateway?

2011-07-11 Thread William Hopkins
On 07/10/11 at 07:20am, Randy Kramer wrote:
 On Saturday 09 July 2011 10:22:01 pm William Hopkins wrote:
  On 07/09/11 at 05:14pm, Randy Kramer wrote:
   I just saw another question about IPv4 and NAT and IPv6, and that
   prompts this question:
  
   When I switch to IPv6, will I lose the ability to keep my computers
   behind a NAT gateway?
 
  I've seen some talk about implementing address translation in IPv6,
  but haven't seen anything working yet.
 
   It's probably not the best thing, but I depend on the NAT gateway
   for a lot of my security--with IPv6, will I still be able to do
   that?
 
  Everything NAT provides (inaccessibility by default,
  port/application-based whitelisting, etc.) can be provided by a
  firewall. The remote side will know your actual IP address, sure, but
  the attack space is identical.
 
 Well, that is the other thing I have today, and would like to keep--that 
 is:
 
 The other feature I get from my NAT gateway (as I mention in other 
 posts) is the ability to run multiple computers on one IP address from 
 my ISP, and without the ISP (easily, at least), knowing how many 
 computers I'm running.
 
 Can a firewall help me with that?

There are a few issues here.. first and foremost is your desire to 'hide' your
computers. There's no reason for that -- currently some ISPs try to make you
pay more to run multiple computers, which is wrong. But in IPv6 this
restriction *will not* exist, I assure you. Why else would they assign /64s,
/56s or /48s ?

Second, no, a firewall won't help. But some clever routing could. You can still
create private networks with IPv6 and if you don't allow them to route to the
internet, they won't reach the internet. Then if you wanted, you could set up a
SOCKS or HTTP proxy and configure your software on the private networks to use
it. All the traffic would appear to come from the proxy. 

It's a lot of work, comparatively. But then again, what you're asking for is a
special exception to the way computers are supposed to connect to the internet
(in both v4 AND v6.. NAT was a hack).

If you elaborate on why you want the hiding feature, perhaps someone can
suggest an alternative you haven't considered (:

-- 
Liam


signature.asc
Description: Digital signature


Re: Does IPv6 preclude use of a NAT gateway?

2011-07-11 Thread William Hopkins
On 07/12/11 at 12:33pm, Scott Ferguson wrote:
 On 12/07/11 09:42, William Hopkins wrote:
  On 07/10/11 at 07:20am, Randy Kramer wrote:
  On Saturday 09 July 2011 10:22:01 pm William Hopkins wrote:
  On 07/09/11 at 05:14pm, Randy Kramer wrote:
 
 snipped
 
  
  There are a few issues here.. first and foremost is your desire to 'hide' 
  your
  computers. There's no reason for that -- currently some ISPs try to make you
  pay more to run multiple computers, which is wrong. But in IPv6 this
  restriction *will not* exist, I assure you. Why else would they assign /64s,
  /56s or /48s ?
  
 
 What you suggest is quite reasonable - regrettably it's not the way of
 telco's that are also ISPs. As this is a public list I'll refrain from
 giving examples (bite the hands that feeds, mmm, nutritious). For a
 shortlist of those that have absolutely no intention of losing the
 ability to upsell (unquote) - see the list of major Australian ISPs who
 did not participate in IPV6 day, and as yet have made no preparation for
 dual stacks either.
 At a technical level (as opposed to marketing and sales) it's stated as
 how to remove the risk of subscribers reselling - Orwellian newspeak
 for sharing your connection with a housemate.
 I can't speak for the rest of the world but I doubt the scenario is any
 different any where else - if the ISPs can get away something that will
 bring in more revenue, they will. That's why an entry level modem has a
 single port, and sales will try and sell another modem with more ports,
 to be hung off the first modem - rather than a hub - and they will then
 try and sell a more expensive plan to go with it. Yes - you'll be able
 to trivially get around it - but most consumers will just fork out the
 extra dollars for something they already have.

I understand your concern, but I legitimately believe they will be unable to
limit you to a single device when IPv6 is rolled out. As it is, most ISPs in
the US have changed their policy not to penalize clients with home networks.
Even the great offender, Comcast (I fear no corporate reprisal) has adopted
this policy. 

Of course no-one is IPv6 ready, so it will be some time before this becomes
anything other than a theoretical discussion.

-- 
Liam


signature.asc
Description: Digital signature


Re: Apt says it's okay to remove chromium, but I use it

2011-07-11 Thread William Hopkins
On 07/10/11 at 12:44am, George Standish wrote:
 On 10/07/11 12:40 AM, William Hopkins wrote:
 
 `apt-get install chromium` will mark it as manually installed.
 
 On squeeze: chromium - transitional dummy package for chromium-bsu
 
 On wheezy onwards, I take it, chromium points to the browser.

I have no idea. I run squeeze. I just mean, whatever package is currently being
autoremoved that you want installed, mark it instally by apt-get install
'packagename'.

-- 
Liam


signature.asc
Description: Digital signature


Debian Policy questions

2011-07-10 Thread William Hopkins
Listers, looking for a little community input:

What is the best way to get answers on Debian policy questions? I have had some
issues I'd like to get a policy answer on or possibly provide input (aka, my
$0.02) for. 

If you're curious, the issue I've been having is regarding package
dependencies. Some packages seem to have extraneous dependencies outside of
what is strictly required (package build tools will tell you what is strictly
required). Packages being depended on are e.g. dbus, gconf, etc.

Even with equivs I can't always manage to install packages without getting the
dependency because of things like preinst/postinst scripts. I submit bug reports
(sev.  wishlist) for the dependency to be on the appropriate _library_ only but
get no response.

Thanks for your help!

-- 
Liam


signature.asc
Description: Digital signature


Re: Debian Policy questions

2011-07-10 Thread William Hopkins
On 07/10/11 at 10:53pm, shawn wilson wrote:
 how about 'apt-cache policy package'

Er, I think this shows your current settings for version preference/pinning. I
was referring to policy in terms of the debian maintainer policy, uploader
policy, etc.

-- 
Liam


signature.asc
Description: Digital signature


Re: Does IPv6 preclude use of a NAT gateway?

2011-07-09 Thread William Hopkins
On 07/09/11 at 05:14pm, Randy Kramer wrote:
 I just saw another question about IPv4 and NAT and IPv6, and that 
 prompts this question:
 
 When I switch to IPv6, will I lose the ability to keep my computers 
 behind a NAT gateway?

I've seen some talk about implementing address translation in IPv6, but haven't
seen anything working yet.
 
 It's probably not the best thing, but I depend on the NAT gateway for a 
 lot of my security--with IPv6, will I still be able to do that?

Everything NAT provides (inaccessibility by default, port/application-based
whitelisting, etc.) can be provided by a firewall. The remote side will know
your actual IP address, sure, but the attack space is identical.

If you're running a linux-based  router for NAT, you can keep doing so and
simply convert it to a firewall. Since NAT is provided by IPTables anyway,
there is not a large change.

-- 
Liam


signature.asc
Description: Digital signature


Re: Does IPv6 preclude use of a NAT gateway?

2011-07-09 Thread William Hopkins
On 07/09/11 at 09:47pm, John Hasler wrote:
 Liam writes:
  The remote side will know your actual IP address...
 
 One of the 2^64 at your disposal.

Or more. The IETF recommendation is, generally, a /48 (so you can have subnets.
you can subnet below /64 but then SLAAC won't work).

Also, changing from one of your IPs to another confers no security advantage,
since the prefix will be unique. They'll still know your range of assigned IPs.

Although I guess if you kept changing around it could get resource intensive
for them to scan your subnet over and over. I'm going to stop extrapolating and
ask you to explain what you meant ;P

-- 
Liam


signature.asc
Description: Digital signature


Re: gnome-mplayer does not play videos in the correct aspect ratio

2011-07-09 Thread William Hopkins
On 07/09/11 at 11:32pm, Eden wrote:
 When I try to watch a video it does not cover the entire screen. Sometimes
 it is a small box playing in the center when it is full screen other times
 there are large chunks of black space on both sides of the monitor.

Try the files directly with mplayer on the command line, and provide the
output. It should tell you the aspect ratio set in the file and the
resolution/aspect ratio that is actually displayed.

-- 
Liam


signature.asc
Description: Digital signature


Re: Apt says it's okay to remove chromium, but I use it

2011-07-09 Thread William Hopkins
On 07/10/11 at 12:10am, John Mollman wrote:
[...] 
 So when I run apt-get autoremove it removes chromium (or
 chromium-browser, I think they changed the name of the package in
 wheezy, possibly). I use that as my browser, so I don't know why apt
 would be telling me. Is there a way I can lock this or tell apt I use
 that chromium package?

`apt-get install chromium` will mark it as manually installed.

-- 
Liam


signature.asc
Description: Digital signature


Re: help ! nvidia driver and X

2011-07-08 Thread William Hopkins
On 07/07/11 at 09:58pm, bri...@aracnet.com wrote:
 On Fri, 8 Jul 2011 00:42:57 -0400
 William Hopkins we.hopk...@gmail.com wrote:
 
 First problem I found - still had an nvidia modules installed, and didn't 
 realize it.  so I purged nvidia* and rebooted.

I saw it reported you were using an nvidia driver, but I assumed that was 
desired.

[...] 

 It's working using the nouveau driver.  3D ain't so hot, but I don't care 
 about that right now.
 
 it's the strangest thing though, Xorg -configure still fails.

Happens a lot to me.

-- 
Liam


signature.asc
Description: Digital signature


Re: Looking for an alternative to mysql

2011-07-08 Thread William Hopkins
On 07/08/11 at 04:42pm, D G Teed wrote:
 On Fri, Jul 8, 2011 at 4:02 PM, Wayne Topa linux...@gmail.com wrote:
 
  On 07/08/2011 12:57 PM, Roger Leigh wrote:
   On Fri, Jul 08, 2011 at 12:50:36PM -0400, Wayne Topa wrote:
   Is postgresql more reliable then mysql
  
   Yes, without a shadow of doubt.
  
   or are there other viable DB's?
  
   Yes, though I haven't used them myself, PostgreSQL serving my
   needs quite nicely.  There are quite a number of alternatives;
   google can help here.
  
  Thanks for the reply Roger.
 
  I tried installing postgres-8.4 on Sid but it too has a problem :-(
 
  grave bugs of postgresql-8.4 (- ) marked as done in some version
   #632028 - postgresql 8.4.8 regression - failure to handle char(4) =
  bpchar (Fixed: postgresql-8.4/8.4.8-0squeeze2)
  serious bugs of postgresql-8.4 (- ) unfixed
   #630569 - php5-pgsql and postgresql = 8.4 seem to collude never to
  close idle persistent connections
  Summary:
   postgresql-8.4(2 bugs)
 
  I can't win for losing.
 
  Wayne
 
 
 I don't understand. Is your requirement to install a DB
 package with zero bugs?  It doesn't exist anywhere.

There is no software anywhere without bugs, both known and unknown.
Wayne, do these bugs appear to impact you?

-- 
Liam


signature.asc
Description: Digital signature


Re: Kernel Config file for Debian Squeeze Install Disc

2011-07-08 Thread William Hopkins
On 07/08/11 at 02:26pm, Tech Geek wrote:
  It is in the boot directory of the linux-image package, which is on the
  first disk or in the packages section at www.debian.org.
 
 So, from what you just said, it means that both the kernels, one that
 runs from the install disc and the one that gets installed on the hard
 drive are exactly the same, am I correct in my understanding? If yes,
 then the problem (about install kernel failing to detect my IDE
 controller) is somewhere else.

Correct. The debian-installer CD for i386 is currently using the kernel from
linux-image-2.6.32-5-486. You can download that package and mount/extract the
ISO and compare files. ./boot/vmlinuz-2.6.32-5-486 from the package should
match install.i386/vmlinuz from the ISO.

The debian-installer image is automatically generated from current packages,
not a custom kernel build, probably to alleviate the very concern you were
talking about.

-- 
Liam


signature.asc
Description: Digital signature


Re: HTML messages are obsolete, especially for mailing lists

2011-07-08 Thread William Hopkins
On 07/09/11 at 02:12am, Ralf Mardorf wrote:
 From: lee
 Was: Subject: Re: alternative to kaffeine?
 Date: Fri, 08 Jul 2011 21:29:46 +0200
 html messages are obsolete
 
 Full ACK, with one exception, it can be helpful for code, to avoid a
 wrap.

I don't think that's a good exception; reformat manually, mark as attachment,
or pastebinit are all good options. Of course, I edit my email with vim same as
I edit my code, so it's not such an issue here.

-- 
Liam


signature.asc
Description: Digital signature


Re: Two Sound Cards, I hope.

2011-07-08 Thread William Hopkins
On 07/08/11 at 11:22pm, Martin McCormick wrote:
   I have a Dell Optiplex with the on-board sound chip set
 which works fine but I wanted to also use an AWE64 Gold as a
 second sound device. The AWE64 stole the show when I plugged it
 in to the mother board and the on-board sound device
 disappeared. If I try
 asoundconf list, it shows only the S16 device and nothing else.
 
   I was hoping to end up with /dev/dsp0 and /dev/dsp1 in
 order to record two audio feeds at once.

Those devices are for OSS, and modern linux distributions tend to use ALSA
(with optional layers on top such as pulseaudio or ESD)
Long story short, you don't need them. Your devices should show up with aplay -l
 
   The AWE64 is plug and play so I may have to do something
 to the on-board chip set to get it back as it is also useful for
 the type of recording I am doing.

A lot of times onboard devices will be disabled when you plug in an equivalent
(sound, video, and networking are all susceptible). Look through your BIOS and
play with options until you start seeing it detected in your bootup sequence
(dmesg|grep) or via lspci.

-- 
Liam


signature.asc
Description: Digital signature


Re: Debian with HP ProLiant DL120 G7

2011-07-07 Thread William Hopkins
On 07/07/11 at 05:17pm, Aniruddha wrote:
 I wonder if anyone has experience with installing Debian on HP
 ProLiant DL120 G7. Does it work out-of-the-box? Or are there special
 drivers necessary to get these working? Officially only Red Hat and
 Suse are supported although HP does have an Debian page.
 http://h18004.www1.hp.com/products/servers/software/debian/index.html
 
IMO, linux is linux. I find it unlikely that RedHat and SuSE have custom
drivers built in to their kernels that aren't in the main tree.
I can't say for sure regarding models, but I've installed linux on hundreds of
HP servers so it's likely to work.

Your best bet is to give it a go and see!

-- 
Liam


signature.asc
Description: Digital signature


Re: Restarting network

2011-07-07 Thread William Hopkins
On 07/07/11 at 03:42pm, Tony van der Hoff wrote:
 Having made some config changes to my network, I did:
 
 root@tony-lx:/home/tony# /etc/init.d/networking restart
 
 That results in:
 
 Running /etc/init.d/networking restart is deprecated because it may
 not enable again some interfaces ... (warning).
 Reconfiguring network interfaces...
 
 OK, so it's deprecated. What should I use instead??

stop  start. Although I always just use the ifdown/ifup scripts directly.

-- 
Liam


signature.asc
Description: Digital signature


Re: Set up headless Bubba Two for Bind9 nameserver

2011-07-07 Thread William Hopkins
On 07/07/11 at 12:32pm, Nate Bargmann wrote:
 Have you considered DNSmasq?  It works as a caching DNS server and DHCP
 server.  I use it from my  OpenWRT router and it is in Debian as well.
 Configuration is rather easy.
 
I take it you missed the thread on this subject earlier in the week :P

-- 
Liam


signature.asc
Description: Digital signature


Re: Set up headless Bubba Two for Bind9 nameserver

2011-07-07 Thread William Hopkins
On 07/07/11 at 05:20pm, Csanyi Pal wrote:
 Wed, 06 Jul 2011 18:25:07 -0400 keltezéssel William Hopkins azt írta:
 
  On 07/06/11 at 08:08pm, Csanyi Pal wrote:
  Hi,
  
  I have had setup my Bubba headless PC Box following these steps:
  http://forums.debian.net/viewtopic.php?f=5t=66329p=380805#p380805
  
  Now I'm trying to setup bind9 on my bubba server.
 
  So what is the issue? Is it working or no? I can't see any error in your
  email. If no, provide all the lines of output.
 
 Sorry, I wasn't clear.
 
 Actually I deleted my setup for bind9 so right now bind9 doesn't work on 
 my Bubba. I was playing with bind9 during setup of my LAN networking (see 
 abowe the hyperlink) but then I don't know how to setup bind9 so I quit 
 doing it.
 
 Now I have setup my Bubba for firewall/gateway, and I want to setup bind9 
 too that shall run on my Bubba.
 
 I have downloaded BIND 9 Administrator Reference Manual and being study 
 it.
 
 Bind9 shall serve DNS queries from my LAN behind Bubba and probably from 
 the Internet too, because I want run on my Bubba an Apache2 server for my 
 website. Actually apache2 already run but only have an index.html that 
 says: 'It works!' I shall install drupal6 that is an open source content 
 management platform and shall develope my website.
 
 I have a registered FQDN: csanyi-pal.info and being used ddclient for 
 update my dynamic IP address that I get from my ISP using dhcp-client on 
 my Bubba.
 
 In this circumstances which is the best way to setup my bind9? Should I 
 have a Caching-, or an Authoritative Name Server?
 
Caching and Authoritative don't conflict. You can have one without the other,
or both at the same time. What I think you mean is 'should I do lookups myself
or pass them on to my ISP's DNS servers?'. That is 'recursive' vs 'forwarding'.

I recommend if you're already going to install BIND9 (i.e., you have some
need to host internal or external DNS zones), you go ahead and do the
recursive queries and not forward to your ISP. It is faster, and also more
reliable. If you don't have a need for authoritative, it may be easier for you
to simply configure all your clients to use your ISP's DNS (this is the
default), or setup something lightweight such as dnsmasq or unbound, or
something. 

My total recommendation is to learn about BIND and configure it for both to be
authoritative for your local DNS and recursive for all other queries. Only if
you think such a task is beyond you or too much work should you consider the
alternatives.

-- 
Liam


signature.asc
Description: Digital signature


Re: Restarting network

2011-07-07 Thread William Hopkins
On 07/07/11 at 11:26am, Wayne Topa wrote:
 On 07/07/2011 10:42 AM, Tony van der Hoff wrote:
  Having made some config changes to my network, I did:
  
  root@tony-lx:/home/tony# /etc/init.d/networking restart
  
  That results in:
  
  Running /etc/init.d/networking restart is deprecated because it may not 
  enable again some interfaces ... (warning).
  Reconfiguring network interfaces...
  
  OK, so it's deprecated. What should I use instead??
  
 
 Um how about in wheezy or sid
 service networking stop ; service networking start

Always use  and not ';'; otherwise you may run start after an unsuccessful
stop.

-- 
Liam


signature.asc
Description: Digital signature


Re: How do I start up services in Fvwm without killing Debian-created configuration

2011-07-07 Thread William Hopkins
On 07/07/11 at 05:35pm, Steven Rosenberg wrote:
 Here's my problem: I generally run GNOME but want to run Fvwm on occasion.
 
 In Debian, the Fvwm configuration is auto-generated. If I create my
 own config file for Fvwm, all the menus generated by Debian go away.
 
 I want to start some services specifically in Fvwm, not in any (or
 every) other window manager.
 
 Where (and how) do I start services/daemons in Fvwm without
 disabling the Debian-generated Fvwm configuration?
 
Can you give me an example of what you mean? Usually you use your .fvwm/config
file and you can optionally source the system-wide stuff from there.

-- 
Liam


signature.asc
Description: Digital signature


Re: How do I start up services in Fvwm without killing Debian-created configuration

2011-07-07 Thread William Hopkins
On 07/07/11 at 06:11pm, Steven Rosenberg wrote:
 On Thu, Jul 7, 2011 at 5:53 PM, William Hopkins we.hopk...@gmail.comwrote:
 
  On 07/07/11 at 05:35pm, Steven Rosenberg wrote:
   Here's my problem: I generally run GNOME but want to run Fvwm on
  occasion.
  
   In Debian, the Fvwm configuration is auto-generated. If I create my
   own config file for Fvwm, all the menus generated by Debian go away.
  
   I want to start some services specifically in Fvwm, not in any (or
   every) other window manager.
  
   Where (and how) do I start services/daemons in Fvwm without
   disabling the Debian-generated Fvwm configuration?
 
  Can you give me an example of what you mean? Usually you use your
  .fvwm/config
  file and you can optionally source the system-wide stuff from there.
 
 When I create ~.fvwm/config, all the Debian menus go away.
 
 How can I have a config file AND the auto-generated configuration and menus
 from Debian ... AND preserve my config change when I log out and in again?

[corrected top-posting]

You include the debian menu in your local menu someplace, usually. 
  Try:
  'Read /etc/X11/fvwm/menudefs.hook'

-- 
liam


signature.asc
Description: Digital signature


Re: get package name from file name

2011-07-07 Thread William Hopkins
On 07/07/11 at 09:43pm, Wolodja Wentland wrote:
 On Thu, Jul 07, 2011 at 13:39 +0100, kuLa wrote:
  On 07/07/11 13:17, Wolodja Wentland wrote:
   As always there are multiple to do this :)
   
   * dpkg -S /path/to/file
   * apt-file search /path/to/file
   * dlocate -S /path/to/file
   
   I prefer to use either apt-file or dlocate. The former comes in quite 
   handy as
   it also works for packages that are not installed and it supports regular
   expressions. If you are looking for an executable, but don't know the full
   path you can search for:
   
   $ apt-file search -x bin/foo$
   
   which will find all files named foo that are in a bin/ directory 
   somewhere.
   In particular this will not match bin/foobar. dlocate on the other hand 
   is a
   bit faster than dpkg -S and has other goodies too ... have a look.
 
  Yeee, many ways to the same goal but dlocate or apt-file aren't present
  in Debian by default like dpkg is :-)
 
 Sure, but that applies for a lot of software. :) I typically don't have a
 problem to install packages I want, but YMMV.

You make good points but it is always a useful policy to familiarize yourself
with, and make a habit of recommending the packages guaranteed to be installed
for portability/reliability.

Also some of us are somewhat OCD and hate having ten packages installed with
overlapping featuresets :P

-- 
Liam


signature.asc
Description: Digital signature


Re: help ! nvidia driver and X

2011-07-07 Thread William Hopkins
On 07/07/11 at 09:38pm, bri...@aracnet.com wrote:
 howdy,
 
 got a new motherboard and I'm trying to figure out how to get reasonable X 
 working.
 using vesa and something very low resolution right now.
 
 I tried googling on that error symbol and literally got nothing back.
 
 Here's the lspci entry:
 
 03:00.0 VGA compatible controller: nVidia Corporation C79 [GeForce 9400] (rev 
 b1) (prog-if 00 [VGA controller])
   Subsystem: ZOTAC International (MCO) Ltd. Device 0ae5
   Flags: bus master, fast devsel, latency 0, IRQ 23
   Memory at fb00 (32-bit, non-prefetchable) [size=16M]
   Memory at d000 (64-bit, prefetchable) [size=256M]
   Memory at ee00 (64-bit, prefetchable) [size=32M]
   I/O ports at cf00 [size=128]
   [virtual] Expansion ROM at e000 [disabled] [size=128K]
   Capabilities: [60] Power Management version 2
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Kernel driver in use: nvidia
 
 Any help greatly appreciated.  It's been a while since Xorg -configure 
 couldn't
 actually configure.
 
 Thanks,
 Brian
 
 Xorg -configure gives me the following:
 
 
 
 X.Org X Server 1.7.7
 Release Date: 2010-05-04
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.37-trunk-amd64 x86_64 Debian
 Current Operating System: Linux windy 2.6.32-5-amd64 #1 SMP Wed May 18 
 23:13:22 UTC 2011 x86_64
 Kernel command line: BOOT_IMAGE=Lin_img0 ro 
 root=UUID=a948d6b6-8395-49a1-9f0f-21a10ceee9c2
 Build Date: 18 February 2011  08:27:24PM
 xorg-server 2:1.7.7-13 (Cyril Brulebois k...@debian.org) 
 Current version of pixman: 0.16.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul  7 21:34:17 2011
 List of video drivers:
[...]
 (++) Using config file: /root/xorg.conf.new
 (==) Using system config directory /usr/share/X11/xorg.conf.d
 (EE) [drm] No DRICreatePCIBusID symbol
 Number of created screens does not match number of detected devices.
   Configuration failed.


Have you tried running it without a config file? Why are you running X as root? 

Try disabling the drm driver in xorg.conf if that doesn't work, and maybe post
your xorg.conf here

-- 
Liam


signature.asc
Description: Digital signature


Re: mplayer and fvwm-crystal

2011-07-06 Thread William Hopkins
On 07/06/11 at 12:03pm, lee wrote:
 William Hopkins we.hopk...@gmail.com writes:
 
  On 07/04/11 at 10:45pm, lee wrote:
  Hi,
  
  what might be the reason for mplayer to come up without window
  decorations on fvwm-crystal?
  
  mplayer is a command-line tool. If you wish to control it primarily via GUI,
  use gmplayer or kmplayer, which is an mplayer wrapper application.
 
 Its window always had decorations when running it with KDE.  I don't
 need the GUI to control mplayer because I'm using the keyboard to do
 that.  It's inconvenient not being able to move the mplayer window
 because it doesn't have decorations.

Most window managers accept alt-rightclick for resizes, and alt-leftclick for
moves (I am only suggesting as an interim solution)
 
 So either there's some setting of fvwm-crystal that turns off the
 decorations and which I couldn't find, or the default for mplayer is to
 create a window that doesn't have decorations (if that is something the
 application creating the window can decide).

Check your .fvwm2rc for an mplayer entry, or the system-wide config file at
/etc/X11/fvwm2/system.fvwm2rc
 
 Are you suggesting that the default for mplayers windows is not to have
 decorations?

I haven't run a 'decorations-setting' WM in years, sorry. My recollection has
always been of mplayer without them.

-- 
Liam


signature.asc
Description: Digital signature


Re: Set up headless Bubba Two for Bind9 nameserver

2011-07-06 Thread William Hopkins
On 07/06/11 at 08:08pm, Csanyi Pal wrote:
 Hi,
 
 I have had setup my Bubba headless PC Box following these steps:
 http://forums.debian.net/viewtopic.php?f=5t=66329p=380805#p380805
 
 Now I'm trying to setup bind9 on my bubba server, but without any success.
 
 What I did:
 * Installing and setting up bind9
 
 aptitude install bind9
[...] 
 Is it working?
 
 aptitude install dnsutils
 
 dig debian.org
 
 A lot of lines but the line that contain the word SERVER is important 
 now, because that must to show 127.0.0.1 !
 ;; Query time: 5 msec
 ;; SERVER: 127.0.0.1#53(127.0.0.1)

So what is the issue? Is it working or no? I can't see any error in your email.
If no, provide all the lines of output.
 
 However I was run the last command 'dig debian.org' from my bubba server.

What?
 
 In the same time from my LAN I can't even ping www.google.com, but only 
 ping 74.125.91.99

You wrote the list that you could ping www.google.com successfully, is that no
longer true?

-- 
Liam


signature.asc
Description: Digital signature


Re: mplayer and fvwm-crystal

2011-07-06 Thread William Hopkins
On 07/06/11 at 08:43pm, lee wrote:
 William Hopkins we.hopk...@gmail.com writes:
 
  On 07/06/11 at 12:03pm, lee wrote:
  William Hopkins we.hopk...@gmail.com writes:
  Are you suggesting that the default for mplayers windows is not to have
  decorations?
 
  I haven't run a 'decorations-setting' WM in years, sorry. My
  recollection has
  always been of mplayer without them.
 
 IIUC, you mean the mplayer window comes up without decorations by
 default.  So kwin must have added decorations forcefully.

I ran fvwm, fluxbox, and fvwm-crystal (in Xephyr) and crystal is the only one
without decorations. I read a little about it and it appears to be intentional,
although I'm not sure where to change it. Try the fvwm-crystal documentation,
if there is any.

-- 
Liam


signature.asc
Description: Digital signature


Re: Youtube flash not working

2011-07-06 Thread William Hopkins
On 07/06/11 at 09:05pm, Frank McCormick wrote:
 
  Is anyone else hee  experiencing Flash problems on Youtube?
 It affects both Chrome and Firefox - but they seem to be able to
 play Flash videos on other sites.
 
No issues here.

-- 
Liam


signature.asc
Description: Digital signature


Re: Youtube flash not working

2011-07-06 Thread William Hopkins
On 07/06/11 at 09:51pm, Randy Kramer wrote:
 On Wednesday 06 July 2011 09:17:52 pm Frank McCormick wrote:
  On 06/07/11 09:05 PM, Frank McCormick wrote:
   Is anyone else heen experiencing Flash problems on Youtube?
   It affects both Chrome and Firefox - but they seem to be able to
   play Flash videos on other sites.
 
 Answering my own question again :)
 The key is to make HTTP into HTTPS for some bizarre reason that
  only Google knows. HTTP works for some users..for those who just get
  the black box, add the 's'...
 
 Weird!  I've had the same problem, and the same workaround works for me 
 (using https instead of http).  So, thanks!
 
 But, what makes you associate the problem with google?  I have the 
 problem with youtube URLs, like: 
 
 https://www.youtube.com/watch?v=4Ud_wGMXRnQ

Google owns and operates youtube.com

-- 
Liam


signature.asc
Description: Digital signature


Re: Powering off or resetting USB peripherals

2011-07-06 Thread William Hopkins
On 07/06/11 at 09:27pm, Mark Kamichoff wrote:
 Is there some alternate way of cutting the power to a USB device
 temporarily in order to reset it?  Maybe some userland application that
 I'm not aware of?

The drivers for a given device are responsible for initializing that device, so
rmmod  modprobe should do it. If not, you could reset the USB stack by doing
the same to ehci_hcd as a last ditch measure.

The reason for the kernel change IIRC is that modern hardware actually *cannot*
poweroff a USB port or bus. 

-- 
Liam


signature.asc
Description: Digital signature


Re: OT: quoting variable names in shell scripts

2011-07-06 Thread William Hopkins
On 07/06/11 at 11:22pm, Kamaraju S Kusumanchi wrote:
 Consider the following shell script
 
 $cat manual_listing.sh
   

 #! /bin/sh
 
 # stanza 1
 for i in kama raju k a m a r a j u
 do
 echo $i
 done
 
 # stanza 2
 names='kama raju'
 for i in $names
 do
 echo $i
 done
 
 
 If I run this, I get
 $./manual_listing.sh  
   
   
 kama
 raju
 k a m a
 r a j u
 kama
 raju
 
 I am wondering if there is a way to rewrite the names variable in stanza2 
 such that the output from stanza 1 and stanza 2 are the same.

=---=
#!/bin/bash

IFS=,

name='kama,raju,k a m a,r a j u'
for i in $name
do
  echo $i
done
=---=

$man bash

Shell Variables
...
   IFSThe  Internal Field Separator that is used for word splitting
  after expansion and to split lines into words with the read
  builtin command.  The default value is  ``spacetabnew‐
  line''.

-- 
Liam


signature.asc
Description: Digital signature


Re: Start rtorrent on bootup in Squeeze

2011-07-05 Thread William Hopkins
On 07/04/11 at 04:55pm, Nicolas Bercher wrote:
 On 04/07/2011 13:25, Ramon Hofer wrote:
 Wow, this really is perfect!
 I did what you told me and it works like a charm :-)
 
 Thank you!
 Indeed, it's a great pleasure for me to share this script!  When I
 wrote it, I was particularly proud and then I polished it with the
 idea in mind to be able to share it quickly.  Mission done today!
 
 A friend of mine is using it since the beginning too and is really happy with 
 it.
 
 
 Just for curiosity:
 When updating-rc.d I get the message update-rc.d: using dependency based
 boot sequencing.
 I suppose this is just an information?
 Just want to be sure as I've never added/changed init.d scripts...

 Yes this message is just telling you that now it uses upstart
 instead of the old system V approach (executing scripts as are
 presented alphabetically).

 Now, upstart uses dependencies...

I think you have been confused. Debian Squeeze has *not* made upstart the
default provider of /sbin/init, but has replaced the update-rc.d script with
insserv, which creates symlink ordering based on LSB header info rather than
arbitrary numbers. Otherwise the boot sequence is unchanged.

The message *is* informational, update-rc.d simply runs insserv with the
appropriate arguments for you.

-- 
Liam


signature.asc
Description: Digital signature


Re: printing image full page

2011-07-05 Thread William Hopkins
On 07/05/11 at 07:18am, Juan Sierra Pons wrote:
  I'm looking for a script-able way to print any arbitrary image onto a
  full printer page (letter, A4, etc).
 
  All the image viewing tools that I tried didn't give me such feature, and
  so far the only solution I have is, cough, cough, doing it in winword.

 Hi,
 
 You can try with the convert command (from ImageMagick package) I used
 this long time ago for scripting some faxes.

(corrected) top-posting aside, imagemagick is the best solution. The convert
tool will easily convert from image format to postscript, which is well suited
to printing. If your printer is postscript capable already, you simply lp(r)
filename.ps

That said with the caveat that it has been a long time since I printed anything
so please forgive me if things have changed.

-- 
Liam


signature.asc
Description: Digital signature


Re: Howto install a debugging kernel in debian?

2011-07-05 Thread William Hopkins
On 07/05/11 at 12:07pm, Hans-J. Ullrich wrote:
 Hello folks, 
 
 I got the problem, that I need to install a kernel which creates debugger 
 informations in dmesg.
[...]
 
 For those, who are interested in the kernel bug, take a look here:
 https://bugzilla.kernel.org/show_bug.cgi?id=22052
 

Alan Stern has requested you run a kernel compiled with CONFIG_USB_DEBUG
enabled. To accomplish this, you must compile a kernel and boot into it. The
Debian way of doing this is to install kernel-package and use the make-kpkg
tool. You can copy your existing config from /boot to /usr/src/linux/.config
and then run make menuconfig in that directory and add CONFIG_USB_DEBUG. Then
build the package with make-kpkg, install the .deb with dpkg, and set grub,
lilo or kexec to boot into it.

-- 
Liam


signature.asc
Description: Digital signature


Re: Set up headless Bubba Two for firewall/gateway

2011-07-05 Thread William Hopkins
On 07/05/11 at 08:02pm, Csanyi Pal wrote:
 Hi,
 
 I have a Bubba Two http://www.excito.com/ headless PC box and on it a
 Debian GNU/Linux Squeeze operating system. I bought this hardware
 preinstalled with Debian GNU/Linux Etch.
 
 So far one can't to upgrade it to Debian Squeeze using the 'bubba'
 software running on Bubba because the Bubba developers at Excito doesn't
 have yet the installable version of Debian Squeeze integrated with the
 'bubba' software.
 
 I have upgraded my Bubba Two to Debian Squeeze from Debian Etch following
 steps described on the Excito Forum under topic 'Running Debian lenny or
 squeeze on Bubba Two' http://forum.excito.net/viewtopic.php?
 f=11t=2518. I did this because I want Debian Squeeze on my Bubba Two
 hardware. :)
 
 After this upgrade I have setup networking on Bubba following these steps:
 http://pastebin.com/vWFHw8i6
 
 I have problem when try to browse or ping from my LAN behind the Bubba the
 Internet, say the Google.
 ping 192.168.10.1
 is successfull, but
 ping www.google.com
 isn't:
 ping: unknown host www.google.com
 
 What am I missing here to setup properly my LAN behind my Bubba?
DNS resolution, which converts names (google.com) into IPs (74.125.91.99).
You need /etc/nsswitch.conf to be configured with the word 'dns' somewhere in
the 'hosts' line (like hosts:^Ifiles dns wins), an /etc/resolv.conf with a
'nameserver' line (the nameserver should be provided by your ISP, check for
what it's set to on your working machines, or try 8.8.8.8 for google DNS). 

You may also need to configure your local network some but I suspect it already
is. Try ping 74.125.91.99 instead of 192.168.10.1 and if that works, DNS is the
only thing missing.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-07-05 Thread William Hopkins
On 07/05/11 at 10:09pm, Andrei POPESCU wrote:
 On Sb, 02 iul 11, 12:23:39, William Hopkins wrote:
  On 07/02/11 at 02:06pm, Andrei POPESCU wrote:
   On Sb, 02 iul 11, 09:35:35, Erwan David wrote:

That's what I do : I have unbound locally for recursive, and it caches
for the local network + bind for authoritative.
   
   Not sure what recursive means [...]
  
 [snip recursive explanation]
 
 Thanks a lot for this explanation, DNS is still a bit like dark magic to 
 me :)
 
 My understanding is that a recursive DNS server (especially one with 
 DNSSec support) would make sense in networks with more then just a 
 couple of devices, especially since you need a separate DHCP server 
 anyway. Of course, this doesn't account for the I want to tinker 
 factor ;)

The primary reasons are 1) reliability separate from your ISP and 2) verified
correct results without NXDOMAIN spam and other such things. For 1, although
your ISPs routers may be up their DNS may go down or become incorrectly
configured, and then you wouldn't be able to browse or use most internet
services. For 2, you cannot trust your ISP to give you accurate results..
NXDOMAIN spam is almost universal now and in many cases ISPs have been caught
blocking websites via DNS resolution which is in a very grey legal area in the
US, but I consider blatantly unethical. Both of these reasons apply whether you
have one box or one hundred. The DNSsec issue also plays into 'you can't trust
ISPs' and applies, but I won't go into it, this is a wall of text as it is.

Please believe point 2 is based in verified and somewhat commonly-known fact,
and not paranoia (:

-- 
Liam


signature.asc
Description: Digital signature


Re: kvm

2011-07-05 Thread William Hopkins
On 07/04/11 at 02:47pm, David Sastre wrote:
 On Sun, Jul 03, 2011 at 08:08:50PM -0700, Khosrow Hassani wrote:
  Hi,
  I am running kvm 0.12.5 from Squeeze. the problem I am having is that kvm 
  -hda 
  disk1.img -hdb disk2.img doesn't give me 2 drives in my Windows xp inside 
  kvm, 
  even when I run it as root. only the first disk where windows is installed 
  shows up!  
  I created the other image using kvm-img with qcow2 format. Also, the -usb 
  works 
  only for root but not for normal user! when I run it as normal user I get 
  permission error.
  
  any idea?
  thanks, Khosrow
 
 Maybe using libvirt, virt-install, virsh and friends would made easier
 for you to admin storage and users.

Oh no, I can't learn how it works, let me install software to run my software.
Then I'll install some software to run that software too.

Nonsense. Learn KVM concepts or make some suggestions how the UI could be
improved. Or go to virtualbox/vmware desktop which are better suited to
beginners (AKA people unwilling to learn how things work but who demand to use
computers anyway)

-- 
Liam


signature.asc
Description: Digital signature


Re: kvm

2011-07-05 Thread William Hopkins
On 07/03/11 at 08:08pm, Khosrow Hassani wrote:
 Hi,
 I am running kvm 0.12.5 from Squeeze. the problem I am having is that kvm
 -hda disk1.img -hdb disk2.img doesn't give me 2 drives in my Windows xp
 inside kvm, even when I run it as root. only the first disk where windows is
 installed shows up!  I created the other image using kvm-img with qcow2
 format. Also, the -usb works only for root but not for normal user! when I
 run it as normal user I get permission error.

(I have word-wrapped your post, I hope you do not think it presumptuous of me)

To help you troubleshoot, could I have the 'permission error' you received?
Probably a modification can be made to allow normal users to use USB. 
Can you also prove the output of `file disk1.img disk2.img` ?

-- 
Liam


signature.asc
Description: Digital signature


Re: mplayer and fvwm-crystal

2011-07-05 Thread William Hopkins
On 07/04/11 at 10:45pm, lee wrote:
 Hi,
 
 what might be the reason for mplayer to come up without window
 decorations on fvwm-crystal?  I've searched through the configuration
 files of fvwm2 and didn't find an entry about it.  Is this a default or
 is it something in my settings?  Or is it something that mplayer does?
 
 There seems to be a choice between gmplayer and kmplayer in
 fvwm-crystal. I've tried gmplayer, and it comes up with window
 decorations.

mplayer is a command-line tool. If you wish to control it primarily via GUI,
use gmplayer or kmplayer, which is an mplayer wrapper application.

-- 
Liam


signature.asc
Description: Digital signature


Re: Computer instability under Debian Stable

2011-07-05 Thread William Hopkins
On 07/05/11 at 10:11pm, Adrian Levi wrote:
 On 5 July 2011 21:08, Selim T. Erdogan se...@alumni.cs.utexas.edu wrote:
 
  Just a thought: have you tried disabling setiathome?  (And also, did
  you have the same setiathome version running on the Ubuntu that didn't
  freeze?)
 
 Seti is a recent addition to that machine. It was locking up before I
 installed it.

I understand your logic but the log says setiathome was the process that
ultimately triggered the crash. Try disabling it and doing the vt1 trick again
(also look into the liveCD log-inspection suggestion, then you can pastebinit
and we can review the whole thing, possibly pass you to kernel team, stuff like
that)

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-07-05 Thread William Hopkins
On 07/05/11 at 11:18pm, Brian wrote:
 On Tue 05 Jul 2011 at 22:09:38 +0300, Andrei POPESCU wrote:
 
  [snip recursive explanation]
 
 It was a really good explanation, wasn't it?
  
  Thanks a lot for this explanation, DNS is still a bit like dark magic to 
  me :)
 
 I suspect you may be doing yourself an injustice. :)
 
  My understanding is that a recursive DNS server (especially one with 
  DNSSec support) would make sense in networks with more then just a 
  couple of devices, especially since you need a separate DHCP server 
  anyway. Of course, this doesn't account for the I want to tinker 
  factor ;)
 
 A single device is sufficient. The question to answer is: who do you
 want to do resolving for you and why?

You put it better than I managed, haha.
 
 I do not see a connection between having a DHCP server and operating a
 nameserver.

Dnsmasq provides both services in an effort to be a single-utility solution for
small networks. Of course, in networks that small I usually forego both DHCP
*and* local DNS.

-- 
Liam


signature.asc
Description: Digital signature


Re: OT: Camale�n

2011-07-05 Thread William Hopkins
On 07/05/11 at 01:46pm, Robert Holtzman wrote:
 On Tue, Jul 05, 2011 at 10:14:55PM +0300, Andrei POPESCU wrote:
  On Lu, 04 iul 11, 21:58:20, Robert Holtzman wrote:
   On Mon, Jul 04, 2011 at 06:15:59PM +0100, Lisi wrote:

Thank you, Robert.   
   
   Aw shucks, 'twarnt nuthin'.
  
  Come on gals and guys, I thought the language on this list was English 
  :p
 
 Y'all cain't unnerstan plane inglish? Ain't yew had no skoolin boy?
 
 I don't thik I'll run my spell checker on this. I don't like to hear it
 sob.

For a moment I wondered where I had found myself.

-- 
Liam


signature.asc
Description: Digital signature


Re: OT: Camaleón

2011-07-03 Thread William Hopkins
On 07/03/11 at 02:46pm, Camaleón wrote:
 On Sun, 03 Jul 2011 03:26:52 +, T o n g wrote:
 
  On Sat, 02 Jul 2011 12:36:14 +1000, Scott Ferguson wrote:
  
  you're best sticking with Camaleón if possible - she does run Gnome and
  . . .
  
  I don't know western names well and I had always thought that Camaleón
  is a man, although being overly polite (than ordinary man).
 
 :-)
 
 Camaleón is a sort of nickname I chose long time ago because of the 
 openSUSE mascot (Geeko). It translates as Chameleon in English.
  
  Is Camaleón really a girl?
  
  Just curious.
 
 Yes, I am. 

This explains the politeness, but not the uncanny ability to find relevant
bugreports within minutes.

That surely cannot be a trait imparted by gender.

-- 
Liam


signature.asc
Description: Digital signature


Re: Stranded between lenny and squeeze

2011-07-02 Thread William Hopkins
On 07/02/11 at 01:47am, Hendrik Boom wrote:
 
 I'm in the middle of the upgrade from lenny to squeeze.  I have a 
 partially working system.  I've been following the instruction ins the 
 release notes, http://www.debian.org/releases/stable/amd64/release-notes/
 ch-upgrading.en.html and I've gotten as far as upgrading the kernel and 
 udev.

[...]
 
 And I can't use cntl-alt-F1 to get a text console, because all I get is a 
 blank black screen.  Is gdm taking over the text consoles and disallowing 
 them?  How do I get my text consoles back so I can proceed with the rest 
 of the upgrade?

You can shutdown gdm from inside a GUI, or you can disable gdm and reboot, or
disable gdm and telinit 1  telinit 2. Then do your upgrade, and re-enable
gdm. Since you're still in squeeze, disabling gdm is probably update-rc.d -f
gdm remove. Stopping gdm is just /etc/init.d/gdm stop.  

 Or is there some devious trick I'm missing?  Will an ssh connection from 
 another machine survive the upgrade process, for example?

SSH will probably survive. Even restarting the sshd process does not typically
kill user connections. 

-- 
Liam


signature.asc
Description: Digital signature


Re: Copying a bootable CD

2011-07-02 Thread William Hopkins
On 07/02/11 at 12:54pm, Scott Ferguson wrote:
 On 02/07/11 07:20, Brian wrote:
  On Fri 01 Jul 2011 at 23:49:56 +0300, Andrei POPESCU wrote:
  
  conv=notrunc means do not truncate the output file according to the 
  manpage, but I have no ideea what it's good for, but doesn't sound like 
  it would affect your image :p
  
  That's a problem which can happen with man pages. You think you know
  what it means but on the witness stand you are torn apart by the
  defense.
  
  I'd take 'truncate' to mean 'shorten' - but see what you make of this:
  
  http://dbaspot.com/shell/176725-what-does-notrunc-dd-command-mean.html
  
  Untested. Use at you own risk!
 
 What is the date of that post?
 What OS are the posters referring to?
 
  
  
 Tested - file a bug report if it is incorrect :-)
 
 `append'  Write in append mode, so that even if some other process is
 writing to this file, every `dd' write will append to the current
 contents of the file.  This flag makes sense only for output.  If you
 combine this flag with the `of=FILE' operand, you should also specify
 `conv=notrunc' unless you want the output file to be truncated *before
 being appended to.*
 
 ref: info dd

I started an interesting conversation. I should have put conv=noerror, but
years of using notrunc for analysis files took over my fingers (:

-- 
Liam


signature.asc
Description: Digital signature


Re: Can't run apps as root in KDE

2011-07-02 Thread William Hopkins
On 07/01/11 at 03:20pm, T Elcor wrote:
 --- On Fri, 7/1/11, William Hopkins we.hopk...@gmail.com wrote:
 
  Try the same command from a terminal window, and see what
  errors you get.
 
 luser@testbox:~$ kdesu konqueror
 bash: kdesu: command not found
 luser@testbox:~$ whereis kdesu
 kdesu: /usr/share/man/man1/kdesu.1.gz
 luser@testbox:~$ which kdesu
 
 
 # dpkg -S kdesu
 kdebase-runtime: /usr/lib/kde4/libexec/kdesu
 
 # ls -l /usr/lib/kde4/libexec/kdesu
 -rwxr-xr-x 1 root root 54720 Jul 20  2010 /usr/lib/kde4/libexec/kdes

It seems generally that your paths must be wrong since it is installed. What is
your $PATH and can a KDE user compare to their own?

The fact that neither which nor whereis return it is normal, FYI. Well, perhaps
which should if your paths are correct. But whereis searches only certain
directories.

Also try running the command again with the full path, i.e.
/`usr/lib/kde4/libexec/kdesu konqueror` just to ensure you have no other
difficulties.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-07-02 Thread William Hopkins
On 07/02/11 at 02:06pm, Andrei POPESCU wrote:
 On Sb, 02 iul 11, 09:35:35, Erwan David wrote:
  
  That's what I do : I have unbound locally for recursive, and it caches
  for the local network + bind for authoritative.
 
 Not sure what recursive means [...]

Recursive queries are what actual DNS servers perform to find the answer. Your
OS stub resolver performs forwarding, sometimes caching. It knows about a DNS
server (from /etc/resolv.conf) and passes your request to it. This continues
until it reaches a machine willing to recurse, or until it reaches a machine
unwilling to either recurse or forward and then you will receive an error
because your request was not completed.

Once your request reaches a recursing server, it queries the root servers to
find the nameserver for the TLD, then the TLD nameserver to find the nameserver
for the domain in question, then the nameserver for the domain in question for
your actual result. It then passes it back to the client or forwarder who
requested, and it ultimately returns to you. 

So you see, if you install a local recursive DNS server, and not just a
forwarder/DHCP-helper like dnsmasq, you do not need to rely on your ISP's DNS
servers. Your machine will return results directly from the internet even if
your ISPs nameservers go down, and it will return accurate results even if your
ISP poisons their DNS. They frequently do this by returning spam records
instead of NXDOMAIN results, which imo ought to be illegal (at least in the
U.S.)

-- 
Liam


signature.asc
Description: Digital signature


Re: diff original .conf files in packages with the ones installed

2011-07-02 Thread William Hopkins
On 07/01/11 at 08:50pm, alberto fuentes wrote:
 On Fri, Jul 1, 2011 at 8:03 PM, William Hopkins we.hopk...@gmail.comwrote:
 
  On 07/01/11 at 09:44am, alberto fuentes wrote:
   This would be handy to checkout messed up systems to be able to tell
  apart
   easily whats has been touched.
  
   Is there already something that makes this?
 
  comparing dpkg --get-selections before and after is an easy way to see what
  new
  packages have been installed, which have been upgraded, etc. But you
  *should*
  be paying attention during the upgrade process.
 
  dpkg will already prompt you to view a diff of a config file that is to be
  changed if you have a modified version installed.
 
  If you need anything more granular than this, perhaps install tripwire.
 
 
 I think you misunderstood what I was asking.
 
 I wanted to check out the diff from the configuration file of a package from
 both its versions, installed and original packaged, to be able to tell whats
 been touched (added + deleted) :)

IF you've modified your local version and the file being installed by the deb
is a conffile, apt/dpkg will prompt you to overwrite, and one of your options
will be to view a diff. 

-- 
Liam


signature.asc
Description: Digital signature


Re: diff original .conf files in packages with the ones installed

2011-07-01 Thread William Hopkins
On 07/01/11 at 09:44am, alberto fuentes wrote:
 This would be handy to checkout messed up systems to be able to tell apart
 easily whats has been touched.
 
 Is there already something that makes this?

comparing dpkg --get-selections before and after is an easy way to see what new
packages have been installed, which have been upgraded, etc. But you *should*
be paying attention during the upgrade process.

dpkg will already prompt you to view a diff of a config file that is to be
changed if you have a modified version installed.

If you need anything more granular than this, perhaps install tripwire.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-07-01 Thread William Hopkins
On 07/02/11 at 12:01am, Andrei POPESCU wrote:
 On Mi, 29 iun 11, 20:08:16, Brian wrote:
  On Wed 29 Jun 2011 at 12:22:26 -0600, Glenn English wrote:
  
   For a good time, 'apt-get install bind' :-)
  
  For an even better time (and to escape the monoculture)
  
 apt-get install unbound
 
 If caching is all you need then
 
 apt-get install dnsmasq

Good point. 
  Caching-only: dnsmasq.
  Recursive+caching: unbound.
  Recursive+caching+authoritative: BIND.

There's something to be said for at least implementing local recursion, which
avoids nasty ISP NXDOMAIN spam. Installing this on a local server/router
probably obviates the need for dnsmasq on every client, I think.

Then again, I have no issue running BIND.

-- 
Liam


signature.asc
Description: Digital signature


Re: Can't run apps as root in KDE

2011-07-01 Thread William Hopkins
On 07/01/11 at 02:17pm, T Elcor wrote:
 When I do Alt+F2, then type kdesu konqueror (without quotes) and then try
 to press Enter nothing happens, pressing Enter doesn't seem to have any
 effect. Have you tried it yourself?

Try the same command from a terminal window, and see what errors you get.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-06-29 Thread William Hopkins
On 06/29/11 at 10:15am, ChadDavis wrote:
 I notice that the following two invocations of netstat have
 drastically different execution times:
 
 netstat
 
 netstat -n
 
 
 When you just use numerical addresses, it executes almost instantly,
 but with the domain names and whatever you call those logical names
 for the port numbers, such as 'www', it takes quite while ( 5-10
 seconds).
 
 Not a big deal, but just made me think.  Surely the name resolution
 isn't that costly is it?

Depends on latency and distance to your DNS server, how long it takes the DNS
server to perform the recursive query or forward to a server which does,
whether you have the answer cached locally or at any of the servers along the
way, etc. So it can vary wildly.. 5 seconds seems high to me, it takes about 1
for me and I have a lot of active connections.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-06-29 Thread William Hopkins
On 06/29/11 at 08:08pm, Brian wrote:
 On Wed 29 Jun 2011 at 12:22:26 -0600, Glenn English wrote:
 
  For a good time, 'apt-get install bind' :-)
 
 For an even better time (and to escape the monoculture)
 
apt-get install unbound

Monoculture is one thing, but that is not a comparable product. Unbound is for
recursive-only, so you can't have your own zone.

Also, the Debian package name for ISC BIND is bind9.

-- 
Liam


signature.asc
Description: Digital signature


Re: netstat performance

2011-06-29 Thread William Hopkins
On 06/29/11 at 08:44pm, Brian wrote:
 On Wed 29 Jun 2011 at 15:27:53 -0400, William Hopkins wrote:
 
  Monoculture is one thing, but that is not a comparable product. Unbound is 
  for
  recursive-only, so you can't have your own zone.
 
 Within the context of the thread I thought it a good fit and worth a
 mention. 

Agreed, I was just replying to your monoculture comment.. running a local
recursive server is still a great idea (and thread contribution). Sorry if I
implied otherwise!

-- 
Liam


signature.asc
Description: Digital signature


Re: Headless Install Debian Squeeze

2011-06-29 Thread William Hopkins
On 06/29/11 at 10:04pm, Martin McCormick wrote:
   It used to be that one got the installation program to
 run through a serial port by a command like
 
 linux console=ttySx,9600n8p
 
   I downloaded the new Debian 6 iso image from Debian.org
 and am trying to install it over a serial console which is one
 of the things that computer users who are blind can do
 if you already have one or more computers that talk.
 
   It appears that the procedure to start the serial
 console has changed.

AFAIK, options passed to the debian installer are kernel options. I wasn't able
to find a source on the options the distributed D-I kernel was built with, but
I do know you can make a custom D-I disc with your own kernel, which you could
ensure does support serial consoles. I believe the relevant config is
CONFIG_SERIAL_CORE_CONSOLE.

-- 
Liam


signature.asc
Description: Digital signature


Re: audio through HDMI on a IDT 92HD71B sound card

2011-06-29 Thread William Hopkins
On 06/30/11 at 09:58am, Yuwen Dai wrote:
 Dear all,
 
 I have a Dell Latitude E6400 laptop, which has a Displayport.  I tried to
 connect the laptop with a Sony TV with a HDMI port. So I bought a
 Displayport-HDMI converter from Dell.  When I play a movie using mplayer,
 the video is OK on TV, but without sound on TV.  The sound is still played
 by the Laptop.   I doubt the sound card driver doesn't support HDMI, this is
 the result of `aplay -l':
  List of PLAYBACK Hardware Devices 
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
 
 This is the result of `aplay -L':
 null
 Discard all samples (playback) or generate zero samples (capture)
 default:CARD=Intel
 HDA Intel, STAC92xx Analog
 Default Audio Device
 front:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 Front speakers
 surround40:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 4.0 Surround output to Front and Rear speakers
 surround41:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 4.1 Surround output to Front, Rear and Subwoofer speakers
 surround50:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 5.0 Surround output to Front, Center and Rear speakers
 surround51:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
 surround71:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
 
 It seems no digit device.  I tried both in Debian stable and testing.  The
 version of kernel in testing is 2.6.38, alsa is 1.0.23.  Any suggestion?

That looks like the output of aplay -L, not aplay -l. Try aplay -L (capital L)
and let's see what you've got.

You can try removing alsa packages and installing from source, on rare
occasions this works if you have a new chipset. What does google return about
Alsa/Linux on an E6400?

-- 
Liam


signature.asc
Description: Digital signature


Re: audio through HDMI on a IDT 92HD71B sound card

2011-06-29 Thread William Hopkins
On 06/30/11 at 09:58am, Yuwen Dai wrote:
 Dear all,
 
 I have a Dell Latitude E6400 laptop, which has a Displayport.  I tried to
 connect the laptop with a Sony TV with a HDMI port. So I bought a
 Displayport-HDMI converter from Dell.  When I play a movie using mplayer,
 the video is OK on TV, but without sound on TV.  The sound is still played
 by the Laptop.   I doubt the sound card driver doesn't support HDMI, this is
 the result of `aplay -l':
  List of PLAYBACK Hardware Devices 
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
 
 This is the result of `aplay -L':
 null
 Discard all samples (playback) or generate zero samples (capture)
 default:CARD=Intel
 HDA Intel, STAC92xx Analog
 Default Audio Device
 front:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 Front speakers
 surround40:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 4.0 Surround output to Front and Rear speakers
 surround41:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 4.1 Surround output to Front, Rear and Subwoofer speakers
 surround50:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 5.0 Surround output to Front, Center and Rear speakers
 surround51:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
 surround71:CARD=Intel,DEV=0
 HDA Intel, STAC92xx Analog
 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
 
 It seems no digit device.  I tried both in Debian stable and testing.  The
 version of kernel in testing is 2.6.38, alsa is 1.0.23.  Any suggestion?

Please disregard my last message as I must be blind and missed you provided -L
and -l. Haha!

Yes, looks like you've got no digital devices. Try installing the latest Alsa.

-- 
Liam


signature.asc
Description: Digital signature


Re: How to configure static route?

2011-06-28 Thread William Hopkins
On 06/28/11 at 11:43am, Andrei POPESCU wrote:
 On Du, 26 iun 11, 10:53:21, Magicloud Magiclouds wrote:
 $ apt-cache show ifupdown-extra
 ...
- setup default static routes for interfaces.

 IMVHO the static routes part should be moved to ifupdown. How about a 
 'whishlist' bug?

Seconded. I'll check for one and file tonight (:

-- 
Liam


signature.asc
Description: Digital signature


Re: help with virtualbox

2011-06-28 Thread William Hopkins
On 06/28/11 at 03:16pm, Kristoffer Gustafsson wrote:
 Hi.
 Since I'm blind, I can't use the graphical interface with virtualbox.
 Can you help me to find a tutorial for me about how I do with the vboxmanage 
 command?

I found a few introductory tutorials by googling 'creating VMs with vboxmanage'

 I know the help for the command in the manual, but I need a step by step 
 tutorial.
 I need also information about how to set up usb, and how to choose the 
 correct sound card emulation.

the relevant options are --usb on|off, and --audiocontroller ac97:sb16 (from
the man page)

I just ran through the basic process, you use createvm, registervm, modifyvm,
startvm. I enabled sound with modifyvm --audio alsa --audiocontroller ac97. I 
only have
virtualbox-ose available, so I can't test USB (OSE doesn't have USB support,
among other things).

-- 
Liam


signature.asc
Description: Digital signature


Re: Copying a bootable CD

2011-06-28 Thread William Hopkins
On 06/28/11 at 08:39am, Martin McCormick wrote:
 I have a bootable live CD of an out-dated version of a
 specialized distribution of Debian called Vinux. I never saved
 the ISO image and I now want to copy from the CDRW it is on to a
 CDR to use as a rescue disk on systems that can not read CDRW's.
 
   The CDRW works fine so what is the best way to rip it
 such that I end up with an ISO image I can burn to a CDR?

$ dd if=/dev/cdrom of=filename.iso bs=2048 conv=notrunc

then burn the ISO using your tool of choice (wodim, etc.)

-- 
Liam


signature.asc
Description: Digital signature


Re: I have big problem choose corect distribution Debian

2011-06-28 Thread William Hopkins
On 06/28/11 at 10:37pm, Jochen Schulz wrote:
 lee:
  Jochen Schulz m...@well-adjusted.de writes:
  
  Depending on what you want to use the machine for, you may be better
  off using something like Damn Small Linux or even OpenWrt. When using
  Debian, you will have to tweak the system quite a bit to ensure it
  runs as fast as possible.
  
  Would starting with a minimal installation and adding only the needed
  packages later require much tweaking?
 
 I knew someone would ask that question. :) Ok, I'll bite.
 
 I'll try it using qemu. Wait a minute … The system is already swapping
 while d-i is running. :) And installation takes ages, even on a Core2Duo
 core at 2.4GHz and an Intel SSD. I didn't install any tasks, not even
 the Standard system utilities.
 
 Result: installation size of 384MB and only 8MB of RAM in use! That's a
 lot less than I expected.
 
 Nevertheless, one should probably at least disable the installation of
 Recommends and you have to be very picky about packages to install. I
 wouldn't even run Apache on such a machine. Total RAM usage after Apache
 installation: 13MB. Lighttpd uses 2MB less, dhttpd uses only one
 additional MB. Running aptitude in TUI mode (without any webserver
 running) makes the system use 23MB. Vim-tiny uses 1MB. Heck, even top
 needs about 1MB!
 
 I still think it may be worthwhile to check out alternatives to Debian
 that use slimmer libraries and less dependencies. My access point
 (OpenWrt) runs from 8MB flash and offers an httpd, dropbear (an SSH
 server), pppoe and dnsmasq with only 14 processes running.

I've run my local router and webserver from a 100MHz machine with 100MB of RAM
for more than 5 years -- is it really such a big difference?

-- 
Liam


signature.asc
Description: Digital signature


Re: help with virtualbox

2011-06-28 Thread William Hopkins
On 06/28/11 at 08:58pm, Joe wrote:
 On Tue, 28 Jun 2011 10:33:47 -0400
 William Hopkins we.hopk...@gmail.com wrote:
 
  On 06/28/11 at 03:16pm, Kristoffer Gustafsson wrote:
   Hi.
   Since I'm blind, I can't use the graphical interface with
   virtualbox. Can you help me to find a tutorial for me about how I
   do with the vboxmanage command?
  
  I found a few introductory tutorials by googling 'creating VMs with
  vboxmanage'
  
   I know the help for the command in the manual, but I need a step by
   step tutorial. I need also information about how to set up usb, and
   how to choose the correct sound card emulation.
  
  the relevant options are --usb on|off, and --audiocontroller
  ac97:sb16 (from the man page)
  
  I just ran through the basic process, you use createvm, registervm,
  modifyvm, startvm. I enabled sound with modifyvm --audio alsa
  --audiocontroller ac97. I only have virtualbox-ose available, so I
  can't test USB (OSE doesn't have USB support, among other things).
  
 
 
 The manual and web tutorials the OP found are probably all there is,
...
 The OP describes them as 'introductory', but I think ...
...
 Quite apart from the OP's particular problem ...

OP means 'original poster'; however, the person posting the initial problem
(Kristoffer) and the person posting the tutorials (me) are two different people,
so OP isn't appropriate for both (:

Thanks for the tip regarding virtualbox free, hopefully it is licensed properly
and will make it down the line into Debian.

-- 
Liam


signature.asc
Description: Digital signature


Re: nas with debian on pendrive

2011-06-28 Thread William Hopkins
On 06/28/11 at 07:35pm, Pol Hallen wrote:
 Hi folks :-)
 
 I realized a nas with debian6 on a pendrive
 
 (http://fuckaround.org/nuvola/?p=59)
 
 My root dir is ext2 file system (mounted with noatime option).
 
 I reduced writing logs on this pendrive (decreasing samba verbose, openvpn, 
 etc.)
 
 What can I do to decrease the useless writing on pendrive?

Saw something just today on the list about a 'transient' /var/log, mounted in 
memory (tmpfs):

http://www.debian-administration.org/article/A_transient_/var/log

Be warned this shouldn't be used on anything remotely production, as it can
introduce some serious issues in debugging. But for your basic output logging
it may suit a normal user.

-- 
Liam


signature.asc
Description: Digital signature


Re: LVM Recovery

2011-06-28 Thread William Hopkins
On 06/28/11 at 07:36pm, w...@mgssub.com wrote:
 I had a drive crash and it had a little bit of a LVM volume on it. The
 drive that contains most of it still survives.
 
 Can anyone quickly outline what to do to get the survivor attached to
 LVM and 
 working again? LVM has completely forgotten about it.

Post your vgdisplay/lvdisplay outputs to start. It shouldn't have 'forgotten'
about it, you should have gotten an error about missing PVs.

I am correct in assuming you had a VG of multiple PVs, and an LV carved from
that, and one of your PVs is now dead? This is akin to losing the second drive
in a RAID 0.. not usually recoverable. Perhaps you can manually set up your LV
again and truncate the missing bit with resize2fs? You would start by plugging
in a replacement drive and restoring your config from backup with vgcfgrestore. 

-- 
Liam


signature.asc
Description: Digital signature


Re: X on a virtual server

2011-06-27 Thread William Hopkins
On 06/27/11 at 01:49am, Eric d'Halibut wrote:
 On 6/26/11, William Hopkins we.hopk...@gmail.com wrote:
 
  x11vnc is for creating a VNC instance to an existing X server. You just want
  a VNC server: look into tightvncserver.
 
 Yes, that is what I have running now, I think g
 
 From 'ps ax':
 
 27765 pts/1S  0:00 Xtightvnc :01 -desktop X -auth 
 /home/bob/.Xauthority
 27772 pts/1Sl 0:00 gnome-session
 27775 pts/1S  0:00 /usr/lib/libgconf2-4/gconfd-2 5
 2 pts/1S  0:00 /usr/bin/gnome-keyring-daemon
 
 I cannot, however, connect from my remote machine. Even if I turn off
 the firewalls at both ends of the link, I get a connection refused
 when I run vncviewer. I can't even nping to port 5901, which is what
 is configured. I have run xhost + to add both client and server to
 access list.
 
 Some unix weirdness somewhere
 

I *think* you want Xtightvnc :1, not :01? 
Anyway, what does `netstat -nlp |grep vnc` output? Do you see any errors from
running VNC?

-- 
Liam


signature.asc
Description: Digital signature


Re: X on a virtual server

2011-06-27 Thread William Hopkins
On 06/27/11 at 12:47am, Nico Kadel-Garcia wrote:
 On Sun, Jun 26, 2011 at 11:41 PM, William Hopkins we.hopk...@gmail.com 
 wrote:
  On 06/26/11 at 11:29pm, Nico Kadel-Garcia wrote:
  On Sun, Jun 26, 2011 at 11:25 PM, William Hopkins we.hopk...@gmail.com 
  wrote:
   On 06/26/11 at 09:54pm, Eric d'Halibut wrote:
   On 6/26/11, Gregory Seidman gsslist+deb...@anthropohedron.net wrote:
  
I am going to try x11vnc. Thank you all!
  
Not a bad choice, but not necessarily the best either. It depends on 
your
purpose.
  
   My purpose, at this early stage, is simplicity itself: I have a
   virtual private server up and running -- root access and all that --
   and I want to have some sort of X desktop available on it that I can
   remotely log in to. What do you suggest? At present I feel I am close
   to getting the login to work, but of course there is nothing
   resembling an X session there (i.le window manager, Gnome or KDE).
  
   x11vnc is for creating a VNC instance to an existing X server. You just 
   want a
   VNC server: look into tightvncserver.
 
  Or NX from www.nomachine.com, which is free for personal use and is
  commercial grade software with excellent printing, USB, and shared
  session capability with quite efficient CPU and network use on both
  ends. It's a big step up from VNC.
 
  Your post is not helpful in reply to what I have said. You basically say 
  'don't
  listen to this guy -- come try this instead!'. I don't appreciate it.
  Furthermore NX has gone closed-source and is not easier to configure or
  understand. VNC is simple and is what Eric previously told us he was using.
  It's right there in the quoted text.
 
 This is confusing. I was trying to help the original poster, Gregory,
 by pointing out what is, compared side-by-side, an excellent solution.
 I wasn't trying to insult you, and I certainly did not ignore your
 suggestions, but rather I tried to help him, as the original poster. I
 am sorry if that bothers you, although in a support list, I'm not sure
 how to offer a relevant suggestion without possibly insulting someone
 so sensitive about alternative approaches.

I'll accept that you didn't mean any offense. But it just seemed rude to me at
the time, when we are troubleshooting VNC and you offer 'dont use VNC' as a
suggestion. It also sounded very like an advertisement.

-- 
Liam


signature.asc
Description: Digital signature


Re: Tagging the music using cddb

2011-06-27 Thread William Hopkins
On 06/25/11 at 04:36pm, Brad Rogers wrote:
 On Sat, 25 Jun 2011 15:24:26 + (UTC)
 T o n g mlist4sunt...@yahoo.com wrote:
 
 Hello T,
 
  tag the converted ogg music myself *using cddb*. Anybody has done that 
  before?
 
 Yes, but almost invariably, I didn't like what I got from there;
 Spelling mistakes, wrong CD (CDIDs aren't unique), missing CD, wrong
 genre, you name it.  I spent so much time correcting what I received I
 gave up and enter track listings myself.

Seconded. I only have about 10,000 tracks so it was relatively easy to first
fix the naming structure and then tag based on that. THEN I used some custom
automated lookups to get years and genres... but title, track number, album
name, and artist were all present in filename data for me.

-- 
Liam


signature.asc
Description: Digital signature


  1   2   3   >