Lost root passwd

1998-10-10 Thread Clement
Hi,

I lost the root passwd on a machine.  Can someone give me a hand to
re-establish a new one?  I lost the procedures somewhere.

Thank you very much.

Regards,
Clement


SMC EtherPower II 10/100

1998-02-23 Thread Clement
>From the h/w compatible list, I found support for SMC EtherPower
10/100.  Does anyone know if the newer EtherPower II 10/100 is
supported?  If yes, what is the driver and do you hear of any trouble
with that card?

Thank you very much.

Regards,

Clement

web URL: http://www.ans.com.au/email: [EMAIL PROTECTED]
Address: 14 Fisher Road, Dee Why  NSW 2099Tel: 9972 2377


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


Re: SMC EtherPower II 10/100

1998-02-23 Thread Clement
Thank you very much for your information.  Your last comment, however,
makes me a little bit confused.  I have been using the SMC 10Mbps Tulips
base card and they work very well.  

In the 100Base-TX market, what do you suggest is the more reliable card?

Among manufactures like 3Com, SMC and Intel, which one do you think is
better to work with Linux?

I have several Taiwan made 10/100Base PCI Ethernet cards using in our
Win 95 boxes.  They perform well and the price is half of the SMCs.   It
is a real petty that there is no driver to use with Linux!

Ben Pfaff wrote:
> 
>>From the h/w compatible list, I found support for SMC EtherPower
>10/100.  Does anyone know if the newer EtherPower II 10/100 is
>supported?  If yes, what is the driver and do you hear of any trouble
>with that card?
> 
> Yes, it is supported.  You need to get the driver from
> http://cesdis1.gsfc.nasa.gov/pub/linux/drivers/ and compile it for
> your kernel.
> 
> I have one of these cards, but I had trouble with it.  I swapped it
> out for an NE2000 and I'm in the process of returning it to SMC for a
> replacement, as it seemed to be defective; my machine would crash once
> day or so before I removed it.  The local computer company tells me
> they've had a lot of defective ones, actually.  But I still like SMC,
> personally.

-- 
Regards,

Clement

web URL: http://www.ans.com.au/email: [EMAIL PROTECTED]
Address: 14 Fisher Road, Dee Why  NSW 2099Tel: 9972 2377


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


Swap disk size

1998-02-25 Thread Clement
When I set a swap partition of 256MB, in fact anything > 128MB, and
install Linux, Linux reset it to 128MB.   Is 128MB the limit of swap
disk for Linux?   Software like dnews says 256MB swap disk is
recommended.

Regards,

Clement

web URL: http://www.ans.com.au/email: [EMAIL PROTECTED]
Address: 14 Fisher Road, Dee Why  NSW 2099Tel: 9972 2377


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


Pentium-II

1998-02-26 Thread Clement
> Many users of Cyrix CPUs have had to disable the cache in their systems
> during installation, because the floppy disk has errors if they do not. If
> you have to do this, be sure to re-enable your cache when you are finished
> with installation, as the system runs much slower with the cache disabled.

Interestingly, I have the same problem with a genuine Intel Pentium-II
233 CPU.  Switching the cache during installation works.

Regards,

Clement

web URL: http://www.ans.com.au/email: [EMAIL PROTECTED]
Address: 14 Fisher Road, Dee Why  NSW 2099Tel: 9972 2377


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


Re: GIMP

1997-10-14 Thread clement
> 
> I tried to install the GIMP and xtar, and when trying to run both, I get
> the same error message:
>  
> xtar: can't load library 'libXm.so.2' ...and: gimp: can't load library
> 'libXm.so.2'
> 

Correct me if I'm wrong, but I don't think you'll find libXm.so.2
in the current release of Lesstif.

libXm.so.2 is one of the run-time libraries from Motif v2.0 (and above).
Lesstif is only compliant with Motif v1.2. 

A better bet is, with a statically-linked version of the applicaion
(if it is available).

Jason


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


Re: kernel upgrade: mkinitrd: module raid1 not found

2004-07-11 Thread Clement
In case you are still interested in this topic, I have just spent some 
hours on it and found the followings:

When installing either the stock 2.6.6 kernel-image or tailor compiled 
2.6.6 kernel-image, these error messages appeared but seems to be 
harmless (pls correct me if not):

cpio: /etc/modprobe.conf: No such file or directory
cpio: /lib/modules/modprobe.conf: No such file or directory
With the RAID support compiled in, the error,  FATAL: Module raid1 not 
found, sounds a bug to me.  It was suppressed by changing, ROOT=probe,  
to ROOT=, in /etc/mkinitrd/mkinitrd.conf.

My reason to tailor compile the 2.6.6 kernel is because the stock 
kernel-image does not recognize my pair of mirrored ATA disks.  The 
stock kernel reported ide_???  (sorry I did not jot it down) and 
ide_detect module not found.  I fixed this by compiling the kernel with 
built-in IDE support.  I wish the stock kernel can get this fixed some time.

Regards,
Clement
> Hi Justin,
>
> Thanks for your help, I got it working now, but it is weird. This is 
what I
> read at http://www.wlug.org.nz/SoftwareRaid:
>
> "The most recent versions (eg LinuxKernel2.6) of the Debian kernel-image
> packages build a new initrd image upon installation. They should
> automatically notice if the root device is /dev/md* and arrange for the
> appropriate modules to be present in the initrd image and loaded
> appropriately. So if the software raid array is actually your root
> filesystem when you do the kernel install, everything should just work."
>
> and probably that's the problem: since I compiled raid support into my
> kernel, it didn't have the raid modules and mkinitrd is being too smart,
> trying to add the raid modules anyway.
> Sounds like a bug to me.
>
> But this is good news too, since root-on-raid now works with raid modules
> and I can now use a stock kernel again. Problem solved!
>
> Thanks
> Bob
>
>
> "Justin Guerin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi Bob,
> > You are correct: a raid1 module is not required since you compiled 
it into
> > the kernel.  Actually, because you compiled it into the kernel, no 
module
> > was built, which is why it can't be found.  To fix this error the most
> > simple way, re-configure your kernel to build raid1 as a module, then
> > compile again.
> > On the other hand, since you're building your own kernel, why not just
> > build in all the components you know you'll need at boot time, and 
build
> > the rest (ones that you only think you might need) as modules.  
That way,
> > you won't even have to use an initial ram disk.
> > But back to fixing your error without rebuilding your kernel: where is
> > mkinitrd's confdir?  It's supposed to be /etc/mkinitrd, and if it's 
trying
> > to put the raid1 module into the initial ram disk, then it should be in
> the
> > config files somewhere, but your grep doesn't seem to have found 
it.  It's
> > possible it's in /usr or somewhere else.  If you find it, check to see
> that
> > that's not the culprit.
> > Let the list know what route you decide to take and how it works.
> > Justin Guerin
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]


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



Using 1280x1024 resolution with Matrox 2164W

2004-07-11 Thread Clement
I can only bring up 800x600 screen on this card.  Using W2k on the same 
machine, I can display 1280x1024 @85Hz.  Do you know why XFree86 does 
not allow this to happen?  Below is the setting in XF86Config-4.  The 
machine itself is P4-2.4GHz w 1GB RAM.  Debain Sarge installed with the 
stock Kernel 2.6.6, apt-update/upgraded.

...
Section "Device"
   Identifier  "MGA 2164W Millennium II"
   Driver  "mga"
   BusID   "PCI:1:02:0"
EndSection
Section "Monitor"
   Identifier  "DiamondTron NF"
   HorizSync   30-130
   VertRefresh 50-85
   Option  "DPMS"
EndSection
Section "Screen"
   Identifier  "Default Screen"
   Device  "MGA 2164W Millennium II"
   Monitor "DiamondTron NF"
   DefaultDepth24
   SubSection "Display"
   Depth   1
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   4
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   8
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   15
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   16
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   24
   Modes   "1280x1024" "800x600" "640x480"
   EndSubSection
EndSection
...
--
Regards,
Clement

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



Winfax FXM viewer for KDE

2004-07-12 Thread Clement
To my surprise, after a 2 hours search, I cannot find a KDE viewer that 
can view FXM fax files by Symentec Winfax.  Do you know one?

--
Regards,
Clement

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



Re: Winfax FXM viewer for KDE

2004-07-12 Thread Clement
Clive Menzies wrote:
On (12/07/04 18:25), Clement wrote:
 

To my surprise, after a 2 hours search, I cannot find a KDE viewer that 
can view FXM fax files by Symentec Winfax.  Do you know one?
   

I guess that means that Kfax doesn't?  I receive all my faxes by email
and Kfax works well but that may be totally irrelevant ;)
Hi Kevin and Clive,
KFax and many other fax or image viewers for KDE will only work on TIFF 
or raw G3 fax format.  I have not found any that support the winfax FXM 
format.  Winfax is the major fax player, if not the largest, for the 
Windows platform.  I wonder how anyone who use it can migrate to Linux! 

- 
Regards,
Clement


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



Re: Winfax FXM viewer for KDE

2004-07-12 Thread Clement
S.D.A. wrote:
On Mon, Jul 12, 2004 at 06:25:43PM +1000 or thereabouts, Clement wrote:
 

To my surprise, after a 2 hours search, I cannot find a KDE viewer that 
can view FXM fax files by Symentec Winfax.  Do you know one?
   

Why does it have to be KDE specific?
 

No, it doesn't.  I mentioned KDE just because I am using it.
There is GQView, which is nothing more than a _Fax viewer_. It should display
WinFax image files. I haven't tried it myself on WinFax images tho.
According to the GQView web site, it "Supports most file types if the libraries are 
available on the system".  This means JPG, PNG, TIFF, etc.  Unfortunately, the list does 
not include FXM.
Or do you know of any library that reads Winfax FXM files?
--
Regards,
Clement

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



Re: Using 1280x1024 resolution with Matrox 2164W

2004-07-12 Thread Clement
boo wrote:
Clement  ans.com.au> writes:
 

I can only bring up 800x600 screen on this card.  Using W2k on the same 
machine, I can display 1280x1024   85Hz.  Do you know why XFree86 does 
not allow this to happen?  Below is the setting in XF86Config-4.  The 
machine itself is P4-2.4GHz w 1GB RAM.  Debain Sarge installed with the 
stock Kernel 2.6.6, apt-update/upgraded.
   

man mga:
  The  driver will auto-detect the amount of video memory present for all
  chips except the Millennium II.  In the Millennium II case it  defaults
  to 4096 kBytes.  When using a Millennium II, the actual amount of video
  memory should be specified with a VideoRam entry  in  the  config  file
  "Device" section.
Yes, the default video memory size of 4MB is correct.  The interesting 
thing is, in MS Windows 2000, this 4MB allows me to display 1280x1024 
with 24 bit colours.  In Debian, I can only get 1280x1024 at 16 bit colours.

--
Regards,
Clement
(*At the end, 16-bit or 24-bit do not mean too much to me.  Getting 1280x1024 made me 
very happy already. 8-() )

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



Re: Winfax FXM viewer for KDE

2004-07-12 Thread Clement
John Summerfield wrote:
Clement wrote:
S.D.A. wrote:
On Mon, Jul 12, 2004 at 06:25:43PM +1000 or thereabouts, Clement wrote:
 

To my surprise, after a 2 hours search, I cannot find a KDE viewer 
that can view FXM fax files by Symentec Winfax.  Do you know one?   
Why does it have to be KDE specific?
  

No, it doesn't.  I mentioned KDE just because I am using it.

There is GQView, which is nothing more than a _Fax viewer_. It 
should display
WinFax image files. I haven't tried it myself on WinFax images tho.

According to the GQView web site, it "Supports most file types if the 
libraries are available on the system".  This means JPG, PNG, TIFF, 
etc.  Unfortunately, the list does not include FXM.

Or do you know of any library that reads Winfax FXM files?
Did u try google?
http://www.google.com/search?num=100&hl=en&lr=lang_en&ie=UTF-8&c2coff=1&q=+linux++reads+Winfax+FXM+files&btnG=Search 

http://www.google.com/search?num=100&hl=en&lr=lang_en&ie=UTF-8&c2coff=1&q=+linux++read+Winfax+FXM+files&btnG=Search
Yes, John, I spent 2 hours on google before posting the first email.  
Your suggested 2 searches do not generate any result as well!

--
Regards,
Clement

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



Default Handler for A Certain Type of Files

2004-07-13 Thread Clement
Using Mozilla in KDE, do you know how I can tell the system (Mozilla or KDE or Debian) what 
program to use to open a particular type of email attachements?  Right now, to open an 
attachment, I have to type the program name on "open with".  That is not convenient 
enough.
Regards,
Clement

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



Re: 2.6.7 questions

2004-07-15 Thread Clement
Bradley Alexander wrote:
...
It appears that part of the problem is that for some reason (which hopefully 
someone can straighten out for me, modules don't seem to be autoloading. Did 
I forget to install something? Things work well under 2.4, I just tried to 
bring up an encrypted loopback filesystem and had to manually modprobe loop 
and cryptoloop. 
 

Yes, I found the same, too.  That 2.6 does not auto-load modules before 
mounting the root partition.  However, it does auto-load modules after 
that.  On 2 machines that I am testing, I have to compile the kernel and 
put in the IDE and m/b chip-set support to get them work.  By the way, I 
am using 2.6.6.  Also, on both machines, 2.4 works with std 2.4 kernel.

Regards,
Clement

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



Re: Software RAID 1 reiserfs fails to boot because of fsck

2004-07-17 Thread Clement
Ary you using stock kernel 2.6.6?  If so, compile a customised one with 
built-in reiserfs and raid support.

Jimmy Liang wrote:
Hi All,
I must be missing something here, but I just set up a software RAID 1 
on Sarge, using raidtools2. I was able to use /etc/init.d/raid2 script 
to start and stop the raid, and am able to mount the /dev/md0 drive.
The problem comes when i put the mount into fstab. If I use
"/dev/md0/backup reiserfsdefaults
0   2"
The boot would fail, and it complains that the partition needs to be 
fscked manually.
I'm thinking that the raid hasn't started, so thats why there's 
nothing to fsck, because if I use
"/dev/md0/backup reiserfsdefaults
0   0"
in fstab, it boots up fine.

Can anyone give me some hints as to how to get fsck working on this 
software raid 1?
Thanks.

-Jimmy
Regards,
Clement

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



RT-8169 on Intel 865G motherboad

2004-07-22 Thread Clement
Do you have this combination to work?  I cannot make them work 
together.  I have tried the followings:

- Compiled 2.4.22 kernel w ac1 patch and RT-8169 support.  Linux did not 
see the RT card at all, not even 'lspci'
- Compiled 2.4.22 kernel w ac1 patch, but with RT-8169 as a module.  
This time lspci showed the card but it did not exist in dmesg and could 
not be configured.
- Compiled 2.6.6 kernel with RT-8169 as a module.  Same as above, lspci 
showed the card but it did not exist in dmesg and could not be configured.

The motherboard has a Intel e-100 ethernet on board.  The RT-8169 is 
proved to work on another machine after the tests above.  Can you give 
some suggestions?

Thank you in advance.
Regards,
Clement

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



Samba as a PDC

2004-07-26 Thread Clement
Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read 
the docs and sample configure to no success.  When connecting a W2k 
client, I get this error:

"... Logon failure: unknown user name or bad password."
From the samba log file, I found this:
[2004/07/27 03:42:44, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Transport endpoint is not connected
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Connection reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket(438)
 write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection 
reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:send_smb(630)
 Error writing 4 bytes to client. -1. (Connection reset by peer)

I googled the error message and did not find anything helpful.  Please help
Here is the smb.conf:
[global]
   workgroup = WORKGROUP
   server string = %h server (Samba %v)
   obey pam restrictions = Yes
   smb passwd file = /var/lib/samba/passdb.tdb
   passdb backend = tdbsam, guest
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
   syslog = 0
   log file = /var/log/samba/log.%m
   max log size = 1000
   dns proxy = No
   ldap ssl = no
   panic action = /usr/share/samba/panic-action %d
   invalid users = root
   browseable = yes

   netbios name = SMB_SVR
   os level = 33
   preferred master = yes
   domain master = yes
   local master = yes
   security = yes
   domain logons = yes
   logon path = \\%L\profiles\%u
   logon drive = H:
   logon home = \\homeserver\%u\winprofile
   logon script = logon.cmd
   unix password sync = yes
   encrypt passwords = yes
[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   guest ok = Yes
   browseable = No
   read only = yes
[profiles]
   path = /var/lib/samba/profiles
   read only = no
   create mask = 0600
   directory mask = 0700

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



Re: intel PIIXn SATA on 2.6.7 kernel

2004-07-27 Thread Clement
I have it working here.  Just compile the kernel again with PIIX and all 
necessary stuffs for the root partition build in.  2.6 kernerl does not 
handle the modules well during booting.

Regards
Clement
Justinas wrote:
hello list!
	Does anybody have intel PIIXn SATA running properly on debian with 2.6.7 kernel? I have IBM xSeries eServer 206 with such device. I installed sarge, witch has a 2.4 kernel. I have updated module-init-tools. With 2.4 it works, but SATA device is as a primary slave device (/dev/hdc). I took Suse Live CD 9.1(one that boots all OS from cd) witch runs on 2.6.5 kernel, and looked at dmesg. There I found that my SATA device is scsi on /dev/sda. I took a kernel config file from /boot and did: make oldconfig, make bzImage, make modules, make modules_install. Configured lilo.conf(also ran lilo). But my new kernel cant find boot system. I have taken into account fact that my boot device have changed to /dev/sda. But when i boot my new 2.6.7 kernel i got a sweet kernel panic error, which announces me about cute VFS error. Any ideas? 

Thanks in advance!
 


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



Re: Samba as a PDC

2004-07-27 Thread Clement
Ritesh Raj Sarraf wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 27 Jul 2004, Clement wrote:
 

Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read
the docs and sample configure to no success.  When connecting a W2k
client, I get this error:
"... Logon failure: unknown user name or bad password."
From the samba log file, I found this:
[2004/07/27 03:42:44, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Transport endpoint is not connected
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Connection reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket(438)
 write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection
reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:send_smb(630)
 Error writing 4 bytes to client. -1. (Connection reset by peer)
I googled the error message and did not find anything helpful.  Please help
Here is the smb.conf:
[global]
   workgroup = WORKGROUP
   server string = %h server (Samba %v)
   obey pam restrictions = Yes
   smb passwd file = /var/lib/samba/passdb.tdb
   passdb backend = tdbsam, guest
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
   syslog = 0
   log file = /var/log/samba/log.%m
   max log size = 1000
   dns proxy = No
   ldap ssl = no
   panic action = /usr/share/samba/panic-action %d
   invalid users = root
   browseable = yes
   

try commenting the "invalid users = root" line and try.
might be that help.
Thank you very much for your suggestion.  Unfortunately it does not help.
By the way, what is the "DOMAIN" name for the Windows clients?  There is 
not "DOMAIN" name parameter in the samba configure file.  Only the 
WORKGROUP!

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



Re: Samba as a PDC

2004-07-27 Thread Clement
Debian Users wrote:
On Tue, 27 Jul 2004, Clement wrote:
C> Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read
C> the docs and sample configure to no success.  When connecting a W2k
C> client, I get this error:
C>
C> "... Logon failure: unknown user name or bad password."
Maybe a stupid question of mine, but have you created the corresponding
Samba users? I think the command is "smbpasswd -a " or something
like that. I remember having similar problems which disppeared when
entering the correct users.
Also, the user name must be specified accordingly in the Windoze client,
e.g. in the "connect network drive" dialog.
Cheers and good luck, Stefan
Both the user, clement, and machine name, clement$ were created with 
smbpasswd -a and smbpasswd -a -m respectively.  Yes, both user and 
machine name are the same.  Is there any other suggestions?

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



RAID does not start automatically

2004-08-08 Thread Clement
I have setup several RAID based systems already, include a few with 
exactly the same software combination.  But this one just does not start 
the RAID automatically.   The partition type is  fd for Linux raid 
autodetect.   When booted, these are reported:

md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
...
md: Autodetecting RAID arrays.
md: autorun ... 
md: ... autorun DONE.

The RAID arrays are created with mdadm command.  They can be started 
alright by running mdrun.  However, this is not good enough to allow the 
RAIDed root partition be mounted.

The hardware is:
- Intel P4-2.8GHz on ICH5r m/b
- SATA 200MB as /dev/sda to form an incomplete mirror.
(*the other drive for the mirror purpose will be added later)
The software is:
- Debian Sarge
- Kernel 2.6.7, custom compiled with raid built-in
Your help is much appreciated.
Regards,
Clement
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SMP with Intel P4 HT processor & kernel 2.6.7

2004-08-09 Thread Clement
I can boot up with kernel-image-2.6.7-1-686 but not 
kernel-image-2.6.7-1-686-smp.  The booting just half soon after 
starting. Can you give me some suggestions?

The hardware is, Intel m/b w 875r chip set and P4-2.8GHz processor.
Regards,
Clement

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



Re: SMP with Intel P4 HT processor & kernel 2.6.7

2004-08-11 Thread Clement
botio wrote:
Clement wrote:
 

I can boot up with kernel-image-2.6.7-1-686 but not
kernel-image-2.6.7-1-686-smp.  The booting just half soon after
starting. Can you give me some suggestions?
The hardware is, Intel m/b w 875r chip set and P4-2.8GHz processor.
   

I have this problem too on a intel d865perl, it'related to ACPI.
have a look here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125841
there is a patch at comment #49.
 

Thank you very much.  That thread of discussion (or bug report) explain 
very well what I have experienced.   Now the patch is included in the 
Redhat kernel.  Does anyone know when this patch will be incorporated 
into the Debian kernel release?

--
Regards,
Clement

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



Re: How to dist-upgrade?

2004-08-12 Thread Clement
Brian Nelson wrote:
On Thu, Aug 12, 2004 at 10:30:32AM +0600, askar wrote:
 

Hello!
I want to upgrade from Woody to Sarge.
As I understand the necessary commands are:
1) apt-get update
2) apt-get upgrade
3) apt-get dist-upgrade
   

I strongly recommend using aptitude or dselect or some other apt
frontend instead.
 

But do I have to change my sources.list?
Is changing "stable" into "testing" enough?
   

<>
Yes, but I strongly recommend changing it to "sarge" rather than
"testing".
So what should be the sequence:
1.  apt-get update
2.  apt-get upgrade
3.  change 'woody' to 'sarge'
4.  apt-get update
5.  atp-get dist-upgrade
or just
1.  change 'woody' to 'sarge'
2.  apt-get update
3.  apt-get upgrade
4.  atp-get dist-upgrade
Regards,
Clement

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



iptables not so stateful

2004-08-13 Thread Clement
I have this in the iptables setup:
$ADD INPUT   -p tcp  -m state --state ESTABLISHED,RELATED -j ACCEPT
$ADD INPUT   -p udp  -m state --state ESTABLISHED -j ACCEPT
$ADD OUTPUT  -p tcp  -m state --state ESTABLISHED,RELATED -j ACCEPT
$ADD OUTPUT  -p udp  -m state --state ESTABLISHED -j ACCEPT
$ADD OUTPUT -p tcp --dport 21 -j ACCEPT

And I cannot do ftp.  All the data mode traffic of FTP are blocked.  
Apparently the ESTABLISHED,RELATED specification is not followed.  The 
module ipt_state is there and executing the above does not show any 
error message.  I have tried "modprobe ipt_state" before the above to no 
success.  Any idea?

H/W is Intel PIII-600,  OS is Sarge with kernel 2.6.7.
Thanks.
Clement

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



Re: iptables not so stateful

2004-08-13 Thread Clement
Martin Theiß wrote:
Clement <[EMAIL PROTECTED]> wrote on Friday, 13. August 2004 (18:20):
 

I have this in the iptables setup:
$ADD INPUT   -p tcp  -m state --state ESTABLISHED,RELATED -j ACCEPT
$ADD INPUT   -p udp  -m state --state ESTABLISHED -j ACCEPT
$ADD OUTPUT  -p tcp  -m state --state ESTABLISHED,RELATED -j ACCEPT
$ADD OUTPUT  -p udp  -m state --state ESTABLISHED -j ACCEPT
$ADD OUTPUT -p tcp --dport 21 -j ACCEPT

And I cannot do ftp.  All the data mode traffic of FTP are blocked.  
Apparently the ESTABLISHED,RELATED specification is not followed.  The 
module ipt_state is there and executing the above does not show any 
error message.  I have tried "modprobe ipt_state" before the above to no 
success.  Any idea?
   

Have you already tried to load the module ip_conntrack_ftp
 

Bingo, this is it.  You single sentence saves me so much time.  I knew 
this.  But when it is needed, it does not come out of my mind :(

And thank you very much for other suggestions.  For the record, I use 
ncftp.  It uses passive ftp by default.

Regards,
Clement

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



HylaFax receives rubbish

2004-08-24 Thread Clement
Just tried Hylafax.  After spending hours to play around, I finally got Hyafax to 
receive fax.  However, the pages received are just rubbish.  When I setup Hylafax to 
email received fax as a PDF to me, that PDF is a totally white page.
Do you know where can I start to find and fix the problem?
Debian installed is Sarge, with kernel 2.6.7.  Hylafax-server, hylafax-doc and 
hylafax-client are all 4.1.8-13
The only suspicious thing in the installation is the complaint about ghostscript 
fonts.  I did this to quiet the complaint:
ln -s /usr/share/fonts/type1/gsfonts /usr/share/gs-gpl/fonts
This works to get hylafax to send.
Regards,
Clement

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



HylaFax receives rubbish

2004-08-25 Thread Clement
Just tried Hylafax.  After spending hours to play around, I finally got 
Hyafax to receive fax.  However, the pages received are just rubbish.  
When I setup Hylafax to email received fax as a PDF to me, that PDF is a 
totally white page.

Do you know where can I start to find and fix the problem?
Debian installed is Sarge, with kernel 2.6.7.  Hylafax-server, 
hylafax-doc and hylafax-client are all 4.1.8-13

The only suspicious thing in the installation is the complaint about 
ghostscript fonts.  I did this to quiet the complaint:

ln -s /usr/share/fonts/type1/gsfonts /usr/share/gs-gpl/fonts
This works to get hylafax to send.
Regards,
Clement
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: HylaFax receives rubbish

2004-08-25 Thread Clement
Wayne Topa wrote:
Clement([EMAIL PROTECTED]) is reported to have said:
 

Just tried Hylafax.  After spending hours to play around, I finally got 
Hyafax to receive fax.  However, the pages received are just rubbish.  
When I setup Hylafax to email received fax as a PDF to me, that PDF is a 
totally white page.

Do you know where can I start to find and fix the problem?
Debian installed is Sarge, with kernel 2.6.7.  Hylafax-server, 
hylafax-doc and hylafax-client are all 4.1.8-13

The only suspicious thing in the installation is the complaint about 
ghostscript fonts.  I did this to quiet the complaint:

ln -s /usr/share/fonts/type1/gsfonts /usr/share/gs-gpl/fonts
This works to get hylafax to send.
   

You have sent to request for help twice now and have received no
answer.  

I must apologise for this.  After sending the first one, for some 
reasons I did not see it in the list.   Thinking that it could be a 
problem of my PC, I send it again. 

On both occasions you hi-jacked another thread rather then
starting a new one (bad practice).
 

I DID NOT hi-jack anything.  If the subject I used is the same as a 
previous email, it is pure coincidence.  I will search the archives.  
Please do not assume too much.

Those that _might_ been able to help might not have noticed your post
if the thread you hi-jacked did not interest them.
If you try again, start a new thread!  That might get you the help you
need.
wt
 

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



Re: HylaFax receives rubbish

2004-08-26 Thread Clement
Tim Kelley wrote:
On Tuesday 24 August 2004 10:56, Clement wrote:
 

Just tried Hylafax.  After spending hours to play around, I finally got
Hyafax to receive fax.  However, the pages received are just rubbish.  When
I setup Hylafax to email received fax as a PDF to me, that PDF is a totally
white page.
Do you know where can I start to find and fix the problem?
Debian installed is Sarge, with kernel 2.6.7.  Hylafax-server, hylafax-doc
and hylafax-client are all 4.1.8-13
The only suspicious thing in the installation is the complaint about
ghostscript fonts.  I did this to quiet the complaint:
ln -s /usr/share/fonts/type1/gsfonts /usr/share/gs-gpl/fonts
This works to get hylafax to send.
   

well first just simplify ...
don't bother with email or translating formats ... just try to read the tiff 
files that hylafax creates when it receives a fax
 

Did that.  And get only random black lines. :(
if the problem is with tiff files then you can usually force the modem to 
negotiate a more compatible format; there are all manner of tiff varieties 
and it can be a real PITA

tiff libraries in sarge were recently upgraded to libtiff4 and this could be 
the issue

is translation to postscript is the issue you should look at ghostscript ...
check the BTS for hylafax and ghostscript
 

Thank you very much.  Do try that.  And will report it when I get any 
progress.

Regards,
Clement

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



Re: Configuring Courier

2004-09-02 Thread Clement
Upayavira wrote:
I want to set up a Debian based mail server, with SMTP sending, IMAP 
and webmail. I am trying to do this with the Courier package. 
Actually, what I want, at the moment, is a self contained mail system, 
it doesn't have to deliver to the Internet. I'm using Sarge.

I am having trouble getting mailboxes configured. When I send myself a 
mail (mail -s "hiya" upayavira), it creates a file called Maildir in 
my home directory. It looks rather like a 'mbox' file. If I delete 
that file, and create a proper Maildir with maildirmake ~/Maildir, 
then try sending again, I get "./Maildir: No such file or directory: 
No such file or directory" showing in my /var/log/syslog file.

Similarly, when I have a ~/Maildir directory and log into the courier 
webmail system, I get "Internal error (module sqconfig.c, line 77) - 
contact system administrator". When I do it with an mbox file called 
~/Maildir, I get "Unable to open the maildir for this account -- the 
maildir doesn't exist or has incorrect ownership or permissions".

I suspect I'm very close, but I can't figure it out.
So, can anyone either (a) help me fix the above or (b) tell me where I 
can get help fixing the above or (c) recommend a SMTP/IMAP/Webmail 
setup that is relatively easy to configure, and that can be installed 
with apt-get from Sarge?

Thanks in advance for any help.
Regards,
Upayavira
Since you did not provide any details about your setup and software 
combination, it is hard for anyone to provide reasonable help.

I did not encounter the mentioned problem.  But if you use a maildir 
capable local delivery agent, you should be fine.  In my case, I use 
postfix, maildrop and courier.  All are apt-get from Sarge.

Regards,
Clement

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



Re: need iptables port forwarding help!

2004-09-03 Thread Clement
Tom Vier wrote:
i've tried several times, using multiple different rules i've found from
different sites, and i still can't get port forwarding working. does 
anyone
have working rules they could send me? i'm trying to forward packets 
from my
isp to port  to an internal ip (i use nat) and port 22.

/sbin/iptables -t nat -A PREROUTING  -p tcp --dport 22 -j DNAT 
--to-destination $INT_IP
/sbin/iptables -t nat -A PREROUTING  -p tcp --dport  -j DNAT 
--to-destination $INT_IP
/sbin/iptables -t nat -A POSTROUTING -p tcp --dport 22 -d $INT_IP -j 
SNAT --to-source $EXT_IP
/sbin/iptables -t nat -A POSTROUTING -p tcp --dport  -d $INT_IP -j 
SNAT --to-source $EXT_IP

define $INT_IP - internal ip to forward to, and
define $EXT_IP - external ip on your outbound interface.
Regards,
Clement

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



Libtiff and hylafax

2004-09-05 Thread Clement
Hi All,
In Sarge, Hylafax does not work well with Libtiff 3.6.1-1.  But if I 
downgrade Libtiff to 3.5.7, the next apt-get upgrade will probably move 
it back to 3.6.1.  What do you Hylafax users do?

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



Re: Libtiff and hylafax

2004-09-05 Thread Clement
Tobias Kirchhofer wrote:
<[EMAIL PROTECTED]> schrieb:
 

Hi All,
In Sarge, Hylafax does not work well with Libtiff 3.6.1-1.  But if I
downgrade Libtiff to 3.5.7, the next apt-get upgrade will probably
move it back to 3.6.1.  What do you Hylafax users do?
   

I solved it with an entry in /etc/apt/preferences:
Package: libtiff3g
Pin: version 3.5.7*
Pin-Priority: 999
Package: libtiff-tools
Pin: version 3.5.7*
Pin-Priority: 999
 

This is great.  But now, I don't know where to find the 
libtiff3g_3.5.7*.deb and ligtiff-tools_3.5.7*.deb.  Both my closest 
mirror, mirror.aarnet.edu.au and ntp.debian.org do not have the files in 
their pool/main/t/tiff3g directory.  Google is not too helpful either.  
Can someone shed some light here?

Regards,
Clement

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



Re: Libtiff and hylafax

2004-09-05 Thread Clement
Thank you very much for your help again.
Tobias Kirchhofer wrote:
<>...Find it with google:
libtiff3g_3.5.7-2_i386.deb
libtiff-tools_3.5.7-2_i386.deb
Or try version 3.5.5 from <http://www.debian.org/distrib/packages>.
Tried all.  The package available for Sarge is 3.6.1 only.  The package 
for Woody is 3.5.5-6.  Version 3.5.7 is simply disappeared from all 
mirrors!!!

Uninstall current 3.6.1 libtiff with apt-get remove.
Then dpkg -i with the two archives and you're done, if memory serves me
right.
Greetings
 

Regards,
Clement

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



Re: Help! (corier-imap + webmail)

2004-09-06 Thread Clement
Carlos Sousa wrote:
...
2) Courier-imap is configured to use userdb authentication, meaning all
  user info (username, password, mail folder, ...) is stored in a file.
  This allows for email users with no correspondence to system users.
  There are other authentication options, though. Once again, you'll
  have to go through the docs for the details.
 

From what I read, the Debian's Courier-imap package does not support 
userdb.  Am I making a mistake here or is there a Debian package that 
supports userdb?

On the other hand, ISMail looks like an interesting webmail.  However, 
after installing, I can only get a blank page.  The FAQ says this is 
because my PHP does not support IMAP.  My PHP is the stock Debian 
libapache2-mod-php4 v 4.3.4-4.  I believe IMAP support is there.  At 
least Squirrelmail works fine with it.  Does anyone have ISMail working 
on a Debian Sarge?

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



Re: Help! (corier-imap + webmail)

2004-09-06 Thread Clement
Carlos Sousa wrote:
On Tue, 07 Sep 2004 00:39:43 +1000 Clement wrote:
 

Carlos Sousa wrote:
   

...
2) Courier-imap is configured to use userdb authentication, meaning all
 user info (username, password, mail folder, ...) is stored in a file.
 This allows for email users with no correspondence to system users.
 There are other authentication options, though. Once again, you'll
 have to go through the docs for the details.
 

From what I read, the Debian's Courier-imap package does not support 
userdb.  Am I making a mistake here or is there a Debian package that 
supports userdb?
   

Well, I'm using the Debian package, and it's using userdb, I configured the
beast myself (about 2 years ago). Where did you read that?
 

It must be my bad memory.  I tried to find it back and failed.  But 
certainly this is good.  I was planning to re-compile it with userdb.  
It is so good that this is not needed.

--
Regards,
Clement

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



Re: Help! (corier-imap + webmail)

2004-09-06 Thread Clement
Carlos Sousa wrote:
On Mon, 6 Sep 2004 10:44:35 -0400 Johann Koenig wrote:
 

On Tuesday September  7 at 12:39am
Clement <[EMAIL PROTECTED]> wrote:
   

The FAQ says this is 
because my PHP does not support IMAP.  My PHP is the stock Debian 
libapache2-mod-php4 v 4.3.4-4.  I believe IMAP support is there. 
 

[EMAIL PROTECTED]:~$ apt-cache search php imap
aeromail - Web-based e-mail client
egroupware-email - eGroupWare E-mail client application
imp3 - Web Based Mail Program
php-auth - PHP PEAR modules for creating an authentication system
php3-cgi-imap - IMAP module for PHP3 (use with php3-cgi)
php3-imap - IMAP module for PHP3 (use with php3)
php4-imap - IMAP module for php4
phpgroupware-felamimail - phpGroupWare felamimail (Squirrelmail) module
squirrelmail - Webmail for nuts
imp - Web Based IMAP Mail Program.
[EMAIL PROTECTED]:~$ 

Note the one about halfway down, php4-imap. Squirrelmail may implement
the IMAP protocol itself, or operate directly on Maildirs (I don't
personally know, thats just my guess)
Actually, from:
[EMAIL PROTECTED]:~$ apt-cache show squirrelmail

It includes built-in pure PHP support for the IMAP and SMTP protocols

So thats why.
   

1) Squirrelmail *does* use the IMAP protocol (no direct file access
  to email);
2) I don't have php?-imap installed, so it must have inbuilt IMAP
  capabilities, 'cause it's working flawlessly.
 

A close look at libapache2-mod-php4:
" Compiled in extensions include: bcmath, bz2, calendar, ctype, dba, 
dbx, exif, filepro, ftp, gettext, iconv, mbstring, mime_magic, openssl, 
overload, pcre, posix, session, shmop, sockets, standard, sysvmsg, 
sysvsem, sysvshm, tokenizer, wddx, xml, xmlrpc, yp, and zlib."

imap is not included!!!   So where does squirrelmail get the imap 
capability?   And how can we give ISMail the imap capability required?

--
Regards,
Clement

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



Re: Help! (corier-imap + webmail)

2004-09-06 Thread Clement
Clement wrote:
Carlos Sousa wrote:
On Mon, 6 Sep 2004 10:44:35 -0400 Johann Koenig wrote:
 

On Tuesday September  7 at 12:39am
Clement <[EMAIL PROTECTED]> wrote:
  

The FAQ says this is because my PHP does not support IMAP.  My PHP 
is the stock Debian libapache2-mod-php4 v 4.3.4-4.  I believe IMAP 
support is there. 
[EMAIL PROTECTED]:~$ apt-cache search php imap
aeromail - Web-based e-mail client
egroupware-email - eGroupWare E-mail client application
imp3 - Web Based Mail Program
php-auth - PHP PEAR modules for creating an authentication system
php3-cgi-imap - IMAP module for PHP3 (use with php3-cgi)
php3-imap - IMAP module for PHP3 (use with php3)
php4-imap - IMAP module for php4
phpgroupware-felamimail - phpGroupWare felamimail (Squirrelmail) module
squirrelmail - Webmail for nuts
imp - Web Based IMAP Mail Program.
[EMAIL PROTECTED]:~$
Note the one about halfway down, php4-imap. Squirrelmail may implement
the IMAP protocol itself, or operate directly on Maildirs (I don't
personally know, thats just my guess)
Actually, from:
[EMAIL PROTECTED]:~$ apt-cache show squirrelmail

It includes built-in pure PHP support for the IMAP and SMTP protocols

So thats why.
  

1) Squirrelmail *does* use the IMAP protocol (no direct file access
  to email);
2) I don't have php?-imap installed, so it must have inbuilt IMAP
  capabilities, 'cause it's working flawlessly.
 

A close look at libapache2-mod-php4:
" Compiled in extensions include: bcmath, bz2, calendar, ctype, dba, 
dbx, exif, filepro, ftp, gettext, iconv, mbstring, mime_magic, 
openssl, overload, pcre, posix, session, shmop, sockets, standard, 
sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlrpc, yp, and zlib."

imap is not included!!!   So where does squirrelmail get the imap 
capability?   
Sorry the answer is already in the previous reply - squirrelmail.
And how can we give ISMail the imap capability required?
As a remarks, I believe php4-imap is for apache_1.3.x.   The only php4 
for apache2 is libapache2-mod-php4.

--
Regards,
Clement

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



Re: Help! (corier-imap + webmail)

2004-09-07 Thread Clement
Carlos Sousa wrote:
On Tue, 07 Sep 2004 12:25:46 +1000 Clement wrote:
 

[...]
And how can we give ISMail the imap capability required?
   

As to ISMail, I never heard of it, but a few seconds googling turned
up a bunch of links, like
  http://instantservers.com/plugin_ism/ismweb_faq.html
I'm not interested in it right now, so I can't help you further.
 

The producer of the software has been very helpful.  The problem is 
solved by installing php4-imap.

Regards,
Clement

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



Re: firewall/router configuration

2004-09-07 Thread Clement
James LeClair wrote:
My router is a dual-homed P1 box that runs Woody. I would like to do a 
clean install in the near future. After it is all set up, and before I 
take it online for the first time, what steps are involved to slimming 
it down and securing it?
Maybe a few tips or linkage to good docs on the topic would be very 
appreciated.

James,
Proud Debian user
Not sure if this is helpful to you.  What I do is installing only the 
software that I need.  And put in iptables rules to make sure only the 
traffic I want is allowed.

--
Regards,
Clement

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



Slow DNS Lookups on Debian Etch AMD 64

2007-05-10 Thread Dallas Clement

Hi All,

I'm getting terrible DNS lookup performance on my Debian Etch system.
I've installed the "Etch" - Official Beta amd64 version.

After installing, I noticed that the Internet browsers were taking a
really long time to pull up a web page.  I also observed that the
browser delays seemed to be DNS related as they were spending a lot of
time "Looking up whatever.com...".

I turned off IPv6 and it made no observable difference.

It seems that a DNS lookup is taking 10s on average.  Here is the dig
output for one such lookup:

debian:/# time dig 192.168.0.1 www.yahoo.com
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52841
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;192.168.0.1.   IN  A

;; AUTHORITY SECTION:
.   7650IN  SOA A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. 2007050901 1800 900 604800 86400

;; Query time: 10 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Thu May 10 09:39:21 2007
;; MSG SIZE  rcvd: 104


; <<>> DiG 9.3.4 <<>> 192.168.0.1 www.yahoo.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60232
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 8, ADDITIONAL: 8

;; QUESTION SECTION:
;www.yahoo.com. IN  A

;; ANSWER SECTION:
www.yahoo.com.  41  IN  CNAME   www.yahoo-ht3.akadns.net.
www.yahoo-ht3.akadns.net. 44IN  A   209.131.36.158

;; AUTHORITY SECTION:
akadns.net. 146740  IN  NS  zc.akadns.org.
akadns.net. 146740  IN  NS  zd.akadns.org.
akadns.net. 146740  IN  NS  eur1.akadns.net.
akadns.net. 146740  IN  NS  eur7.akadns.net.
akadns.net. 146740  IN  NS  usw1.akadns.net.
akadns.net. 146740  IN  NS  asia9.akadns.net.
akadns.net. 146740  IN  NS  za.akadns.org.
akadns.net. 146740  IN  NS  zb.akadns.org.

;; ADDITIONAL SECTION:
za.akadns.org.  63940   IN  A   204.2.178.133
zb.akadns.org.  63940   IN  A   206.132.100.105
zc.akadns.org.  63940   IN  A   63.209.3.132
zd.akadns.org.  63940   IN  A   204.2.178.133
eur1.akadns.net.4599IN  A   213.254.204.197
eur7.akadns.net.4599IN  A   193.108.94.88
usw1.akadns.net.4599IN  A   63.209.3.132
asia9.akadns.net.   4599IN  A   220.73.220.4

;; Query time: 10 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Thu May 10 09:39:26 2007
;; MSG SIZE  rcvd: 368


real0m10.031s
user0m0.000s
sys 0m0.000s
debian:/#

This very same machine also has Windows Vista Ultimate 64 installed on
it and DNS lookups are lightning fast.  There is definitely something
going on with Debian Etch or perhaps the network configuration.   I am
using the ndiswrapper around a Windows driver for my Broadcom wireless
network adapter.

Does anyone have any ideas for me?

Thanks,

Dallas Clement


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




hda: lost interrupt

2007-05-11 Thread Dallas Clement

Hello All,

I just installed the Debian Etch 4.0 on my system.  It will not
complete bootup however.  It keeps hanging on "hda:  lost interrupt"
and eventually fails to boot entirely.

I previously had Debian Etch "Testing" installed.  It has been working
fine for the past month up to the moment I tried installing 4.0.

I tried re-installing 4.0 three times all with the same result.

My system is an Intel Core2 Duo.  I'm trying to install Debian Etch 4.0 AMD64.

Does anyone know how to recover from this error?

Thanks,
Dallas


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




Re: hda: lost interrupt

2007-05-11 Thread Dallas Clement

'noapic' solved the problem.  Thanks!

On 5/11/07, Bob McGowan <[EMAIL PROTECTED]> wrote:

Dallas Clement wrote:
> Hello All,
>
> I just installed the Debian Etch 4.0 on my system.  It will not
> complete bootup however.  It keeps hanging on "hda:  lost interrupt"
> and eventually fails to boot entirely.
>
> I previously had Debian Etch "Testing" installed.  It has been working
> fine for the past month up to the moment I tried installing 4.0.
>
> I tried re-installing 4.0 three times all with the same result.
>
> My system is an Intel Core2 Duo.  I'm trying to install Debian Etch 4.0
> AMD64.
>
> Does anyone know how to recover from this error?
>
> Thanks,
> Dallas
>
>

My laptop Turion 64 requires using 'noapic' to boot and run.  You can
add this to the kernel 'command line' (at the boot prompt) for a one
time test to see if it helps.  If it does, edit your boot loader 'menu'
to append this string to the entries for your kernel.  You will need to
read up on how to do these things for your particular boot loader.

Other options you might try (some that I've heard about but not tried)
are 'pci=no', 'acpi=no', 'acpi=no-idle' and 'nolapic'.

I have no information on the possible down side of using any of these,
but hey, if it lets you boot and things run, you're ahead of the game ;)

I hope this helps.

Bob





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




CD/DVD Drive Problems (Etch 4.0)

2007-05-11 Thread Dallas Clement

I just installed Debian Etch 4.0 on to a machine that has a NEC CDROM
/ DVD RW drive, and unfortunately it is having problems finding the
cdrom drive.

I noticed this when I tried to install a package such as:

debian:~# apt-get install kernel-package

It prompted to insert the DVD ISO that I used to install with:

MEDIA CHANGE: please insert the disc labeled
 'Debian GNU/Linux 4.0 r0 _Etch_- Official amd64 DVD Binary-1
20070407-12:15' in the drive '/cdrom/' and press enter

When I insert the DVD into the drive and press enter, the same message
is repeated as if nothing is recognized.

I can see that my cdrom is the device named 'hde' as seen:

debian:/dev# ls hde
brw-rw 1 root cdrom 33, 0 2007-05-11 13:59 hde

I have also verified that when the DVD disc is in the drive that it
also corresponds to device hde.

I don't understand why it is not working.  This problem would
occasionally happen for me with the Debian Etch "Testing" release.  If
I would reboot the computer, it would go away most of the time.  With
the 4.0 release, it doesn't matter how many times I restart, the cdrom
just ain't working.

Can anyone please help?

Thanks,

Dallas Clement


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




Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-11 Thread Dallas Clement

On 5/10/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:

On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
>
> I'm getting terrible DNS lookup performance on my Debian Etch system.
> I've installed the "Etch" - Official Beta amd64 version.
>

What is an official beta of Etch which is the current Stable?

Send us your /etc/apt/souces.list after you have done an update and
upgrade, if the problem continues.

Doug.


--


Sadly, after upgrading to 4.0 r0 I am still experiencing the slow DNS lookups.

This is what's in my sources.list file:

debian:~# cat /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD
Binary-1 20070407-12:15]/ etch contrib main

--

Thanks for the help.


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




Re: CD/DVD Drive Problems (Etch 4.0)

2007-05-11 Thread Dallas Clement

On 5/11/07, Kevin Mark <[EMAIL PROTECTED]> wrote:

On Fri, May 11, 2007 at 02:25:33PM -0500, Dallas Clement wrote:
> I just installed Debian Etch 4.0 on to a machine that has a NEC CDROM
> / DVD RW drive, and unfortunately it is having problems finding the
> cdrom drive.
>
> I noticed this when I tried to install a package such as:
>
> debian:~# apt-get install kernel-package
>
> It prompted to insert the DVD ISO that I used to install with:
>
> MEDIA CHANGE: please insert the disc labeled
>  'Debian GNU/Linux 4.0 r0 _Etch_- Official amd64 DVD Binary-1
> 20070407-12:15' in the drive '/cdrom/' and press enter
>
> When I insert the DVD into the drive and press enter, the same message
> is repeated as if nothing is recognized.
>
I think this is a know issue with cdrom/dvd drives and apt-get. Maybe
trying to use apt-cd will help by re-adding the dvd?


I fooled around with apt-cdrom and tried to re-add the dvd, but didn't
seem to work.  I tried manually re-mounting the hde device to
/media/cdrom and that did seem to work -- but it was mounted only for
the duration of the apt-get install and then strangely it unmounted
itself.   VERY ANNOYING!!

Thanks for the help.


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




Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-11 Thread Dallas Clement

On 5/11/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:

On Fri, May 11, 2007 at 04:37:07PM -0500, Dallas Clement wrote:
> On 5/10/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> >On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> >>
> >> I'm getting terrible DNS lookup performance on my Debian Etch system.
> >> I've installed the "Etch" - Official Beta amd64 version.
> >
> >What is an official beta of Etch which is the current Stable?
>
> Sadly, after upgrading to 4.0 r0 I am still experiencing the slow DNS
> lookups.
>
> This is what's in my sources.list file:
>
> debian:~# cat /etc/apt/sources.list
>
> deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD
> Binary-1 20070407-12:15]/ etch contrib main

You should add on lines after that lines that point to your mirror of
choice.  Mine (in Canada) is:

deb http://ftp3.nrc.ca/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free

This ensures that you get the most up-to-date packages within Etch
(stable).

And if you want:

deb http://debian-multimedia.org etch main

deb http://volatile.debian.org/debian-volatile etch/volatile main \
contrib non-free


I've added these lines and downloaded the latest updates.  Still I
have incredibly slow DNS lookups.  Like I mentioned earlier, this is
definitely not happening in Windows Vista which runs on the same
machine from a different drive/partition.

Once the DNS lookup completes, things seem pretty fast.  I'm not sure
where else to look at this point.


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




XFree86-4.02, a laptop and an external monitor

2001-01-26 Thread Jordi Clement
Hi all, 

I've a problem while connecting an external monitor to my laptop. I had a 
configuration working for XFree86 3.3.6 that allowed me to use my laptop at a 
1024x768 resolution. If I connected an external monitor to it, and with the 
LDC-display disabled, X worked with a 1280x1024 resolution on the external 
monitor. 

I see in the XFree86.x.log that both my LCD and external display are detected 
(the external display gets detected first),  but I can't get X using my 
external display at 1280x1024. I'm running XFree86 4.02 (ATI 64 driver) from 
unstable. Any ideas?

-- Jordi



Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote:
> On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> > I'm getting terrible DNS lookup performance on my Debian Etch system.
> > I've installed the "Etch" - Official Beta amd64 version.
> > 
> > After installing, I noticed that the Internet browsers were taking a
> > really long time to pull up a web page.  I also observed that the
> > browser delays seemed to be DNS related as they were spending a lot of
> > time "Looking up whatever.com...".
> > 
> > I turned off IPv6 and it made no observable difference.
> 
> How?
> 
> > It seems that a DNS lookup is taking 10s on average.  Here is the dig
> > output for one such lookup:
> > 
> > debian:/# time dig 192.168.0.1 www.yahoo.com
> > ;; Got answer:
> [snip]
> > ;; Query time: 10 msec
> > ;; SERVER: 192.168.0.1#53(192.168.0.1)
> > ;; WHEN: Thu May 10 09:39:21 2007
> > ;; MSG SIZE  rcvd: 104
> > 
> > 
> > ; <<>> DiG 9.3.4 <<>> 192.168.0.1 www.yahoo.com
> > ;; global options:  printcmd
> > ;; Got answer:
> [snip]
> > ;; Query time: 10 msec
> > ;; SERVER: 192.168.0.1#53(192.168.0.1)
> > ;; WHEN: Thu May 10 09:39:26 2007
> > ;; MSG SIZE  rcvd: 368
> > 
> > 
> > real0m10.031s
> > user0m0.000s
> > sys 0m0.000s
> 
> Weird - the elapsed time for the DNS queries are reported as 10 msec 
> each, yet they are 5 seconds apart?
> 
> > This very same machine also has Windows Vista Ultimate 64 installed on
> > it and DNS lookups are lightning fast.  There is definitely something
> > going on with Debian Etch or perhaps the network configuration.   
> 
> Does the other OS use the same DNS server(s)?
> 
> The contents of /etc/resolv.conf might provide clues - especially if 
> compared to the Windows equivalent (of which I know nothing...)
> 
> > I am using the ndiswrapper around a Windows driver for my Broadcom 
> > wireless network adapter.
> 
> Shouldn't matter, assuming that you don't have any other network 
> problems...
> 
> 

This is what's in my /etc/resolv.conf:

[EMAIL PROTECTED]:~$ cat /etc/resolv.conf
search clements
nameserver 192.168.0.1

'clements is the name of the local domain.  And that is the correct name
server on the local domain which happens to be a D-link router.  It uses
DNS relay to forward DNS requests to my ISP.

Interestingly, if I repeat the dig test directly on my ISP DNS server
address, the time between queries is dramatically reduced:

--
debian:/home/dallas# time dig 151.164.20.201 debian.org
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59962
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;151.164.20.201.IN  A

;; AUTHORITY SECTION:
.   10667   IN  SOA A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. 2007051101 1800 900 604800 86400

;; Query time: 9 msec
;; SERVER: 151.164.20.201#53(151.164.20.201)
;; WHEN: Sat May 12 08:55:23 2007
;; MSG SIZE  rcvd: 107


; <<>> DiG 9.3.4 <<>> 151.164.20.201 debian.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42634
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;debian.org.IN  A

;; ANSWER SECTION:
debian.org. 3600IN  A   192.25.206.10

;; AUTHORITY SECTION:
debian.org. 2615IN  NS  rietz.debian.org.
debian.org. 2615IN  NS  klecker.debian.org.
debian.org. 2615IN  NS  raff.debian.org.

;; Query time: 138 msec
;; SERVER: 151.164.20.201#53(151.164.20.201)
;; WHEN: Sat May 12 08:55:24 2007
;; MSG SIZE  rcvd: 105


real0m0.157s
user0m0.004s
sys 0m0.000s

--

WOW! And if I directly edit the /etc/resolv.conf and put in the DNS
server address of my ISP instead of my relaying D-Link router, lo and
behold, my web-browsing is incredibly fast!!!  I think we can safely
conclude that the problem lies with my router and slow DNS relay.
Though I must say that I am a bit mystified as to why Windows is so fast
if it presumably relies on the D-link router for DNS relay also.

I wish there was a way to keep my ISP DNS addresses in
the /etc/resolv.conf file permanently.  I think they get overwritten
after getting a DHCP response.

Thanks for the help.





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



Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 13:56 +0530, Kushal Kumaran wrote:
> On 5/12/07, Dallas Clement <[EMAIL PROTECTED]> wrote:
> > On 5/11/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> > > On Fri, May 11, 2007 at 04:37:07PM -0500, Dallas Clement wrote:
> > > > On 5/10/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> > > > >On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> > > > >>
> > > > >> I'm getting terrible DNS lookup performance on my Debian Etch system.
> > > > >> I've installed the "Etch" - Official Beta amd64 version.
> > > > >
> > > > >What is an official beta of Etch which is the current Stable?
> > > >
> > > > Sadly, after upgrading to 4.0 r0 I am still experiencing the slow DNS
> > > > lookups.
> > > >
> > > > This is what's in my sources.list file:
> > > >
> > > > debian:~# cat /etc/apt/sources.list
> > > >
> > > > deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD
> > > > Binary-1 20070407-12:15]/ etch contrib main
> > >
> > > You should add on lines after that lines that point to your mirror of
> > > choice.  Mine (in Canada) is:
> > >
> > > deb http://ftp3.nrc.ca/debian/ etch main contrib non-free
> > >
> > > deb http://security.debian.org/ etch/updates main contrib non-free
> > >
> > > This ensures that you get the most up-to-date packages within Etch
> > > (stable).
> > >
> > > And if you want:
> > >
> > > deb http://debian-multimedia.org etch main
> > >
> > > deb http://volatile.debian.org/debian-volatile etch/volatile main \
> > > contrib non-free
> >
> > I've added these lines and downloaded the latest updates.  Still I
> > have incredibly slow DNS lookups.  Like I mentioned earlier, this is
> > definitely not happening in Windows Vista which runs on the same
> > machine from a different drive/partition.
> >
> > Once the DNS lookup completes, things seem pretty fast.  I'm not sure
> > where else to look at this point.
> >
> 
> This is not really a solution, just a workaround, but have you tried
> installing a local DNS cache?  pdnsd requires no configuration to set
> up.
> -- 
> Kushal
> 
> 

No I sure haven't, but that's probably a good thing to do anyway.  I
think we are narrowing in on the problem as something to do with DNS
relay through my local router.  Doing a time dig on the actual ISP DNS
address was extremely fast.


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



Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 16:15 +0100, Karl E. Jorgensen wrote:
> On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote:
> > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote:
> > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> > > > I'm getting terrible DNS lookup performance on my Debian Etch system.
> > > > I've installed the "Etch" - Official Beta amd64 version.
> > > > 
> > > > After installing, I noticed that the Internet browsers were taking a
> > > > really long time to pull up a web page.  I also observed that the
> > > > browser delays seemed to be DNS related as they were spending a lot of
> > > > time "Looking up whatever.com...".
> 
> [snip]
> 
> > This is what's in my /etc/resolv.conf:
> > 
> > [EMAIL PROTECTED]:~$ cat /etc/resolv.conf
> > search clements
> > nameserver 192.168.0.1
> > 
> > 'clements is the name of the local domain.  And that is the correct name
> > server on the local domain which happens to be a D-link router.  It uses
> > DNS relay to forward DNS requests to my ISP.
> > 
> > Interestingly, if I repeat the dig test directly on my ISP DNS server
> > address, the time between queries is dramatically reduced:
> [snip]
> 
> > real0m0.157s
> > user0m0.004s
> > sys 0m0.000s
> > 
> > WOW! And if I directly edit the /etc/resolv.conf and put in the DNS
> > server address of my ISP instead of my relaying D-Link router, lo and
> > behold, my web-browsing is incredibly fast!!!  I think we can safely
> > conclude that the problem lies with my router and slow DNS relay.
> > Though I must say that I am a bit mystified as to why Windows is so fast
> > if it presumably relies on the D-link router for DNS relay also.
> 
> "presumably" - I suspect not. At least that would make for a natural 
> explanation...
> 
> Another possible explanation: Do you have a firewall on the linux box?  
> If so, try disabling it. My rationale? If the firewall gets in the way 
> of udp:53 but not tcp:53, I'd expect the same 5-second delay, as the 
> resolver first tries udp and then falls back on tcp... (perhaps windows 
> "remembers" that udp failed and then plods on with tcp?)
> 
> It might be worth double-checking the firewall settings on the router.  
> Sounds like they're OK, but a quick browse is in order...
> 
> > I wish there was a way to keep my ISP DNS addresses in
> > the /etc/resolv.conf file permanently.  I think they get overwritten
> > after getting a DHCP response.
> 
> Can't the router be reconfigured?
> 

Sadly, my router is pretty inflexible in terms of the DNS configuration.
It mandates the use of DNS relay.

I don't think I have any firewall enabled on the linux box.  At least I
don't see any and I didn't deliberately turn one one after the new
install.

I do have a firewall turned on in my D-link router though.  It is only
allowing HTTP, FTP, POP3, and SMTP traffic through to a different host
on my LAN.

Do I need to open up port 53 to my linux box then?




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



Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 10:40 -0400, Douglas Allan Tutty wrote:
> On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote:
> > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote:
> > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> > > > I'm getting terrible DNS lookup performance on my Debian Etch system.
> > > > 
> 
> > Interestingly, if I repeat the dig test directly on my ISP DNS server
> > address, the time between queries is dramatically reduced:
> > 
> > debian:/home/dallas# time dig 151.164.20.201 debian.org
>  
> > ;; QUESTION SECTION:
> > ;151.164.20.201.IN  A
>  
> > --
> > 
> > WOW! And if I directly edit the /etc/resolv.conf and put in the DNS
> > server address of my ISP instead of my relaying D-Link router, lo and
> > behold, my web-browsing is incredibly fast!!!  I think we can safely
> > conclude that the problem lies with my router and slow DNS relay.
> > Though I must say that I am a bit mystified as to why Windows is so fast
> > if it presumably relies on the D-link router for DNS relay also.
> > 
> > I wish there was a way to keep my ISP DNS addresses in
> > the /etc/resolv.conf file permanently.  I think they get overwritten
> > after getting a DHCP response.
> > 
> 
> Never having used a router that I didn't make, can you write a script
> that queries the router for the server address of the ISP and changes
> /etc/resolv.conf?  For example, what is the hostname that matches the
> ISP's dns server?  While the ip number may change, the hostname may not.
> Perhaps you can use the router to get you the IP of the DNS server and
> then use that from then on, until the DHCP is renegotiated.
> 
> Doug.
> 
> 

I may have to resort to this if I can't get resolve it in a more natural
way.  I have all the information that is needed.

Thanks for the idea.


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



Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-14 Thread Dallas Clement
On Sat, 2007-05-12 at 16:15 +0100, Karl E. Jorgensen wrote:
> On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote:
> > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote:
> > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote:
> > > > I'm getting terrible DNS lookup performance on my Debian Etch system.
> > > > I've installed the "Etch" - Official Beta amd64 version.
> > > > 
> > > > After installing, I noticed that the Internet browsers were taking a
> > > > really long time to pull up a web page.  I also observed that the
> > > > browser delays seemed to be DNS related as they were spending a lot of
> > > > time "Looking up whatever.com...".
> 
> [snip]
> 
> > This is what's in my /etc/resolv.conf:
> > 
> > [EMAIL PROTECTED]:~$ cat /etc/resolv.conf
> > search clements
> > nameserver 192.168.0.1
> > 
> > 'clements is the name of the local domain.  And that is the correct name
> > server on the local domain which happens to be a D-link router.  It uses
> > DNS relay to forward DNS requests to my ISP.
> > 
> > Interestingly, if I repeat the dig test directly on my ISP DNS server
> > address, the time between queries is dramatically reduced:
> [snip]
> 
> > real0m0.157s
> > user0m0.004s
> > sys 0m0.000s
> > 
> > WOW! And if I directly edit the /etc/resolv.conf and put in the DNS
> > server address of my ISP instead of my relaying D-Link router, lo and
> > behold, my web-browsing is incredibly fast!!!  I think we can safely
> > conclude that the problem lies with my router and slow DNS relay.
> > Though I must say that I am a bit mystified as to why Windows is so fast
> > if it presumably relies on the D-link router for DNS relay also.
> 
> "presumably" - I suspect not. At least that would make for a natural 
> explanation...
> 
> Another possible explanation: Do you have a firewall on the linux box?  
> If so, try disabling it. My rationale? If the firewall gets in the way 
> of udp:53 but not tcp:53, I'd expect the same 5-second delay, as the 
> resolver first tries udp and then falls back on tcp... (perhaps windows 
> "remembers" that udp failed and then plods on with tcp?)
> 
> It might be worth double-checking the firewall settings on the router.  
> Sounds like they're OK, but a quick browse is in order...
> 
> > I wish there was a way to keep my ISP DNS addresses in
> > the /etc/resolv.conf file permanently.  I think they get overwritten
> > after getting a DHCP response.
> 
> Can't the router be reconfigured?

I opened up port 53 for both UDP and TCP and it did seem to help some.  Still 
not as fast as when I edit the /etc/resolv.conf with my ISP DNS addresses.


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



Troubles with initramfs configuration

2007-05-15 Thread Dallas Clement
Dear All,

I'm having problems with configuring my initramfs so that the /init file
will be executed correctly.

If I have a configuration file for my initramfs as follows with the
simple "hello world" program as my init - it is executed fine.

dir /dev 755 0 0
nod /dev/console 644 0 0 c 5 1
nod /dev/loop0 644 0 0 b 7 0
dir /bin 755 1000 1000
file /bin/busybox ../../initramfs/busybox 755 0 0
slink /bin/ash busybox 777 0 0
dir /proc 755 0 0
dir /sys 755 0 0
dir /mnt 755 0 0
file init ../../initramfs/hello 777 0 0

however, if I replace the "hello world" program with say busybox or a
init.sh shell script, I get an error "Can't find /init to
execute...kernel panic... etc.".

file init ../../initramfs/busybox 777 0 0

Can anyone please give me some pointers?  I'm doing this with the
2.6.21.1 kernel.

Thanks,

Dallas Clement



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



Re: Troubles with initramfs configuration

2007-05-16 Thread Dallas Clement
On Tue, 2007-05-15 at 13:40 -0500, Dallas Clement wrote:
> Dear All,
> 
> I'm having problems with configuring my initramfs so that the /init file
> will be executed correctly.
> 
> If I have a configuration file for my initramfs as follows with the
> simple "hello world" program as my init - it is executed fine.
> 
> dir /dev 755 0 0
> nod /dev/console 644 0 0 c 5 1
> nod /dev/loop0 644 0 0 b 7 0
> dir /bin 755 1000 1000
> file /bin/busybox ../../initramfs/busybox 755 0 0
> slink /bin/ash busybox 777 0 0
> dir /proc 755 0 0
> dir /sys 755 0 0
> dir /mnt 755 0 0
> file init ../../initramfs/hello 777 0 0
> 
> however, if I replace the "hello world" program with say busybox or a
> init.sh shell script, I get an error "Can't find /init to
> execute...kernel panic... etc.".
> 
> file init ../../initramfs/busybox 777 0 0
> 
> Can anyone please give me some pointers?  I'm doing this with the
> 2.6.21.1 kernel.

I found the source of my troubles. It was a dumb mistake on my part.  I
had not statically linked the 'busybox' utility.  Hence, it was seg
faulting looking for some libraries that didn't exist.

It would be nice to see some error information however while initramfs
is trying to execute the 'init' program.  I would have found this much
sooner.


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



Can't access tty problems (initramfs)

2007-05-17 Thread Dallas Clement
I'm getting the infamous "Can't access tty; job control turned off"
message when I try to invoke the ash shell during my initial bootup.

My kernel is 2.6.21.1 and I'm using busybox 1.5.0.  I understand that ash
requires a
controlling tty rather than the console.  Though, I don't understand all
the reasons.

If I don't define a console however, I get a kernel panic from
initramfs.

Could someone please give me some pointers on how tty and console should
be configured?  I'm connected via my VGA port (not a serial port).

Here is the contents of my initramfs makefile:

dir /dev 755 0 0
nod /dev/tty0 666 0 5 c 4 0
nod /dev/tty1 666 0 5 c 4 1
nod /dev/tty2 666 0 5 c 4 2
nod /dev/tty3 666 0 5 c 4 3
nod /dev/tty4 666 0 5 c 4 4
nod /dev/tty5 666 0 5 c 4 5
nod /dev/tty6 666 0 5 c 4 6
nod /dev/tty7 666 0 5 c 4 7
nod /dev/tty8 666 0 5 c 4 8
nod /dev/ttyS0 666 0 5 c 5 0
nod /dev/console 644 0 0 c 5 1
nod /dev/null 666 0 0 c 1 3
nod /dev/hda 660 0 6 b 3 0
nod /dev/hda1 660 0 0 b 3 1
nod /dev/hdb 660 0 6 b 3 0
nod /dev/hdb1 660 0 0 b 3 1
nod /dev/hdf 660 0 6 b 3 0
nod /dev/hdf1 660 0 0 b 3 1
dir /bin 755 1000 1000
file /bin/busybox /home/dallas/initramfs/busybox 755 0 0
slink /bin/ash busybox 777 0 0
slink /bin/mkdir busybox 777 0 0
slink /bin/mount busybox 777 0 0
slink /bin/cat busybox 777 0 0
slink /bin/switch_root busybox 777 0 0
dir /root 700 0 0
dir /proc 755 0 0
dir /sys 755 0 0
dir /var 755 0 0
dir /var/lock 755 0 0
dir /tmp 755 0 0
dir /mnt 755 0 0
dir /mnt/realroot 755 0 0
dir /etc 755 0 0
file /etc/fstab /home/dallas/initramfs/fstab 755 0 0
file /init /home/dallas/initramfs/init.ash 755 0 0





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



Problems loading modules from init

2007-05-19 Thread Dallas Clement
I'm trying to load modules from an init script that is executing in a
cross-compiled 2.6.21 kernel.  When I try to load a module with the
'modprobe' command - I'm getting a very simple error which is not of
much use:

modprobe -v scsi_mod

The error message is "modprobe:  Failed to load module scsi_mod" and
that's it.  I'd like to see some more detailed information concerning
the error.

I've copied my modules in the /lib/modules dir and everything appears to
be intact that would be needed.

When I use the 'dmesg' command, I do not see anything pertaining to this
failure.  I have also passed in the 'debug' option on the kernel command
line.  This wasn't helpful either.  I also tried looking in
the /var/log/messages file and there is nothing there.

Could anyone please give me some pointers on how to debug things
further?

Thanks,
Dallas


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



Unknown symbol devres_alloc

2007-05-19 Thread Dallas Clement
I'm trying to load a module libata.ko and I'm getting an error message:

libata:  Unknown symbol devres_alloc

I can see that this symbol is found in the file /lib/devres.o within my
linux 2.6.21.1 distribution.

However, I'm not sure how this symbol should be loaded.  Can anyone
please help?

Thanks!


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



Detecting disk drives from an installation script

2007-06-14 Thread Dallas Clement
Can anyone please recommend the best way to programatically obtain disk
drive information, partition, and format from an install script?

I presume I could parse the output of "fdisk -l" to get the drive info.
Seems like there has got to be a better or less error prone method for
doing this sort of stuff.  Also, fdisk is interactive.  I'd like to
emulate something like the Debian installer that lists the various
drives and partitions, allows the user to setup partitions and format,
as well as select the partition to install Linux to.

Any recommendations will be greatly appreciated!

Regards,

Dallas Clement


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



Which device did I boot from?

2007-06-21 Thread Dallas Clement
Hello all,

I'm trying to determine which device I booted Linux from at run-time.
I'd like to obtain the boot device's major/minor numbers or at least
it's name while executing an init script from initramfs.

Does anyone know how this can be done?

Thanks!


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



Re: Which device did I boot from?

2007-06-22 Thread Dallas Clement
On Fri, 2007-06-22 at 19:37 +0200, Matus UHLAR - fantomas wrote:
> > Dallas Clement wrote:
> > > I'm trying to determine which device I booted Linux from at run-time.
> > > I'd like to obtain the boot device's major/minor numbers or at least
> > > it's name while executing an init script from initramfs.
> 
> why?
> 

I'm trying to run a custom Linux install script from initramfs.  I want
to avoid the possibility of mistakenly installing Linux over the top of
my boot device. :)  Hence, needing to know with certainty which device I
booted Linux from.

I'm trying to boot Linux from a USB drive on a system that may have
other USB, IDE, SCSI drives present, each of which could possibly have
GRUB/Linux already installed.

Ideally I would like to determine the root device without ever having
mounted any other devices.

If I know which is the boot device, I can present a menu of choices
excluding the boot device on which Linux can be installed which would
involve partitioning, formatting, and copying files.


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



Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
Hello All,

I'm having some trouble installing a busybox debian package which I
built on my Debian system.  I previously built and installed a glibc
binary debian package successfully.  The busybox package installation is
failing complaining that the libc6-i386 package which it depends on is
not installed.  It gives the following error:

dpkg: package busybox depends on libc6-i386, which is not installed or
flagged to be installed

However, I know that libc6-i386 is installed.  If I examine the contents
of the dpkg 'status' file as follows I get the following:

cat /var/lib/dpkg/status

Package: libc6
Version: 2.3.6
Section: libs
Priority: required
Architecture: i386
Maintainer: Dallas Clement <[EMAIL PROTECTED]>
Description: The GNU C library
 The GNU C library is the standard C/C++ library \
 needed to support most Linux applications.
Status: install ok installed

--

The following is the info for the glibc package which I built:

[EMAIL PROTECTED]:~/packages/glibc$ dpkg --info libc6-i386.deb
 new debian package, version 2.0.
 size 7129020 bytes: control archive= 328 bytes.
 280 bytes,11 lines  control
 Package: libc6
 Version: 2.3.6
 Section: libs
 Priority: required
 Architecture: i386
 Depends:
 Maintainer: Dallas Clement <[EMAIL PROTECTED]>
 Description: The GNU C library
  The GNU C library is the standard C/C++ library \
  needed to support most Linux applications.

The following is the info for the busybox package which I built:

[EMAIL PROTECTED]:~/packages$ dpkg --info busybox_1.6.0-1_i386.deb
 new debian package, version 2.0.
 size 233752 bytes: control archive= 619 bytes.
 444 bytes,12 lines  control
 258 bytes, 4 lines  md5sums
 Package: busybox
 Version: 1.6.0-1
 Section: unknown
 Priority: extra
 Architecture: i386
 Depends: libc6-i386 (>= 2.3.5-1)
 Installed-Size: 436
 Maintainer: Dallas Clement <[EMAIL PROTECTED]>
 Description: Busybox UNIX command utilities.
  BusyBox combines tiny versions of many common UNIX utilities into \
  a single small executable. It provides replacements for most of the \
  utilities you usually find in GNU fileutils, shellutils, etc.

--

I could very likely be doing something wrong, but just not sure what it
is.  I don't see a reason for the dependency to fail.

I'd sure appreciate any help.

Regards,

Dallas Clement



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



Re: Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
On Wed, 2007-07-11 at 11:55 -0600, Bob Proulx wrote:
> Dallas Clement wrote:
> > Package: libc6
> 
> libc6 is not the same as libc6-386
> 
> > [EMAIL PROTECTED]:~/packages/glibc$ dpkg --info libc6-i386.deb
> >  Package: libc6
> 
> Same here.  libc6 is not the same as libc6-386
> 
> > [EMAIL PROTECTED]:~/packages$ dpkg --info busybox_1.6.0-1_i386.deb
> >  Depends: libc6-i386 (>= 2.3.5-1)
> 
> The dependency is upon libc6-386 and you only have libc6 installed.
> 
> Bob
> 
> 

I had tried it as libc6-i386 earlier and got the same results.  With
that attempt, my /var/lib/dpkg/status contains:

Package: libc6-i386
Version: 2.3.6
Section: libs
Priority: required
Architecture: i386
Provides: glibc-2.3.6
Maintainer: Dallas Clement <[EMAIL PROTECTED]>
Description: The GNU C library
 The GNU C library is the standard C/C++ library \
 needed to support most Linux applications.
Status: install ok installed



The dpkg error when I try to install a package that depends on it is as
follows:

dpkg: package e2fsprogs depends on libc6-i386, which is not installed or
flagged to be installed



I'm using the dpkg version 1.13.25 to build the packages on my Debian
Etch 4.0 system and I'm using the busybox 1.6.1 'dpkg' on my target
system to install the packages.






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



Re: Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
On Wed, 2007-07-11 at 15:30 -0400, Kamaraju S Kusumanchi wrote:
> What is the output of
> 
> dpkg -l e2fsprogs

The output of dpkg -l on my target system is:

Name  Version
+++-=-==
ii  libc6-i3862.3.6

Hence, I can see that the package 'libc6-i386' is indeed installed.

The subsequent attempt to install busybox,  e2fsprogs or any other
package that depends on libc6-i386 fails however.

dpkg: package e2fsprogs depends on libc6-i386, which is not installed or
flagged to be installed



Btw, the target system on which I am installing these packages is a
custom built Linux kernel 2.6.21.1.  I'm using the busybox 'dpkg'
command to install the packages on this system.

I'm not having any problems building the packages for busybox,
e2fsprogs, or whatever.  Just having problems installing them due to
these dependency issues with libc6-i386 which should already be
installed as seen above.


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



Re: SATA support

2007-07-12 Thread Dallas Clement
On Thu, 2007-07-12 at 16:32 -0500, Dustin wrote:
> I'm building my first PC, it will run Debian of course.
> 
> I'm buying the parts off of newegg.com and noticed that many of the 
> newer DVD burners have a SATA interface.  I'm looking at getting both 
> the HDDs and the DVD burner with a SATA interface, but wasn't sure if it 
> could make the process more complicated from a Debian standpoint, and 
> wanted to see how safe of a bet it would be to use one.
> 
> I understand that the interface is faster and cleaner from a physical 
> standpoint, but more complicated and less tried and true from a software 
> standpoint.
> 
> I would prefer to have the option to playback DVD movies on this 
> machine, in the past I've had trouble getting smooth playback on a PC 
> versus a dedicated stand alone DVD player.  This may only be an issue 
> with older machines, but I might be wrong in that assumption.
> 
> Any advice on this issue, or any issue in building a newer Debian PC 
> would be excellent.
> 
> Thanks in advance for the help.
> 
> Dustin

If you stick with the latest Debian Etch stable release, you'll be fine.
All the SATA drivers imaginable are included in the 2.6 kernel.  That is
not the case with 2.4.  I learned from first hand experience.

SATA is definitely the way to go.  Very good performance/price ratio.

Good luck,
Dallas


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



Re: Difficulty with dpkg dependencies

2007-07-12 Thread Dallas Clement
On Thu, 2007-07-12 at 16:08 -0600, Bob Proulx wrote:
> Dallas Clement wrote:
> > The output of dpkg -l on my target system is:
> > ii  libc6-i3862.3.6
> > Hence, I can see that the package 'libc6-i386' is indeed installed.
> 
> It does look like it.
> 
> > The subsequent attempt to install busybox,  e2fsprogs or any other
> > package that depends on libc6-i386 fails however.
> > 
> > dpkg: package e2fsprogs depends on libc6-i386, which is not installed or
>  flagged to be installed
> 
> That is very strange and I don't see an obvious problem or solution.
> 
> It is strange that the official Debian package for busybox depends on
> libc6 while your custom version depends upon libc6-386.  That is a
> difference that should be tracked down.  Your custom version should
> build exactly the same way that the Debian version builds.  Especially
> since raju reported that it worked fine for him and I am sure it would
> for me as well.
> 
> You may have something strange going on with your particular system.
> You might want to try building in a clean chroot so as to isolate
> problems.  The 'pbuilder' package can help you here.
> 
>   apt-cache show pbuilder
> 
> > Btw, the target system on which I am installing these packages is a
> > custom built Linux kernel 2.6.21.1.
> 
> Thanks for mentioning it but the choice of kernel will not affect the
> problem that you are currently seeing.
> 
> > I'm using the busybox 'dpkg' command to install the packages on this
> > system.
> 
> I did not realize that busybox provided a dpkg replacement.  Hopefully
> it uses dpkg-dev and so the behavior will be the same regardless of
> the front-end differences.
> 
> > I'm not having any problems building the packages for busybox,
> > e2fsprogs, or whatever.  Just having problems installing them due to
> > these dependency issues with libc6-i386 which should already be
> > installed as seen above.
> 
> Could you say a few words about why the pre-packaged version of
> busybox is not sufficient?  It would be motivating in the process of
> trying to help why your custom version does not install.
> 
> Bob
> 

Hello Bob, Thank you for the reply.

I'm using a cross-compiler to build busybox, e2fsprogs, and some other
applications for an embedded network appliance that does not have much
disk space.  Hence, wanting to configure and build myself so as to be
able to take out things that are not needed.

I think it is probably the cross-compiler that is adding the -i386 onto
libc6.  Regardless, I was under the impression that dpkg would do its
package dependency check by looking for the package name that is
depended on in the file /var/lib/dpkg/status.  As you can see from the
output I provided, the busybox package depends line clearly matches with
what is in this file.  Perhaps it is more complicated than this?

Busybox definitely provides a 'dpkg' command.  I would be surprised if
what I am experiencing is a bug in the implementation.  What I am doing
seems so basic!  I'm now looking at the code for the busybox dpkg
implementation and putting in some debug msgs to see why it is behaving
this way.

Cheers,
Dallas


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



Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Dallas Clement
On Fri, 2007-07-13 at 11:13 +0800, Yuwen Dai wrote:
> Dear all,
> 
> A daemon invoked by start-stop-daemon needs some extra enviroment
> variables.  How to pass them to the daemon?  Thanks in advance.
> 
> Best regards,
> Yuwen

I'm not sure if you meant environment variables or command line
arguments for the daemon.  Here is an example of how to provide a
command line arg to the udhcpc daemon.  You just put a '--' in front.

# Start a DHCP client daemon on each of the physical interfaces
/bin/start-stop-daemon -b -S --exec /bin/udhcpc \
-- --interface=eth0 \





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



Why do I bother?

2006-02-15 Thread S Clement
I am wondering if I should be sending this to Debian or to a psychiatric 
facility.

I have just spent a little over two weeks unable to connect to the web.  My 
windows connection went down and I could not re-install it.  I figured that 
shouldn't be a problem, I had Debian 3.0 on the other half of the drive.

After more than a dozen tries, understandable since I haven't installed it for 
over five years, I finally got it installed the way I wanted it.  Then I hit 
the wall.

I still can't use it to connect to the web.  I got to the point where it told 
me something about a sequence that was not 6-bit pure and the 7-bit was always 
zero.  X would not work.  I was told that there were no screens available.  The 
usb connectiion did not work and neither did the printer, an HP Officejet 4110.

I have ordered an installation set for 3.1 to see if it works any better.  If 
it doesn't, I'll have to relegate Debian to the status of toy, somthing to play 
with.  For work I will have to use WinXP.  With that I stick the disks in and 
it installs and works.  There are modifications I make, but it works.

When will Debian?

__
Stops spam 100% for your email accounts or you get paid. http://www.cashette.com


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



Why?

2006-07-10 Thread S Clement
I am new to Debian - within the last two weeks - and two things puzzle me.

Why do you seem to prefer gnome over kde?  I have examined both and kde seems 
to me to be easier to use.  There must be something I am missing.

Is it worth hunting for a way to change the default?

Where did you get that logo?  When it came up on the gnome desktop it 
immediatlely reminded me of something being flushed down the drain.  I hope it 
doesn't mean that!

Adelard
__
Stops spam 100% for your email accounts or you get paid. http://www.cashette.com


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



X config

2005-12-27 Thread S Clement
 No matter what I do with the XF86Config-4 in /etc/X11, I get the same fatal 
error message at the end:
   xf86OpenConsole: Cannot find a free VT
 
I could not find anything like xf86OpenConsole.  When I had Debian before, X 
attached itself to tty7 automatically.  Any ideas?  I cannot find xvidtune.
 
Incidentally, I have Debian GNU/Linux 3.0 installed on a Toshiba Satellite 
A-30.  The 40 Gig drive is halved with WinXP and Debian.  The Debian is on 
multiple partitions, one each for /swap, /, /home, /usr and /var.  Boot is 
controlled by lilo.  
 
I have some trouble connecting to the web using Debian but that is secondary to 
the X problem.
 
Whatever you can do, thanks.
 
Shane

__
Stops spam 100% for your email accounts or you get paid. http://www.cashette.com


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



Getting xfree86 running

2005-12-31 Thread S Clement
I have been trying different things to get XFree86 running.  The last message I 
got was:
xfOpenConsole: command not found

When I try vidtune, I get:
Error: Can't open display

Again: I have Debian 3.0 running on half of a 40 Gig drive on a Toshiba 
Satellite A30.  Boot control is lilo and it works fine.  I haven't run Debian 
for years and I'll be damned if it'll beat me this time.

It would be extremely difficult to get you a copy of the XF86Config-4 file 
because I cannot a connect to the internet except with WinXp.  I can't print 
from Bebian, either.  Sorta makes you wonder why I bother, don't it?

Any help would be appreciated.

__
Stops spam 100% for your email accounts or you get paid. http://www.cashette.com


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



Connecting to net with Debian 3.0

2006-01-14 Thread Shane Clement
I have a Toshiba Satelliite A30 laptop with a 40 Gig drive,
half of which is given to Debian.  I have used pppconfig to
set up for connecting to the net as via "provider".  After
entering 

   pon 

he plog listing says that the connect script failed but
does not say where.  Is there a way I can find where the
script failed?

Thanks for any help.

Shane

To reply, please remove NOSPAM from the Reply-To address (becomes the To 
address when sending.






__ 
Find your next car at http://autos.yahoo.ca


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



Slow signal delivery to server process with heavy I/O

2010-07-09 Thread Dallas Clement
Hi All,

I've noticed that asynchronous signals such as SIGINT, SIGTERM etc are
delivered to my process long after the signal is sent if the receiving
process is handling lots of I/O.  My process is a multi-threaded web
server.  It's got one thread waiting on 'select' to accept incoming
connections and a thread pool which reads the data with 'recv'.

When I batter the web server with incoming traffic and I try to
shutdown the server by sending a SIGINT or SIGTERM, I have observed
that the web server finishes handling the incoming traffic before the
kernel dispatches the signal to the process.  It appears that the
'select' and 'recv' calls are getting highest priority with regard to
scheduling.

I realize this test may appear unnatural and is perhaps unrealistic,
but I would like to be able to shutdown my server gracefully within a
reasonable amount of time, no matter what kind of load it is handling.
  Don't want to have to wait several minutes for my signals to get
handled under heavy load.  Could someone please explain why signal
delivery is slow under these conditions?

Thanks in advance,

Dallas


-- 
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/aanlktikxnktekiri-bbdky6lvl8upw3ejkcw7kmzh...@mail.gmail.com



Debian and Win XP

2004-10-20 Thread Shane Clement
I have a Toshiba Satellite A30 with Win XP installed.  How
do I resize the ntfs file system since fips will not work
on it and the only ntfsresize I can find is set to run
under Linux.

Given that I need to know how to make a bootable Linux
cdrom with ntfsresize on it.  Some bright apple decised
that my computer did not require a floppy drive so I have a
40 gig HD and a ups connector.  I am about ready to say to
hell with the dual boot and give it all to Debian but I
don't know how it would handle the large disk size.

Ain't life grand?

=
To reply, please remove NOSPAM from the Reply-To address (becomes the To address when 
sending.

__ 
Post your free ad now! http://personals.yahoo.ca


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



php and suexec on debian

2003-07-31 Thread Clement Hermann
Hi,

I'm trying tu use php in cgi mode with suexec.

I had no problem with this setup previously, as I used to compile apache
myself, so I could specify whichever path I want for docroot and userdir.
I used to specify --suexec-userdir=cgi-bin, and to put a php binary in a
$HOME/cgi-bin directory for each user, and each virtualhost had the
following configuration:
user foo
group foo
DocumentRoot /www
Servername blabla
errorlog blabla
customlog blabla combined
AddType application/my-x-httpd-php .php
Action  application/my-x-httpd-php /cgi-php/php
ScriptAlias /cgi-php /cgi-bin
I took a quick look on the debian/rule file of the apache source
package, and saw that userdir was "public-html". docroot was /var/www,
but as I intended to use the userdir, I did not bother.
So, I replaced cgi-bin by public_html, but the suexec log keeps telling
me that php is outside the docroot. But when I use the userdir, I don't
rely upon the docroot, Or do I ?
I Also tried to specify a directory inside the docroot (say,
/var/www/foo_cgi-bin), but the I have no error with suexec, but php
return a parse error on the binary (!).
I'd really appreciate if someone with a little experience with suexec on
debian could tell me what I messed up.
Best regards,

PS: Sorry for debian-user-french readers who might have seen this mail
in french before... ;)
--
Clément Hermann |--|
Administrateur systèmes et réseaux  | +33 (0)4-76-44-50-50 |
Business & Decision.Eolas   | http://www.eolas.fr  |
|--|


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



Re: php and suexec on debian

2003-07-31 Thread Clement Hermann
Yves Goergen wrote:

maybe this doesn't help you with suexec, but i don't use php+suexec anymore. i switched to suphp (www.suphp.org), which runs as apache module (apache 1 only) and runs the php binary with a configurable uid/gid and php config file. that works fine, is easy to set up and does its job :)

well, why not, but if I have to compile apache, I'd rather stick with 
suexec, which works fine for me when I configure it my way...

but thanx anyway, maybe I'll give it a try, (when I'll see a greater 
version number on the homepage ;) )

--
Clément Hermann |--|
Administrateur systèmes et réseaux  | +33 (0)4-76-44-50-50 | 
Business & Decision.Eolas   | http://www.eolas.fr  |
|--| 



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



Re: How do I log onto anonymous ftp ?

2003-08-01 Thread Clement Hermann
David selby wrote:

Hello

I have logged onto ftps before, but never an anonymous one. I need to 
log into ftp://archive.progeny.com/
I can view the files with mozilla, no passwords needed. I will be 
using wget, but initially I want to loggon with ncftp, which I have 
used before.

I have tried

[EMAIL PROTECTED]:~$ ncftp -u anonymous  ftp://www.progeny.com
NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Could not connect to 216.37.46.132 -- try again later: Connection 
timed out.   Could not connect to 216.37.46.132 -- try again 
later: Connection timed out.   Could not connect to 
216.37.46.132 -- try again later: Connection timed out.   
Could not connect to 216.37.46.132 -- try again later: Connection 
timed out.   Redialing (try 
4)...   
[EMAIL PROTECTED]:~$
ncftp without any option will get you into any anonymous ftp server...
(as stated in the manpage, IIRC)
[EMAIL PROTECTED] nodens]$ ncftp archive.progeny.com
NcFTP 3.1.1 (Dec 23, 2001) by Mike Gleason ([EMAIL PROTECTED]).
Connecting to 
216.37.55.114... 
archive.progeny.com FTP server ready.
Logging 
in...  

  
   *** Welcome to Progeny's free software archive.
   http://www.progeny.com/
  
   This archive is available via FTP, HTTP, and RSYNC at:
   ftp://archive.progeny.com/
   http://archive.progeny.com/ (supports WebDAV)
   rsync://archive.progeny.com/
  
   Report problems to [EMAIL PROTECTED]
  
   *** 100 Mb/s hosting provided by One Call Internet.
   *** http://www.onecall.net/
Guest login ok, access restrictions apply.
Logged in to 
archive.progeny.com.  
ncftp / >

--
Clément Hermann |--|
Administrateur systèmes et réseaux  | +33 (0)4-76-44-50-50 | 
Business & Decision.Eolas   | http://www.eolas.fr  |
|--| 



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



Problems with package dependencies.

2002-12-16 Thread Jeffrey Clement
Good Morning All,

I've got Debian 3.0 / unstable installed on my laptop and I'm having 
some difficulties with installing a package I need.  I use Python 2.2 
for a lot of small app development and a GUI toolkit for Python called 
wxPython (which requires Python 2.2).

Python 2.1 was installed by default.  I then installed Python 2.2 as 
well and it's at the latest version.

---
mica root # apt-get install python2.2
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, python2.2 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 8  not upgraded.
---

So now I want to install wxPython which is in the package 
libwxgtk2.3-python.  So I try apt-get install libwx and it fails 
saying that I only have python 2.1.. instead of python 2.2.  Which is 
true.  Kind of.  There is a meta package called "python" that installs 
the symlinks to the Python interpreter (2.1) is /usr/bin and that 
package is what wxPython is looking at for the version number.  See below..

---
mica root # apt-get install libwxgtk2.3-python
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  libwxgtk2.3-python: Depends: python (>= 2.2) but 2.1.3-4 is to be 
installed
E: Sorry, broken packages
---

I've tried removing / upgrading the "python" package it's a dependency 
for half my system (KDE, and a lot of other stuff) so I can't really 
remove it.  How can I convince the libwxgtk to install properly?

Thanks,
Jeff


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