Re: [vox-tech] wpa_supplicant on debian jessie

2015-07-05 Thread Nick Schmalenberger
On Sat, Jul 04, 2015 at 06:53:20PM -0700, Richard Harke wrote:
> This is happening on two different laptops. One is using a usb wifi fob
> with realtek chip set. My new laptop
> uses intel wifi. I use wicd to select and bring up a connection. The first
> try always takes a very long time
> and fails with bad password. If I then immediately click connect again, it
> connects in 1 or 2 seconds and remains
> connected for a variable length of time. At starbucks (open AP) it connects
> right away but disconnects
> 4 to 6 seconds later. I haven't tried all permutations of machine and AP
> but a recent debian seems to be the
> main common point. Problem started on the old machine after upgrading to
> sid. And now the new machine is
> installed with jessie. (which was sid when the old machine was upgraded)
> Its on my new machine I noticed the log files
> growing and saw entries for wpa_supplicant every few seconds (syslog and
> daemon.log)
> Richard
>
Despite all the seeming bloatedness of NetworkManager, I've had
quite good luck with it on my current Debian laptop. It
especially helped once I found nmtui, because I don't have any
window manager that works decently with the NetworkManager gui
and I think that was my main source of frustration with it
before. 

The only other possible problem I can see with it, is if I want
to manually change my ip on a interface I just added with vlan
tagging or something, NetworkManager may interfere, but I usually
only have to do that at work, where I have a Mac whose GUI
works decently enough even for vlan tagging.
-Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Ticket Tracking Suggestions

2015-07-01 Thread Nick Schmalenberger
On Wed, Jul 01, 2015 at 01:18:45PM -0700, Alex Mandel wrote:
> I'm looking to implement an email based ticket tracking system. The
> classic email h...@whatever.org, auto-reply with ticket number, etc...
> 
> Looking for some open source solutions, or hosted solutions.
> 
> Thanks,
> Alex

Request Tracker is the most classic/popular I think, and its even
a debain package (request-tracker4).
-Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Synaptics driver problem on Lenovo Thinkpad e455

2015-04-27 Thread Nick Schmalenberger
On Mon, Apr 27, 2015 at 01:21:17AM -0700, Bill Kendrick wrote:
> 
> My wife just picked up a used Thinkpad e455 laptop and it's
> working fairly well with Kubuntu 14.04 (trusty).
> 
> One big problem is: we're unable to get KDE to disable the
> touchpad while she types (or, like, at all).  The KDE
> control center's "Touchpad" module complains that the
> Synpatics driver is not loaded.
> 
> I've dug around the web, hitting a lot of 2008 & 2009 threads
> mostly, to no avail.  Has anyone got any experience with this
> kind of trouble on a _recent_ version of Linux?  I'm done
> stabbing in the dark, using recommended tips that are probably
> useless nowadays.
> 
> The main issue is an inability to type on the thing, w/o the
> mouse flying all over the screen.  (There are all sorts of
> great settings to disable touchpad when typing, or when it
> detects a palm vs. fingers... none of which are available to
> us until we figure out this driver problem.)
> 
> Thanks in advance!
>
Does lsmod say any synaptics kernel modules are already loaded?
Assuming it is referring to the kernel module and not some
separate X Windows driver, it might help to load one of
synaptics_usb or synaptics_i2c, maybe before X starts? The usual
place to put kernel modules to be loaded for no apparent reason
is /etc/modules. Once it does load, dmesg might have helpful
information about how the module is detecting the touchpad.
-Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] some people can't send to list

2015-03-17 Thread Nick Schmalenberger
On Tue, Mar 17, 2015 at 05:41:32PM -0700, Tony Cratz wrote:
> On 03/16/2015 11:56 PM, Wes Hardaker wrote:
> > This is fine:
> > 
> >   # dig lugod.org mx
> > 
> >   ;; ANSWER SECTION:
> >   lugod.org.  3600IN  MX  10 www.lugod.org.
> > 
> > This is not:
> > 
> >   # dig www.lugod.org.
> > 
> >   ;; ANSWER SECTION:
> >   www.lugod.org.  3600IN  CNAME   lugod.org.
> >   lugod.org.  3600IN  A   173.13.165.50
> > 
> > *some* (most) DNS resolution software lets you get away with that, but
> > it's not legal according to the DNS RFCs and shouldn't be done.
> > 
> > 
> > The right thing to do would be to replace the MX record so it looked
> > like this:
> > 
> >   lugod.org.  3600IN  MX  10 lugod.org.
> > 
> > Which would then work.  Though, the best thing to do is actually create
> > a new host record:
> > 
> >   lugod.org.  3600IN  MX  10 mail.lugod.org.
> >   mail.lugod.org. 3600IN  A   173.13.165.50
> > 
> 
>   In all the years of be being a Sys. Admin., this issue has been
>   very high on the problem list.
> 
>   I have gotten to the point where I refuse to ever use a CNAME.
>   I wish that CNAME was never invented.
> 
> 
>   Tony
>
Yeah, but honestly why is it a problem anyway? Sure it allows
creating DNS loops and other weird stuff, but it can also be
useful (like a lot of things that can make loops).

It is possible with a sophisticated DNS service like Amazon
Route53 to resolve the equivalent sort of logic internally and
spit out an A record in response to the first request, and still
allow geo or other load balancing.

At my work we use Route53, and it lets us also chain CNAMEs if we
choose. The benefit of that I think is it makes it easier for the
client to see how the logic is working. I can see both sides
here, but why should this be a rule?
-Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Systemd thoughts?

2015-02-24 Thread Nick Schmalenberger
On Wed, Feb 25, 2015 at 07:18:57AM +0800, Mark's tech help wrote:
> 
> I was displeased to see that someone basically pushing systemd will give a 
> LUGoD talk in May.  Freedom-loving types are trying to resist this.  Judging 
> from this rather brief news report, will there possibly just one or zero 
> major Linux distro's to stay away?  I understand that BSD has no intention to 
> adopt such witchcraft, fortunately.
>
Wow man, nice job hijacking a thread to spout close minded
insults about an upcoming talk that is explicitly meant to show
why its not as bad as people say it is. Personally, I'm really
looking forward to hearing this talk and I don't usually make it
to LUGOD more than once a year.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] tcp tuning with wireshark?

2014-03-01 Thread Nick Schmalenberger
On Fri, Feb 28, 2014 at 08:27:13PM -0800, Bill Broadley wrote:
> On 02/26/2014 11:37 PM, Nick Schmalenberger wrote:
> > I need to increase throughput for long lived tcp connections over
> > ipsec over wan between Amazon in Ireland and a Level3 gigabit
> > link in Ashburn Virginia (currently running at about 20Mbps).
> 
> Do you mean that the link is 20mbit?  Or that the bandwidth you are
> achieving over it is 20 mbit?
The latter.
> 
> What is the largest MTU supported across that link?
> 
The interface mtu on the Ireland side is 9001, but it is really
rather less over the path. Tracepath, and ping with pmtu
discovery both seem to think it is 1500 after the first hop, but
it seems to get fragmented after that anyway, I have seen with
tcpdump or tshark. The actual mtu seems to be 1452. I assume this
is because the Amazon ipsec router is just disregarding the don't
fragment for PMTU discovery.

> > I've read various articles saying to enlarge the buffers and make
> > various other kernel tweaks. Some say to base it on the bandwidth
> > delay product, some say just on the link speed, and some say
> > don't bother linux does all that automatically now. Alot of it
> > seems random.
> 
> Heh, well there's quite a few variables to consider.  But in general
> bandwidth is much harder to utilize over a high latency link.  So BDP is
> definitely relevant.
> 
> What exactly are you trying to send/receive over this high latency link?
> 
The protocol is Kafka, sending video playing info back from
Europe for aggregation in Ashburn.
> > However, with wireshark I see that the "bytes in flight"
> > measurement which counts unacknowledged bytes from the source
> > never gets close to the window size sent by the destination. Does
> > this suggest anything in particular to tweak? I got some books on
> 
> One cheat/hack is to just do more TCP connections.  Generally the
> throughput will increase over high latency links with more TCP
> connections.  Up to a point of course.
> 
Yeah, we have had success with this, compression by Kafka also
helps, but I'm hoping to increase throughput at a lower level
anyway if its possible.

> 
> 
> > wireshark, which were quite helpful in how to use the graphs and
> > filters, but on tcp performance they mostly just talked about the
> > effect of packet loss. I'm not certain, but I don't think packet
> > loss is the main thing holding back my performance, because there
> > is some which causes a brief dip in the window size and then it
> > recovers. Throughput stays pretty flat.
> > 
> > It would be really amazing if there was a flowchart on doing this
> > for linux that could be informed by wireshark io graphs and other
> > graphs. Has anybody ever seen such a chart? If this approach is
> > succesful for me, and I can understand how to do it in several
> > scenarios, I think I will even like to make such a flow chart if
> > it doesn't already exist. Thanks for any tips and disabusement of
> > my misunderstandings about tcp in linux :) 
> 
> TCP defaults are definitely suboptimal for transatlantic links.  As our
> many assumptions that applications have.  Much depends on what you are
> trying to do.  I've seen various appliance like widgets that will proxy
> a given protocol for a high latency link so that servers/clients with
> poor assumptions don't take quite as much of a hit.
> 
> I pretty good overview of the related issues is:
>   http://www.psc.edu/index.php/networking/641-tcp-tune
> 
> What I'd do first is attempt to fix things manually by tinkering with
> the mentioned values.  It wouldn't be particularly hard to write a
> traffic generator that played with bitrate and number of simultaneous
> connections to analyze available performance.  Said tool could even
> explore the reasonable ranges for the various knobs you can tinker with
> by writing to /sys and /proc.  Personally I'd be more likely to parse
> the tcpdump logs myself so I could use an arbitrary number of filters,
> statistics, and post processing.   Shouldn't be too hard to graph the
> number of unack'd packets over time for instance.
>
The unack'd packets is exactly what I've been focusing on with
wireshark, and I think wireshark is actually the ideal tool to do
the graphing. It has a metric called "bytes in flight" which
counts unack'd bytes, and I graphed it like this in comparison to
window size: http://postimg.org/image/az0hspgkp/ and the spikes
clearly match up with retransmissions which makes sense because
retransmissions should continue until those segments are acked.
I'm also assuming the real packet loss shown is negligible.

[vox-tech] tcp tuning with wireshark?

2014-02-27 Thread Nick Schmalenberger
I need to increase throughput for long lived tcp connections over
ipsec over wan between Amazon in Ireland and a Level3 gigabit
link in Ashburn Virginia (currently running at about 20Mbps).
I've read various articles saying to enlarge the buffers and make
various other kernel tweaks. Some say to base it on the bandwidth
delay product, some say just on the link speed, and some say
don't bother linux does all that automatically now. Alot of it
seems random.

However, with wireshark I see that the "bytes in flight"
measurement which counts unacknowledged bytes from the source
never gets close to the window size sent by the destination. Does
this suggest anything in particular to tweak? I got some books on
wireshark, which were quite helpful in how to use the graphs and
filters, but on tcp performance they mostly just talked about the
effect of packet loss. I'm not certain, but I don't think packet
loss is the main thing holding back my performance, because there
is some which causes a brief dip in the window size and then it
recovers. Throughput stays pretty flat.

It would be really amazing if there was a flowchart on doing this
for linux that could be informed by wireshark io graphs and other
graphs. Has anybody ever seen such a chart? If this approach is
succesful for me, and I can understand how to do it in several
scenarios, I think I will even like to make such a flow chart if
it doesn't already exist. Thanks for any tips and disabusement of
my misunderstandings about tcp in linux :) 
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Cloning LVM volume over network

2012-05-29 Thread Nick Schmalenberger
On Tue, May 29, 2012 at 02:09:16PM -0700, Alex Mandel wrote:
> On 05/29/2012 11:36 AM, Brian Lavender wrote:
> > On Sun, May 27, 2012 at 09:16:24AM -0700, Wes Hardaker wrote:
> >> Alex Mandel  writes:
> >>
> >>> I'm looking for the most efficient way to clone an LVM volume 50GB from
> >>> one physical machine to another. Both machines must stay up, so that
> >>> rules out clonezilla. I'd also like it to be more efficient that dd, so
> >>> more similar to partimage or partclone where it skips the empty space
> >>> and only copies the filled part.
> >>>
> >>> Anyone have examples that show how to do this?
> >>
> >> I'd typically use rsync...  Fast and efficient :-)
> > 
> > Assuming the lvm volume is mounted on both sides and you tunnel rsync over 
> > ssh. 
> > If you are in an internal network, you could do it over rsh and avoid the 
> > crypto
> > overhead.
> > 
> > cd /mnt/local
> > 
> > Then use the the following from the rsync man page, clipped below. 
> > rsync uses the -e option for ssh, but I don't quite have a machine to test 
> > it.
> > 
> >  To synchronize my samba source trees use the following: 
> > 
> >rsync -Cavuzb . remote_machine:/mnt/local/
> > 
> > It is clipped from where Tridgell talks abut syncing his samba shares using
> > a Makefile and samba source code for CVS commits.
> > 
> > brian
> > 
> 
> I think the tricky part here is that the lvm volume may contain multiple
> partitions (I think it does have a / and a swap since it's a virtual
> machine disk), and I need the partition information, including the boot
> flags.
> 
> Yes it is local network, same rack, I even have a private subnet between
> the machines.
> 
> This seems to be the foolproof way
> http://www.alethe.com/brad/2008/04/move-an-lvm-based-virtual-machine-to-another-host/
> 
> Was just hoping I could figure out how to do it faster, clonezilla seems
> fancier than just partclone though. I think I need something that dumps
> the partition information too.
> 
> Thanks,
> Alex
I wrote a script a while ago for this sort of situation, which
assumes certain things about the VMs /etc/fstab and
/boot/grub/menu.lst files, then it mounts the lvm partition
filesystems in the dom0 appropriately and you could run rsync
across all of them together:
#!/bin/bash

export DISK=$1
export MOUNTPOINT=$2
ROOTPART=1

/sbin/kpartx -av $DISK

mount "$DISK"1 $MOUNTPOINT

if [ -L $MOUNTPOINT/boot  ]; then
ROOTPART=`cat $MOUNTPOINT/boot/grub/menu.lst | perl -nle 'if ($_ =~ 
/^[\s]kernel.+root=\/dev\/\p{L}+([\d])/) { print "$1"; exit}'`
umount $MOUNTPOINT
mount "$DISK""$ROOTPART" $MOUNTPOINT
fi

cat $MOUNTPOINT/etc/fstab | perl -nle 'if ($_ =~ 
/^\/dev\/\p{L}+([\d])[\s]+((\/\p{L}+)+)/ ) { $device=$ENV{DISK} . $1 ; 
$mountpoint=$ENV{MOUNTPOINT} . $2 ; system "mount $device $mountpoint"}'

mixing bash and perl is a little ugly, and I don't even know if
this was ever actually used for the intended purpose because it
was for somebody else, but I hope it might help you! :)
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] import address book into Yahoo! mail

2012-05-21 Thread Nick Schmalenberger
On Mon, May 21, 2012 at 08:56:13PM -0700, Norm Matloff wrote:
> 
> Maybe a bit off topic, but an answer would be much appreciated.
> 
> My wife has an organization with about 100 members, whose e-mail
> addresses she has stored in a spreadsheet file.  (Note:  They are not
> Yahoo! Contacts.) She wants to form them into a single alias in her
> Yahoo! account.  Yahoo!'s mail utility doesn't seem to state how to do
> this, other than laboriously typing by hand.  If anyone has a simple,
> quick method, it would be much appreciated.
> 
> Norm Matloff
>
Can you save the spreadsheet as a csv or tab separated file or
such, then use perl or awk or such to output
addressa, addressb, addressc or
A B , C D  ?
Can that sort of format be pasted into yahoo?
Maybe this will work 
awk -F , {'printf("\"%s %s\" <%s>, ", $1, $2, $3);'}
If the first column is first name, second column is last name,
and third column is email address.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] squid proxy server & client configuration to bypass GFW

2011-10-27 Thread Nick Schmalenberger
On Thu, Oct 27, 2011 at 03:34:00AM -0700, Kristen Eisenberg wrote:
> hello all:
> 
> Here is the thing. A friend of mine in China wanted to access Google's
> android developer site, unfortunately since Google stopped business in
> China, its tech sites seemed also being blocked by the Great Firewall.
> 
> So he asked me for a solution. I checked and it seems Squid proxy is the way
> to go.
> 
> I've instlled Squid on my Ubuntu 9.10 home server, however, the
> configuration seems complex in both server and client (I presume it's a
> browser).
> 
> Now the question: if my sole purpose is to allow my friend to access certain
> websites throu the proxy server, what info I need from him and how to config
> the /etc/squid/squid.conf? What I need to let him know so that he can do his
> part to make the connection?
> 
> I did some google, and start wondering if the ssh tunneling or firefox
> configureation is part of this effort?
> 
> Anyway, I am really out of depth in this domain - the question might sound
> silly, but any help is greatly appreciated.
>
ssh tunneling would be an alternative to squid. Although I don't
have direct experience with it in China, ssh tunneling has been
quite successful for me in the past. The idea is the ssh client
running on the computer in China is the proxy server, probably
listening to localhost. Firefox or another browser is configured
to use the proxy server (the foxyproxy extension helps with it in
firefox) and the all of the firefox http, https and dns traffic
goes through the proxy, over the ssh tunnel and eventually
appears to be coming from the ssh server (outside of China). The
only thing to stop this from working, is if the firewall blocks
ssh traffic.

If you use Squid instead, there will still be normal appearing
web traffic, possibly on an alternate port, to a certain host
(the proxy server) outside China that isn't blocked. The real
destinations will then see the traffic as coming from that one
host outside China. Squid also doesn't help to proxy the dns
traffic like the ssh tunnel does.

The ssh method is so much simpler, more secure and useful (for
just shell sessions too, besides the proxy traffic) that I
definitely recommend it. This article for example:
http://www.extremetech.com/computing/93106-escaping-the-firewall-with-an-ssh-tunnel-socks-proxy-and-putty/
seems to be a good description of how to set it up with the PuTTY
ssh client and firefox in Windows. On the ssh server, the default
settings should allow the proxying and there is no configuration
needed beyond the normal account setup. I hope this helps :)
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Wi-Fi

2011-10-17 Thread Nick Schmalenberger
On Mon, Oct 17, 2011 at 09:33:57PM -0700, Cam Ellison wrote:
> On 11-10-17 07:02 PM, Richard Harke wrote:
> > I got a new router/access point and have been going nuts trying to get 
> > my laptop to connect
> > via wireless. I previously had static IP addresses but my wife wanted 
> > me to change to dhcp
> > to make things easier for her windows machines. Well, her machines are 
> > just fine. The dos I've
> > read said that fr KDE I should use knetworkmanager, which I'm trying 
> > to do. I finally left
> > my eth0 config in /etc/network/interfaces and intend for 
> > knetworkmanager to just handle
> > wireless. I think I'm getting close as I now get a popup window for 
> > the pass phrase but
> > still no connection.
> Dump knetworkmanager and download wicd.  It's easier to work with and it 
> works like a charm.
>
I still just use /etc/network/interfaces, even for wpa wireless
networks. If there are some I don't connect to often, I keep a
separate wpa_supplicant configuration file for them
(wpa_passphrase generates it) and use that manually with
wpa_supplicant then run dhclient manually. 
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] clean up the program synergys and synergyc

2011-08-17 Thread Nick Schmalenberger
On Wed, Aug 17, 2011 at 11:20:45PM -0400, Hai Yi wrote:
> hai@aggression:~$ dpkg -S /usr/bin/synergyc
> synergy-plus: /usr/bin/synergyc
> hai@aggression:~$ dpkg -S /usr/bin/synergys
> synergy-plus: /usr/bin/synergys
> hai@aggression:~$ dpkg -r synergys
> dpkg: requested operation requires superuser privilege
> hai@aggression:~$ sudo dpkg -r synergys
> [sudo] password for hai:
> dpkg: warning: ignoring request to remove synergys which isn't installed.
>
So this says /usr/bin/synergyc is in the package synergy-plus.
Try sudo dpkg -r or dpkg -P synergy-plus.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] clean up the program synergys and synergyc

2011-08-14 Thread Nick Schmalenberger
On Sat, Aug 13, 2011 at 12:34:23AM -0400, Hai Yi wrote:
> Hello all:
> 
> I used to use synergy to share keyboard and mouse among three
> computers, now I stopped using it. However I noticed this from the
> /var/log/syslog of my Linux server,
> 
> Aug 13 00:25:50  Synergy+ 1.3.4: 2011-08-13T00:25:50
> WARNING: cannot listen for clients: cannot bind address: Address
> already in 
> use#012#011/home/nick/Projects/synergy-plus/cmd/synergys/synergys.cpp,505
> 
> it keep rolling.  Using 'ps -ef | grep synergy' I found that synergys
> is running, the program is at /usr/bin/synergys
> 
> Now two questions:
> 
> 1. How can I completely clean up this program? I forget how it was
> installed in the first place, but I tried 'apt-get remove' and 'dpkg
> -r ', neither works;
What does dpkg -s synergy say (status of the package)? What about
dpkg -S /usr/bin/synergy (what package has this file)? What is
the error when purging the package doesn't work? If the package
is still installed, removing it successfully should properly stop
it.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Directory name changed out from underneath me.

2011-08-01 Thread Nick Schmalenberger
On Mon, Aug 01, 2011 at 11:25:36PM -0500, Ken Bloom wrote:
> On Mon, 2011-08-01 at 19:43 -0700, Nick Schmalenberger wrote:
> > On Mon, Aug 01, 2011 at 08:59:58PM -0500, Chanoch (Ken) Bloom wrote:
> > > I was just navigating around on one of the machines in my lab, when I
> > > noticed something wierd: bash is getting the name of one of my
> > > directories wrong when it tries to print it in the prompt.
> > > 
> > > [bloom@zuni ~]$ cd /
> > > [bloom@zuni /]$ ls
> > > bin/   etc/ lib/ media/proc/ srv/  var/
> > > boot/  home/lib32/   mnt/  root/ sys/  vmlinuz@
> > > data/  home-raid/   lib64@   nonexistent/  sbin/ tmp/
> > > dev/   initrd.img@  lost+found/  opt/  selinux/  usr/
> > > [bloom@zuni /]$ cd data
> > > [bloom@zuni dtaa]$ pwd
> > > /data
> > > [bloom@zuni dtaa]$ echo ~+
> > > /data
> > > [bloom@zuni dtaa]$ mount
> > > /dev/sda1 on / type ext3 (rw,errors=remount-ro)
> > > tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
> > > proc on /proc type proc (rw,noexec,nosuid,nodev)
> > > sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> > > udev on /dev type tmpfs (rw,mode=0755)
> > > tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> > > devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
> > > fusectl on /sys/fs/fuse/connections type fusectl (rw)
> > > binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
> > > (rw,noexec,nosuid,nodev)
> > > nas.lingcog.iit.edu:/home2 on /home-raid type nfs 
> > > (rw,nosuid,noatime,addr=216.47.152.22)
> > > nas.lingcog.iit.edu:/data on /data type nfs 
> > > (rw,nosuid,noatime,addr=216.47.152.22)
> > > 
> > > It's correctly spelled in the pwd command, and bash's ~+ expansion, and
> > > also in the mount command (/data happens to be a mountpoint), so
> > > basically it's correctly spelled everywhere except for the prompt. Any
> > > ideas why?
> > >
> > What do echo $PWD and echo $PS1 say? $PS1 seems like the next
> > place to look, and particularly the \w part.
> 
> [bloom@zuni dtaa]$ echo $PS1
> [\u@\h \W]\$
> [bloom@zuni dtaa]$ echo $PWD
> /data
>
What if you try setting PS1 with \w instead of \W? Maybe there is
some weirdness with getting the basename from the full pathname.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Directory name changed out from underneath me.

2011-08-01 Thread Nick Schmalenberger
On Mon, Aug 01, 2011 at 08:59:58PM -0500, Chanoch (Ken) Bloom wrote:
> I was just navigating around on one of the machines in my lab, when I
> noticed something wierd: bash is getting the name of one of my
> directories wrong when it tries to print it in the prompt.
> 
> [bloom@zuni ~]$ cd /
> [bloom@zuni /]$ ls
> bin/   etc/ lib/ media/proc/ srv/  var/
> boot/  home/lib32/   mnt/  root/ sys/  vmlinuz@
> data/  home-raid/   lib64@   nonexistent/  sbin/ tmp/
> dev/   initrd.img@  lost+found/  opt/  selinux/  usr/
> [bloom@zuni /]$ cd data
> [bloom@zuni dtaa]$ pwd
> /data
> [bloom@zuni dtaa]$ echo ~+
> /data
> [bloom@zuni dtaa]$ mount
> /dev/sda1 on / type ext3 (rw,errors=remount-ro)
> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> udev on /dev type tmpfs (rw,mode=0755)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
> (rw,noexec,nosuid,nodev)
> nas.lingcog.iit.edu:/home2 on /home-raid type nfs 
> (rw,nosuid,noatime,addr=216.47.152.22)
> nas.lingcog.iit.edu:/data on /data type nfs 
> (rw,nosuid,noatime,addr=216.47.152.22)
> 
> It's correctly spelled in the pwd command, and bash's ~+ expansion, and
> also in the mount command (/data happens to be a mountpoint), so
> basically it's correctly spelled everywhere except for the prompt. Any
> ideas why?
>
What do echo $PWD and echo $PS1 say? $PS1 seems like the next
place to look, and particularly the \w part.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] CalDAV

2011-07-15 Thread Nick Schmalenberger
On Wed, Jul 06, 2011 at 11:49:52PM -0400, Peter Salzman wrote:
> On Wed, Jul 6, 2011 at 11:18 PM, Nick Schmalenberger
>  wrote:
> > On Wed, Jul 06, 2011 at 10:15:37PM -0400, Peter Salzman wrote:
> >> On Fri, Jul 1, 2011 at 4:28 PM, Rick Moen  wrote:
> >> > I wrote:
> >> >
> >> > And that's just not happening.  Everyone wants to make a groupware suite
> >> > that does absolutely everything, wants to take over the world, and has
> >> > incredibly picky and incredibly extensive requirements.  I cannot just
> >> > drop Bedework, or Bongo Project, or Cosmo, or Dingo Calendar Server, or
> >> > ScalableOGo, or EGroupware into my old PIII server and have any of
> >> > those play well with my existing server configuration.  Almost all
> >> > insist on a specific back-end database, and many want LDAP-based
> >> > directory services.
> >>
> >> Update.
> >>
> >> This is about right.  Bedework is unsuitable for my needs.  It's too
> >> big of a framework.  Very intensive.  The developers say it requires
> >> its own dedicated server, which is why it's not offered by webhosting
> >> companies.  There's no such thing as a server that runs Bedework for
> >> multiple clients, and from what I've read, I don't exactly want to run
> >> it on my desktop machine.  Sigh.  It does look like a conquer the
> >> world type application though.  Very impressive, but you hit the nail
> >> squarely on the head with the above paragraph.
> >>
> >> I looked into mod_caldav.  The documentation is spotty, but from what
> >> I can tell, it requires a patched Apache server?!?  I've seen messages
> >> of people who were compiling Apache to run mod_caldav, and that looks
> >> like a whole can of worms too.
> >>
> >> I started to look into the Ubuntu calendarserver package.  Still
> >> trying to figure out how to set it up and whatnot; documentation
> >> sucks, but I think it might be the most fruitful avenue to caldav out
> >> of the three options I've looked at so far.
> >>
> > Has anybody tried davical? How does it compare? I just tried
> > "apt-cache search caldav" and radicale also comes up, besides
> > calendarserver.
> > Nick
> 
> Thanks for the lead.  I'll look into this week and post my experience.
> 
I just found this article too
http://www.linux.com/learn/tutorials/402382:the-five-best-open-source-calendar-servers-for-linux
Hopefully I will be able to try some out next week. :)
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] CalDAV

2011-07-06 Thread Nick Schmalenberger
On Wed, Jul 06, 2011 at 10:15:37PM -0400, Peter Salzman wrote:
> On Fri, Jul 1, 2011 at 4:28 PM, Rick Moen  wrote:
> > I wrote:
> >
> > And that's just not happening.  Everyone wants to make a groupware suite
> > that does absolutely everything, wants to take over the world, and has
> > incredibly picky and incredibly extensive requirements.  I cannot just
> > drop Bedework, or Bongo Project, or Cosmo, or Dingo Calendar Server, or
> > ScalableOGo, or EGroupware into my old PIII server and have any of
> > those play well with my existing server configuration.  Almost all
> > insist on a specific back-end database, and many want LDAP-based
> > directory services.
> 
> Update.
> 
> This is about right.  Bedework is unsuitable for my needs.  It's too
> big of a framework.  Very intensive.  The developers say it requires
> its own dedicated server, which is why it's not offered by webhosting
> companies.  There's no such thing as a server that runs Bedework for
> multiple clients, and from what I've read, I don't exactly want to run
> it on my desktop machine.  Sigh.  It does look like a conquer the
> world type application though.  Very impressive, but you hit the nail
> squarely on the head with the above paragraph.
> 
> I looked into mod_caldav.  The documentation is spotty, but from what
> I can tell, it requires a patched Apache server?!?  I've seen messages
> of people who were compiling Apache to run mod_caldav, and that looks
> like a whole can of worms too.
> 
> I started to look into the Ubuntu calendarserver package.  Still
> trying to figure out how to set it up and whatnot; documentation
> sucks, but I think it might be the most fruitful avenue to caldav out
> of the three options I've looked at so far.
>
Has anybody tried davical? How does it compare? I just tried
"apt-cache search caldav" and radicale also comes up, besides
calendarserver.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unbuntu and VMSterm script

2011-03-21 Thread Nick Schmalenberger
On Mon, Mar 21, 2011 at 03:29:44PM -0700, David Spencer, Internet Handyman 
wrote:
> Guys, I've been slowly weaning my way away from my OpenVMS addiction
> by using various tools on Ubuntu. Specifically there's a nifty little
> key-redefinition script that defines keypad keys and such for the
> terminal so it emulates (mostly) a VT100. (Try a google search for
> vmsterm.)
> 
> Anyway, after a recent update to unbuntu, it's now broken. I'm not
> very happy. Any tips on what might have changed that broke the script?
> Yeah, I know that none of your are familiar with it of course. But
> how do I go about finding out what changed? I'd really like to think
> that it's some setting or something that I can flip to get the old
> behavior back...
> 
> Thanks,
>
Well, xev will tell you what key codes are really being pressed
and xmodmap can print out all the current mappings. Thats all I
can think of though without knowing how the script does its
remapping. I only have such experience with xmodmap and I know it
can be tricky.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Apache: 2, Me: 0.

2011-02-14 Thread Nick Schmalenberger
On Tue, Feb 15, 2011 at 01:31:58AM -0500, Peter Salzman wrote:
> Third time is a charm, perhaps.  I'm trying to get Apache to work.
> 
> I can access dirac.org successfully from inside my network; I can't
> access it from outside my home network.  Apache is running on a Linux
> box on satan: 192.168.0.2 and I'm testing it from a MS Windows machine
> on lucifer:192.168.0.3.  My ISP is optimum online.  Here are some
> clues.
>
Are you on ppp or pppoe? When you try to telnet in from outside,
you should be able to do GET / HTTP/1.0 and the server will
respond, but instead the connection closes. This makes me think
that a small connection is working but not for more data, and
maybe path mtu discovery and/or tcp maximum segment size
negotiation are broken because pppoe has an mtu of 1492 instead
of the ethernet mtu of 1500. It might be wrong, but I think being
able to get response headers from the server over telnet from
outside would be the next progress to make in troubleshooting it.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] failed to build a computer

2011-01-21 Thread Nick Schmalenberger
On Fri, Jan 21, 2011 at 04:18:17PM -0800, Richard Harke wrote:
> Most of the systems I have built used "beep" codes for he most serious
> failures. This required a small speaker
> (usually comes with case) and connection from mobo. Manual should tell you
> what beep codes mean.
> 
> Richard
> 
> On Fri, Jan 21, 2011 at 8:06 AM, Hai Yi  wrote:
> 
> > Hello all:
> >
> > I am in the process of building a new desktop, and ran into some serious
> > problems. I've been struggling with them for the past two days w/o too much
> > success.
> >
> > Please kindly bear with me. These are my desktop's specs:
> >
> > Case: Silverstone FT02B
> > PSU: CORSAIR CMPSU-650TX 650W
> > Mobo:GA-X58A-UD3R
> > CPU: i7-950
> > Video Card: Radeon HD 5870
> > Memory:GSkill 4G * 2 DDR3 1600
> > SSD: Kingston 128G
> >
> > I also use a old HDD (250G) for now.
> >
> > The problem is, after I wired up all internal wires and powered up the
> > system, the system kept resetting, and there is no video signals. If I
> > pressed the "cle cmos" button (there is one on the ft02B case, so I guess I
> > don't have to jump) during this process, the reseting stops, but still no
> > video signals. Next time I power up, the above happens again.
> >
> > both atx_12v_2x and atx slots were hooked up with the PSU; two rams were on
> > bank 1 &2; power/reset sw and others were rightly put in the F_PANEL.
> >
Does the cpu fan come on? Do the keyboard lights blink? If you
have another video card that doesn't need its own power I would
try that too. Are you using an antistatic wrist strap? If the
keyboard lights blink it is probably booting somewhat normally
except with no video.
Nick Schmalenberger


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Formatting a disk for Macintosh using Linux

2011-01-08 Thread Nick Schmalenberger
On Sat, Jan 08, 2011 at 10:56:25PM -0800, Alex Mandel wrote:
> On 01/08/2011 09:53 PM, Nick Schmalenberger wrote:
> > On Sat, Jan 08, 2011 at 09:42:52PM -0600, Chanoch (Ken) Bloom wrote:
> >> I've been asked to move data from an old external hard drive to a new
> >> one, and to make the new one compatible with the Macintosh. (The old
> >> drive's USB connection has died, and I'm connecting to old the drive using
> >> a PC card that provieds an eSATA to the drive. The recipient's 
> >> Macintosh doesn't have a PC card slot, so she can't access the old
> >> drive anymore. Hence, the new drive.)
> >>
> >> Naturally, I'm doing this data transfer using Linux. I've discovered
> >> that I can format the drive as HFS+ using mkfs.hfsplus from the
> >> hfsprogs package. But I need to know: do I need to do anything special
> >> with the partition table? Is there a special Macintosh partition table
> >> format that I need to format this disk to? If so, what tools can I use
> >> to get the right format for the partition table?
> >>
> > Macs do have a special partition table format. Try mac-fdisk or
> > parted to make the partitions. Parted supports lots of partition
> > table formats and mac-fdisk is just for the mac format.
> > Nick Schmalenberger
> > 
> 
> I believe ita a GPT http://en.wikipedia.org/wiki/GUID_Partition_Table
> Which you can easily do with the standard linux disc tools. In fact you
> have to use this type of table for drives over a certain amount of TB.
> The only thing that might catch you is that fdisk does not work on GPT
> you have to use gdisk instead.
> 
> Course with an external drive the question is should you use something
> like NTFS in order for the drive to be more universally compatible with
> any machine you plug into. As noted on the page I linked, not all
> version of Windows support GPT so don't use that if you care about
> windows compatibility. For some odd reason MAC doesn't have read/write
> NTFS on by default according to some pages:
> http://hints.macworld.com/article.php?story=20090913140023382
>
Macs with openfirmware and maybe before that, i'm not sure, used
a different kind of partition table also. I think once apple
started using EFI they started to use GPT also. So if the mac is
older than that then its the mac partition table.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Formatting a disk for Macintosh using Linux

2011-01-08 Thread Nick Schmalenberger
On Sat, Jan 08, 2011 at 09:42:52PM -0600, Chanoch (Ken) Bloom wrote:
> I've been asked to move data from an old external hard drive to a new
> one, and to make the new one compatible with the Macintosh. (The old
> drive's USB connection has died, and I'm connecting to old the drive using
> a PC card that provieds an eSATA to the drive. The recipient's 
> Macintosh doesn't have a PC card slot, so she can't access the old
> drive anymore. Hence, the new drive.)
> 
> Naturally, I'm doing this data transfer using Linux. I've discovered
> that I can format the drive as HFS+ using mkfs.hfsplus from the
> hfsprogs package. But I need to know: do I need to do anything special
> with the partition table? Is there a special Macintosh partition table
> format that I need to format this disk to? If so, what tools can I use
> to get the right format for the partition table?
>
Macs do have a special partition table format. Try mac-fdisk or
parted to make the partitions. Parted supports lots of partition
table formats and mac-fdisk is just for the mac format.
Nick Schmalenberger

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] squid proxy server & client configuration to bypass GFW

2011-01-02 Thread Nick Schmalenberger
On Sat, Jan 01, 2011 at 10:43:14PM -0800, Brian Lavender wrote:
> Have you tried using ssh socks proxy using the -D option?
> 
> ssh -D 1234 remotehost.com
> 
> In firefox, go to network -> advanced settings.
> 
> and select it to use localhost, port 1234. You should configure
> Firefox to use dns proxy too.
> 
> about:config
> network.proxy.socks_remote_dns true
> 
> This site has some info.
> https://calomel.org/firefox_ssh_proxy.html
>
Yeah, socks proxy over ssh works really well. Also check out the
firefox extension foxyproxy for handling several proxy
configurations.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Vipre and ESET Antivirus

2010-12-02 Thread Nick Schmalenberger
On Wed, Dec 01, 2010 at 10:13:19PM -0800, Bob Scofield wrote:
> My Kaspersky antivirus is expiring in about a month.  I'm thinking of getting 
> either Vipre or ESET.  It's for my two work computers running XP.
> 
> Vipre is apparently new, but is getting good reviews on the web.  It 
> supposedly uses less resources than the others.
> 
> Has anyone here had any experience with either Vipre or ESET?  Does anyone 
> have any other comments about antivirus programs?
>
I think the only Window$ antivirus program to get now, is
Micro$oft Security Essentials. It works pretty well and because
its free and not a 3rd party, its not bloated by trying to sell
itself on top of Window$.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Fwd: strange error loading google earth

2010-11-09 Thread Nick Schmalenberger
On Tue, Nov 09, 2010 at 12:38:22PM -0800, Bill Kendrick wrote:
> 
> Dylan posted from a non-subscribed address.
> 
> 
> - Forwarded message from vox-tech-boun...@lists.lugod.org -
> 
> Date: Tue, 09 Nov 2010 12:21:20 -0800
> From: vox-tech-boun...@lists.lugod.org
> Subject: Auto-discard notification
> To: vox-tech-ow...@lists.lugod.org
> 
> Date: Tue, 9 Nov 2010 11:57:15 -0800
> From: Dylan Beaudette
> Subject: strange error loading google earth
> To: "lugod's technical discussion forum" 
> 
> Hi,
> 
> I recently updated to Debian squeeze/sid and noticed a very strange error 
> after installing the new version of Google Earth. I manually removed the 
> previous install just in case.
> 
> Here is the error message from strace:
> 
> relocation error: /usr/lib/libGL.so.1: symbol _nv54gl, version LIBGLCORE 
> not defined in file libGLcore.so.1 with link time reference
> 
> Any ideas on what could be causing this? I am using the NVIDIA driver 
> compiled 
> and installed using module-assistant.
> 
> Thanks!
> Dylan
>
Try using the nouveau driver from experimental with
libdrm-nouveau1. I haven't tried it with google earth but it
works great with glxgears and stonerview.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] (O.T.) Strange Image

2010-11-05 Thread Nick Schmalenberger
On Fri, Nov 05, 2010 at 08:53:38AM -0500, Ken Bloom wrote:
> On Fri, 2010-11-05 at 00:44 -0700, Richard Harke wrote:
> > I was perusing satellite images on google maps when I happened across
> > Hell Hole Resevoir. There was a very strange image on or over the
> > water
> > that i could not identify. I'm pretty sure the satellite doesn't get
> > bugs
> > crawling across the camera lens so I'm puzzled as to what this thing
> > is.
> > If any one is curious, maybe they could look at it and maybe
> > some one can identify what it is. (Hell Hole Resevoir is in the
> > Sierras,
> > east of Georgetown and west of Lake Tahoe. Google knows where it
> > is.)
> > 
> > Richard
> 
> 
> The white line in the western part of the reservoir appears to be the
> wake of a jet-ski or motor boat. The white stuff in the eastern part of
> the reservoir appears to be large rocky formations that can also be seen
> from this photo. http://en.wikipedia.org/wiki/File:LOGJAM.jpg
>
At first I thought the long white line was a boat wake also, but
if its close to the ground its over 1000 feet long so I decided
its more likely to be an airplane contrail.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Seeking Router Advice

2010-10-29 Thread Nick Schmalenberger
On Fri, Oct 29, 2010 at 03:10:42PM -0700, Troy Arnold wrote:
> On Fri, Oct 29, 2010 at 01:31:02PM -0700, Scott Miller wrote:
> > If your router can't do WPA2, chances are it's an 802.11b router.
> 
> FYI, I had a Netear WGR614r5 that just quit after many years of good service.
> It supported 802.11g but not WPA2.
> 
> > There are speed benefits to having 802.11g or 802.11n router +
> > similarly capable wifi cards in your computers. :)
> 
> Most definitely.
> 
> > On 10/29/2010 11:01 AM, Bob Scofield wrote:
> > > 1) Should I get a new router just to use WPA2?
> 
> It's my understanding that the issues with WPA are with TKIP and that it's
> not such a big deal unless you have a motivated and fairly skilled
> attacker.  A reading of
> <http://en.wikipedia.org/wiki/Temporal_Key_Integrity_Protocol> explains
> that weaknesses in TKIP may allow an attacker to inject a handful of
> packets into your network, but it does sound like it would take an awful
> lot of persistence to do anything more than be a nuisance.  WPA2 also
> benefits from reduced overhead in the key exchange and caching of keys when
> roaming across multiple APs so if you were using multiple APs around the
> house, it might work smoother on a WPA2 network.
> 
> If your device supports WPA/AES then I'd switch to that.  Even if not, I
> personally wouldn't sweat WPA/TKIP for casual home use.
> 
> > > 3)  If I did get a new router, what would be a good one to get?
> 
> I recently grabbed a Netgear WNR3500L which is pretty hackable and capable.
> I didn't do a ton of research, but I did enough to be satisfied.  
>
I think the dlink dir-615 and dir-825 are very good. The default
firmware supports ipv6 and is so labeled on the box, and I bought
them for just that reason. I haven't had a chance to use the
dir-825 yet, but the dir-615 works great with ipv6 in 6to4 mode
and the wireless works great with wpa2 also. Also, check out
http://www.wi-fiplanet.com/columns/article.php/3816236/The-DD-WRT-Controversy.htm
for information about dd-wrt, the guy who makes dd-wrt seems to
think of it more as his private business than an open community
project. I've had alot of good experiences with OpenWRT which is
definitely an open community, but the default firmwares in
various routers I've used have also worked well. I think if you
do get a new router, be sure to look for ipv6 support because its
definitely a crucial feature these days. With ipv6 I am even able
to print files directly from my mail server to my printer at
home without having to forward a port on the router, its great!
Switching to wpa1 should be fine also. 
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] hard drive light stays on? 4k sectors WDS10EADS

2010-09-19 Thread Nick Schmalenberger
On Sat, Sep 18, 2010 at 11:03:00PM -0700, Brian Lavender wrote:
> I put together an MSI Wind box at the beginning of the year with a Western
> Digital 1TB drive that uses 4kb sectors (WD10EADS). It seems that the SATA
> link fails to respond at startup (see below) and the drive light stays on
> after bootup.  Otherwise, things seem to work fine. I am not sure if the
> drive got mapped or formatted (however you say it) with 4kb sectors. It
> looks like the kernel messages is reporting 512-byte sectors. Any advice?
> 
> I searched Google and I couldn't seem to fine a straight answer, except
> for that some were not too happy with this drive.  How is I tell if I
> installed correctly for this drive? I am using Debian lenny.
>
I got 2 of the 1.5tb version of these drives, and the sector size
is this way too, I think its pretty dumb. Apparently ibm
compatible bioses can't handle any sector size but 512 bytes, so
the firmware will always say its 512 even though its 4096
internally, and you are just expected to make the partitions
aligned on a 4096 byte boundary, which seems to be painful and
annoying to do in fdisk or parted. Parted also likes to use
metric instead of binary prefixes which doesn't help at all. I
was trying to install centos 5.4 on the drives when I got them
about 6 months ago, and haven't played with them much lately.
Maybe parted or fdisk have gotten better since then about setting
the alignment?
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] External vs. Bare Drive/Case

2010-09-01 Thread Nick Schmalenberger
On Wed, Sep 01, 2010 at 01:56:35PM -0700, Nick Schmalenberger wrote:
> On Wed, Sep 01, 2010 at 01:16:25PM -0700, Alex Mandel wrote:
> > For those who recall my previous thread, I'm currently searching for
> > some backup drives. Based on feedback here, discussions and readings
> > external usb drives sound like the way to go (networked via some low
> > power mini computer or routerish device).
> > 
> > Now the hard part, trying to find some reliable hard drives. Looking
> > around, it's slim pickings to find 2 TB drives that get decent reviews.
> > I'm specifically looking for slow, low-power, reliable,"green" drives.
> > 
> > I'm fairly settled on getting an external case and putting my own drive
> > in it, mostly because I can't find an external with drive that fits the
> > needs. None of them list power consumption and seem to have all sorts of
> > features I have no interest in paying for. Not to mention the warranty
> > is way better if I buy the drive separate.
> > 
> > What I've found so far is that WD drives at the 1TB range get great
> > reviews and WD 2 TB drives only get 50% great reviews, 25%Terrible
> > reviews. The best I could find is SAMSUNG EcoGreen F3 HD203WI 2TB 5400
> > RPM with 70% great reviews.
> > 
> > Just looking to see if anyone else has had any experience with drives
> > like these.
> >
> I've often heard that the highest capacity drives available
> usually have the most platters and so are less reliable because
> of more moving parts, and they are more expensive. I wish newegg
> would list the number of platters a drive has, supposedly 4 or 5
> is alot and 2 or 3 is a good amount. Sometimes you can find out
> from other sites like http://www.storagereview.com/ and 
> http://www.redhill.net.au/ also has a lot of cool info about hard
> drives.
I imagine when these drives come out
http://www.waybeta.com/news/34364/single-platter-667g-samsung-released-three-disc-2tb-samsung-green-hard-drives-news-_/
they will be pretty great.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] External vs. Bare Drive/Case

2010-09-01 Thread Nick Schmalenberger
On Wed, Sep 01, 2010 at 01:16:25PM -0700, Alex Mandel wrote:
> For those who recall my previous thread, I'm currently searching for
> some backup drives. Based on feedback here, discussions and readings
> external usb drives sound like the way to go (networked via some low
> power mini computer or routerish device).
> 
> Now the hard part, trying to find some reliable hard drives. Looking
> around, it's slim pickings to find 2 TB drives that get decent reviews.
> I'm specifically looking for slow, low-power, reliable,"green" drives.
> 
> I'm fairly settled on getting an external case and putting my own drive
> in it, mostly because I can't find an external with drive that fits the
> needs. None of them list power consumption and seem to have all sorts of
> features I have no interest in paying for. Not to mention the warranty
> is way better if I buy the drive separate.
> 
> What I've found so far is that WD drives at the 1TB range get great
> reviews and WD 2 TB drives only get 50% great reviews, 25%Terrible
> reviews. The best I could find is SAMSUNG EcoGreen F3 HD203WI 2TB 5400
> RPM with 70% great reviews.
> 
> Just looking to see if anyone else has had any experience with drives
> like these.
>
I've often heard that the highest capacity drives available
usually have the most platters and so are less reliable because
of more moving parts, and they are more expensive. I wish newegg
would list the number of platters a drive has, supposedly 4 or 5
is alot and 2 or 3 is a good amount. Sometimes you can find out
from other sites like http://www.storagereview.com/ and 
http://www.redhill.net.au/ also has a lot of cool info about hard
drives.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] USB confusion

2010-08-20 Thread Nick Schmalenberger
On Thu, Aug 19, 2010 at 03:00:36PM -0700, David Spencer, Internet Handyman 
wrote:
> I had an old eMachines computer sitting at my office doing nothing so I
> decided to put it to work. I installed CentOS workstation on it this morning.
> Now I have a fun little Linux machine for my personal use.
> 
> However, I more in mind than just building a playground computer. I had
> some SATA drives that I wanted to mount in external USB 2 enclosures and
> pull off some files. I plugged the enclosure into one of the USB ports on
> the computer and no reaction. Nothing. So I started to doubt that the USB
> was working, so I stuck in a thumb drive that I had. Normally, when I
> stick my thumb drive into my Mac, there's a light that comes on and the
> drive is mounted on the desktop. But once again, nothing. No lights, no
> autosense, nada.
> 
> So how do I figure this out guys? If I do directory of /dev I see four
> usbdev stubs (or whatever they're called) so I know that something USB
> was installed. Where should I start?
>
Check dmesg, when something happens that the kernel logs it goes
into dmesg and /var/log/messages on centos. Different distros and
other unixes have different log file names for this, but dmesg is
pretty much everywhere. It should say that the usb stick was
detected as a storage device and what partitions are on it. Then
you can mount the filesystem on the partition, or maybe there are
no partitions and the filesystem is just on the whole disk like a
floppy. Dmesg should say it was detected though, then you would
run something like mount /dev/sdb1 /mnt or maybe
mount -t vfat -o uid=yourusername /dev/sdb1 /mnt which would say
its a vfat filesystem and make everything owned by you instead of
root.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problem with extracting in terminal

2010-06-16 Thread Nick Schmalenberger
On Wed, Jun 16, 2010 at 09:57:00AM -0700, Anahita Yazdi wrote:
> I have downloaded a package that I need to extract it on my desktop. I used
> terminal command tar zxvf filename.tar.gz to do so, however this is the
> error I keep getting:
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Exiting with failure status due to previous errors
> Would someone be able to help me with this please,
> Thanks so much,
> Anahita
If you run file filename.tar.gz it should tell you what kind of
file it really is, then you can properly extract it. File is
really an amazingly cool utility, its one of my favorite parts of
unix. It has so many cool file signatures, like for different
self extracting archives and stuff where it tells what kind of
executable it is and the archive format the executable is a
wrapper for.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] man page for pthread_create

2010-05-22 Thread Nick Schmalenberger
On Sat, May 22, 2010 at 09:54:24PM -0700, Brian Lavender wrote:
> I am missing the man page for pthread_create on Ubuntu 10.04. Anyone
> know in which package it is located?
>
It looks like the manpages-posix-dev has a page for it:
http://packages.ubuntu.com/search?suite=lucid&mode=filename&searchon=contents&keywords=pthread_create
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] MTA

2010-04-29 Thread Nick Schmalenberger
On Thu, Apr 29, 2010 at 08:43:28AM -0500, Chanoch (Ken) Bloom wrote:
> On Thu, 2010-04-29 at 01:04 -0700, Richard Harke wrote:
> > Not the MTA Charlie got stuck on. I'm running Debian and every recent
> > (and maybe not so recent) install has installed exim4 as a Mail Transfer
> > Agent. But is not clear that this is doing anything for me. I normally do 
> > email
> > through my ISP or in some cases through gmail. When I take my laptop
> > out for coffee, it takes a really long time to decide to skip the MTA 
> > startup
> > because it doesn't have internet access. Is there any reason I can't or 
> > shouldn't
> > disable it?
> 
> AFAICT, nothing important *depends* on an MTA, but several potentially
> important pieces of software recommend it, including at and cron which
> use it to notify of the output of their jobs.
> 
> The best thing to do is probably to install a lightweight non-daemon
> mailer like esmtp-run so that programs that need it can still have
> access to a sendmail command.
>
Yes, exactly. I really like ssmtp for this, and its also
available in debian with Provides: mail-transport-agent so it
fills the requirement of other packages that need to send mail.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] telnet daemon doesn't work

2010-04-04 Thread Nick Schmalenberger
On Sun, Apr 04, 2010 at 11:02:09PM -0700, Brian Lavender wrote:
> Wierd thing is that if I run a simple echo server on that port, it
> works.
>
The tcp6 just means that is using an ipv6 socket, but it can
still accept ipv4 connections using an ipv4 mapped address. I
suppose the talk by Owen DeLong from Hurricane Electric in July
will demonstrate this. How I would troubleshoot this, is run
tcpdump to see if the traffic is coming in. Then, see if there
are any rules in the INPUT chain in iptables that might be
blocking it (or in the FORWARD chain in the dom0, and you can run
tcpdump on peth0 and the vif interface also to see both sides of
the xen bridge/iptables FORWARD chain). But you said it works
with the echo server, so I guess the traffic is coming into the
domU. If its passing through iptables in the domU, then you could
try running netcat on the telnet port with telnet negotiation
instead, or telnetd (there are various ones, maybe some have
easier troubleshooting?) with debugging turned on and not daemonizing
so you can see more output about if it is configured correctly.
Anyway, maybe those steps are kind of out of order with regard to
how the traffic goes up the network stack but it should be with xen:
physical ethernet->iptables FORWARD->dom0 vif->
domU eth0->iptables INPUT->user process network socket
I hope that makes sense.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] proxy server

2010-03-07 Thread Nick Schmalenberger
On Sun, Mar 07, 2010 at 08:14:58PM -0500, Hai Yi wrote:
> hello all:
> 
> Is it possble to install a proxy server on my home Linux server? What
> I intend to do is to allow some of my friends back in China to access
> some censored website through it (some time they can't even visit
> nyt.com ). What software for Linux can help me achive that goal?
>
If they can ssh to you, you can give them shell accounts and then
they can use ssh as a SOCKS proxy. I use this with the foxyproxy
firefox extension but the builtin proxy manager works as well for
single configurations. If it is allowed on the server, you just
run ssh -D 8080 or some other port above 1024 on the client and
then the ssh client is a proxy server listening to localhost on
that port. Its very easy and secure. Also check out mod_proxy in
apache, I haven't used this myself but I think it works with just
http. 

You could also have the ssh server listen to tcp port 443
or 80 if port 22 is blocked in china but not the ssh protocol
itself. I have mine listen to 443 and its useful where only 80
and 443 are allowed in a stateless firewall.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Fwd: When I boot my server all it says is "GRUB"

2010-02-21 Thread Nick Schmalenberger
On Sun, Feb 21, 2010 at 07:19:41PM -0800, Nick Schmalenberger wrote:
> On Sun, Feb 21, 2010 at 01:01:43PM -0800, Bill Kendrick wrote:
> > 
> > David tried to post this to 'vox' from an unsubscribed address,
> > so it got discarded by mailman.
> > 
> > I'm passing it along to 'vox-tech', since it's more appropriate
> > for that list, than for 'vox'.  Also Cc'ing LERT coordinators,
> > in case anyone is around and can perhaps do a housecall.
> > 
> > -bill!
> > 
> > - Forwarded message from vox-boun...@lists.lugod.org -
> > 
> > The attached message has been automatically discarded.
> > Date: Sat, 20 Feb 2010 20:04:08 -0800
> > From: David Spencer 
> > Subject: When I boot my server all it says is "GRUB"
> > To: v...@lists.lugod.org
> > 
> > Hey guys. I was fiddling with my servers this afternoon. I rebooted one of 
> > them and all it says is GRUB. WTF?
> > 
> > The system in question is a Dell SC1425 with drives in a RAID 1. The OS is 
> > CENTOS 4.8 . What what it's worth, I recently ran a yum update on Thursday 
> > (two days ago).
> > 
> > Any ideas what I can do? I have it booted at the moment using the linux 
> > rescue mode but what should I be looking at?
> > 
> > Thanks!
> >
> In rescue, try to mount the root filesystem, and /boot if it is a
> separate filesystem. Then chroot to the mountpoint of the root
> filesystem ("chroot /mnt" or something), and do "grub-install
> (hd0)" (the grub way of saying the disk) or "grub-install
> /dev/sda" or /dev/sda1 or whichever disk/partition is the root
> filesystem. I'm not sure if its more appropriate to install grub
> on the disk or partition but I don't think it hurts to try both.
> While the root filesystem is mounted you can also make any
> corrections to the menu.lst if needed.
> Nick Schmalenberger
>
Also, if you are booting a raid mirror be sure to install grub on
both drives and confirm they are both bootable without the other
drive. Its easy to forget about this until a disk needs to be
replaced and the server is already shutdown.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Fwd: When I boot my server all it says is "GRUB"

2010-02-21 Thread Nick Schmalenberger
On Sun, Feb 21, 2010 at 01:01:43PM -0800, Bill Kendrick wrote:
> 
> David tried to post this to 'vox' from an unsubscribed address,
> so it got discarded by mailman.
> 
> I'm passing it along to 'vox-tech', since it's more appropriate
> for that list, than for 'vox'.  Also Cc'ing LERT coordinators,
> in case anyone is around and can perhaps do a housecall.
> 
> -bill!
> 
> - Forwarded message from vox-boun...@lists.lugod.org -
> 
> The attached message has been automatically discarded.
> Date: Sat, 20 Feb 2010 20:04:08 -0800
> From: David Spencer 
> Subject: When I boot my server all it says is "GRUB"
> To: v...@lists.lugod.org
> 
> Hey guys. I was fiddling with my servers this afternoon. I rebooted one of 
> them and all it says is GRUB. WTF?
> 
> The system in question is a Dell SC1425 with drives in a RAID 1. The OS is 
> CENTOS 4.8 . What what it's worth, I recently ran a yum update on Thursday 
> (two days ago).
> 
> Any ideas what I can do? I have it booted at the moment using the linux 
> rescue mode but what should I be looking at?
> 
> Thanks!
>
In rescue, try to mount the root filesystem, and /boot if it is a
separate filesystem. Then chroot to the mountpoint of the root
filesystem ("chroot /mnt" or something), and do "grub-install
(hd0)" (the grub way of saying the disk) or "grub-install
/dev/sda" or /dev/sda1 or whichever disk/partition is the root
filesystem. I'm not sure if its more appropriate to install grub
on the disk or partition but I don't think it hurts to try both.
While the root filesystem is mounted you can also make any
corrections to the menu.lst if needed.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] ssh host key generation in init script

2009-12-24 Thread Nick Schmalenberger
On Thu, Dec 24, 2009 at 09:36:40PM -0700, Orson Jones wrote:
> The easy way to fix it is to change the first line from
> #!/bin/sh
> to
> #!/bin/bash
> 
> And it will work on any system with bash installed. Almost all linux
> distros have bash installed. (Including ubuntu)  Dash is a faster, but
> more limited shell but is still sh compliant. If you aren't worried
> about speed you can still use bash without any trouble.
>
This is a good idea, since I'm patching the script anyway.
Thanks, I think this is what I will do.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] ssh host key generation in init script

2009-12-23 Thread Nick Schmalenberger
Hi,
I need to be able to generate ssh host keys at boot time instead
of installation if they don't exist. CentOS and upstream openssh
handle this in the init script with ssh-keygen, but debian calls
it from /var/lib/dpkg/info/openssh-server.postinst. I put 
ls /etc/ssh/ssh_host_* &> /dev/null || /usr/sbin/dpkg-reconfigure
openssh-server in a function in /etc/init.d/ssh and it works
fine, but ubuntu uses dash instead and it says
ls: cannot access /etc/ssh/ssh_host_*: No such file or directory
when ls is true. I also tried
test -f /etc/ssh/ssh_host_* || /usr/sbin/dpkg-reconfigure
openssh-server and it says test: 1: /etc/ssh/ssh_host_dsa_key:
unexpected operator when the test is true. Can someone help me
make this more portable? Thanks!
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Anyone munge "From" in Mutt?

2009-09-22 Thread Nick Schmalenberger
On Tue, Sep 22, 2009 at 12:57:32PM -0700, Bill Kendrick wrote:
> 
> I'm subscribed to a couple Google Groups, and Google has my virtual
> email address at one of my domain names (which is simply delivered to
> my /real/ address by my ISP).
> 
> This means when I go to post or reply on these groups, I need to remember
> to change the From header of the email.  ([Esc],[F] in Mutt)
> 
> Has anyoen set Mutt up to do this automagically?  That is, when it detects
> you're sending a message to certain addresses, it knows to change your From
> address accordingly.
> 
> Thanks!  (If/when I have time to search around for a solution, I'll
> follow-up if I find an answer. :) )
>
I finally got this working myself about a month ago. The relevant
parts of my muttrc are
set use_from=yes

folder-hook !(=.a|=.b) set from=n...@c
folder-hook =.a set from=n...@a
folder-hook =.b set from=n...@b

The tricky part was getting 
folder-hook !(=.a|=.b) set from=n...@c
to work right, and this
http://www.mutt.org/doc/manual/manual.html#toc3.5
was helpful. I tried the folder-hook . also but I couldn't get
that to work. I hope this helps, I don't know about setting the
from address based on the to address but theres probably a way to
do that also.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Window Managers

2009-04-22 Thread Nick Schmalenberger
On Wed, Apr 22, 2009 at 11:12:54AM -0700, Brian Lavender wrote:
> At school (Sac State) we log into a CENTOS system running GNOME, or I
> believe you can select your own Window Manager, and all seems to work
> fine. I hate VNC though. I haven't found a way for Alt-tab to work
> except with TightVNC, click the Alt key and then select Tab. Which still
> doesn't really work. The Alt-tab always go to the local host.
> 
> RDP seems to work a whole lot better. There isn't an RDP server for
> GNU/Linux, is there?
> 
> Isn't there a light weight X server out there for Winblows?
>
There is an rdp server for linux, xrdp. I've never tried it
though. I have  used the cygwin and xming windows x servers and
they both work well.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Promise SmartStor NS2300N NAS success & mount questions

2009-01-04 Thread Nick Schmalenberger
On Sun, Jan 04, 2009 at 10:18:24PM -0800, Rod Roark wrote:
> Bill Kendrick wrote:
> > On Sun, Jan 04, 2009 at 12:18:51PM -0800, Rod Roark wrote:
> >> Sounds nice.  I'm a big fan of network-aware peripherals,
> >> our newest being a Brother wireless color laser printer.
> >> Also on our home network are a wireless webcam (for the
> >> wife's child care business), an old server that mostly
> >> functions as NAS, and a MythTV box.
> > 
> > The Brother we got is a 23ppm b/w laser.  Grabbed it for about $100.
> > How much did the color laser cost?
> 
> This is the printer:
> 
> http://www.newegg.com/Product/Product.aspx?Item=N82E16828113225
> 
> It was on sale at the time (August of this year) for $349.99 + tax
> with free shipping.  We're really pleased with it, and it's quite a
> bit cheaper to operate than an inkjet printer -- not to mention much
> more dependable!
> 
> Rod
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 
I have an HL-5250DN which has been great, but recently after
printing certain PostScripts it will start saying IGNORE DATA and
it was printing PostScript unrendered, have you seen anything
like that? I had to do a reset, which turned out not to reset
full duplex or draft mode settings which also surprised me.

Also, are you using CUPS, lpr, or what? I have been using lpr
with no drivers or anything on linux and ipp works on windows
with the windows Brother PostScript driver, both over ipv6. I
wish ppdfilt worked with the bsd lpr that comes with debian, its
pretty nice and simple otherwise. As tldp Pringting HOWTO says
"ppdfilt is best used with an option accepting lpd system" and
bsd lpr is not but lprng is. However lprng is not maintained
anymore, does anybody know of another alternative? Thanks.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] a reboot powers off machine

2008-12-09 Thread Nick Schmalenberger
On Tue, Dec 09, 2008 at 09:58:59PM -0500, David Rosenstrauch wrote:
> Scott Miller wrote:
> > Issuing 'sudo reboot', 'init 6', 'shutdown -r now', etc. powers off
> > the machine. No reboot. At the end, the last message I see is:
> > 
> > Will now Halt
> 
> > Maybe this thing is too old to have proper power management?
> > 
> > Scott
> 
> That would be my guess.  i.e., machine is too old to use ACPI or APM on it.
> 
> DR
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 
Yeah, I think it is either ACPI or APM. I remember I had a 486
with APM and playing with this. Maybe try compiling the kernel
with one compiled in and not the other?
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] uPnP can work in this case?

2008-11-20 Thread Nick Schmalenberger
On Thu, Nov 20, 2008 at 11:19:02PM -0500, Hai Yi wrote:
> Hello there:
> 
> I have two computers one is ubuntu, the other is Windows vista. I
> installed synergy so that I can share the two OSes with one set of
> keyboard and mouse.
> 
> Now I have a lot of Video / audio files on Windows but my speakers are
> hooked up with my Ubuntu. Every time I need to ssh files to Ubuntu to
> watch/listen them.
> 
> if I want to play those files out from the speakers but don't want to
> transfer them,  I have the feeling that uPnP is the answer. But which
> one should be the server, or client?
> 
> Anyone can point me a direction that I can follow?
> 
> Thanks a lot!
>
How about making a shared folder on Windows to mount with smbfs
in Linux? It also looks like mplayer can play files directly with
smb so you don't have to mount it:
mplayer [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|smb]://
[user:[EMAIL PROTECTED]:port] [options]
I've never tried this and don't have any windows machines here,
so I don't know how well this works but it should do what you
want. You could also move the speakers.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] INX distro

2008-10-21 Thread Nick Schmalenberger
On Mon, Oct 20, 2008 at 11:51:53AM -0700, Scott Miller wrote:
> Hey all, check out this Ubuntu-based live cd:
> 
> http://inx.maincontent.net/index.html
> 
> A desktop oriented distro, with no X. :)
> 
> Scott
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 
Thats pretty cool, it reminds me of the DOS/bbs days where you
would press 1 for word perfect, press 2 for wolfenstein 3d...
Yay DOS! Schutzstaffel! Mein leben!
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Local laptop repair?

2008-10-05 Thread Nick Schmalenberger
On Sun, Oct 05, 2008 at 12:57:13PM -0700, Jimbo wrote:
> hey I fix cars...how hard is a laptop?
> 
> Jimbo
>
Its actually not too hard if you follow the service manual. I
know people who just start unscrewing things without getting a
service manual first, but I try not to because there might always
be another plastic tab or screw under a sticker I don't see until
I break it or something. I think Toshiba and IBM/Lenovo have
better service manuals than Dell. The Dells have photo
illustrations that I think are harder to understand than the line
drawings in the other manuals and the dells are also generally a
bunch of html pages instead of a pdf.  Some of them may also be
only available on the web. At least Dell service manuals are
easily available though, I think with the Toshiba I had to email
an authorized service center because it wasn't on toshibas site.
With Dell and IBM it was right on their website, and with IBM you
could download a pdf which was nice. 

For Thinkpads thinkwiki.org and forum.thinkpads.com are
also very helpful sites. Lately though, I've actually gotten more
cautious or lazy about repairing laptops because some of those
that I repaired or saw repaired just had more problems later. For
some problems it may not be worth the trouble if it involves
taking out the motherboard or lcd panel. But repairing laptops is
definiely possible and often works out pretty well. There are
a huge amount of parts available on ebay. There are also tricks
you may already know about like using an ice cube tray for screws
and putting screws taken out at later steps in "later"
compartments. Have fun.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] drupal virtual hosting

2008-03-15 Thread Nick Schmalenberger
Hi,
I have a test installation of drupal that will probably be used
eventually for more than one virtual host or domain, and this is
administered by me, not various people with a control panel. Is there
any advantage to giving each site its own database versus all in one
database with prefixed table names? I can see that with separate
databases it would be easier to backup or export sites separately, but
is there more to it? Some issue particular to drupal?

Thanks for any advice.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] home network - how to make a UNIX known to the other PC (Windows)

2007-10-01 Thread Nick Schmalenberger
On Mon, Oct 01, 2007 at 02:54:13PM -0700, Brian Lavender wrote:
> On Wed, Sep 26, 2007 at 07:48:43PM -0700, Nick Schmalenberger wrote:
> > >
> > Yes, that would work well. The Windows XP hosts file is
> > C:\WINDOWS\system32\drivers\etc\hosts
> > You can also use nmbd in samba to advertise your Ubuntu computer using
> > the Windows SMB protocol.
> 
> Not necessary. Netbios already broadcasts the name.
>
Isn't that what nmbd does? Personally, I prefer not to run nmbd because
I'd rather save the memory. My router (openwrt) already runs dnsmasq
that, as somebody else mentioned, has dynamic dns updates from dhcp.
There have been other situations where I have used the hosts file in
windows, like if the router cannot run dnsmasq and I don't want to setup
another machine for it.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] No node for CDROM

2007-09-30 Thread Nick Schmalenberger
On Sun, Sep 30, 2007 at 08:01:10PM -0700, Richard Harke wrote:
> I installed debian etch a couple of months ago and had no occasion
> to use the CDROM drive until recently. I was trying to play a CD and
> kept getting an error.  I found there is no node in /dev for it. I did find
> a node in /dev/.static/dev but of course no app will look there. This seems 
> to 
> be related to udev some how. I found a lof file in /var/log/installer
> called hardware-summary. according to that there was a CD drive recognized
> and the driver modules installed. Now the driver modules are not
> installed. (I had to re-boot because of a power outage)
> As I understand it, udevd is supposed to get an event from the kernel
> and craeate the node dynamically but how can it get an event when there
> are no drivers? Is there some program to run to get this to work?
>
What driver is it? Is it on a different bus or controller than the hard
drive? I suppose that works if you are at that point. Does dmesg say
anything about your cd driver getting loaded?
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] home network - how to make a UNIX known to the other PC (Windows)

2007-09-26 Thread Nick Schmalenberger
On Wed, Sep 26, 2007 at 10:07:23PM -0400, Hai Yi wrote:
> This might be a very simple question, so forgive me if it is.
> 
> I have two PCs at home. One is Ubuntu the other is Windows XP.
> 
> Ubuntu machine has a name "zodiac", how can it makes it known to the
> Window XP machine? I want to install a tightvnc server on Ubuntu and a
> client on Windows so it can visit the Ubuntu.
> 
> I  guess I need to modify the hosts and network files on Win XP to
> include the IP and name of the Ubuntu machine?
>
Yes, that would work well. The Windows XP hosts file is
C:\WINDOWS\system32\drivers\etc\hosts
You can also use nmbd in samba to advertise your Ubuntu computer using
the Windows SMB protocol.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] How safe is this upgrade?

2007-09-17 Thread Nick Schmalenberger
On Mon, Sep 17, 2007 at 03:44:00PM -0700, Rod Roark wrote:
> Hi All,
> 
> An associate of mine has this Debian server in a hosting facility
> that's been running for about two years, and would like to do a
> dist-upgrade.  Does anyone see any reason that this might screw things
> up?  I'm a bit concerned about the large number of changes that will
> be applied.
> 
> Below are some things that I see when preparing to upgrade.  TIA for
> any comments.
> 
> Rod
> 
> ==
> 
I just upgraded a sarge system to etch, and after updateing the package
lists, instead of dist-upgrading all at once I upgraded a few packages
at a time over several days. I did dist-upgrade to get the packages
that needed to be upgraded then apt-get installing a few of them. That
way it was easier to pay close attention to merging and rearranging
local changes to the apache config files and such. Upgrading postgresql
from 7.4 to 8.1 turned out to be extremely easy because they can both be
installed at the same time listening to different ports and the debian
tool pg_upgradecluster made the conversion completely painless and took
less than 5 minutes. I think the apache upgrade was the most trouble,
but that was mostly because I didn't put my local changes in
/etc/apache2/conf.d/ which I have done now and upgrades to apache2 wont
mess with it.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] microphone (solved-summary)

2007-06-21 Thread Nick Schmalenberger
On Wed, Jun 20, 2007 at 11:29:43PM -0700, Jimbo wrote:
> I have just emailed the company that you posted asking them if this 
> product will work on Linux.  Doesn't do me any good if it doesn't
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
The manufacturer webpage: http://www.soundtech.com/lightsnake/faq.asp
says that it works with a generic usb audio driver windows has, and
linux also has a generic usb audio driver (snd-usb-audio), so I think
there is a good chance it would work. The same page says to your
question: "Is the LightSnake compatible with Linux?
The cable has not been proven to be compatible with Linux."

So I guess they are saying they haven't tried it, but they think it is
possible also. If it needed a special driver for windows or linux I
think they would know and say conclusively.

Again, I don't have any experience with usb audio devices, so maybe
somebody else can tell you more. Hope you make this work and
can tell us what you find. If it does work you should also add it to the
list of supported devices here:
http://alsa.opensrc.org/index.php/Usb-audio
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] microphone (solved-summary)

2007-06-20 Thread Nick Schmalenberger
On Wed, Jun 20, 2007 at 10:37:46PM -0700, Jimbo wrote:
> Jimbo wrote:
> >Greetings:
> >Went to frys and bought a microphone however it doesn't work on a pc.  
> >A pc mic works just fine.  I guess that it wasn't designed to work on 
> >a pc (it is a shure 8900 brand mic).
> >
> >I see why it doesn't...the regular pc mic has 2 separators in the jack 
> >and the pro mic has just one and it is spaced differently( but the 
> >same size jack).
> >
> >Can I somehow get an adapter from radio shack for example?  Don't 
> >really know if I can get around the 2 jack separator not knowing how 
> >mics are imputted.  I haven't went yet to see if this is an option; I 
> >have to go to a party tonite.
> >
> >Hate to return this nice mic.  Anybody had the same experience?
> >
> >One last quick thing:
> >I bought a new sound card for my pc thinking that the rca jack 
> >receivers on the back of it would go directly to my stereo however I 
> >have read that these jacks are for s/pdif in and out.  Hard time 
> >understanding what this is for when googled.
> >Jimbo
> >___
> >vox-tech mailing list
> >vox-tech@lists.lugod.org
> >http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> Well heck...it isn't as easy as plugging a mic into a sound card even if 
> it nice looking.
> 
> According to what I have found online I have a low impedance mic in 
> which I would have to have a mic preamp to 'push' the output.  Too 
> expensive for what I need.
> 
> The mics  jack has only 1 separator in which it is mono.  I was wrong 
> into thinking that it is the jack configuration causing no sound.
> 
> Thank you Mark Kim for the reply.  Your reply make me google til my 
> noodle hurt.
> 
> I will go to frys tomorrow and exchange this for something that works.
> 
> 
> Jimbo
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
Or you can get one of these: 
http://www.8thstreet.com/product.asp?ProductCode=41800&Category=Audio_Interfaces
I've never tried it, so I don't know how well it works, but it looks
pretty simple. Shure are supposed to be pretty good microphones, and all
the other pro mics use xlr too, so maybe you should give it a shot.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] PowerEdge Install

2007-05-21 Thread Nick Schmalenberger
On Sun, May 20, 2007 at 07:20:22PM -0700, Alex Mandel wrote:
> Yay, I made progress on my Dell Poweredge install.
> Using the ubuntu minimal install I bypassed the cd drive nonesense I was
> having at the installfest. Now I'm kinda stuck though. It looks like the
> hardware raid wasn't configured properly before the install. I've
> corrected that now I think and can at least get to grub commandline.
> 
> At which point I know have no idea what to do.
> The screen says:
> grub>
> 
> How do I boot the system, I'm not sure what the device is refered to sda1?
> 
> Alex
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
What poweredge is it? Some of the cheaper poweredges don't actually have
hardware raid, dell is lying. Search for fakeraid and the poweredge
model. What is the raid setup? What are the raid devices called in the
installer that you made the filesystems on, or did you get that far? If
not, the installer probably doesn't support your raid controller, and
maybe it is fakeraid. On my poweredge with fakeraid, I just used
software raid which the debian installer sets up very neatly.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] bash scripting question

2007-04-25 Thread Nick Schmalenberger
On Wed, Apr 25, 2007 at 08:28:40PM -0700, Cylar Z wrote:
> Hey programming gurus...
>  
> I want to write a script which takes a block of text
> and extracts any numbers which match a 123.456.789.012
> pattern. I am not looking for any numbers in
> particular (so I don't think the grep command will be
> of much help) but rather, any set of numbers that
> looks like an IP address. 
> 
> Basically the script is to look through some log files
> and find all of the IP numbers listed there. Having
> accomplished this, the script is to compile a list of
> the numbers it finds by redirecting the output to a
> text file. I'm planning to set this up as a
> supplemental automatic log-scanning tool that will run
> nightly as a cron job.
> 
> Could sed or awk be of use here? Not intimately
> familiar with either, but I have heard they are
> powerful text-processing tools. I can research them on
> my own if you guys think I should go that route. I'm
> sure this is a simple task but I'm too green to know
> where to start.
> 
> Your thoughts, please.
> 
> Thanks,
> Matt
> 
This thread might help you:
http://www.perlmonks.org/?node_id=395990
but you should also look at the logwatch program, I think it does a
pretty good job of generating reports for various log files.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] starting xwindows

2007-03-26 Thread Nick Schmalenberger
On Mon, Mar 26, 2007 at 09:22:51PM -0700, Gandalf Parker wrote:
> On Mon, 26 Mar 2007, Rick Moen wrote:
> 
> >Quoting Gandalf Parker ([EMAIL PROTECTED]):
> >
> >>OK that seemed to get the same result. An xwindow session, but no gnome
> >>menus. Just the debian splash screen and a mouse cursor.
> >
> >Um, I'd really very strongly suspect that you're missing some key
> >packages.  Maybe you're missing the intended window manager, for
> >example (metacity, or whatever the frell they use, these days)?  I mean,
> >/usb/bin/gnome-session doesn't do a lot of good if key parts of your
> >intended GNOME stuff just ain't there.
> 
> It worked when the server was setup. It was installed and it worked. But I 
> cut the routine that made me boot directly into gnome. So unless I 
> uninstalled something Im pretty sure that its all still there.
> 
> I could try and remember years ago when I made that change and undo it. 
> But I dont want to boot into gnome. I prefer my servers without gui 
> overload (if I did then Id might as well use windows).
>
In my experience the neatest way to stop a Debian machine from starting
X on boot is to remove the package of the display manager. Otherwise,
you could do "update-rc.d -f xdm remove" or whatever your display
manager is. That is what would happen if you remove the package, except
it is still there and you could still do "/etc/init.d/xdm start" if you
felt like it.

When you do startx or log in through the display manager, it should try
to start your window manager, and (I think, correct me if I am wrong) if
you don't have one it gives you a fixed size xterm, which you can really
do a decent amount with. I seem to remember having problems a few times
getting icewm to start when I start X and I think adding it to .xinitrc
was one way to get it to work. The correct debian might have something
to do with /etc/alternatives. You could also try purging everything X
related then reinstalling xbase-clients which will depend on all the
rest and you might get twm or something too. 
Hope this helps,
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Graphics Card

2007-03-14 Thread Nick Schmalenberger
On Wed, Mar 14, 2007 at 04:30:52PM -0700, Matin Hashemi wrote:
> I don't know how many cards are in the machine! that's what I need to find
> out :-)
> 
There are probably not more than two because only two display
controllers are listed in lspci. You should be able to tell by looking
at the back of the case. Is the video connector on the motherboard,
perpendicular to it in slots, or both? 

If it is in slots, then you can open the case and look at the card, it
should have make and model. If it is on the motherboard though, it is
integrated, so read your motherboard manual if you have it. Most Intel
graphics controllers are integrated in their motherboard chipsets, so
that is probably true in your case. If there are no filled slots, then
you have no graphics cards as such, but your video controller is what
lspci, your X server log, and your motherboard manual say it is.

For OpenGL information, the glxinfo tool may also help you. When I run
it, it tells me the following among other things:
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

Hope this helps.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] How to get started with Linux

2007-03-10 Thread Nick Schmalenberger
On Fri, Mar 09, 2007 at 11:56:39PM -0800, Tim Coddington wrote:
> I am a mostly Windows user trying to make the jump.
> 
> So I bought a new computer (the parts are still in various boxes around
> the house) and
> downloaded a copy of Ubuntu 6.10 onto my PC.  Burnt the copy onto a DVD
> (to large to use
> a CD being .73 Gig).
> 
> It seems that I am completely clue-free on where to go next.  The suffix
> of the file is .iso.  So
> how do I open it to see what is inside?  No utilities recognize that
> suffix.  Since DVD drivers
> don't come with Linux, is there a way to get it onto a CD?
> 
What program did you use to burn it? Better burning programs will give
you an option to burn from a CD image, which is what a ".iso" file is
(ISO9660 from the http://www.iso.org/ actually). I know that at least older
versions of Roxio have this option. See this page for descriptions of
how to do it in various programs:
http://www.petri.co.il/how_to_write_iso_files_to_cd.htm 
Also, try this program: 
http://isorecorder.alexfeinman.com/isorecorder.htm
it is very simple to use and is recommended by Microsoft. Heh. It's 
actually good though, it really should come with Windows. If you need any
more help, try coming to one of our installfests: http://www.lugod.org/if/ .
Hope this helps.
Nick Schmalenberger
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] disposable email

2007-03-08 Thread Nick Schmalenberger
On Wed, Mar 07, 2007 at 10:37:00AM -0800, Troy Arnold wrote:
> On Wed, Mar 07, 2007 at 07:25:22AM -0800, Alex Mandel wrote:
> > Nick Schmalenberger wrote:
> > >list,
> > >I recently registered a personal domain name and am currently using
> > >/etc/aliases to make disposable emails for registering with various
> > >commercial websites. Does anybody know of a more automatic way to do
> > >this that I can host my self? I am running exim 4.63 on debian etch, and
> > >I have tried searching for "disposable email" debian with no results
> > >besides commercial services.
> > >Thanks.
> > >___
> > 
> > Try looking to for "catch-all"
> 
> no no no no no.
> 
> That's not disposable, that's an invitation for spam at
> [EMAIL PROTECTED]
> 
> Exim supports extension addresses such as:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> I'm not competent with Exim, so I can't provide details as to how to
> enable this.  A quick search did pull up this:
> http://exim.dsmirror.nl/exim-html-4.10/doc/html/FAQ.html#TOC139
> 
> -t
Thanks for the ideas!
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] disposable email

2007-03-07 Thread Nick Schmalenberger
list,
I recently registered a personal domain name and am currently using
/etc/aliases to make disposable emails for registering with various
commercial websites. Does anybody know of a more automatic way to do
this that I can host my self? I am running exim 4.63 on debian etch, and
I have tried searching for "disposable email" debian with no results
besides commercial services.
Thanks.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] telnet, pam, and one time passwords

2006-11-17 Thread Nick Schmalenberger
list,
I have successfully configured opie authentication with pam. Now, I
would like to make opie be the only authentication method allowed for
telnet connections. I am using the debian package telnetd-ssl for my
telnet server, but am not using ssl with it at this point. How can I
make pam work with telnetd? There seem to be at least three
telnet-server packages in Debian, does anybody know if any of them
support pam? I read this email:
http://lists.debian.org/debian-devel/1999/03/msg00124.html talking about
the pam support in various servers and I can imagine, with ssh already
in use, that telnetd was never updated for it. I see that my current
telnetd is not linked against libpam. Does anybody know about telnetd
and pam? Thank you.
Nick

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: vox-tech Digest, Vol 28, Issue 17

2006-09-13 Thread Nick Schmalenberger
> Message: 2
> Date: Tue, 12 Sep 2006 16:58:44 -0700
> From: Bill Kendrick <[EMAIL PROTECTED]>
> Subject: Re: [vox-tech] spam current events
> To: "lugod's technical discussion forum" 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
> 
> So yeah, the text is gibberish, and if you look at the GIF in a more
> basic
> viewer app. (one that doesn't handle animated GIFs, and only shows you
> the
> first frame, and not the final frame -- XV for example), you'll just see
> mostly-white, and scratch your head: "what the hell was the point of
> sending
> me that?"
> 
> :)
I was figuring it was signs of artificial intellgence coming from
botnets or some other grid computing project. Maybe some of it is.
Nick

-- 
http://www.fastmail.fm - And now for something completely different…

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Mp3 Stereo to mono

2006-06-18 Thread Nick Schmalenberger
> Message: 6
> Date: Sat, 17 Jun 2006 22:24:37 -0700
> From: Jeff Newmiller <[EMAIL PROTECTED]>
> Subject: Re: [vox-tech] Mp3 Stereo to mono
> To: lugod's technical discussion forum 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Re: [vox-tech] Mp3 Stereo to mono
> Alex Mandel wrote:
> 
> [...]
> 
> > Any suggestions on this are quite welcome, keep in mind that these audio 
> > files are for analysis of bird songs in a scientific setting so any 
> > alteration of the actual original audio is unacceptable as we might lose 
> > valuable information from filters and adjustments.
> 
> If authenticity is so important, why are you using MP3 in the first
> place?
> 
> It seems you have already accepted some level of filtering ... so the
> best you can do is avoid changing the encoding.  I am pretty sure that
> stereo encoding combines the channels to maximize compression, so the
> resulting mp3 of one channel will have to be re-compressed, which will
> inevitably lose information.
> 
> Anyway, Audacity should be able to do what you want, though I am not
> sure how scriptable it is.
> 
I agree that mp3 seems somewhat inappropriate. As for the editing,
audacity can do this easily, but it may not work well for large files
because it keeps the entire audio data uncompressed while you are
working on it. You should look at sox, which will also be helpful if you
have many files because it is a command line tool.
Nick Schmalenberger

-- 
http://www.fastmail.fm - The way an email service should be

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] script for adding virtual domain to web/mail server

2006-02-24 Thread Nick Schmalenberger
list,
I have written this script for adding a virtual domain to a web/mail
server and I'd like some comments or suggestions.


#!/bin/sh

if (($#==0)); then echo -e "Usage: vdomadd USERNAME DOMAIN
[PASSWORD]\nIf password field is 'auto', password will be generated, if
no argument is given login will be disabled, else PASSWORD will be set
as the parameter. If set, the user password is also the postmaster
password for that domain."; exit; fi

USERDIRS=home
USERWEBROOT=$2

if grep $1 /etc/passwd > /dev/null ; then echo -e "Invalid, user
exists."; else
# makes the new account and user web directory
adduser --disabled-login $1
if (($#==3)) 
if expr $3 : auto; then newpw=`pwgen`
else newpw=$3
echo "$1's password is: $newpw"
echo "$1:$newpw" | chpasswd
else echo "Password parameter blank, login disabled."
mkdir /$USERDIRS/$1/$USERWEBROOT
chown -R $1:$1 /$USERDIRS/$1

#adds new line to /etc/hosts
echo -e "`getip.pl` $2 www.$2 mail.$2" >> /etc/hosts

# makes the apache virtual domain file
echo -e "#virtual domain configuration for $1

ServerName www.$2
ServerAlias $2
DocumentRoot /$USERDIRS/$1/$USERWEBROOT/
TransferLog /var/log/apache2/$2/www/access.log
LogFormat combined



ServerName mail.$2
DocumentRoot /usr/share/squirrelmail/
TransferLog /var/log/apache2/$2/mail/access.log
LogFormat combined

" > /etc/apache2/sites-available/$2
mkdir /var/log/apache2/$2/www/
mkdir /var/log/apache2/$2/mail/
a2ensite $2
/etc/init.d/apache2 reload

touch /var/log/apache2/$2/www/access.log.0
mkdir /$USERDIRS/$1/$USERWEBROOT/stats/
# makes the webalizer configuration file
echo -e "#webalizer configuration for $2 virtual domain
LogFile /var/log/apache2/$2/www/access.log.0
OutputDir /$USERDIRS/$1/$USERWEBROOT/stats/
Hostname www.$2
" > /etc/webalizer.d/$2.conf

# adds domain to qmail
/home/vpopmail/bin/vadddomain $2 $newpw

fi


Thanks,
Nick

-- 
http://www.fastmail.fm - IMAP accessible web-mail

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Apt Question

2005-09-01 Thread Nick Schmalenberger
> Message: 3
> Date: Wed, 31 Aug 2005 07:11:59 -0700
> From: "Robert G. Scofield" <[EMAIL PROTECTED]>
> Subject: [vox-tech] Apt Question
> To: LUGOD Tech 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="us-ascii"
> 
> When I do "apt-upgrade" now there is a message that alsa-base and
> alsa-utils 
> have been kept back.  Why have they been kept back?  
> 
> Is it because alsa needs an upgrade of a dependency so that if the
> packages 
> alsa is dependent upon are upgraded in the future, then alsa will be
> upgraded 
> later?
> 
> Thank you.
> 
> Bob
When I had this it was because the testing versions of alsa-base and
alsa-utils required a later version of udev than 0.60 , which is only
available in unstable. So I already had the unstable source also in my
sources.list, but as lower priority, so I was able to override priority
and install the unstable version of udev which does not conflict with
the testing version of alsa. Read the apt man page for information on
how to do this. Also, it is my understanding that when the testing
version of alsa becomes greater than my current version, my current
version that came from unstable will be replaced by the testing version
because testing is my default release. Besides the man page, this
document http://www.debian.org/doc/manuals/apt-howto/ is also useful.
Nick

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: [vox] Survey: What do YOU use Linux for?

2005-07-06 Thread Nick Schmalenberger
I use Linux to program waypoints in my GPS receiver. gpsbabel is a
really cool program that will translate between a whole bunch of
different file formats for waypoints and you just give an input file and
an output file. When you want to write to your GPS you just give it's
device as the output file and the same when you want to read. It is
really simple and I think an excellent UNIX philosophy program.
Nick

-- 
http://www.fastmail.fm - A fast, anti-spam email service.

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: flash game

2005-02-23 Thread Nick Schmalenberger
That flash game of Richards is awesome! I wish I could do that on my
bicycle! It reminds me of another flash game called Scooterdeath, where
you throw bricks at people on folding aluminum scooters. Yeah! Bicycle
power! Really though, I don't want to hit anybody, I just drank a bottle
of jolt today.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] bad partition table

2005-02-15 Thread Nick Schmalenberger
On Mon, 14 Feb 2005 21:36:02 -0800, "Josh Parsons"
<[EMAIL PROTECTED]> said:
> On Mon, 2005-02-14 at 20:23 -0800, Nick Schmalenberger wrote:
> 
> > Thanks. But how come hdparm -g on my working disks gives the CHS specs,
> > not LBA then?
> 
> Sorry, I've lost your original post. What output did you get from hdparm
> -g on your system? It will always be some disk geometry in C/H/S format
> - just a rather meaningless one.
On my working disks, hdparm -g gives cylinders>1024, and 15 or 16 heads.
 I know that this too is a logical address scheme as is LBA, but it is
also what is printed on the drives label. As I understand LBA, LBA mode
addreses will never have more than 1024 cylinders. On my laptop, hdparm
-g says 50k some cylinders (I'm at school now so I can't look and see), 
but sfdisk says that my partitions look like they were created in
LBA mode but are now in normal mode and so are going to be treated as if
they were in LBA mode. 

BTW, hdparm -g still says 240 heads (large address mode, not LBA), but
fdisk says 129 heads or something and I can't mount my root partition
anymore either. I think that maybe if I was playing around with the
partitions while the BIOS was in the wrong mode relative to when they
were created or something, I was screwing things up worse. It is okay
though, because I didn't really have too much important data on this
system.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] bad partition table

2005-02-14 Thread Nick Schmalenberger

On Mon, 14 Feb 2005 18:38:09 -0800, "Josh Parsons"
<[EMAIL PROTECTED]> said:
> hdparm -i gives you a lot of information collected directly from the
> disk, including what the physical layout of the disk hardware is
> ("RawCHS"), and what the layout that should be used for traditional
> (i.e. non-LBA) addressing on the IDE bus is ("CurCHS").  Neither of
> these are used in normal operation with a modern drive, either.
> 
> If the drive supports it, linux will put it into LBA mode, and ignore
> whatever geometry (mis)information it was given by the BIOS.  If this is
> happening (and it should be) you will see "LBA=yes" as part of the
> output of hdparm -i, and "/255/63" as part of the output from hdparm -g
Well I am glad to know that the geometry issue may be irrelevant.
Thanks. But how come hdparm -g on my working disks gives the CHS specs,
not LBA then?
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] bad partition table

2005-02-14 Thread Nick Schmalenberger
Some more information about my problem is that hdparm insists that the
geometry of this bad disk is 838 cylinders, 240 heads, and 63 sectors
per track. In the machine this drive was in when the problem started,
the BIOS was set to autodetect all IDE parameters. When I go in the BIOS
now and use the tool to automatically detect once parameters of disks
and put them in table, so as not to autodetect again every boot, it
gives me three options for normal, LBA, and large address modes. Large
mode uses the same parameters I said above that "hdparm -g" gives.
"hdparm -i" says that there are 13410 cylinders, 15 heads, and 63
sectors per track, and this is also what the drives label says. This is
also what the BIOS detects for normal address mode. But if I manually
put that into the BIOS, hdparm still says 838 cylinders and so on. All
of yesterday, I thought the problem was just with the geometry setting,
and by playing around with that, I think I was able to get hdparm to say
the right thing but not anymore. When I redid the root partition with
fdisk, it was large mode because that was what was autodetected and I
figured since it was autodetect before and when the problem started,
maybe it should be if I want to fix it too. When I put this drive in one
of my other machines, that also happens to have a disk of nearly the
same model and exactly the same geometry, the bad disk is, before and
after fdisking, autodetected with large address mode. But the other disk
is autodetected in normal mode and hdparm reads 13410 cylinders. So
somehow this one bad disk doesn't want to be addressed in normal mode or
something. The whole geometry issue just confuses me. When I recreated
the root partition while the bios had the disk in large address
translation mode, did that put "large address translation mode" in
wherever "hdparm -g" gets its information from? I wish I could just be
in normal mode since apparently linux doesn't need any of the
translation modes anyway. Did I just dig my hole deeper by recreating
the root partition when the disk was in large address mode?
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] bad partition table

2005-02-14 Thread Nick Schmalenberger
list,
I use grub.
BTW, I would reply directly to Richard's post, but I normally get the
digest, so I haven't seen his message yet except by the archive. I've
just changed my setting to get individual messages, now.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] bad partition table

2005-02-14 Thread Nick Schmalenberger
On Saturday, somehow my partition table got destroyed. Today, I learned
about gpart from the very nice Partition-Rescue-HOWTO. Gpart will guess
the partition table based on the actual disk structure, so you can give
cylinder numbers to recreate the partitions in the right places with
fdisk. In this way, I was able to mount my root partition and read
files. But I am having trouble restoring the rest, and I can't boot off
the disk yet. So does anybody know of some system file that might have
my the addresses of my old partitions written in it so I don't have to
guess anymore? I use Debian. Thanks.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Installing Java

2004-12-30 Thread Nick Schmalenberger
> Message: 7
> Date: Thu, 30 Dec 2004 13:01:00 -0800
> From: Rick Moen <[EMAIL PROTECTED]>
> Subject: Re: [vox-tech] Installing Java
> To: vox-tech@lists.lugod.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
[snip]
> > have v1.5 , although you may prefer the Blackdown one anyway because it
> > is apparently more free and certainly easier to install and maintain
> > with apt.
> 
> Just to clarify:  Since Blackdown's versions are an authorised port of 
> Sun's software, they're under the same proprietary licence.
Huh. Thanks, I didn't know that. Previously I had the impression that
Blackdown was a totally Sun-independent implementation of Java, which
was why it was behind in Java compatibility, but had a more free
license. So then is more Linux compatibility at the cost of less Java
compatibility all there is to Blackdown? 
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Installing Java

2004-12-30 Thread Nick Schmalenberger
Jay,
If you haven't already gotten the Blackdown thing from where Rick Moen
said, you could try getting the RPM of JDK from Sun and converting it to
deb with alien, then installing it. It worked nicely for me and I now
have v1.5 , although you may prefer the Blackdown one anyway because it
is apparently more free and certainly easier to install and maintain
with apt. Also, when I used alien on the RPM of just JRE and then
installed the plugins, they didn't work, I had to get JDK.

So that is another option to consider, especially if you want v1.5 .
Alien is useful because a lot of places will only distribute their
proprietary distribution format and RPMs. Something else to consider.
Nick
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] oops

2004-12-27 Thread Nick Schmalenberger
Oops. I didn't see Bill Kendrick fixed his problem in a later message
from the one I replied to. Sorry.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: Re: SoundBlaster 16 woes (Peter Jay Salzman)

2004-12-27 Thread Nick Schmalenberger
"Peter Jay Salzman" <[EMAIL PROTECTED]> said:
> You'll know if something is wrong.  I'm wondering if it's a kernel
> dependency bug?

Try ALSA. I have two systems with SoundBlaster 16 cards and they both
work nicely  with the ALSA drivers from kernel 2.6 . So maybe Pete
Salzman is right about a kernel problem. OSS is deprecated in 2.6 and I
guess there is a reason. I like at least how all the ALSA module names
start with snd- so you know what they are for. I'm not an expert, but it
seems better organized because of things like that, and there are alot
more cards supported. Apparently OSS has licensing problems which I
guess is why ALSA is more of a complete solution now. ALSA has OSS
emulation also, which is useful for things which haven't had much done
with them for a while and were written in the age of OSS.

Pete Salzman said the other day about Robert Scofield's problem that
compiling your own kernels is helpful in learning about the structure of
Linux, and I agree with him. I have learned alot from the kernel docs
and the help in the config. I also feel more distro independent and more
portable. I have a better understanding of what "Linux" really means
instead of a particular distributions interpretation. I've read about
the problems between AT&T and Berkeley UNIX in the 80s and the
differences between distros, especially the commercial ones, seem
similar.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] uhci memory problem

2004-11-14 Thread Nick Schmalenberger
> Hmm... I donno.  Can you post `lspci -vv` output and can you check your
> BIOS to see if that memory region is occupied or reserved?  You might
> also
> wanna try disabling the sound card from your BIOS and see if that does
> anything.  Oh, and look up your motherboard model & usb issues on
> google...  Otherwise I'm out of ideas!! =(
There aren't any options in my BIOS about io ports in that range, just
for the serial and parallel ports that are much lower. I am also pretty
certain that the conflict is not with my sound card because the usb
controller is initialized well before the sound card. About searching
for my motherboard and usb on google, most of the people seem to be
having IRQ conflicts, not i/o port. I guess that is just because IRQ
conflicts are more common in general. I will append my lspci -vv output.
Maybe you or somebody on this list will see something in it I don't know
about.
Nick
:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 

:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- Reset- FastB2B+

:00:02.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001

:00:03.1 CardBus bridge: Texas Instruments PCI1251A (rev 01)
Subsystem: IBM: Unknown device 0138
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

:00:06.0 Communication controller: Lucent Microelectronics WinModem
56k (rev 01)
Subsystem: CIS Technology Inc Lucent Win Modem
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] (no subject)

2004-11-14 Thread Nick Schmalenberger
list,
I just noticed in the archive that my quoted text from Marks message
didn't get wrapped for some reason. Maybe it had to do with how I did a
fake reply because I get the digest. Sorry.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] uhci memory problem

2004-11-14 Thread Nick Schmalenberger
Thanks.
>Just guesting, but probably another device is using that I/O region.  >Try 
>taking out some of the PCI devices and see if that helps.  If it >does, try 
>shuffling the problematic PCI device to another PCI slot -- >it may or may not 
>help.
My system is a laptop, and my usb controller is integrated. The only
removable device it has is the network card. I tried removing it, but it
didn't help. Anyway, it's io ports are in the 4000s, not the f000s where
my usb controller is. I will append my /proc/ioports, but I can't see
any overlaps or anything obviously wrong. The range for the usb
controller is fca0 to fcbf. Maybe that is too small or something. The
ide controller and sound card are below and above. The sound card is
also below because it has several ranges. Why does it use so much? What
are the regions anyway, in relation to the io port ranges?

So, here is my /proc/ioports:
-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
03bc-03be : parport0
03f6-03f6 : ide0
03f8-03ff : serial
04d0-04d1 : pnp 00:0b
0760-0760 : pnp 00:00
07bc-07be : parport0
0cf8-0cff : PCI conf1
1000-103f : :00:02.3
  1000-103f : motherboard
1000-1003 : PM1a_EVT_BLK
1008-100b : PM_TMR
100c-100f : GPE0_BLK
1010-1015 : ACPI CPU throttle
1040-105f : :00:02.3
  1040-104f : motherboard
1040-104f : pnp 00:0b
  1050-105f : motherboard
1050-1051 : PM1a_CNT_BLK
4000-40ff : PCI CardBus #02
  4000-40ff : :02:00.0
4000-40ff : 8139too
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #06
4c00-4cff : PCI CardBus #06
f800-f8ff : :00:06.0
fc58-fc5b : :00:07.0
  fc58-fc5b : ESS Solo-1
fc5c-fc5f : :00:07.0
  fc5c-fc5f : ESS Solo-1
fc60-fc6f : :00:07.0
  fc60-fc6f : ESS Solo-1
fc70-fc7f : :00:07.0
  fc70-fc7f : ESS Solo-1
fc88-fc8f : :00:06.0
fc90-fc9f : :00:02.1
  fc90-fc97 : ide0
  fc98-fc9f : ide1
fca0-fcbf : :00:02.2 //my usb controller
  fca0-fcaf : motherboard
fcc0-fcff : :00:07.0
  fcc0-fcff : ESS Solo-1

Thanks for any help.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] uhci memory problem

2004-11-13 Thread Nick Schmalenberger
list,
I am having a problem with my USB controller(a uhci one). It won't
initialize at boot, and I think there is a memory allocation problem.
The message is:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt :00:02.2[D] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd :00:02.2: no i/o regions available
uhci_hcd: probe of :00:02.2 failed with error -16

When I googled for "no i/o regions available" and uhci_hcd, all I found
was postings of that kernel code, not anything about people having that
problem. 

lspci says this about my usb controller:
:00:02.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev
01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
SERR- http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] DMA conflict

2004-10-30 Thread Nick Schmalenberger
list,
First, I solved the problem I posted about a few weeks ago wtional
aeronautical beacons is
being phased out and the frequencies also arhere I was having trouble
configuring the sound on my laptop. For some reason, installing udev
fixed it. Now I'm having a different problem in a different computer. In
this other computer, I have an ISA soundcard. When it works, it uses
two DMA numbers, 1 and 5. /proc/dma says:
 1: SoundBlaster - 8bit
 4: cascade
 5: SoundBlaster - 16bit
. I guess cascade is shared by the PCI devices. For PCI devices, I have
a video card, a NIC, a SCSI controller, the south bridge, and a TV tuner
card. The TV card has been causing the most trouble, but there are other
problems too. If I use an AGP video card instead of the PCI one, the
computer hangs at boot just after the sound card has been initialized.
When I have the TV card in, the sound card driver doesn't get loaded. I
can modprobe it manually, but it still doesn't work. When I watch TV, it
is very unstable and if I try to move the window around or use a control
button there will be some video problem like where the window or button
was will turn orange or the computer will hang. The bttv driver FAQ
indicates that there may be DMA problems:
http://linux.bytesex.org/v4l2/faq.html#oops
It says to disable DMA for IDE. Is there some better way? The DMA
channels are supposed to be shared, right? If I have to disable DMA for
IDE how do I do it? In Documentation/ide.txt of the kernel sources, I
can see where it says to argue to the kernel for a particular drive to
use DMA, but I can't see how to disable DMA. Anyway, DMA exists for a
reason I guess, so I'd prefer to make it work if possible. This message
indicates that my chipset, VIA MVP3, may have DMA problems:
http://www.ussg.iu.edu/hypermail/linux/kernel/0308.1/0375.html . So do I
 just have a chipset that doesn't work well with DMA or what?

Also, the tuner on my card that is autodetected is the wrong one because
the channels are offset, so I need to manually argue for a different
tuner. There is nothing in /etc/modprobe.d/ about bttv, or my NIC or
SCSI controller for that matter. I suppose the NIC module is called when
bringing up network interfaces, and the SCSI controller module is called
when bringing up drives, but when is bttv called? How do I give
arguments to it? Thanks in advance.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] alsa configuration

2004-10-03 Thread Nick Schmalenberger
list,
My distribution is Debian. I found a page on the ALSA website for my
sound chip with some lines to go in my /etc/modules.conf:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-es1938
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Apparently with Debian they are supposed to be put into
/etc/modutils/file and then the update-modules utility is used to insert
them into /etc/modules.conf. I also have two files about sound
in /etc/modprobe.d/ , ./alsa-base and ./sound:

gwaihir2:/etc/modprobe.d# cat ./alsa-base 
install snd-pcm /sbin/modprobe --ignore-install snd-pcm &&
/sbin/modprobe snd-pcm-oss
install snd-mixer /sbin/modprobe --ignore-install snd-mixer &&
/sbin/modprobe snd-mixer-oss
install snd-seq /sbin/modprobe --ignore-install snd-seq &&
/sbin/modprobe snd-seq-oss

gwaihir2:/etc/modprobe.d# cat ./sound 
alias snd-card-0 snd-es1938
alias sound-slot-0 snd-es1938

.
When I run alsaconf, it says it has detected my card and is going to
rewrite /etc/modprobe.d/sound , but then there is a message on stderr
saying: "/usr/sbin/alsactl: save_state:1061: No soundcards found...". I
am sort of confused about the differences between /etc/modprobe.d/ and
/etc/modutils/ . Are they just different ways that different distros do
the same thing and I have some combination of both? I imagine that that
could be causing my problem. If so, what is the solution? Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] alsa configuration

2004-10-03 Thread Nick Schmalenberger
list,
I have been trying to get the sound to work in my computer. At boot when
the ALSA mixer settings would be loaded, it fails and says to manually
use "alsactl restore". When I do that, it says "alsactl:
load_state:1134: No soundcards found...". When I google on that, peoples
problems mostly seem to be conflicts between OSS and ALSA when they have
both installed at the same time. As far as I know, the only OSS stuff I
have is the emulation in ALSA. Here is what lsmod says:
Module  Size  Used by
ds 15784  4 
thermal10352  0 
fan 2796  0 
button  4696  0 
processor  14160  1 thermal
ac  3308  0 
battery 7660  0 
snd_es1938 21832  0 
snd_pcm_oss59912  0 
snd_mixer_oss  19904  1 snd_pcm_oss
snd_pcm99492  2 snd_es1938,snd_pcm_oss
snd_page_alloc  9768  1 snd_pcm
snd_opl3_lib   10112  1 snd_es1938
snd_timer  24644  2 snd_pcm,snd_opl3_lib
snd_hwdep   8416  1 snd_opl3_lib
snd_mpu401_uart 7104  1 snd_es1938
snd_rawmidi22784  1 snd_mpu401_uart
snd_seq_device  7496  2 snd_opl3_lib,snd_rawmidi
snd59972  10
snd_es1938,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore   7328  1 snd
8139too20736  0 
yenta_socket   18656  1 
pcmcia_core62376  2 ds,yenta_socket
uhci_hcd   30348  0 
af_packet  16872  0 

So what should I do? Do I really have some OSS thing that is causing a
problem for ALSA? Do I have all the right ALSA modules? Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] removal of postgresql

2004-08-25 Thread Nick Schmalenberger
Thanks Kevin for telling me about dpkg -S . When I run it, it lists:
"
postgresql: /etc/cron.d/postgresql
postgresql-client: /etc/postgresql/postgresql.env
postgresql: /etc/postgresql/pg_hba.conf
postgresql: /etc/init.d/postgresql
postgresql-contrib: /etc/logrotate.d/postgresql-contrib
postgresql: /etc/logrotate.d/postgresql
postgresql: /etc/logcheck/ignore.d.paranoid/postgresql
postgresql-client: /usr/share/doc/postgresql-client
postgresql: /etc/logcheck/violations.ignore.d/logcheck-postgresql
postgresql: /etc/logcheck/ignore.d.server/postgresql
postgresql: /etc/logcheck/ignore.d.workstation/postgresql
postgresql: /etc/postgresql
postgresql: /etc/postgresql/pg_ident.conf
". It used to list a lot more, like docs, but I did apt-get remove on
their associated packages. When I did "apt-get remove postgresql-doc" it
said it couldn't remove /usr/share/doc/postgresql because it wasn't
empty. I don't see why that should be a problem for apt-get, but
/usr/share/doc/postgresql and /usr/share/doc/postgresql-client are still
there. But now package postgresql-doc seems removed from the dpkg
listing. The above listed files are all that dpkg lists matched against
"postgresql", so I suppose there could be more in files that don't have
"postgresql" in their pathname. I did "apt-get remove" on each of the
packages listed above, and apt-get said they were not installed. I tried
deleting a few by hand, especially the cron one because it was harassing
me, but it is still listed by dpkg. Is the apt-get/dpkg contradiction a
real bug? Do you think I should just try installing from source? Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] problem solved!

2004-08-24 Thread Nick Schmalenberger
list,
Thanks Kevin. That link you gave me really helped, and now my problem is
solved! Before I read that article, I didn't know about make clean. That
wasn't my real problem though. My problem was that for some reason, one
of my kernel images had been installed in / instead of /boot/ , and that
was where lilo was pointed. I don't know how it got that way, but it is
fixed now. I am now running kernel version 2.6.8.1 and the module
problem I was talking about a few weeks ago is solved too. Thanks!

Another problem I'm having is a while ago I tried to install postgresql.
I just did "apt-get install postgresql". It installed a whole bunch of
stuff, but not the binaries. So, I did "apt-get remove postgresql".
Besides giving an error about not being able to remove the binaries that
were never installed in the first place, apt-get also didn't remove a
cron entry about the postgresql log, which was removed. So now I'm
getting a whole bunch of mail from cron about how it wants to do
something to this log that doesn't exist anymore. So I deleted the cron
entry. Time will tell if this will be effective. However, there is still
a whole bunch of other stuff left around, like the whole
/usr/lib/postgresql directory. A while ago I tried manually deleting
everything but I couldn't find it all. Why didn't apt-get remove it
completely? Stuff like this happened to me all the time when I was
running Windows. I don't think it is a problem with apt-get specifically
but with any opaque utility. With apt-get and with Microsoft Windows you
just have to trust it to do the right thing, and a lot of the time, it
doesn't. That is a lot of why I switched to Linux. That is also why a
few months ago I was asking on this list for help compiling a mess of
libraries for X. This list advised me to use the binary package
distribution tools that come with my distribution, to trust them. I did,
and on balance it was absolutely worth it. Without apt-get I would never
have gotten all those libraries to work together. However, apt-get has
now failed me with postgresql thing, which I would still like to get
working eventually, and firstly I want to clean out its remnants. What
should I do? Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: my new kernel won't install

2004-08-22 Thread Nick Schmalenberger
list,
Thank you for responding and explaining to me how LILO doesn't support
filesystems and uses hardcoded (CHS, LBA?) addresses for things.
However, I've got to stop asking questions that are peripheral to my
problem. My problem is that my new kernel won't even be installed, which
I assume "make install" is supposed to do. As part of "ls -l /" says: "
lrwxr-xr-x   1 root root   13 Jul 23 01:16 vmlinuz -> vmlinuz-2.6.7
-rw-r--r--   1 root root   974333 Jun 15 04:14 vmlinuz-2.4.18
-rw-r--r--   1 root root  1613594 Jul 23 01:16 vmlinuz-2.6.7
-rw-r--r--   1 root root  1613594 Jul 23 01:14 vmlinuz-2.6.7.old
lrwxr-xr-x   1 root root   17 Jul 23 01:16 vmlinuz.old ->
vmlinuz-2.6.7.old
"
As you can see, my kernel image is dated July 23. I have done "make
install" lots of times since then, with no effect. I got a new set of
kernel sources last week, 2.6.8.1, and they compile okay, but as you can
see the new image is not installed. What should I do? Thanks.
Nick
P.S. [OT] Again, and this isn't even peripheral but I really want to
know, did anybody read my post on vox last Sunday? Also, Ken Bloom told
me I shouldn't have more than one problem per message, but there are
five or seven weird little problems with my system that bother me. After
I get this kernel problem solved, would it be bad list etiquette for me
to post some or all of these weird little problems in one message?
Thanks.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] new kernel won't install

2004-08-21 Thread Nick Schmalenberger
list,
My /etc/lilo.conf points to /vmlinuz as the kernel image. That is a link
to /vmlinux-2.6.7 . The date on that file is July 23, which is about
when I stopped being able to have a new kernel, before I left for
Minnesota. If lilo.conf just points to /vmlinuz, why would it have to be
updated with every new kernel? Wouldn't the old kernel image just be
replaced by the new kernel image, and the link changed? I guess make
install or whatever is supposed to put in the new kernel image isn't
doing it, and hasn't been since July 23rd. No error messages though, so
I'm not sure what I could put into Google. What can I do? Thanks.
Nick
P.S. [OT] Did anybody read my message from last Sunday on vox?
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] X, other

2004-08-16 Thread Nick Schmalenberger
list,
>Which bootloader are you using?
>If it's LILO then...
>   did you remember to update /etc/lilo.conf (if necessary)?
>   did you remember to rerun /sbin/lilo?
>If it's GRUB then...
>   did you remember to update /boot/grub/menu.lst?
I have LILO. When I did "make install" it asked me if I wanted to run
/sbin/lilo, and I said y. Then the usual non-error message things were
said about the new and old kernel images. I tried installing grub (with
"apt-get install grub") a while ago also, and then "make install"
detected that and did something with grub, but when I rebooted the
bootloader seemed still to be LILO, so I thought maybe the grub package
was broken or something so I removed it.
>You need the ncurses development package that includes the header
>files to compile against ncurses.
Okay, done. Thanks. So what about the time problem?
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] X, other

2004-08-15 Thread Nick Schmalenberger
list,
I'm now back again, and I will repost what I posted on 2004-08-07. Also,
sometimes I wish for a hex editor. Since emacs is supposed to do lots of
stuff, will emacs do this? If so, that is one more reason for me to
learn emacs. Between emacs and nvi I hope to be able to take care of all
editing needs. Currently I use mostly nvi, but I don't like how it does
hard linefeeds for line wrapping. Anyway:
I decided to try something with my XF86Config-4. I 
changed the driver from vesa to neomagic. Now, the darkness switching
problem seems to have gone away. I don't think this is related to the
framebuffer because the darkness problem was happening before I started
fiddling with framebuffers. However, the scroll-too-far problem is still
present, and maybe it is worse. The manpage for neomagic has some
options, so maybe I could improve things by tweaking them. The defaults
seem pretty good though, such as with acceleration on by default.

About the modules, I tried recompiling my kernel with a modular floppy
driver. I did make, make install, then make modules_install. When I did
make modules_install, it said it put the floppy module off of
/lib/modules/ and when I looked, they were in
/lib/modules/2.6.7/kernel/drivers/block/ . So that seems okay, I guess.
However, I tried copying a file from floppy and while it was copying
doing an lsmod from a different virtual console. That showed no floppy
module. When I do "cat /proc/config.gz | gunzip | less" it says I do
have a modular kernel but the floppy driver is just y, not m. The file
did copy despite no floppy module, so it must be compiled into the
kernel, which is consistent with my /proc/config.gz saying y for the
floppy driver. I know I said m when I did the configuration. Also, when
I tried to use the script that comes with the kernel source that 
extracts the configuration from the kernel, by saying 
"./extract-ikconfig /vmlinuz", it says: 
"ERROR: Unable to extract kernel configuration information.
This kernel image may not have the config info.".
However, /proc/config.gz says:
"CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y".
So I deleted the whole kernel source tree and re-extracted the tarball.
Then I recompiled and installed, again with modular floppy and a few
other things. But /proc/config.gz still said I didn't have a modular
kernel. So I thought maybe I do have the new kernel except just no
modules. But I know that is not true because I made a non-modular change
to the kernel and that didn't show up in /proc/config.gz either. I said
y for a SCSI controller I know I don't have. I then recompiled and
reinstalled that kernel, and make install did invoke lilo. Then I
rebooted and /proc/config.gz said "# CONFIG_SCSI_AIC7XXX is not set"
which I know is the line I said y, not m or n, for. So I guess somehow
the newly configured kernel is not being installed. I googled on the
error message from that script and all that turned up was copies of that
script. So I don't know what to do about that.

Two other weird problems I'm having are that if I try to "make
menuconfig" on my kernel sources, it says "Unable to find the Ncurses
libraries". However I can successfully run various programs that ldd
tells me use ncurses, like vi and tetris-bsd. So how do I fix that? The
other weird problem is with the clock, which is set to UTC. When I got
back from Minnesota, the clock was a day and some hours behind. I
figured this was because of the computer relying on a screwy old clock
battery for a week and a half and I reset the clock to UTC. I thought
before that the computer knew that my timezone is PDT and so would
compensate against the UTC that the system clock gives. However, now
that the system clock is agains set to UTC, date (without the u switch)
says UTC time, but PDT where it says the timezone. When I do "date -u"
it says seven hours ahead of what UTC really is and what my system clock
says. So how do I let the system know that the clock is set to UTC and
not local time? Thanks very much.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] X

2004-08-07 Thread Nick Schmalenberger
list,
>From July 25th through August 4th I was canoeing in Minnesota. It was
fun. When I got back I decided to try something with my XF86Config-4. I
changed the driver from vesa to neomagic. Now, the darkness switching
problem seems to have gone away. I don't think this is related to the
framebuffer because the darkness problem was happening before I started
fiddling with framebuffers. However, the scroll-too-far problem is still
present, and maybe it is worse. The manpage for neomagic has some
options, so maybe I could improve things by tweaking them. The defaults
seem pretty good though. Is there an advantage to using the vesa driver
over the neomagic driver?

About the modules, I tried recompiling my kernel with a modular floppy
driver. I did, make, make install, then make modules_install. When I did
make modules_install, it said it put the floppy module off of
/lib/modules/ and when I looked, they were in
/lib/modules/2.6.7/kernel/drivers/block/ . So that seems okay, I guess.
However, I tried copying a file from floppy and while it was copying
doing an lsmod from a different virtual console. That showed no floppy
module. When I do "cat /proc/config.gz | gunzip | less" it says I do
have a modular kernel but the floppy driver is just y, not m. I know I
said m when I did the configuration. Also, when I tried to use the
script that comes with the kernel source that extracts the configuration
from the kernel, by saying "./extract-ikconfig /vmlinuz", it says:
"ERROR: Unable to extract kernel configuration information.
This kernel image may not have the config info.".
However, /proc/config.gz says:
"CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y".
So I deleted the whole kernel source tree and re-extracted the tarball.
Then I recompiled and installed, again with modular floppy and a few
other things. But /proc/config.gz still said I didn't have a modular
kernel. So I thought maybe I do have the new kernel except just no
modules. But I know that is not true because I made a non-modular change
to the kernel and that didn't show up in /proc/config.gz either. I said
y for a SCSI controller I know I don't have. I then recompiled and
reinstalled that kernel, and make install did invoke lilo. Then I
rebooted and /proc/config.gz said "# CONFIG_SCSI_AIC7XXX is not set"
which I know is the line I said y, not m or n, for. So I guess somehow
the newly configured kernel is not being installed. I googled on the
error message from that script and all that turned up was copies of that
script. So I don't know what to do about that.

Two other weird problems I'm having are that if I try to "make
menuconfig" on my kernel sources, it says "Unable to find the Ncurses
libraries". However I can successfully run various programs that ldd
tells me use ncurses, like vi and tetris-bsd. So how do I fix that? The
other weird problem is with the clock, which is set to UTC. When I got
back from Minnesota, the clock was a day and some hours behind. I
figured this was because of the computer relying on a screwy old clock
battery for a week and a half and I reset the clock to UTC. I thought
before that the computer knew that my timezone is PDT and so would
compensate against the UTC that the system clock gives. However, now
that the system clock is agains set to UTC, date (without the u switch)
says UTC time, but PDT where it says the timezone. When I do "date -u"
it says seven hours ahead of what UTC really is and what my system clock
says. So how do I let the system know that the clock is set to UTC and
not local time?

Thanks for reading down this far. If you are reading this between
2004-08-08 08:00 PDT and 2004-08-14 don't bother responding, I'm gone
again. Otherwise, I would appreciate any help. Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] X

2004-07-23 Thread Nick Schmalenberger
list,
Vesafb works now. When I said it was disabled before, I meant it wasn't
in the kernel. Before when it didn't work but was in the kernel, I
wasn't giving it the mode arguments, maybe that is what error 6 means.
So now vesafb works. I got firefox to work, installed with apt-get. I
just had to fiddle with /etc/apt/sources.list some more. Firefox still
seems better than Mozilla, but it still does the scroll-ahead thing
sometimes. Then I did an
"apt-get upgrade" and maybe that fixed some things. It brought my X up
to 4.3 from 4.1. X still does the dark thing if I switch back to it from
a different virtual console. It is dark right now, but I can still see
what I'm doing. Also, I can't start any programs in X that would run in
an Xterm. I suppose that that has to do with the X upgrade. The X server
says that 4.3 is prerelease.

About the modules, I do have /System.map which links
to /System.map-2.6.7 . In /var/log/syslog are these entries:

Jul 22 22:02:33 gwaihir2 kernel: Loaded 28020 symbols from
/System.map-2.6.7.
Jul 22 22:02:33 gwaihir2 kernel: Symbols match kernel version 2.6.7.
Jul 22 22:02:33 gwaihir2 kernel: No module symbols loaded - kernel
modules not enabled. 

(I couldn't paste those three lines in X because I can't get an 
Xterm, so I grepped them outside of X to a textfile and read that 
with firefox. The regexp I used was [Ss]ymbol . That is the first
time I've really used regexps and I feel clever now.)
So why aren't the module symbols loaded? 
Nick Schmalenberger
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] X

2004-07-22 Thread Nick Schmalenberger
list,
My video card is a NeoMagic MagicMedia 256AV. My system is a laptop. My
X is version 4.1.0.1 . About framebuffers, before I started researching
this problem, I had framebuffer support disabled in my kernel because
the help on it in the kernel config said it wasn't really necessary. The
X crashing and darkness problem _did_ happen before I had framebuffer
support enabled. However,this post:
http://lists.debian.org/debian-laptop/2001/06/msg00204.html
(I pasted that the UNIX way!) indicated that framebuffer support might
solve my problem. So I recompiled my kernel with framebuffer support,
but it wouldn't work with the vesafb. Syslog says: "vesafb: probe of
vesafb0 failed with error -6"( What is error 6?) As the kernel doc for
vesafb says, "VESA BIOS Extensions Version 2.0 are required, because we 
need a linear frame buffer." So I tried the neomagic specific fb device
instead, and it seems to work. There were promising messages about neofb
at boot. Indeed, the console framebuffer did work. Tux appeared! 
However, X still did the dark thing when I switch back to it from the
console. Also, with the console framebuffer, when I switch to the
virtual console from X, the virtual console has a whole bunch of weird 
stuff all over it. If the console would have a new character appear,
like 
if I do a clear, then that overwrites the weird stuff, but meanwhile
I've
lost the last screenful of whatever it was I had been doing on the
console
before. If I do a Ctrl-Alt-Backspace from X, so X is killed instead of
just switched out of, then the virtual console that it goes back to that
I started X from is fine. The doc about vesafb says
"The X-Server must restore the video mode correctly, else you end up
with
a broken console (and vesafb cannot do anything about this)."
However, that problem was with neofb, vesafb won't even start.
 As I said above, that doc says that for vesafb to
work you need a VESA 2.0 compliant video BIOS. So I thought that was my
problem until I read in XFree86.0.log that my VESA BIOS is 2.0 .
Excerpt:

(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 2.0
(II) VESA(0): VESA VBE Total Mem: 2496 kB
(II) VESA(0): VESA VBE OEM: MagicGraph 256 AV 48K
(II) VESA(0): VESA VBE OEM Software Rev: 1.17
(II) VESA(0): VESA VBE OEM Vendor: NeoMagic
(II) VESA(0): VESA VBE OEM Product: MagicMedia 256 AV
(II) VESA(0): VESA VBE OEM Product Rev: 01.0

No matter all of the stuff I tried, X still has the darkness and
crashing problem. The X crashing and darkness problem _did_ happen 
before I had framebuffer support enabled.

About the Mozilla problem, the whole reason I had posted about trying to
compile GTK last week was because supposedly Firefox requires it. I
wanted firefox because that was what I had been using in Windows before
I got my NIC to work in Linux, and I had a nice collection of
bookmarks and stuff. Apparently (this list says so), Firefox is faster
too. So, I got this
binary Firefox installer for Linux from the Mozilla website. After what
Jonathan told me about using my distros package tools, I tried to
apt-get it all the way, but it wouldn't work. I think maybe my
/etc/apt/sources.list is bad. Here it is:
"

deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-1
(20031201)]/ unstable contrib main non-US/contrib non-US/main

deb http://http.us.debian.org/debian stable main 

deb http://security.debian.org/ stable/updates main
"
I've read the sources.list manpage, I did apt-get update, and I read the
Debian FAQ. The Debian FAQ was quite stupid. One of the "FAQ"s answered 
was "Is Debian able to run my very old "a.out" programs?" That should be
a kernel issue, not a distro issue. Except that the kernel sources that 
came on my CD came with a list of Debian specific changes. Then they
make a stupid little joke: "Do you actually still have such a 
program? :-)". If people do, they probably have a good reason and Debian
is probably not about to convince them otherwise, the joke just wastes 
time. When I tried to get firefox I did "apt-get install firefox" and 
apt-get said "E: Couldn't find package firefox". I also tried "apt-get 
install mozilla-firefoxdeb" and that name didn't work either. Is my 
sources.list bad, the package name, or what? Thanks very much.
Nick Schmalenberger
P.S. The module loader seems not to work either. Syslog says: "No module
symbols loaded - kernel modules not enabled." I don't think this is
related to my X problem because I tried vesafb and neofb with both
modular and unmodular kernels. Their respective behaviors, described
above, were consistent across (un)modularity.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] X crash, Mozilla

2004-07-21 Thread Nick Schmalenberger
list,
Sometimes when I switch from a text virtual console to X the computer
will freeze It will respond to Ctrl-Alt-Del. Other times, the screen
will just be darker than usual, but I can still do things. I lost some
data last night and again today because of the freezes. Once today X
just crashed back to the text console where I started it, and so I
restarted X. What can I do to make X more stable? Twm is my window
manager if that is important. The only bad thing I can see in
/var/log/XFree86.0.log is:
PEXExtensionInit: Couldn't open default PEX font file  Roman_M
Since X seemed to work anyway, I'm not sure that is important. (BTW, I
had to type that in by hand because I don't know how to copy text
between windows in X. Is twm just not capable of that?).

Secondly, in Mozilla when I am going up or down in a page or backspacing
in a form, Mozilla will keep going for a while after I let off the key
if I had been holding for a while. I imagine this is because the
interrupts have sort of piled up because they are being processed by
Mozilla slower than the key is sending them. Dillo and less do not do
this. Why is this and what can I do about it?
Thanks very much.
Nick Schmalenberger
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] dhcp, other

2004-07-17 Thread Nick Schmalenberger
list,
Like I said before, I got pump to work, and I also tried dhcpcd. The
documentation for pump and dhcpcd indicate that they are daemons, and I
don't know why. Shouldn't pump just run just at boottime or whenever
else the user wants? At specific times. So why should it be a daemon? I
can understand for the server, but why for the client? Supposedly dhcpcd
stands for dhcp client daemon, so I know I don't have that confused.
Also, for some reason dhcp doesn't run automatically at boottime on my
system so I added a line with pump near the bottom of
/etc/init.d/networking , and that seems to work, but I suspect there is
a more appropriate place. Is there?

Also, when I do halt, the computer doesn't turn itself all the way off,
it just says Power down. Windows does turn itself all the way off, and
Device Manager in Windows says I have a Microsoft ACPI-Compliant System.
In /var/log/syslog , these lines seem relevant:
"ACPI disabled because your BIOS is from 99 and too old
 You can enable it with acpi=force"
So why does Linux make this apparently wrong assumption about BIOSes
from 99, and where do I give this override argument to the kernel?

Thirdly, now that I have net access, I've been trying to update various
pieces of software. So, I tried to compile GTK 2.4, and it depends on a
library called Pango. The version of Pango that is in the GTK 2.4
directory of the gtk.org ftp site is Pango 1.4 . But when I configure
gtk it says that it requires Pango 1.2 . Specifically, it says:
"configure: error: Pango 1.2.0 and Xft backend is required for x11
target" This installation guide webpage also seems only to refer to
Pango 1.2: http://developer.gnome.org/doc/API/2.4/gtk/gtk-building.html
. However, Pango 1.2 is found in the GTK 2.2 directory of the GTK ftp
site. What gives?

This message board thread:
http://www.linuxquestions.org/questions/history/159617 seems to be about
my problem. When I configure the Pango 1.4 sources, it says my backends
are X and Freetype, not Xft, so that that fits with the Gtk configure
error that says I also need Xft. However, the installation guide webpage
says that Xft comes with Pango. Such doesn't seem to be the case. So, as
that thread says I got Xft from elsewhere and tried to get it to work.
It won't compile because it says it needs something called xrender.pc
and can't find it. I guess *.pc files are files related the pkg-config
program which apparently helps programs find libraries. It is referred
to at the gtk webpage, and I installed it. In my
/usr/X11R6/lib/pkgconfig/ is one file, libxml.pc . So apparently this
xrender.pc isn't there. Where is it? Could I have the xrender library
but not the pkg-config file for it? Is there an alternative way to point
Xft to xrender instead of by pkg-config? Xft has a manpage, so I know
some part of Xft is already installed. Nobody on that thread seems to
talk about this xrender.pc file. The spanish guy wants me to reinstall
all of X. Is that the answer? Thanks very much.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] dhcp, oops on that last message

2004-07-16 Thread Nick Schmalenberger
list,
Sorry for that last message. I replied before I read the second
digest.It came in the middle of me reading the first one! So then I
tried pump, precompiled from my Debian CD, and it works. Yay!
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Re: vox-tech Digest, Vol 2, Issue 14

2004-07-16 Thread Nick Schmalenberger
list,
I wondered at first too how I was going to edit a file in a binary file,
in  a bin directory, and I soon found out that it was a wrapper as Ryan
says. So, with vi!
> #!/bin/sh
> #
> # $Id: dhclient.sh,v 1.1.1.1.2.1 2002/02/11 03:44:26 eparis Exp $
> #
> 
> # dhclient.sh - a front end shell script that calls dhclient-2.2.x
> #   or dhclient-2.0.x depending on the kernel that is currently
> #   running.
> 
> #   Which version
> case `uname -r` in
> 1.*)
> # Give me a break...
> echo "DHCP requires a 2.x series kernel"
> exit 255
> ;;
> 
> 2.0.*)
> # 2.0 uses the paramters as passed to us.  Just exec the real
> McCoy.
> exec /sbin/dhclient-2.0.x -q "$@"
> ;;
> 2.[12345].*)
> exec /sbin/dhclient-2.2.x -q "$@"
> ;;
If dhclient-2.0.x corresponds to 2.0 kernels then does dhclient-2.2.x
correspond to 2.2 kernels? Has dhclient not been updated since 2.2 and
is the [12345](now with a 6 too) just a hack in the wrapper? It says
2002/02/11 in the wrapper also. Could that be my problem?
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] dhcp

2004-07-15 Thread Nick Schmalenberger
dear list,
I got my NIC to work, but I want for it to be configured by DHCP because
I don't know how to set the DNS servers and routing stuff. I know the
NIC works though because when I do "ifconfig eth0 inet 192.168.1.2" I
can then ping 192.168.1.1, the router. However, when I ran dhclient it
said unrecognized kernel version. My kernel is 2.6.7 . Google reveals
this
answer:
 
http://www.yak.net/fqa/398.html
by leif
How can I fix dhclient in debian stable with the 2.6 kernel?
In debian stable (and maybe unstable, I haven't looked), the
/sbin/dhclient script doesn't know about the 2.6 kernel yet. (If you
boot up 2.6.0 and don't get a DHCP lease, and you notice "Unrecognized
kernel version" in the output of the ifup command, this is your
problem.) The solution is to edit /sbin/dhclient and change
"2.[12345].*)" to "2.[123456].*)"

to that problem. When I did that
and then ran dhclient, dhclient just sat there and did nothing, and no
configuration appeared. I know my DHCP server works because Windows can
get a configuration by DHCP. So how can I make DHCP work? Thanks.
Nick Schmalenberger
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] driver module for Realtek 8139 NIC won't compile

2004-06-15 Thread Nick Schmalenberger
list,
I want to compile the driver module for my Realtek 8139 PCMCIA Ethernet
NIC. When I do make on the makefile, it says it can't find
pcmcia/driver_ops.h. Specifically:
"gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-I/usr/src/linux/pcmcia-cs-3.1.8/include/pcmcia -c rtl8139.c -o
realtek_cb.o
rtl8139.c:1511: pcmcia/driver_ops.h: No such file or directory
make: *** [realtek_cb.o] Error 1" .
Googling on driver_ops.h leads to this page:
http://lists.debian.org/debian-laptop/2001/07/msg00199.html .
This guy seems to have exactly the same problem as me. The guy who
responds to him says to install pcmcia-cs, but I know mine is already
installed because apt-get says so and because the pcmcia config files
are /etc/pcmcia/ . There aren't any more messages in that thread on
that listt after the two, so I don't know if the guy ever solved his
(and my, I think) problem. My problem is where are the include files?
There is no pcmcia directory off of the include directory. Most of the
include files are in /usr/include, and I guess driver_ops.h should be in
/usr/include/pcmcia, but like I said there is no pcmcia. I know that gcc
is finding the include directory because the first time I tried
compiling it, it gave me a warning to use slab.h instead of malloc.h ,
and then it gave the can't find driver_ops.h error. I changed the
reference to malloc.h to say slab.h instead, and it stopped complaining
about that, so I know it is finding the include directory. I tried
recompiling the pcmcia-cs sources , but it didn't make a
/usr/include/pcmcia. It did come with a driver_ops.h, so I tried putting
that in /usr/include and changing the reference in the rtl8139.c to
"#include " from "#include . Then it
didn't have that error anymore, but it gave a whole bunch of other
errors:
In file included from rtl8139.c:130:
kern_compat.h:463: warning: static declaration for `pci_find_capability'
follows non-static
rtl8139.c: In function `rtl8129_open':
rtl8139.c:714: structure has no member named `tbusy'
rtl8139.c:715: structure has no member named `interrupt'
rtl8139.c:716: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:806: structure has no member named `interrupt'
rtl8139.c:812: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:939: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:970: structure has no member named `tbusy'
rtl8139.c:993: structure has no member named `tbusy'
rtl8139.c:997: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1022: structure has no member named `interrupt'
rtl8139.c:1025: structure has no member named `interrupt'
rtl8139.c:1122: structure has no member named `tbusy'
rtl8139.c:1123: `NET_BH' undeclared (first use in this function)
rtl8139.c:1123: (Each undeclared identifier is reported only once
rtl8139.c:1123: for each function it appears in.)
rtl8139.c:1198: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1321: structure has no member named `start'
rtl8139.c:1322: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1387: structure has no member named `start'
make: *** [realtek_cb.o] Error 1
(stderr only)

Sorry for posting such a long thing, especially since a lot of it seems
redundant, but I don't know enough to describe it more concisely. Since
just giving it driver_ops.h didn't fix things, and there is no
/usr/include/pcmcia, I guess my pcmcia-cs is broken, or make isn't
finding the right headers, so maybe they're just in a weird place I
don't know
about. How can I fix it? Thanks.
Nick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech