Generate OpenSSL CSR in Squeeze

2011-07-27 Thread David A. Parker

Hello,

We have an RSA key with no encryption password, and we need to generate 
a CSR using this key.  However, when I try to generate a CSR, I get an 
error:


# openssl req -new -key server.key -out server.csr
Enter pass phrase for server.key:
32208:error:28069065:lib(40):UI_set_result:result too 
small:ui_lib.c:850:You must type in 4 to 8191 characters


And if I put in a random password, I get this:

unable to load Private Key
32208:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad 
decrypt:evp_enc.c:330:
32208:error:23077074:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 cipherfinal 
error:p12_decr.c:97:
32208:error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe 
crypt error:p12_decr.c:123:
32208:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 
lib:pem_pkey.c:125:


I am using the Debian Squeeze (amd64) and the stock OpenSSL package 
(openssl_0.9.8o-4squeeze1_amd64).  We have generated CSRs with this key 
in the past, so I know this used to work.  Any help would be greatly 
appreciated.


Thanks!

- Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4e30147d.9040...@utica.edu



Re: Generate OpenSSL CSR in Squeeze

2011-07-27 Thread David A. Parker

On 07/27/2011 11:55 AM, Ivan Shmakov wrote:

David A Parkerdpar...@utica.edu  writes:


We have an RSA key with no encryption password, and we need to generate
a CSR using this key.  However, when I try to generate a CSR, I get an
error:

# openssl req -new -key server.key -out server.csr
Enter pass phrase for server.key:

I guess that openssl(1) somehow doesn't recognize the format of
the key file, thus thinking that it may be encrypted.

While I don't know what may cause this behavior, I'd try to use
GnuTLS' certtool(1) to generate the request, in the hope that
it's unlikely that both OpenSSL and GnuTLS would've been broken
in the same way.

$ openssl --generate-request --load-privkey=server.key --outfile=server.csr

[…]



Thanks.  It turns out the key file in question is an encrypted key (not 
a plain RSA key as I thought).  However, it was created with no password 
specified, and apparently OpenSSL doesn't stop you from doing this, but 
it can't read the encrypted key later if you chose not to set a 
password.  A quick example:


# openssl genrsa 4096 | openssl pkcs8 -topk8 -out test.key
Generating RSA private key, 4096 bit long modulus
...++
..++
e is 65537 (0x10001)
Enter Encryption Password:
Verifying - Enter Encryption Password:

I just hit ENTER when prompted for the password each time, so the 
password is blank.  But then you get an error when you try to create a 
CSR using this key:


# openssl req -new -key test.key -out test.csr
Enter pass phrase for test.key:
328:error:28069065:lib(40):UI_set_result:result too 
small:ui_lib.c:850:You must type in 4 to 8191 characters

Enter pass phrase for test.key:

And now you're stuck.  It just keeps asking for a password, and even ^C 
won't break out of this.  You have to enter a junk password that's more 
than 4 characters, and that will force it to fail and abort.


I think this behavior is very odd.

- Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4e3050c7.7030...@utica.edu



Re: Squeeze (or higher) on HP DL180 G6

2011-05-23 Thread David A. Parker

On 05/23/2011 09:33 AM, Jacek Politowski wrote:

I'm going to buy a low-end server with 12 SATA HDDs.

I've received an offer for HP DL180 G6 with interesting price.
Now I'm trying to find out whether this proliant works correctly
with Debian (either squeeze or testing (or even unstable)).


Server has HP P212/ZM and P410/256 controllers (I guess it needs two
controllers to accomodate support 12 HDDs).

I actually don't need any RAID functionality from these controllers
(I'm going to use standard linux md soft-raid anyway).


Does anybody use HP DL180 G6 with Debian here and can confirm that
Debian works correctly on that server?

Unfortunately google wasn't really helpful (at least for dl180 g6
debian, p212 debian and similar phrases).



Hello,

I just installed Squeeze on several HP DL360 G6 servers and it works 
fine.  Each of these servers has the P410i controller with two physical 
disks configured in a RAID 1 mirror.  Debian uses the built-in cciss 
driver and maps the RAID volume to /dev/cciss/c0d0.  If you don't have a 
RAID volume set up, I would imagine it would map the first physical 
drive to /dev/cciss/c0d0, the next to /dev/cciss/c0d1, etc.


One quick note, you will need the firmware for the network hardware in 
these machines.  Download this file:


ttp://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.28_all.deb

Put the file on a thumbdrive and plug it into the server right before 
the installer detects the network hardware.  Make sure you unplug it 
after the network hardware is set up, and before the installer goes on 
to detect the disks.


Hope this helps.

- Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4dda6d9b.90...@utica.edu



Re: Squeeze (or higher) on HP DL180 G6

2011-05-23 Thread David A. Parker


One quick note, you will need the firmware for the network hardware in these
machines.  Download this file:

ttp://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.28_all.deb


...or use the squeeze + non-free installer:

http://www.debian.org/releases/squeeze/debian-installer/

netinst (generally 175-240 MB) non-free CD images with firmare



That would have saved me a lot of time.  Thanks for the tip!  :-)

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4ddaa25b.5040...@utica.edu



Network connection drops in Squeeze

2011-03-09 Thread David A. Parker

Hello,

I have an HP 6005 workstation with a fresh install of Debian Squeeze, 
and I am seeing some very strange networking behavior.  The network 
connection seems to drop periodically, but it comes back if you hit a 
key on the keyboard plugged into the machine.


Here's the general way it happens:

1.  I am logged into the machine via SSH
2.  I attempt to transfer a large file to or from the machine via SFTP
3.  At some point during the transfer, my SSH session will just hang and 
all connectivity to the machine is lost (I can't ping it, start a new 
SSH session, etc.)
4.  If I walk over to the physical machine and hit any key on the 
keyboard, all network connectivity immediately resumes.


I can reproduce this with pretty good consistency.  It seems to happen 
any time I am doing something fairly network intensive (large file 
transfer, X11 forwarding, etc.)  This is a clean command-line-only 
install of Squeeze (64-bit) with the default kernel (2.6.32-5-amd64).


The information for the onboard NIC is as follows:

3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 
Gigabit Ethernet PCIe (rev 10)

Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at f020 (64-bit, non-prefetchable) [size=64K]
Memory at f021 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 3
Capabilities: [40] Vital Product Data
Capabilities: [60] Vendor Specific Information: Len=6c ?
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [cc] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 64-31-50-ff-fe-3d-ba-f4
Capabilities: [16c] Power Budgeting ?
Kernel driver in use: tg3

The NIC is using the tg3 driver.

Has anyone else seen this behavior?  Does anyone have any ideas?

Thanks!
Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4d77d0ed.70...@utica.edu



Re: Network connection drops in Squeeze

2011-03-09 Thread David A. Parker

On 03/09/2011 04:30 PM, Celejar wrote:

On Wed, 09 Mar 2011 14:11:41 -0500
David A. Parkerdpar...@utica.edu  wrote:


Hello,

I have an HP 6005 workstation with a fresh install of Debian Squeeze,
and I am seeing some very strange networking behavior.  The network
connection seems to drop periodically, but it comes back if you hit a
key on the keyboard plugged into the machine.

Here's the general way it happens:


...


I can reproduce this with pretty good consistency.  It seems to happen
any time I am doing something fairly network intensive (large file
transfer, X11 forwarding, etc.)  This is a clean command-line-only
install of Squeeze (64-bit) with the default kernel (2.6.32-5-amd64).


I doubt I'll be able to help, but just to clarify: you're pretty
certain that the problem doesn't occur when the connection is not under
load, such as during an ordinary interactive ssh session?

One might suspect some sort of sleep / suspend behavior, but I
really don't know.


Thanks Celejar.

So far, this has never happened randomly during an SSH session.  It 
always seems to be triggered by some sort of network activity.  What's 
especially frustrating is that absolutely nothing gets logged in the 
system logs when this happens.


I originally suspected that the network adapter was being put to sleep, 
but that doesn't explain why I can sustain a normal SSH connection for 
long periods of time.  I can even leave the computer on overnight and 
nothing stops working.  If it were a sleep or suspend issue, I would 
think it would happen when the interface was idle, but I haven't ruled 
this out.


Does anyone know what I should check to see if this is some sort of 
power management issue?  I stopped acpid, but the behavior persists.


Thanks!
Dave


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

Archive: http://lists.debian.org/4d77fffe.8010...@utica.edu



Re: Network connection drops in Squeeze

2011-03-09 Thread David A. Parker

On 03/09/2011 05:32 PM, David A. Parker wrote:

So far, this has never happened randomly during an SSH session. It
always seems to be triggered by some sort of network activity. What's
especially frustrating is that absolutely nothing gets logged in the
system logs when this happens.

I originally suspected that the network adapter was being put to sleep,
but that doesn't explain why I can sustain a normal SSH connection for
long periods of time. I can even leave the computer on overnight and
nothing stops working. If it were a sleep or suspend issue, I would
think it would happen when the interface was idle, but I haven't ruled
this out.

Does anyone know what I should check to see if this is some sort of
power management issue? I stopped acpid, but the behavior persists.



The behavior I'm seeing is very similar to what's described here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404708

Could this be a driver bug, perhaps?

- Dave


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

Archive: http://lists.debian.org/4d780772.1030...@utica.edu



Re: Network connection drops in Squeeze

2011-03-09 Thread David A. Parker

On 03/09/2011 06:04 PM, David A. Parker wrote:

On 03/09/2011 05:32 PM, David A. Parker wrote:

So far, this has never happened randomly during an SSH session. It
always seems to be triggered by some sort of network activity. What's
especially frustrating is that absolutely nothing gets logged in the
system logs when this happens.

I originally suspected that the network adapter was being put to sleep,
but that doesn't explain why I can sustain a normal SSH connection for
long periods of time. I can even leave the computer on overnight and
nothing stops working. If it were a sleep or suspend issue, I would
think it would happen when the interface was idle, but I haven't ruled
this out.

Does anyone know what I should check to see if this is some sort of
power management issue? I stopped acpid, but the behavior persists.



The behavior I'm seeing is very similar to what's described here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404708

Could this be a driver bug, perhaps?



I triggered one of these wird lock-ups and then let it sit in the 
frozen state for several minutes.  It eventually corrected the 
problem, and the following messages got dumped to the logs:


[  442.826956] Clocksource tsc unstable (delta = 299985606581 ns)
[  442.828411] Switching to clocksource hpet
[  442.829530] BUG: soft lockup - CPU#3 stuck for 279s! [ssh:1186]
[  442.829566] Modules linked in: vboxnetadp vboxnetflt vboxdrv loop 
snd_hda_codec_realtek radeon ttm snd_hda_intel drm_kms_helper 
snd_hda_codec drm edac_core i2c_algo_bit snd_hwdep i2c_piix4 shpchp 
snd_pcm edac_mce_amd pci_hotplug i2c_
core snd_timer psmouse snd soundcore tpm_infineon snd_page_alloc wmi tpm 
tpm_bios pcspkr evdev button processor serio_raw ext4 mbcache jbd2 crc16 
sg sr_mod cdrom sd_mod crc_t10dif usbhid hid ahci ohci_hcd libata 
thermal thermal_sys ehci

_hcd tg3 libphy usbcore nls_base scsi_mod [last unloaded: scsi_wait_scan]
[  442.829593] CPU 3:
[  442.829594] Modules linked in: vboxnetadp vboxnetflt vboxdrv loop 
snd_hda_codec_realtek radeon ttm snd_hda_intel drm_kms_helper 
snd_hda_codec drm edac_core i2c_algo_bit snd_hwdep i2c_piix4 shpchp 
snd_pcm edac_mce_amd pci_hotplug i2c_
core snd_timer psmouse snd soundcore tpm_infineon snd_page_alloc wmi tpm 
tpm_bios pcspkr evdev button processor serio_raw ext4 mbcache jbd2 crc16 
sg sr_mod cdrom sd_mod crc_t10dif usbhid hid ahci ohci_hcd libata 
thermal thermal_sys ehci

_hcd tg3 libphy usbcore nls_base scsi_mod [last unloaded: scsi_wait_scan]
[  442.829614] Pid: 1186, comm: ssh Not tainted 2.6.32-5-amd64 #1 HP 
Compaq 6005 Pro MT PC
[  442.829616] RIP: 0010:[8119502d]  [8119502d] 
copy_user_generic_string+0x2d/0x40

[  442.829623] RSP: 0018:88021cf89b80  EFLAGS: 0246
[  442.829624] RAX: 88021cf88000 RBX: 0370 RCX: 
0001
[  442.829626] RDX:  RSI: 88021c4f6604 RDI: 
7fffc4241358
[  442.829628] RBP: 8101166e R08: d7f8a216 R09: 

[  442.829629] R10:  R11: 88021d2f8d00 R12: 
88021ccc
[  442.829631] R13:  R14: 00db R15: 
810fc797
[  442.829632] FS:  7fa02829f720() GS:880008d8() 
knlGS:

[  442.829634] CS:  0010 DS:  ES:  CR0: 8005003b
[  442.829636] CR2: 7fa028248000 CR3: 00021d0f1000 CR4: 
06e0
[  442.829637] DR0:  DR1:  DR2: 

[  442.829639] DR3:  DR6: 0ff0 DR7: 
0400

[  442.829640] Call Trace:
[  442.829644]  [812495d0] ? memcpy_toiovec+0x34/0x63
[  442.829646]  [81249edc] ? skb_copy_datagram_iovec+0x7c/0x1ed
[  442.829649]  [8127e251] ? tcp_recvmsg+0x6e5/0xa9e
[  442.829653]  [812425fa] ? sock_common_recvmsg+0x30/0x45
[  442.829656]  [812405f8] ? sock_aio_read+0xb9/0xc4
[  442.829658]  [81195030] ? copy_user_generic_string+0x30/0x40
[  442.829661]  [810ee809] ? do_sync_read+0xce/0x113
[  442.829665]  [8100f6c4] ? __switch_to+0x1ad/0x297
[  442.829668]  [81064d2a] ? autoremove_wake_function+0x0/0x2e
[  442.829671]  [81048079] ? finish_task_switch+0x96/0xaf
[  442.829673]  [810ef265] ? vfs_read+0xb9/0xff
[  442.829675]  [810ef367] ? sys_read+0x45/0x6e
[  442.829677]  [81010b42] ? system_call_fastpath+0x16/0x1b

Note that this was happening before I installed VirtualBox, so I don't 
think the vbox modules are to blame.


I tried the ethtool command that was given in that bug report, but it 
did not help.  Any ideas?


Thanks,
Dave


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

Archive: http://lists.debian.org/4d780b5e.7050...@utica.edu



Re: To KVM or not to KVM

2010-11-11 Thread David A. Parker
I think that the virtualization support in some CPUs is not compatible 
with KVM.  I have an HP server with two dual-core Xeon model 5160 CPUs 
in it.  According to Intel's website, this CPU has the VT-x extension 
for virtualization support, and I enabled virtualization support in the 
BIOS.  However, QEMU says that the CPU does not support virtualization, 
and /proc/cpuinfo does not show the vmx extension (which KVM requires).


- Dave

On 11/11/2010 09:23 AM, David Baron wrote:

I have a dual core intel processor with hyperthreading, etc.
Virtualization options are set on in BIOS.

I still get something like CPU does not have extensions, doing nothing when
the KVM driver tries to load.

I am using a stock 2.6.32 kernel from Sid.

How do I activate KVM stuff? Need to compile the kernel with options set?




--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4cdc0503.5000...@utica.edu



Stop dhclient from adding a default gateway

2010-09-03 Thread David A. Parker

Hello,

I have a Debian Lenny box with two NICs, eth0 and eth1. eht1 is a 
trunking interface and can be put onto any VLAN.  Whenever eth1 is put 
onto a VLAN, I want it to get an address from DHCP but I do *not* want 
it to set a default gateway.


I set up a definition for each interface in dhclient.conf and explicitly 
requested everything except routers.  Here's an example using the 
interface for VLAN 52:


interface vlan52 {
  request subnet-mask, broadcast-address, time-offset, domain-name, 
domain-name-servers, host-name;

}

I deleted everything else from the config file, so it's literally just 
one big list of interface definitions like the one above.  I also set up 
two shell scripts per VLAN, one to set up a static route and the other 
to delete the route, and set these scripts to run as post-up/pre-down 
commands for the respective VLAN interface in /etc/network/interfaces, 
like so:


# VLAN 52 - Library
iface vlan52 inet dhcp
vlan_raw_device eth1
post-up /etc/network/scripts/vlan52_add_route
pre-down /etc/network/scripts/vlan52_del_route

The scripts work and I get the static route, but I still get a default 
route as well:


# ifup vlan52
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Added VLAN with VID == 52 to IF -:eth1:-
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/vlan52/00:0d:56:f0:33:5c
Sending on   LPF/vlan52/00:0d:56:f0:33:5c
Sending on   Socket/fallback
DHCPDISCOVER on vlan52 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 10.5.2.176 from 10.5.2.1
DHCPREQUEST of 10.5.2.176 on vlan52 to 255.255.255.255 port 67
DHCPACK of 10.5.2.176 from 10.5.2.1
bound to 10.5.2.176 -- renewal in 107356 seconds.

# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt 
Iface
10.5.2.010.5.2.1255.255.255.0   UG0 0  0 
vlan52 -- STATIC ROUTE SET BY THE POST-UP SCRIPT
10.5.2.00.0.0.0 255.255.255.0   U 0 0  0 
vlan52 -- DEFAULT ROUTE ADDED BY DHCP!
10.3.0.00.0.0.0 255.255.248.0   U 0 0  0 
eth0
0.0.0.0 10.3.1.10.0.0.0 UG0 0  0 
eth0


Any help would be greatly appreciated.

Thanks!
Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4c80f901.2040...@utica.edu



Re: Stop dhclient from adding a default gateway

2010-09-03 Thread David A. Parker

On 09/03/2010 02:09 PM, Bob Proulx wrote:

David A. Parker wrote:

I have a Debian Lenny box with two NICs, eth0 and eth1. eht1 is a
trunking interface and can be put onto any VLAN.  Whenever eth1 is
put onto a VLAN, I want it to get an address from DHCP but I do
*not* want it to set a default gateway.
...
Any help would be greatly appreciated.


By coincidence I have been hacking on these scripts today too...

The dhclient-script sets the route.  If you want to prevent it then
you will have to either prevent dhclient-script from setting it or to
remove it after it has been set.



Thanks, Bob.  I had looked at dhclient-script and realized that it was 
the culprit, but I was hoping to avoid hacking up that script.  I tried 
adding a line to my post-up script to remove the default route, like so:


route del -net 10.5.2.0/24 gw 0.0.0.0 dev vlan52

But this removes the static route instead!  I don't know why it's 
behaving like that.


It appears that I can delete both routes, but only in a certain order. 
I can only delete the default route once the static route is gone.  And 
if I don't have any routes for that network, route won't let me add 
the static route unless a default route is already there.  I have to add 
the default route first, and then I can add the static one.  So, if I 
stop dhclient from adding the default route, it seems like this would 
prevent my post-up script from being able to add the static route.


I'm very confused by this.  Does the kernel absolutely require a default 
route for every network the host is on?  Because that's exactly what I'm 
trying to avoid.


Thanks,
Dave

--

Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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

Archive: http://lists.debian.org/4c814015.1050...@utica.edu



Re: samba query

2009-11-16 Thread David A. Parker

Daniel Dalton wrote:

On Fri, Nov 13, 2009 at 10:50:10PM -0500, David Parker wrote:

   This works fine for me.  You might simply be missing a line in your config
   file or something.

   In your smb.conf:


Thanks:) I'll give that a shot and see how it goes. On a home network
with wpa encryption, and a firewall that drops just about everything,
except out going, and receiving of data from a connection that was
established from behind the router, am I pretty safe to not worry about
password encryption? I do trust everyone currently on the network. Or is
it still a good idea. I'll enable it for another level of security, but
just wondering how necessary this is for a small home network?



The encrypt passwords option specifies whether or not Samba expects 
plain-text or encrypted passwords to be transmitted from the client, and 
it also affects how those passwords are stored in the smbpasswd file. 
As I understand it, encrypted passwords are required in order for Samba 
to work correctly with modern version of Windows (2000 and newer).  This 
option should be enabled unless you have some specific reason to disable it.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




gcc 3.3 in Lenny

2009-08-27 Thread David A. Parker
I'm trying to build something in Debian Lenny (x86 32-bit) from old 
source code that needs gcc 3.3 but the oldest version I see in the 
repository is 3.4.  Is there any way to get packages for gcc versions 
older than 3.4 under Lenny?


Thanks,
Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: ldapsearch -- troubles connecting to LDAP server (SASL config?)

2009-07-16 Thread David A. Parker

w...@serensoft.com wrote:

Hello Debianistas!

We're a bit new to the LDAP world and are having trouble configuring a
connection to the LDAP server.

Using ldapsearch as a diagnostic tool, here's what we are getting:

# ldapsearch -h 10.3.1.37
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)

So we need a username/password pair to connect then, right? We've
figured out how to specify the password, but not a username:

# ldapsearch -x -h 10.3.1.37  -W -X u:ldapuser
ldapsearch: -X incompatible with authentication choice

# ldapsearch -x -h 10.3.1.37  -W -U ldapuser
ldapsearch: incompatible previous authentication choice

As you can see, the manpage seems to be assuming some background
information we don't know yet. :) And googling turned up some
questions with overlap to ours here, but the answers don't appear to
be posted in their entirety.

:(

Any pointers welcome -- thanks!


# ldapsearch -x -h 10.3.1.37  -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object
text: 208D: NameErr: DSID-031001A8, problem 2001 (NO_OBJECT), data 0, bes
 t match of:
''

# numResponses: 1





You need to specify the username as part of the bind DN using the -D option:

ldapsearch -h ldap.example.com -b base DN here -D 
cn=username,rest of bind DN here -W filter


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: trouble with custom kernel

2009-06-16 Thread David A. Parker

Bernd Prager wrote:

Hi,

I have been building custom kernels for my system a while now.
Recently I run into trouble that I haven't experienced before:

I build my kernel with:
$ make menuconfig
$ make-kpkg clean
$ fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image 
kernel_headers


When I try to install I get now following error:
$ dpkg -i linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb
(Reading database ... 136073 files and directories currently installed.)
Unpacking linux-image-2.6.30-custom (from 
linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb) ...

Done.
dpkg: error processing 
linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb (--install):
trying to overwrite `/lib/firmware/mts_edge.fw', which is also in 
package linux-image-2.6.29.1-custom

dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.29.1-custom
Found kernel: /boot/vmlinuz-2.6.27-14-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb

Any suggestion what to do?



Hi,

It looks to me like you have included a kernel option for this device in 
the last two kernels (linux-image-2.6.30-custom and 
linux-image-2.6.29.1-custom) which you had not included before.  I'm not 
sure which option would force the inclusion of mts_edge.fw, but if you 
look through the kernel config you can probably find it and disable it.


You could also try using the --force-conflicts or --force-overwrite 
flags with dpkg, although that could get dangerous.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: Windows Partition Cloning under Linux

2009-04-20 Thread David A. Parker

Adrian Levi wrote:

2009/4/21 T o n g mlist4sunt...@yahoo.com:

Hi,

Is there any good solution to clone Windows Partitions under Linux?

Most people would recommend Partimage, but I think it is practically
useless since the source/dest partition size has to be exactly the same.
http://www.partimage.org/Partimage-
FAQ#Can_I_restore_it_to_a_smaller_or_bigger_partition_.3F

Please help.


the dd tool will let you create a bitwise replica of any partition.

Adrian



dd will create an image of the partition which will be exactly the same 
size as the original partition (not just the data on the partition). You 
won't be able to put that image on a smaller partition.  You might want 
to look at CloneZilla.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: Delete 4 million files

2009-03-18 Thread David A. Parker

kj wrote:

Hi guys,

This might seem like a stupid question, but I'm hoping there's a better 
way.


I discovered a Maildir on my server with 4+ million mails in.  The 
result of a cronjob that runs every minute - this has been fixed.


Now, I've been running the usual find . -type f -exec rm {} \;
but this is going at about 700,000 per day.  Would simply doing an rm 
-rf on the Maildir be quicker?  Or is there a better way?




I'm pretty sure that deleting the entire directory with rm -rf should 
be a lot faster.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: AMD64 in vmware

2009-03-16 Thread David A. Parker

Stackpole, Chris wrote:

From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
Sent: Monday, March 16, 2009 9:49 AM
Subject: AMD64 in vmware

Hi,

Quick question, is it possible to test AMD64 ios under vmware which is
hosted under i386? IIRC, launching AMD64 apps under chroot in i386

won't

work, but I don't about this.


You are asking if you can run a 64bit VM guest on a 32bit host?

Sorry. Can't do it. Even if you have a 64bit processor, if you only have
a 32bit host it won't work.



I thought this was possible as long as the physical CPU has VT support 
enabled and the BIOS supports it as well.  Perhaps I'm mistaken, though.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: ssh

2009-01-21 Thread David A. Parker

Francesco Pietra wrote:

That's odd.  I am able to get commands to work over SSH without a
password.
 I copied the contents of ~/.ssh/id_rsa.pub on my work computer into
~/.ssh/authorized_keys on my home computer.  Now I can SSH from my work
computer to my home computer like this:

ssh m...@myhomepc date

And it logs into my home computer and then runs the date command.  I did
not
have to do anything with the authorized_keys file on my work computer to
make this happen.

That's all appropriate.

You only need to modify authorized_keys in both places if you want the
symmetric relationship that either machine can log into the other.


Correct.

I mentioned that I did not have to alter the authorized_keys file on my work
PC in response to the OP's statement:


I know how to solve the issue, i.e. by cross appending the
authorized_keys files, in order that each machine knows itself. But
there must be a simpler way.

I have no idea why you would need to do something like that.  I have never
had to cross-append anything in order to make this work.  I just wanted to
clarify for the OP that the keys only need to be shared in one direction to
do this.

He seems to indicate that the passwordless login works just fine unless he
tries to run a command through the ssh command line.  I don't know why that
would make a difference.


Big difference for me. As I said in my original post, certain
computational parallelized codes (from major supercomputer centers,
latest versions) do not work unless the two machines talking to one
another also know themselves. Usually, the two machines are my
desktop (let say deb32) and my parallel computer (let say deb64)
talking to one another via a router.The only way I found (perhaps
suggested by the author of the code, I don't remember) to login
passwordless (my arrangement is also passfraseless) to the parallel
computer - and vice versa - while requesting the date, is to take the
deb32 keys from deb64 and append them to those of deb32 itself, and
vice versa. I admit that most codes do not care about that, but it
happens that I am using at this very moment a code that has such
idiosyncrasy.

When I said there must be a simpler way, I meant to make that
appending intrinsic in the configuration of ssh. Otherwise, I have to
stay to ssh if I want (as I need) also to access supercomputers.

I am surprised that others are able to login while running a command
by simply sending one-way the keys. As I am no system expert, I
assume that I am not setting up correctly ssh.

regards
francesco



Francesco,

If I understand you correctly, you are trying to ssh from your PC 
running 32-bit Lenny to a node in a parallel computing cluster running 
64-bit Lenny.  Is this correct?


I'm not sure why a simple one-way shared key would not work if you are 
trying to run a command on the parallel computer from your PC.  You 
shouldn't need two-way authentication unless the parallel computer needs 
to run something on your machine using the same tunnel.  But I might be 
misunderstanding how you have things set up.


- Dave

P.S.  I sent this reply back to the lists so this conversation wouldn't 
go completely off-list, in case someone else is interested too.


--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: ssh

2009-01-20 Thread David A. Parker

Is any 'send file' command to make so that two machines (an amd64
multisocket and a simple i386, both lenny) talk scp with one another
through a router (attached to adsl) fully without asking the password?

With 'fully' I mean that command:

ssh target_machine_name date

gives the date without asking a password. The mere sending id_rsa.pub
to create the authorized_keys file only works (without asking the
password) for command:

ssh target_machine_name

but if 'date' is also requested, the password is needed (at least in my hands).

I know how to solve the issue, i.e. by cross appending the
authorized_keys files, in order that each machine knows itself. But
there must be a simpler way.



That's odd.  I am able to get commands to work over SSH without a 
password.  I copied the contents of ~/.ssh/id_rsa.pub on my work 
computer into ~/.ssh/authorized_keys on my home computer.  Now I can SSH 
from my work computer to my home computer like this:


ssh m...@myhomepc date

And it logs into my home computer and then runs the date command.  I did 
not have to do anything with the authorized_keys file on my work 
computer to make this happen.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: ssh

2009-01-20 Thread David A. Parker

Christopher Browne wrote:

On Tue, Jan 20, 2009 at 11:06 AM, David A. Parker dpar...@utica.edu wrote:

Is any 'send file' command to make so that two machines (an amd64
multisocket and a simple i386, both lenny) talk scp with one another
through a router (attached to adsl) fully without asking the password?

With 'fully' I mean that command:

ssh target_machine_name date

gives the date without asking a password. The mere sending id_rsa.pub
to create the authorized_keys file only works (without asking the
password) for command:

ssh target_machine_name

but if 'date' is also requested, the password is needed (at least in my
hands).

I know how to solve the issue, i.e. by cross appending the
authorized_keys files, in order that each machine knows itself. But
there must be a simpler way.


That's odd.  I am able to get commands to work over SSH without a password.
 I copied the contents of ~/.ssh/id_rsa.pub on my work computer into
~/.ssh/authorized_keys on my home computer.  Now I can SSH from my work
computer to my home computer like this:

ssh m...@myhomepc date

And it logs into my home computer and then runs the date command.  I did not
have to do anything with the authorized_keys file on my work computer to
make this happen.


That's all appropriate.

You only need to modify authorized_keys in both places if you want the
symmetric relationship that either machine can log into the other.



Correct.

I mentioned that I did not have to alter the authorized_keys file on my 
work PC in response to the OP's statement:


 I know how to solve the issue, i.e. by cross appending the
 authorized_keys files, in order that each machine knows itself. But
 there must be a simpler way.

I have no idea why you would need to do something like that.  I have 
never had to cross-append anything in order to make this work.  I just 
wanted to clarify for the OP that the keys only need to be shared in one 
direction to do this.


He seems to indicate that the passwordless login works just fine unless 
he tries to run a command through the ssh command line.  I don't know 
why that would make a difference.


He also mentioned scp, and I think the better alternative would be to 
run sftp with a batch file.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: OT: BIOS Problem

2008-11-17 Thread David A. Parker

Thomas H. George wrote:




If your slave drive has failed completely, it's possible that your 
master drive needs to be jumpered as single instead of master (if it 
is one of those drives which make that distinction).  Sometimes the BIOS 
will get hung up for a while trying to find a second drive because the 
first drive says there should be one.


Hope this helps.

- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: error in script

2008-09-05 Thread David A. Parker

L.V.Gandhi wrote:
On Fri, Sep 5, 2008 at 8:00 AM, David Parker [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


- Original Message -
From: L.V.Gandhi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Date: Thursday, September 4, 2008 9:50 pm
Subject: error in script
To: debian-user debian-user@lists.debian.org
mailto:debian-user@lists.debian.org

  I have a script as follows
  #!/bin/bash
  rm -f ~/stock/flstock.csv
  grep FUTSTK ~/stock/today/$1 |grep 25/09/2008|cut -s -d,
-f9|sort -nr  temp
  i=0
  for trv in $(cat temp)
  do
  grep $trv ~/stock/today/$1  ~/stock/flstock.csv
  i=$((i+1))
  if [ $i -eq 20 ]
  then
  exit 0
  fi
  done   
  rm -f temp

  cat ~/stock/flstock.csv |cut -s -d, -f2|sort 
~/stock/fliquidstocks.txt

  Last line is not getting  executed . But if I run last line
afterwards in console, it works.
  Can someone throw somelight why it happens.

Try echoing the value of $i each time through the loop.  I wonder if
the exit 0 when $i = 0 is the problem.

- Dave


Thanks. I think you are correct. What should do to come out of loop 
instead of exiting the script.




If you only want the loop to run 20 times, then you can change it to 
only read a maximum of 20 lines from the file:


for trv in $(head -n20 temp)

- Dave


--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




Re: Off subject question.

2008-08-19 Thread David A. Parker
We have a client that needs to get registration information when their 
client installs software.


They had been using FTP to do this but this has many security issues. 
Email of course cannot be used. What do people use to get this type 
information back when someone registers software. I need to set up 
something on our Debian servers so information can get to the right 
person with out big security risk.




Without more information, it's tough to say what the best solution would 
be.  I would say sftp is one way to do it.  You could also set up a 
secure website that the software posts the registration data to.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: UNIX Logins by Proxy Over the Web

2008-07-31 Thread David A. Parker

The way I imagine it, when a client clicks a link,
he/she triggers the server to ssh to an account on the UNIX
system where they begin running my application by default, in
other words, that's all you can do there. When finished, the
connection drops.



Could you have a web form which collects all the necessary information 
from the user, and then sends it to the UNIX server in a file which your 
application can parse?  That way, users would not be interacting with 
the UNIX server at all.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Making an image of my HDD

2008-07-31 Thread David A. Parker
dd if=${device} conv=sync,noerror bs=64K | ssh -l ${user} ${host} dd 
of=file.bin bs=64K




I have used dd to back up and restore hard drives before, but I've saved 
the image on a NFS directory instead of using ssh.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: obscenely OT Re: apt-get joke

2008-05-28 Thread David A. Parker

Cantilevered elastics work wonders.
As does a firm dis-belief in gravity. 


One view of National Geographic will disabuse you of that notion...


that's the whole point of firm dis-belief! National Geographic is just
clearly mistaken. Plus few of those were likely to be of the
proportions under discussion here.

A
Andrew, I just have to ask...  are you using the word firm on purpose, 
or was that little pun not intentional?


:-)

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Intel Graphics Drivers

2008-02-29 Thread David A. Parker

Alok G. Singh wrote:

On 29 Feb 2008, [EMAIL PROTECTED] wrote:


I am attempting to compile the graphics drivers from
www.intellinuxgraphics.com on Debian Etch but I am having some
problems.


You do know that they are already packaged for Debian, right ?

xserver-xorg-video-intel is the package. You probably need the
corresponding libdrm2 too. sid usually has the latest versions within a
couple of days of a release. Or even quicker (that X Strike Force :)

If you do want to compile them yourself then there's a guide on the
wiki[1]. Additionally, using the Debian infrastructure would give you a
package rather than having to 'make install' and the associated
uninstall/upgrade headaches.

HTH.

Footnotes: 
[1] http://wiki.debian.org/XStrikeForce/git-usage




Alok,

Thank you for the suggestions.  I forgot to mention that I tried the 
Debian package from Lenny, but I got some dependency errors which 
indicated that all of my Xorg stuff would have to be upgraded to the 
version in Lenny as well.


I will definitely check out the wiki page and follow the guide on there. 
 I hadn't seen that wiki, but it looks like it will be a great help.


Thanks again,
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Intel Graphics Drivers

2008-02-28 Thread David A. Parker

Hello,

I am attempting to compile the graphics drivers from 
www.intellinuxgraphics.com on Debian Etch but I am having some problems. 
 I downloaded the necessary source trees from their git repository 
using the links provided in the downloads section of that page.  I have 
been trying to compile them per the instructions found here:


http://www.intellinuxgraphics.com/install.html

When I run autogen.sh I get the following output:

# ./autogen.sh
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal  --output=aclocal.m4t
aclocal: configure.ac: 41: macro `AM_PROG_CC_C_O' not found in library
aclocal: configure.ac: 219: macro `AM_CFLAGS' not found in library
autoreconf2.50: aclocal failed with exit status: 1

I am not very familiar with autoconf or autoreconf, but the problem 
seems to be this set of macro calls in the configure.ac file:


# Checks for programs.
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
AM_PROG_CC_C_O

I have Googled this problem but I haven't found much in the way of 
possible solutions.  I have installed the packages git, git-core, 
git-arch, git-completion, git-cvs, and git-svn but the problem persists. 
 Does anyone have any suggestions to try, or has anyone else 
successfully compiled these drivers under Etch?


Thanks,
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




LDAP Authentication

2007-11-28 Thread David A. Parker

Hello,

I have a box running Lenny which I am trying to configure to use LDAP 
(as opposed to local) user authentication.  Both nss_ldap and pam_ldap 
are installed from the current packages.  The server it is 
authenticating against is a Sun LDAP server which stores passwords as 
SHA2 hashes by default.  I am not able to get LDAP logins working on 
this box, and the problem appears to be that there is no support for 
SHA2 passwords in nss_ldap or pam_ldap.  Does anyone know if this is 
correct?  I have tried setting pam_password to 'clear', 'crypt', 'ad', 
and 'exop' with no luck.  (There does not seem to be any 'sha' or 'sha2' 
option.)


If we change the password from SHA2 to a UNIX crypt hash on the server 
and set pam_password to 'crypt' in /etc/libnss-ldap.conf, then the LDAP 
authentication works correctly.


I haven't had any luck finding answers on Google, and I can't seem to 
find much documentation on using nss_ldap or pam_ldap with SHA2.  Any 
help or suggestions will be greatly appreciated.


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: New Server

2007-10-29 Thread David A. Parker

Ed Curtis wrote:
I'm getting ready to build a new server. Has anyone on the list had any 
problems or used Silicon Mechanics before. I'm checking out some quotes 
from there. They use Nvida MCP55 Pro dual nics in their system. I 
thought I had heard about problems with Nvida nics in the past on the 
list but Google hasn't given me any bad new about them.


TIA for any info,

Ed



Hi,

I recently built a box with an onboard Nvidia NIC, and it didn't work 
under Etch.  I spent several days Googling and troubleshooting it until 
I finally gave up and installed a PCI NIC I knew would work.  The 
problem seemed to boil down to the fact that the forcedeth driver was 
not able to query to NIC properly to get its MAC address, so it would 
just assign a random MAC address to it instead.  Because of this, the 
NIC got a different device designation (eth0, eth1, etc.) each time the 
computer booted, and it wasn't possible to use udev to fix it since the 
MAC address was always different.


One of my Google searches brought up a post that said this was fixed in 
the forcedeth driver in testing, but I didn't try it.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Silly question: Where's eth0?

2007-10-23 Thread David A. Parker

Dr. Jennifer Nussbaum wrote:

Andrew Sackville wrote:

personally, I think network-manager is more trouble

than its worth,
but that's jsut me. 


Im starting to feel that your right--when it works its
nice but when it doesnt i never know what to do.


please provide the exact output of the following:



dmesg | grep -i ^eth


$ dmesg | grep -i ^eth
eth1: Coming out of suspend...
eth1: no IPv6 routers present


cat /etc/network/interfaces


$ cat /etc/network/interfaces
# This file describes the network interfaces available
on your system
# and how to activate them. For more information, see
interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0



Try adding these lines to your /etc/network/interfaces:

auto eth0
iface eth0 inet dhcp

Then run:

ifup eth0
ifconfig eth0

See if you get a network address from DHCP.

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Can't execute PHP script

2007-09-14 Thread David A. Parker


Randy Patterson wrote:


I ran 'chmod 755 test.php' on the file in question. Loaded this file with 
browser and got the very same results. Checked /var/log/apache2/error.log and 
no error. Checked /var/log/apache2/access.log and I had accessed the file.


I have been to debian-administration.org and read up on the topic, I have 
looked over apache2.conf to see if there was something I could change but I 
am at the end of my rope. I even did the Windoz thing and uninstalled apache2 
and php, purge it and reinstalled, same results. Guess I'll have to stick 
with PHP on IIS as a test system. I haven't ever had problems with PHP 
running on it.


Thanks




You could also try compiling Apache and PHP from source instead of 
installing from the Debian package.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Can't execute PHP script

2007-09-12 Thread David A. Parker

Randy Patterson wrote:

Hey,

I installed apache like;

aptitude install apache2 php5 libapache2-mod-php5

As returned by apache2ctl, I am running;

Apache/2.2.4 (Debian) PHP/5.2.3-1+b1

I point my browser to;

http://localhost/apache2-default/test.php

The file test.php contains this code;

htmlbody
h1PHP Test/h1
br /
?php print Hello World!; ?
/body/html

The browser outputs only;

PHP Test

The script doesn't get executed. 

There seems to be a large number of ways to setup a LAMP server so it's 
difficult to know if a particular set of instructions apply to your setup. I 
have posted this problem here several weeks back and then tried the PHP-Users 
list to no avail. I would really like the get this setup on my Linux system 
and not have to use Windows, which I have no problem at all running PHP on 
IIS. Any help is appreciated!


Thanks,
Randy

PS. I'm running Lenny



Check your Apache error log and see if there are any messages regarding PHP.

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Moving MySQL database from one machine to another and remotely accessing dbs?

2007-09-10 Thread David A. Parker

Martin Waller wrote:

Hi,

I'm using MySQL 4.1 on Etch and have a database (that I created) on 
another machine (still Sarge) that I want to transfer to the other 
before upgrading to etch on that machine also. Where should I look to 
find out how to do this?  Is it just a matter of locating the database 
and copying or is it more subtle? Are there any security considerations?


On the security note, I'd also like to be able to access the database 
from other machines but am unable as by default remote access to the 
server isn't allowed - again, where should I be looking for information 
on how to change this?


The MySQL docs are pretty daunting for a database newby, and I was 
hoping there'd be some debian-specific documentation somewhere...


Thanks if anyone can help point me to the relevant information source,

Martin




Martin,

Try using mysqldump to move the databases.  The general syntax is 
something like this:


mysqldump mydatabase  mydatabase.sql

Where mydatabase is the name of the database you are dumping.  Note 
that you may need to use the -u and/or -p options if you need to provide 
a username or password.


After you have transferred this file to the other machine, create a 
database on that machine with the same name, then run:


mysql mydatabase  mydatabase.sql

Again, substitute mydatabase for the actual database name.

I don't run MySQL from the Debian package, so I'm not sure about the 
remote connection issue.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: printer setuo

2007-05-22 Thread David A. Parker

[EMAIL PROTECTED] wrote:
I'm new to linux and have etch installed with gnome and things seem to 
be ok but I can't get my printer installed. I've gone to desktop, 
admin., printing, new printer and etch recognized the hp printer and I 
selected finish. I then right clicked on the printer, selected pref. and 
made it my default printer. I then tried to print a test page but 
nothing printed. I checked the cue and status indicated stopped.

Any help would be appreciated.
 


Check the contents of /var/log/cups/access_log or
/var/log/cups/error_log and see if there are any errors.

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: printer setuo

2007-05-22 Thread David A. Parker

[EMAIL PROTECTED] wrote:

The response I got from your quiry was bash: /var/cupe...: permission denied
 


You probably need to be root to read those files.  Try:

su -c more /var/log/cups/error_log

And enter your root password when it asks for one.

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: printer setuo

2007-05-22 Thread David A. Parker

[EMAIL PROTECTED] wrote:

I was in root the first time and when I did su-c... I got command not found
 


-- Original message --
From: David A. Parker [EMAIL PROTECTED]

  [EMAIL PROTECTED] wrote:
   The response I got from your quiry was bash: /var/cupe...:
permission denied
  
 
  You probably need to be root to read those files. Try:
 
  su -c more /var/log/cups/error_log
 
  And enter your root password when it asks for one.
 
  --
 
  Dave Parker
  Utica College Department of
  Integrated Information Technology Services
  Data Processing Office
  (315) 792-3229
  Registered Linux User #408177
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]
  


There is a space between su and -c.

If you are already root, you should be able to read the files under 
/var/log/cups.



--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: printer setuo

2007-05-22 Thread David A. Parker

[EMAIL PROTECTED] wrote:
I went to root terminal and entered my root pw and entered su -c more 
/var... and got no such file or directory. 


I should have clarified, you do not need to do the whole su -c ... 
thing if you are already root.  That simply runs a command as root from 
your normal user's shell.


Assuming you are using CUPS, those files should exist.  Please post the 
output you get when you type:


ls -l /var/log/cups

Also, please direct your replies to the list, so that others can help 
you out or benefit from the discussion.


Thanks,
Dave


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: why linux?

2007-05-21 Thread David A. Parker

George N. White III wrote:

On Mon, 21 May 2007, S C wrote:

For months now I have been trying to make Debian behave like a real 
OS. However, I still cannot print, format/initialize a new cd or use 
one to back up files, get the sound working, watch a movie or read 
images from my digital camera.


Please post your hardware configuration and the specific problems you 
are having.  Details usually help far more than rants do when it comes 
to solving problems.  :-)


With Windows all this was simple.  I 
downloaded the relevant program, set it up and it worked.  Windows is 
supposed to be devilspawn and doomed, and maybe it is.  It does, 
however, have one saving grace; it works.  It works without expecting 
me to become a systems engineer.




With the exception of video games, my personal experience has been that 
a lot more things work out of the box under Debian than they do under 
Windows.  And with programs such as Cedega, even video games are 
becoming more compatible.




If you don't want to be ignored, you could try a commercial distribution.
Debian is mainly supported by the user community -- nobody gets fired
for ignoring complaints.



Have you tried Ubuntu?


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: why linux?

2007-05-21 Thread David A. Parker

Eric A. Bonney wrote:
You know...I have been giving this thread alot of thought.  I think the 
issue is that we the end user expect to much from Linux in general and I 
don't think that the average person thinks of certain things.  Like, how 
long have you been using Windows?  I know I have been using Windows for 
basically my entire adult life, yet I just started using Linux a little 
over a month ago.  I realize that things are going to be much more 
difficult in Linux, some because Linux is not as user friendly as 
Windows, but mostly because it is new to me.


This is very true.  I think an awful lot of people decide to try Linux 
with the expectation that it will be a free version of Windows, which is 
certainly not the case.  But as far as Linux not being as user 
friendly as Windows, I think that is open to broad interpretation. 
Windows is user friendly in that it greatly limits your choices, and it 
does a lot of things for you.  Microsoft has made most of the decisions 
for you, like what the desktop environment will look like, and you just 
live with those decisions.


To me, Debian is far more user friendly because I, as the user, get to 
choose exactly what I want to use and how I want to install it.  If I 
need something quick, it's as simple as an apt-get install   If I 
want to seriously fine-tune something, I can compile it from source. 
This, to me, is far more user friendly.  And if I don't want something, 
I don't install it.


When I first started using 
Windows way back when, it was difficult to do much of anything also.
I think, we the new user of Linux, need to expect issues and things to 
be more difficult, but that's what this mailing list is for, that is 
what IRC is for.  I have had nothing but great experiences with both of 
these and usually I am able to get my issues resolved with help from the 
folks there and with some research on my own.
It all boils down to the fact that we have to be willing to put forth a 
little bit of work ourselves if we want things to work properly, even in 
Windows.




Exactly.  You can't go into it thinking I've got an hour to kill, I 
think I'll install Linux and figure out how it works.  It takes time, 
but once you learn the ropes, the rewards are worth the effort.


- Dave


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: OT: Linux Interview Questions

2007-03-13 Thread David A. Parker


Tarek Soliman wrote:

Tarek Soliman wrote:

What is the best desktop-environment and/or window-manager to be put on
a server?

OK, my newbie answer: That's a trick question, right? Isn't the correct
answer none ?



I was gonna say Tell that to Redhat and ORACLE UNBREAKABLE LINUX but I
realized I don't know enough about them to say anything.
So I ask: Is debian the only distro that sows the seed of CLI? I'm
talking about having a server type computer, not a desktop.



I haven't used Red Hat in a while, but I used to have several Red Hat 
boxes set up without an X server installed at all.  You had to choose 
the option to manually select packages during installation in order to 
get that.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]

2007-03-12 Thread David A. Parker


Freddy Freeloader wrote:

Andrei Popescu wrote:

Ben Humpert [EMAIL PROTECTED] wrote:

 

kinda curious, uname -a said Linux dr02g 2.6.18-4-686 #1 SMP Wed Feb
21 16:06:54 UTC 2007 i686 GNU/Linux. This is not a SMP kernel, not a 
real one or something different?!



~$ grep SMP /boot/config-2.6.18-4-686
CONFIG_SMP=y
# CONFIG_X86_BIGSMP is not set
CONFIG_SUSPEND_SMP=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_SMP=y

The 686 kernels are SMP for some time now.

 

dpkg said, the installed kernel is linux-image-2.6.18-4-686 and
linux-image-2.6-686 (no kernel-image-* is installed)



The linux kernel packages in etch and above have been renamed to avoid
conflicts with non-linux kernels like freebsd.

HTH,
Andrei
  
Well, I'm glad to see that I'm not the only one that was confused by the 
renaming of kernel-image to linux-image.  That one really had me going 
for a while.




Regardless of all the kernel naming confusion, I guess this comes down 
to the fact that your kernel supports SMP.  This means it supports 
multiple processors, multiple cores, and hyper threading.  Since you are 
only seeing two processors and not four, I don't think your CPU is hyper 
threaded.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]

2007-03-09 Thread David A. Parker

Ben Humpert wrote:

  Date: Fri, 9 Mar 2007 06:00:17 -0800
  From: [EMAIL PROTECTED]
  To: debian-user@lists.debian.org
  Subject: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]
 
 
 
   Original Message 
  Subject: Re: Debian Installer on DELL PowerEdge 850/860
  Date: Thu, 8 Mar 2007 19:07:45 -0500 (EST)
  From: rhelas rhelas [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
 
 
 
  shut ur mouth.
 
  Freddy Freeloader [EMAIL PROTECTED] wrote: On Thu, 2007-03-08 at 
10:09 -0800, Andrew Sackville-West wrote:

   On Thu, Mar 08, 2007 at 05:23:15PM +0100, Ben Humpert wrote:
Hi,
   
since im using Debian, the installer is not able to find the 
sata-controller used in DELL PowerEdge 850 and 860 Servers. i started 
with 31r0a and currently tried it with 31r5, each was 32bit for i386. 
Now im trying the 31r5 for ia64 (server is capable of that).

   
  
   use the etch installer. sarge doesn't generally support SATA while
   etch does. Etch will be released any time now and is already getting
   security support and is very usable.
  
   A
 
  Agreed. I just did an Etch install on a server with SATA drives. I
  used the daily build of the Etch installer from the 5th of this month
  and it went flawlessly. The Etch installer is one of the best
  installers out there as far as I'm concerned.
 

Thanks. I really should block yahoo completely, only get spam from 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED].* ;)
 
Thanks to everybody. etch is working on 850/860. An yes, ia64 is 
itanium, not EM64T like the DELL 850/860 are, my fault - perhaps this is 
the reason why its not a bootable image ;)
 
Etch is looking more like a desktop as a server OS, isnt it? on sarge 
only the minimum is selected and installed, eg. ssh server but no GUI. 
On etch i had to deselect the desktop environment, standard system i 
left selected, thought its a must have.
 
my dell PE 860 has a Intel DualCore Xeon with hyper-threading, my Dell 
PE 850 only has a Intel P4 with HT. On both i only see two processors 
(for sure, the dualcore has two physical core, P4 only one physical and 
one logical). Why i dont see four cores on my DualCore? DO i need a 
special kernel-image or something?


Are you runnning a SMP kernel?

Try cat /proc/cpuinfo and see if it shows both CPUs and the number of 
cores in each.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]

2007-03-09 Thread David A. Parker


Ben Humpert wrote:

  Date: Fri, 9 Mar 2007 12:08:25 -0500
  From: [EMAIL PROTECTED]
  Ben Humpert wrote:
   my dell PE 860 has a Intel DualCore Xeon with hyper-threading, my Dell
   PE 850 only has a Intel P4 with HT. On both i only see two processors
   (for sure, the dualcore has two physical core, P4 only one physical 
and

   one logical). Why i dont see four cores on my DualCore? DO i need a
   special kernel-image or something?
 
  Are you runnning a SMP kernel?
 
  Try cat /proc/cpuinfo and see if it shows both CPUs and the number of
  cores in each.
 
Yes, for sure :) Here is what cat /proc/cpu said = 
http://nopaste.php-q.net/281168 (cpu cores 2)


Sorry, I can't get that website to come up.

Anyway, as you probably know, hyper threading is not the same as having 
a second core.  To the best of my knowledge, a dual-core CPU will always 
show 2 cores regardless of whether it supports hyper threading.  I don't 
think you will see each core twice if they are hyper threaded.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]

2007-03-09 Thread David A. Parker


Damien Ferrand wrote:

On 09/03/07 14:02 -0500, David A. Parker wrote:
Anyway, as you probably know, hyper threading is not the same as having 
a second core.  To the best of my knowledge, a dual-core CPU will always 
show 2 cores regardless of whether it supports hyper threading.  I don't 
think you will see each core twice if they are hyper threaded.

I saw a /proc/cpuinfo from a Xeon 5060 (dual-core with hyper-threading), you
do see each core twice.


Thanks for the correction.  My mistake.

Ben, can you post your cat /proc/cpuinfo output for the box in question?

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: [Fwd: Re: Debian Installer on DELL PowerEdge 850/860]

2007-03-09 Thread David A. Parker

Ben Humpert wrote:

Here it comes ;)
 


dr02g:~# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU3060  @ 2.40GHz
stepping: 6
cpu MHz : 2400.240
cache size  : 4096 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc 
pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips: 4803.54

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU3060  @ 2.40GHz
stepping: 6
cpu MHz : 2400.240
cache size  : 4096 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc 
pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips: 4800.31


Based on what others have said, it does seem odd that you are not seeing 
each core twice.  The only thing I can think of at this point is to 
check the BIOS and see if HT is enabled (if it's even an option).  Since 
 your kernel is SMP, HT support should be enabled.


This probably won't make a difference, but what kernel version are you 
using?


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re:

2007-03-09 Thread David A. Parker


Damien Ferrand wrote:

On 09/03/07 20:39 +0100, Ben Humpert wrote:

The Intel website shows wrong informations, on some sites you can see a 3,73GHz 
Extreme Edition in 0,90nm on some sites you only see a 3,4GHz EE in 0,90nm but 
there is ONLY a 3,73GHz EE in 0,90nm. I never use the Intel website, you cannot 
trust the informations about a CPU anymore :(
Check the flags /proc/cpu told ... there is a ht which means hyper-threading.

I agree there can be some mistakes on the intel site.

But I double-check in other places. The processor really looks like it is a
Conroe (core microarchitecture), so it really can't have hyper-threading.

Obviously something is wrong on the /proc/cpuinfo but I think it is the ht
flag.


There may be an easy way to tell.  The Intel Inside sticker on the 
front of the server should indicate whether the processor is 
hyper-threaded.  I have a PowerEdge 750 here with a hyper-threaded P4, 
and the sticker has a little HT in the upper right-hand corner.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re:

2007-03-09 Thread David A. Parker


David A. Parker wrote:


Damien Ferrand wrote:

On 09/03/07 20:39 +0100, Ben Humpert wrote:
The Intel website shows wrong informations, on some sites you can see 
a 3,73GHz Extreme Edition in 0,90nm on some sites you only see a 
3,4GHz EE in 0,90nm but there is ONLY a 3,73GHz EE in 0,90nm. I never 
use the Intel website, you cannot trust the informations about a CPU 
anymore :(
Check the flags /proc/cpu told ... there is a ht which means 
hyper-threading.

I agree there can be some mistakes on the intel site.

But I double-check in other places. The processor really looks like it 
is a

Conroe (core microarchitecture), so it really can't have hyper-threading.

Obviously something is wrong on the /proc/cpuinfo but I think it is 
the ht

flag.


There may be an easy way to tell.  The Intel Inside sticker on the 
front of the server should indicate whether the processor is 
hyper-threaded.  I have a PowerEdge 750 here with a hyper-threaded P4, 
and the sticker has a little HT in the upper right-hand corner.


The more I look into this, the more I believe that your processor does 
not have Hyper Threading.  First, as mentioned before, is the proof 
presented in Intel's comparison chart of Xeon processors:


http://www.intel.com/products/processor_number/chart/xeon.htm

Also, my desktop PC has an INtel Pentium D dual-core process that is 
*not* hyper-threaded.  However, the ht flag still appears:


$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Pentium(R) D CPU 2.80GHz
stepping: 7
cpu MHz : 2793.154
cache size  : 1024 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
...
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm

bogomips: 5591.48

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Pentium(R) D CPU 2.80GHz
stepping: 7
cpu MHz : 2793.154
cache size  : 1024 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
...
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm

bogomips: 5586.24

This at least proves that you can't entirely trust the flags.  For 
reference, my PC is running the 2.6.17-2 SMP kernel.


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: X Authentication Problem

2007-03-08 Thread David A. Parker


Andrew Sackville-West wrote:

On Wed, Mar 07, 2007 at 01:40:28PM -0500, David A. Parker wrote:

Kent West wrote:

David A. Parker wrote:

X: user not authorized to run the X server, aborting.
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X 
server

xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console

I have tried it both with and without the DISPLAY=:0.0 at the 
beginning.  Also, startx works as root.
I think at this point I'd rename mythtv's home directory and create a 
new blank one (make sure to get the perms correct on the directory), 
and try starting X then to see what happens.



Hmmm...

As root:

# mv mythtv mythtv.BAK
# mkdir mythtv
# chown mythtv:mythtv mythtv
# chmod 0755 mythtv
# su - mythtv

Then as mythtv:

$ ls -la
total 8
drwxr-xr-x  2 mythtv mythtv 4096 Mar  7 12:55 .
drwxrwsr-x  5 root   staff  4096 Mar  7 12:55 ..
$ startx
xauth:  creating new authority file /home/mythtv/.Xauthority
xauth:  creating new authority file /home/mythtv/.Xauthority
Using authority file /home/mythtv/.Xauthority
Writing authority file /home/mythtv/.Xauthority
Using authority file /home/mythtv/.Xauthority
Writing authority file /home/mythtv/.Xauthority
X: user not authorized to run the X server, aborting.
xinit:  Server error.
Couldnt get a file descriptor referring to the console

I tried this a couple of times and it consistently failed.  The new
/home/mythtv/.Xauthority file it created was empty.  I also tried using
xauth and mcookie to add new cookies, but it still didn't work:

[EMAIL PROTECTED]:~$ startx
X: user not authorized to run the X server, aborting.
xinit:  Server error.
Couldnt get a file descriptor referring to the console


sorry, shoul dhave provided mine for reference

[EMAIL PROTECTED]:~$ ls -l / | grep tmp
drwxrwxrwt  10 root root  5.0K 2007-03-07 10:47 tmp



Sorry I did not get a chance to continue this yesterday, but thanks for 
all of the suggestions.  I found the cause of the problem late last 
night, but I still can't explain it.


The cause appears to be the contents of the ~/.xsession file.  I noticed 
that I was able to log in to kdm as another regular user, and the only 
difference between the two accounts was that mythtv had a .xsession 
file and the other user did not.  When I copied mythtv's .xsession to 
the other user's home directory, that account experienced the same 
problems.  The ~/.xsession file for mythtv contained two lines:


fvwm 
DISPLAY=:0.0 fvwm-root /home/mythtv/mythtv_startup.png 

The first line starts the fvwm window manager, and the second line 
replaces the background image with a fullscreen MythTV logo.  I tried 
removing the second line, but that did not solve the problem.  Then I 
removed the  from the fvwm line and it worked.


The apparent cause of all of this was the fact that the window manager 
was being started in the background.  It's not just fvwm, because I 
tried twm  and that failed as well, but just twm worked fine.  The 
really strange thing is that this .xsession file hasn't been changed in 
quite some time, and this never caused a problem before.


Thanks to everyone for your advice and suggestions.  Does anyone have 
any ideas about how to make this behave like it used to?


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Debian Installer on DELL PowerEdge 850/860

2007-03-08 Thread David A. Parker


Greg Madden wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 08 Mar 2007 17:23:15 +0100
Ben Humpert [EMAIL PROTECTED] wrote:


Hi,
 
since im using Debian, the installer is not able to find the

sata-controller used in DELL PowerEdge 850 and 860 Servers. i started
with 31r0a and currently tried it with 31r5, each was 32bit for i386.
Now im trying the 31r5 for ia64 (server is capable of that). If i do
lsmod on the pre-installed system, which is installed by my hoster,
it only shows three modules, the main-module is mptsas which needs
two other modules. Is there a fix for the installer or a planned
solution in the next release? Thanks Regards
 
Ben Humpert


ia64 is Itanium, which is different than amd64 in Debian. Does Dell do
Itanium? Using Etch is good advice. 


I have a PowerEdge 850 with a Pentium D processor.  It has Intel's EM64T 
64-bit support, which can be used with adm64 but *not* ia64.  Mine has 
been running Etch without any problems using a 32-bit smp kernel.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




X Authentication Problem

2007-03-07 Thread David A. Parker

Hello,

I have a MythTV box running Debian Sarge.  Last night I had to reboot 
it, which has never caused a problem before, but now the mythtv user 
cannot authenticate with X and get access to display :0.0.  I am using 
kdm and it usually logs the mythtv user in automatically when the X 
server starts, but now I get a bunch of these errors in /var/log/kdm.log:


AUDIT: Tue Mar  6 22:36:07 2007: 2830 X: client 1 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Tue Mar  6 22:36:07 2007: 2830 X: client 2 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1

I have Googled this problem and found several posts that said to delete 
the user's .Xauthority file, but this did not work.  The next time I try 
to log in as mythtv, it recreates the file but it is empty.  I have 
also tried using xauth to generate a new file, but it does not work:


$ xauth generate :0 .
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

xauth: (argv):1:  unable to open display :0.

Trying this as root gets the same error.  My regular user account on the 
box is able to log in and use X just fine, so I tried copying my 
.Xauthority file to the mythtv user's home directory, but this did not work.


This is very frustrating.  Any help would be *greatly* appreciated.

Thanks!
Dave


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: X Authentication Problem

2007-03-07 Thread David A. Parker

Kent West wrote:


I don't believe this will be the problem, but I'd look at 
/etc/X11/Xwrapper.config, which probably should look like:

allowed_users=console
nice_value=-10


I would also try disabling kdm temporarily (sudo /etc/init.d/kdm stop) 
and logging in as mythtv via startx.




Thanks for the suggestion.  My /etc/X11/Xwrapper.config is exactly the 
same as what you posted.  I have shut down kdm and tried startx as the 
mythtv user several times, but it never works:


$ DISPLAY=:0.0 startx

X: user not authorized to run the X server, aborting.
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console

I have tried it both with and without the DISPLAY=:0.0 at the 
beginning.  Also, startx works as root.


I have been playing around with the ~/.Xauthority file, but to no avail. 
  I have added lines using /usr/bin/mcookie but it seems to generate 
different keys each time and they never work.  I also ran xauth list 
as root and then used xauth add as the mythtv user to manually add 
those keys.  One thing that I have noticed is that it all of the 
MIT-MAGIC-COOKIE-1 lines except the ones for localhost and 
localhost.localdomain get removed from the file each time I start kdm. 
Could this be a part of the problem?


Thanks,
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: X Authentication Problem

2007-03-07 Thread David A. Parker

Kent West wrote:

David A. Parker wrote:

X: user not authorized to run the X server, aborting.
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X 
server

xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console

I have tried it both with and without the DISPLAY=:0.0 at the 
beginning.  Also, startx works as root.


I think at this point I'd rename mythtv's home directory and create a 
new blank one (make sure to get the perms correct on the directory), and 
try starting X then to see what happens.




Hmmm...

As root:

# mv mythtv mythtv.BAK
# mkdir mythtv
# chown mythtv:mythtv mythtv
# chmod 0755 mythtv
# su - mythtv

Then as mythtv:

$ ls -la
total 8
drwxr-xr-x  2 mythtv mythtv 4096 Mar  7 12:55 .
drwxrwsr-x  5 root   staff  4096 Mar  7 12:55 ..
$ startx
xauth:  creating new authority file /home/mythtv/.Xauthority
xauth:  creating new authority file /home/mythtv/.Xauthority
Using authority file /home/mythtv/.Xauthority
Writing authority file /home/mythtv/.Xauthority
Using authority file /home/mythtv/.Xauthority
Writing authority file /home/mythtv/.Xauthority
X: user not authorized to run the X server, aborting.
xinit:  Server error.
Couldnt get a file descriptor referring to the console

I tried this a couple of times and it consistently failed.  The new
/home/mythtv/.Xauthority file it created was empty.  I also tried using
xauth and mcookie to add new cookies, but it still didn't work:

[EMAIL PROTECTED]:~$ startx
X: user not authorized to run the X server, aborting.
xinit:  Server error.
Couldnt get a file descriptor referring to the console

Even though it is not recommended, will setting allowed_users to
anybody in /etc/X11/Xwrapper.config solve this?

Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Compiling flops.c

2006-09-05 Thread David A. Parker

Hello,

I am trying to compile flops.c on my Debian (etch) system.  I have used 
gcc 3.4, 4.0, and 4.1 with the same result.  This is the output I receive:


$ gcc-4.1 -o flops flops.c
flops.c: In function 'main':
flops.c:174: warning: return type of 'main' is not 'int'
/tmp/cce46kOB.o: In function `main':
flops.c:(.text+0xc4): undefined reference to `dtime'
flops.c:(.text+0xd0): undefined reference to `dtime'
flops.c:(.text+0x113): undefined reference to `dtime'
flops.c:(.text+0x18e): undefined reference to `dtime'
flops.c:(.text+0x1e2): undefined reference to `dtime'
/tmp/cce46kOB.o:flops.c:(.text+0x203): more undefined references to 
`dtime' follow

collect2: ld returned 1 exit status

I also tried compiling it on a Solaris system with gcc 3.4 and had no 
luck.  Any ideas about how I can get flops to compile?


Thanks,
Dave


--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Compiling flops.c

2006-09-05 Thread David A. Parker

David A. Parker wrote:

Hello,

I am trying to compile flops.c on my Debian (etch) system.  I have used
gcc 3.4, 4.0, and 4.1 with the same result.  This is the output I receive:

$ gcc-4.1 -o flops flops.c
flops.c: In function 'main':
flops.c:174: warning: return type of 'main' is not 'int'
/tmp/cce46kOB.o: In function `main':
flops.c:(.text+0xc4): undefined reference to `dtime'
flops.c:(.text+0xd0): undefined reference to `dtime'
flops.c:(.text+0x113): undefined reference to `dtime'
flops.c:(.text+0x18e): undefined reference to `dtime'
flops.c:(.text+0x1e2): undefined reference to `dtime'
/tmp/cce46kOB.o:flops.c:(.text+0x203): more undefined references to
`dtime' follow
collect2: ld returned 1 exit status

I also tried compiling it on a Solaris system with gcc 3.4 and had no
luck.  Any ideas about how I can get flops to compile?


After 10 seconds of Googling, I found the source code.

Have *you* looked at the source code and followed the instructions
in Timer options.?



My apologies for not catching that.  I did open the source code in vi, 
but I immediately searched it for 'dtime' instead of reading through it 
first.  Thank you for your reply.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Weird cups problems

2006-07-11 Thread David A. Parker

Hello,

I am running Debian Etch, and I have recently upgraded cups on my 
system.  Aside from all of the other problems which have already been 
reported with the new version of cups, I have one I can't seem to find 
much information on.


Whenever I start cups, it puts several random network printers located 
in other people's offices into my /etc/printcap file and they show up 
when I go to localhost:631.  I do not actually have access to these 
printers, I can't delete them from within the web interface.  When I try 
to delete them, the Delete Printer button is a link to IP address of 
the printer, not to localhost.  For example, my IP address 10.3.1.40, 
and one of these printers show up as i9900 and the device URI is 
ipp://ip-3-1-216.utica.edu:631/printers/i9900.  The Delete Printer 
button is a link to 
http://ip-3-1-216.utica.edu:631/admin/?op=delete-printerprinter_name=i9900; 
and I get a Forbidden error when it tried to connect to 10.3.1.216.


I can't delete the /etc/printcap file because it just comes back the 
next time I restart cups.  I have removed and purged all cups packages, 
deleted the /etc/cups and /var/run/cups directories and the 
/etc/printcap file, reinstalled, and the same thing happens.  I have 
edited /etc/cups/cupsd.conf, turned browsing off and restarted cups, but 
it continues to find these same printers and place them into the file.


Does anyone have any ideas about this?  Is cups just plain broken right 
now, or can this be corrected?


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Weird cups problems

2006-07-11 Thread David A. Parker

Thanks for your reply, George.


Whenever I start cups, it puts several random network printers located
in other people's offices into my /etc/printcap file and they show up
when I go to localhost:631.


There is an option in the config file to stop this happening (can't
remember which one.)



Reading through the documentation, the Browsing option seemed to apply 
to this, so I turned it off but it had no effect.



I do not actually have access to these
printers, I can't delete them from within the web interface.  When I try
to delete them, the Delete Printer button is a link to IP address of
the printer, not to localhost.  For example, my IP address 10.3.1.40,
and one of these printers show up as i9900 and the device URI is
ipp://ip-3-1-216.utica.edu:631/printers/i9900.  The Delete Printer
button is a link to
http://ip-3-1-216.utica.edu:631/admin/?op=delete-printerprinter_name=i9900;
and I get a Forbidden error when it tried to connect to 10.3.1.216.


Your issue is probably similar to this:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323796

If so, you can get around it by entering URL by hand and



I tried manually altering the URL to go to localhost and it seemed to 
work, but the printer was still in the list when I went back to the 
Printers screen.



Does anyone have any ideas about this?  Is cups just plain broken right
now, or can this be corrected?


Dude, if this is your biggest problem with cups right now then you are
lucky. Apparently it is really broken in Testing/Unstable for some
people at the moment.



Not my biggest problem, just my latest one.  :-)



Hope this helps,



Indeed it did.  Thanks!

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Why are my posts so delayed??

2006-05-25 Thread David A. Parker


Digby Tarvin wrote:

Just curious,

Can anyone tell me why there seems to be a delay of about 12 hours
between posting a message and seeing it appear on the list?



I was receiving all messages from lists.debian.org on a substantial 
delay a few days ago.  Most messages seem to be coming in fine today, 
although yours was timestamped 6:36AM and I received it at 3:50 PM 
(Eastern).


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Xorg and Intel 945G problem

2006-05-17 Thread David A. Parker

Hello,

I have a Dell GX620 with an integrated Intel 945G graphics chipset, and 
I am attempting to run Debian sid amd64 on it.  I used 'X -configure' to 
create an xorg.conf file, in which it creates the following Device 
section:


Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corporation
BoardName   945G Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection

However, when I try to start X using this configuration, I get the 
following message and it dies:


(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found

Googling on this has revealed a variety of issues, but most of them did 
not appear to be the cause of this.  What seems to be causing this is 
the fact that the onboard display is apparently divided into two 
distinct devices:


ip-3-1-216:~# lspci | grep 'Graphics'
:00:01.0 PCI bridge: Intel Corporation 945G/P PCI Express Graphics 
Port (rev 02)
:00:02.0 VGA compatible controller: Intel Corporation 945G 
Integrated Graphics Controller (rev 02)
:00:02.1 Display controller: Intel Corporation 945G Integrated 
Graphics Controller (rev 02)


I tried adding a second Device section to the config file and changing 
the bus to PCI:0:2:1 but the result is still the same.


When I was using etch, Xorg worked just fine.  I upgraded to sid so I 
could install KDE, and that's when Xorg broke.  Does anyone have any 
ideas about how this can be solved?


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Debian for AMD64

2006-05-10 Thread David A. Parker

Have most packages been ported to the amd64 architecture, or is there
a limited selection?


Check out http://buildd.debian.org/stats/

Yes, most packages have been ported.


I found the amd64 testing version here:

http://amd64.debian.net/debian/dists/testing/main/installer-amd64/beta2/images/

But I wasn't sure if most packages had been ported to use the 64-bit
OS. Any problems there?


AMD64 is now an official Debian port.  At least unstable should be as
usable as any other port.  AFAIK testing is still not completely
built.



Guys,

Thanks for the responses, this is all very helpful!  I read through the 
documentation and most of it makes sense.  Running a few apps in a 
32-bit chroot isn't a big deal.  The only part of the how-to that I 
didn't understand was the installer part.  Why do you need to set up a 
64-bit chroot environment before installing the base OS?


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Debian for AMD64

2006-05-09 Thread David A. Parker

Hello,

I was just wondering if anyone has used the AMD64 testing version of 
Debian on a 64-bit Pentium D processor, and if there was any word on how 
stable it is?  I may be getting a new PC here at work with a Pentium D 
in it, but if I don't run 64-bit Debian on it, I might as well stick 
with my 32-bit P4 that's working just fine.


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Debian for AMD64

2006-05-09 Thread David A. Parker
Been running Sarge for a year on a genuine AMD Opteron. Have Debian 
unstable on several Opterons, a dual Xeon and Pentium D. The Pentium D 
feels faster but may have a faster clock speed / dynamically faster 
memory / peripherals. Not been running these for very long at all - but 
no obvious problems.


AMD64 - no problem :) The caveat is what level of package churn you can
tolerate - unstable moves very quickly, testing less so, stable hardly 
at all. Pick one and stick with it :)


Andy


Thanks for the info!  That leads me to my next question...

Have most packages been ported to the amd64 architecture, or is there a 
limited selection?  I found the amd64 testing version here:


http://amd64.debian.net/debian/dists/testing/main/installer-amd64/beta2/images/

But I wasn't sure if most packages had been ported to use the 64-bit OS. 
 Any problems there?


Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Permanently swapping a key

2006-04-10 Thread David A. Parker
I have an old laptop which I installed Debian on, but then discovered 
that the control key (CTRL) does not work at all.  I can solve this by 
swapping control with the unused Windows key and using that key instead. 
 I was able to reassign CTRL to the Windows key in X using xmodmap as 
follows (Super_L is the unused Windows key):


xmodmap -e remove Control = Control_L
xmodmap -e remove Control = Control_R
xmodmap -e remove mod4 = Super_L
xmodmap -e keycode 115 = Super_L
xmodmap -e add Control = Super_L

The problem is that this only works in X, and I would like to 
permanently reassign CTRL to the Windows key for console mode as well.




I was able to get it to remap these keys on boot, both in X and in the 
console.  In case anyone else is interested, this is what I did (I'll 
indent commands and file contents for readability):


First, to remap the control key to the Windows key in X every time the X 
server is started, I added a new script to the /etc/X11/Xsession.d 
directory (I called it 60x11-custom-keys) containing the following:


# Set Windows key (Super_L) to be CTRL (Control)
xmodmap -e remove Control = Control_L
xmodmap -e remove Control = Control_R
xmodmap -e remove mod4 = Super_L
xmodmap -e keycode 115 = Super_L
xmodmap -e add Control = Super_L

Second, I modified the default console keymap file 
/etc/console/boottime.kmap.gz (I backed up the original, of course).


I uncompressed the file and edited it:

gunzip /etc/console/boottime.kmap.gz
vi /etc/console/boottime.kmap

Then I changed the following lines:

keycode  29 = Control

keycode  97 = Control

keycode 125 =

keycode 126 =

To:

keycode  29 = Help
altgr   control keycode 29 = VoidSymbol
shift   alt keycode 29 = VoidSymbol

keycode  97 = Help
altgr   control keycode 97 = VoidSymbol
shift   alt keycode 97 = VoidSymbol

keycode 125 = Control

keycode 126 = Control

I then gzipped the file again and reloaded it:

gzip /etc/console/boottime.kmap
loadkeys /etc/console/boottime.kmap.gz

And now my Windows key in my CTRL key all the time.

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Re: Permanently swapping a key

2006-04-10 Thread David A. Parker
I was able to get it to remap these keys on boot, both in X and in the 
console.  In case anyone else is interested, this is what I did (I'll 
indent commands and file contents for readability):


First, to remap the control key to the Windows key in X every time the X 
server is started, I added a new script to the /etc/X11/Xsession.d 
directory (I called it 60x11-custom-keys) containing the following:


# Set Windows key (Super_L) to be CTRL (Control)
xmodmap -e remove Control = Control_L
xmodmap -e remove Control = Control_R
xmodmap -e remove mod4 = Super_L
xmodmap -e keycode 115 = Super_L
xmodmap -e add Control = Super_L

Second, I modified the default console keymap file 
/etc/console/boottime.kmap.gz (I backed up the original, of course).


I uncompressed the file and edited it:

gunzip /etc/console/boottime.kmap.gz
vi /etc/console/boottime.kmap

Then I changed the following lines:

keycode  29 = Control

keycode  97 = Control

keycode 125 =

keycode 126 =

To:

keycode  29 = Help
altgr   control keycode 29 = VoidSymbol
shift   alt keycode 29 = VoidSymbol

keycode  97 = Help
altgr   control keycode 97 = VoidSymbol
shift   alt keycode 97 = VoidSymbol

keycode 125 = Control

keycode 126 = Control

I then gzipped the file again and reloaded it:

gzip /etc/console/boottime.kmap
loadkeys /etc/console/boottime.kmap.gz

And now my Windows key in my CTRL key all the time.

- Dave



This is a quick addendum to my last post.  I should have added I did 
this with a US pc104 keyboard.  Also, the following two sites were 
quite helpful while I figured this out:


http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-5.html
http://www.luv.asn.au/overheads/virtualconsoles.html

- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Permanently swapping a key

2006-04-07 Thread David A. Parker

Hello,

I have an old laptop which I installed Debian on, but then discovered 
that the control key (CTRL) does not work at all.  I can solve this by 
swapping control with the unused Windows key and using that key instead. 
 I was able to reassign CTRL to the Windows key in X using xmodmap as 
follows (Super_L is the unused Windows key):


xmodmap -e remove Control = Control_L
xmodmap -e remove Control = Control_R
xmodmap -e remove mod4 = Super_L
xmodmap -e keycode 115 = Super_L
xmodmap -e add Control = Super_L

The problem is that this only works in X, and I would like to 
permanently reassign CTRL to the Windows key for console mode as well.


Does anyone know how I can do this?

Thanks!
Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


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




Promise Ultra133 TX2

2005-12-21 Thread David A. Parker

Hello,

Has anyone ever gotten the Promise Ultra133 TX2 IDE controller card to 
work well in sarge?  I tried, but I/O with the drive attached to it was 
unstable at best, and eventually it just didn't work at all.  I ended up 
with all sorts of CRC errors in my logs, and the drive would only mount 
read-only.  I took out the card and connected the drive directly to the 
motherboard and it works fine.  I was using the card because I the drive 
supports ATA100 and I was hoping to take advantage of that.


   Thanks.

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Promise card

2005-12-21 Thread David A. Parker
Thanks for your reply.  It's probably not worth having you switch out 
your cards right now, but the offer is appreciated.  What kind of drives 
do you have connected to your Ultra 100 cards?  I should have mentioned 
before that this was a Western Digital 120 GB drive w/ 8 MB buffer, 
connected to the Ultra 133 as the primary master.  It was recognized as 
/dev/hde when Debian booted, but it was really a game of chance as to 
whether or not it would be writable or even mountable.  The filesystem 
was a single JFS partition (/dev/hde1), it's the data drive for MythTV.


   Thanks,
   Dave Parker

uniqx wrote:

I know you asked about the 133, but I am using the Promise Ultra 100 
--on two debian systems -- and they work great. I can switch out the 
133 from my windows box and try it if you would like.


If you think I can help, let me know.

gere harvey



--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229



smime.p7s
Description: S/MIME Cryptographic Signature


Mailing list question

2005-12-21 Thread David A. Parker

Hello,

When I post to this list, I do not currently get a copy of that message 
back from the list, but I would like to.  Other mailing lists I am on do 
this, and it is handy because I know the message actually got posted, 
plus I can sort messages by thread and mine are included in there.  Does 
anyone know if or how I can do this with the debian-user list?  I looked 
through the mailing list documentation at 
http://www.debian.org/MailingLists/ but did not find an answer.


   Thanks!
   Dave Parker

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Promise card

2005-12-21 Thread David A. Parker
Did you have to get any special drivers for your cards?  I thought it 
might be a driver issue, but I was unable to locate any.


   Thanks,
   Dave

uniqx wrote:

I, too, am using a Western Digital 120 BG w/8 buffer. Also, an 80G 
WDdrive (both 7200). Both in one system.



In another system (sarge also) I am using a 100 GB WD drive.


The Promise cards are great!





gere










David A. Parker wrote:

Thanks for your reply.  It's probably not worth having you switch out 
your cards right now, but the offer is appreciated.  What kind of 
drives do you have connected to your Ultra 100 cards?  I should have 
mentioned before that this was a Western Digital 120 GB drive w/ 8 MB 
buffer, connected to the Ultra 133 as the primary master.  It was 
recognized as /dev/hde when Debian booted, but it was really a game 
of chance as to whether or not it would be writable or even 
mountable.  The filesystem was a single JFS partition (/dev/hde1), 
it's the data drive for MythTV.


   Thanks,
   Dave Parker

uniqx wrote:

I know you asked about the 133, but I am using the Promise Ultra 100 
--on two debian systems -- and they work great. I can switch out the 
133 from my windows box and try it if you would like.






If you think I can help, let me know.

gere harvey








--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229



smime.p7s
Description: S/MIME Cryptographic Signature