Burn CD

2008-01-08 Thread hce
Hi,

Is following burn CD command correct? I've got following errors:


 $ sudo cdrecord -scanbus

  cdrecord: Warning: controller returns wrong size for CD capabilities page.
1,1,0   101) '' 'ATAPI CDROM ' '110B' Removable CD-ROM
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

$ sudo cdrecord -v -eject speed=1 dev=1,1,0 cd.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
cdrecord: Continuing in 5 seconds...

TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Invalid or incomplete multibyte or wide character. Cannot
open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Thank you.

Jim


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



Re: mount dvd error

2008-01-08 Thread hce
On 1/7/08, Douglas A. Tutty [EMAIL PROTECTED] wrote:
 On Sun, Jan 06, 2008 at 01:54:53PM +0200, Andrei Popescu wrote:
  On Sun, Jan 06, 2008 at 08:28:28PM +1100, hce wrote:
   On 1/6/08, Andrei Popescu [EMAIL PROTECTED] wrote:
On Sun, Jan 06, 2008 at 04:34:30PM +1100, hce wrote:
 Hi,

 I tried to mount a dvd drive and got an error, is it correct file
 sytem type?  what is wrong to the mount command?

 $ mount -t udf /dev/hdc /media/disk
 mount: block device /dev/hdc is write-protected, mounting read-only
 mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
   
Try not specifying a filesystem and mount will try to guess it.
  
   That did not work in the first place:
  
   $ sudo mount /dev/hdc /media/disk
   Password:
   mount: block device /dev/hdc is write-protected, mounting read-only
   mount: you must specify the filesystem type
 
  Ok, then try iso9660.

 If that doesn't work, there could be damage to the disk.  Try cdck and
 see what it says.

Is cdck a command? I could not find it, or should I install it, what
is the package?

Thank you.

Jim


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



Re: What's your tools for C++ dev?

2008-01-08 Thread hce
On 1/9/08, Felix Cuello [EMAIL PROTECTED] wrote:
 Hello Michael,

 First of all you have to install:

 manpages-dev - Manual pages about using GNU/Linux for development
 manpages-posix-dev - Manual pages about using a POSIX system for development
 stl-manual - C++-STL documentation in HTML
 libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)

I could not get manpages-posix-dev:

E: Couldn't find package manpages-posix-dev

What is the manpages-posix-dev package name?

Thank you.

Jim


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



Re: What's your tools for C++ dev?

2008-01-08 Thread hce
On 1/9/08, Felix Cuello [EMAIL PROTECTED] wrote:
 Hello Michael,

 First of all you have to install:

 manpages-dev - Manual pages about using GNU/Linux for development
 manpages-posix-dev - Manual pages about using a POSIX system for development
 stl-manual - C++-STL documentation in HTML
 libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)

Is there a package for man C++?

Thank you.

Jim


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



Re: Burn CD

2008-01-08 Thread hce
On 1/8/08, steef [EMAIL PROTECTED] wrote:
 hce wrote:
  Hi,
 
  Is following burn CD command correct? I've got following errors:
 
 
   $ sudo cdrecord -scanbus
 
cdrecord: Warning: controller returns wrong size for CD capabilities 
  page.
  1,1,0   101) '' 'ATAPI CDROM ' '110B' Removable CD-ROM
  1,2,0   102) *
  1,3,0   103) *
  1,4,0   104) *
  1,5,0   105) *
  1,6,0   106) *
  1,7,0   107) *
 
  $ sudo cdrecord -v -eject speed=1 dev=1,1,0 cd.iso
  cdrecord: No write mode specified.
  cdrecord: Asuming -tao mode.
  cdrecord: Future versions of cdrecord may have different drive
  dependent defaults.
  cdrecord: Continuing in 5 seconds...
 
  TOC Type: 1 = CD-ROM
  scsidev: '1,0,0'
  scsibus: 1 target: 0 lun: 0
  cdrecord: Invalid or incomplete multibyte or wide character. Cannot
  open SCSI driver.
  cdrecord: For possible targets try 'cdrecord -scanbus'.
  cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 
  Thank you.
 
  Jim
 
 
 
 hi,

 what are you trying to burn: data, i guess? if so: include -data and
 -pad. what i remember of cdrecord: you should point to dev=ATAPI:1,1,0 ,
 try further with -tao or -dao within the command.
 hope this helps.
 reg.,

To burn photos (JPG files) in iso. I tried following command, but failed again:

$ sudo cdrecord dev=ATAPI:1,1,0 speed=1 -tao -v -eject cd1.iso

TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:1,1,0'
devname: 'ATAPI'
scsibus: 1 target: 1 lun: 0
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
cdrecord: Warning: controller returns wrong size for CD capabilities page.
Device type: Removable CD-ROM
Version: 0
Response Format: 1
Vendor_info: ''
Identifikation : 'ATAPI CDROM '
Revision   : '110B'
Device seems to be: Generic mmc CD-ROM.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder
found on this target.
cdrecord: Warning: controller returns wron

Thanks steef and hth.

Jim


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



Re: mount dvd error

2008-01-06 Thread hce
On 1/6/08, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sun, Jan 06, 2008 at 04:34:30PM +1100, hce wrote:
  Hi,
 
  I tried to mount a dvd drive and got an error, is it correct file
  sytem type?  what is wrong to the mount command?
 
  $ mount -t udf /dev/hdc /media/disk
  mount: block device /dev/hdc is write-protected, mounting read-only
  mount: wrong fs type, bad option, bad superblock on /dev/hdc,
 missing codepage or other error
 In some cases useful info is found in syslog - try
 dmesg | tail  or so

 Try not specifying a filesystem and mount will try to guess it.

That did not work in the first place:

$ sudo mount /dev/hdc /media/disk
Password:
mount: block device /dev/hdc is write-protected, mounting read-only
mount: you must specify the filesystem type

Thank you.

Kind Regards,

Jim


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



mount dvd error

2008-01-05 Thread hce
Hi,

I tried to mount a dvd drive and got an error, is it correct file
sytem type?  what is wrong to the mount command?

$ mount -t udf /dev/hdc /media/disk
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

Thank you.

Jim


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



Re: DVD driver

2008-01-03 Thread hce
On 1/4/08, Charlie [EMAIL PROTECTED] wrote:
 On Thu, 3 Jan 2008, hce shared this with us all:
 --} but the
 --} mplayer could not play with them, either from the -R disk or from the
 --} harddisk.

 Sounds like the copy is crook? Because it should be able to play from the hard
 drive if the copy is all right?

I checked the VOB file size which copied to hard driver, it was
exactly same to the file in -R. I agree with you, it should be able to
play from the hard deriver. I have to say, it is quite puzzling to me.

Thank you.

Jim


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



DVD driver

2008-01-02 Thread hce
Hi,

I have a DVD+R driver, sometime it can detect a DVD disk
automatically, sometime it is not:

1. If the DVD driver cannot detect a DVD disc inserted to the driver,
what is the command I can use to manually mount the DVD?

2. Can a DVD+R driver work to a DVD-R disk? I thought the different
between the DVD+R and DVD-R is the laser beam,  if I can copy DVD-R
video files to harddisk, then play video from harddisk should be fine,
is it correct? Or any alternatives or tricks to watch video from DVD-R
disk?

Thank you.

Jim


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



Re: DVD distorted picture

2008-01-02 Thread hce
On 1/1/08, Mark Fletcher [EMAIL PROTECTED] wrote:
 hce webmail.hce at gmail.com writes:

 
  Hi,
 
  I am using mplayer to watch DVD video movies. Some DVD can be
  displayed on the screen well, but others were displayed in a distorted
  picture with 3 columns repeated the same contents. Does anyone know
  what was that problem and how to fix it?
 
  I was using following command:
 
  mplayer -fs dvd:media/INCONVENIENTTRUTH/VIDEO_TS/VTS_01_1.VOB

 First of all, you should be able to use a more simplified command line,
 something like:

 mplayer -fs dvd://

 should do it. You may have to specify a title number, start with mplayer -fs
 dvd://1 and increase the number until something sensible happens. Hard to tell
 you in advance which number to use, depends on the DVD.

 Now, to your problem. I think we first need to figure out if this is an
 mplayer issue or an issue with the DVD itself. Try playing the DVD on a normal
 player, or using another program like totem. Do you get the same effect?

 If so, it's a problem with the DVD. If the DVD is an original, bought copy,
 you've either been ripped off or something has gone seriously screwy. If it's
 a copy, that's what you get for trying to rip off the film company ;-)

 Now assuming other players play it OK, it's starting to sound like an mplayer
 problem. It would be helpful to see the text output by mplayer when playing 
 the
 DVD.

 If mplayer has a problem and so does some other software eg totem, but a
 hardware DVD player has no problem with it, that implies problems with the DVD
 reading libraries such as libdvdread and libdvdcss, in which case we are
 starting to get out of my depth, but let us know what versions of these
 libraries you have anyway...

Thanks Mark, I've just realized my DVD driver is DVD+R, that the DVD
disk is DVD-R. Any tricks to play DVD-R disk on DVD+R driver?

Thank you.

Jim


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



Re: DVD driver

2008-01-02 Thread hce
On 1/3/08, Ron Johnson [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 01/02/08 17:07, hce wrote:
  Hi,
 
  I have a DVD+R driver, sometime it can detect a DVD disk
  automatically, sometime it is not:
 
  1. If the DVD driver cannot detect a DVD disc inserted to the driver,
  what is the command I can use to manually mount the DVD?
 
  2. Can a DVD+R driver work to a DVD-R disk? I thought the different
  between the DVD+R and DVD-R is the laser beam,  if I can copy DVD-R
  video files to harddisk, then play video from harddisk should be fine,
  is it correct? Or any alternatives or tricks to watch video from DVD-R
  disk?

 I don't think there *is* a DVD driver, per se.  There's the UDF fs
 driver, though.  You might mean that.

To be hornest, I am not clear how the DVD system works. Is the DVD
like a CD, the module need be loaded, then be mounted to a file
system? I guess that UDF fs is the file system for the DVD. I more
concern with the DVD formats for different DVD RW devices. Are the
different formats DVD-R and DVD+R only presented in physical device,
not on a file system? As long as the device is mounted to a file
system such as UDF, there won't be any difference to read contents
from the file system, is that correct?

 What DE do you use?  GNOME, KDE, xfce???  That's what usually auto-
 recognizes inserted DVDs.

I am using GNOME.

Thank you.

Jim


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



Re: DVD distorted picture

2008-01-02 Thread hce
On 1/3/08, Ron Johnson [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 01/02/08 17:17, hce wrote:
 [snip]
 
  Thanks Mark, I've just realized my DVD driver is DVD+R, that the DVD
  disk is DVD-R. Any tricks to play DVD-R disk on DVD+R driver?

 I don't think you can.  (DVD-R  +R are different...)

 How old is that drive?  It's been a good long while since I've seen
 a DVD-R or DVD+R unit.  For 3+ years, everything I've seen has been
 multi-function.

The device was purchased two years ago, LG Super multi RW DVD+R. Does
that muti-function means it can read the DVD-R as well?

Thanks.

Jim


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



Re: DVD driver

2008-01-02 Thread hce
On 1/3/08, David Fox [EMAIL PROTECTED] wrote:
 On 1/2/08, hce [EMAIL PROTECTED] wrote:

  2. Can a DVD+R driver work to a DVD-R disk? I thought the different
  between the DVD+R and DVD-R is the laser beam,  if I can copy DVD-R

 It's a bit more complicated than that - dvd-r  dvd+r are somewhat
 different methods to
 write to the disks, and the disks themselves are formulated a bit
 differently, if I understand the various links (1) that I've only just
 cursorily investigated.

 That being said, is your DVD drive capable of reading  writing the -R
 and +R formats? Many modern dvd drives are able to do that. What about
 Iif applicable) a dvd-player that's attached to your
 stereo/entertainment system?

It is capable of reading and writing +R format, and it can also read
the -R or copy files from -R disk to the hardware disk, but the
mplayer could not play with them, either from the -R disk or from the
harddisk.

That is exactly a question I would like to ask, how can a comercial
dvd-player to play +R and -R formats? Or, does the DVD-player has a
DVD device for both +R and -R?


 I guess what you refer to as driver I'd either want to interpret as
 the dvd media itself or the underlying drive hardware.

I refere to mounted /media/disk or /dev/dvd link where I can access it's files.


  is it correct? Or any alternatives or tricks to watch video from DVD-R
  disk?

 Can the disk itself be read? That would seem to be the most important
 thing. And that may not have anything to do with the software you are
 using or the drive, but depend more on the quality of the media.

Yes, the disk iteself can be read. See above.

 (1) http://en.wikipedia.org/wiki/DVD-R
  but see the reference why DVD+R is superior to DVD-R there too


Yah, have seen it.

Thanks.

Jim


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



DVD distorted picture

2007-12-31 Thread hce
Hi,

I am using mplayer to watch DVD video movies. Some DVD can be
displayed on the screen well, but others were displayed in a distorted
picture with 3 columns repeated the same contents. Does anyone know
what was that problem and how to fix it?

I was using following command:

mplayer -fs dvd:media/INCONVENIENTTRUTH/VIDEO_TS/VTS_01_1.VOB

Thank you.

Jim


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



program manual package

2007-12-28 Thread hce
Hi,

What packages I can use man to display program manual, such as man
recv, man string, for both C and C++ (ISO) in my Debian machine?

Thank you.

Jim


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



Package to display program manual

2007-12-26 Thread hce
Hi,

What is the package to display C and C++ program manual such as man
fprintf, etc.?

Thank you.

KInd Regards,

Jim


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



Re: wifi network connection

2007-12-25 Thread hce
On 12/26/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Tue December 25 2007, hce wrote:
 
  Yes, I run the ppp manually. I did run iptable manually, but did not
  seems anything added to the list?
 
  ~$ sudo /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
  ~$ sudo /sbin/iptables -L
  Chain INPUT (policy ACCEPT)
  target prot opt source   destination
 
  Chain FORWARD (policy ACCEPT)
  target prot opt source   destination
 
  Chain OUTPUT (policy ACCEPT)
  target prot opt source   destination
 
   the ip forwarding is still enabled right ?
 
  Yes,  I added net.ipv4.conf.default.forwarding=1 in /etc/sysctl.conf
 
  I also tried ifconfig eth1 down and run eth1 by udhcpc, but failed.
 
  $ sudo /sbin/udhcpc -i eth1
  udhcpc (v0.9.9-pre) started
  Sending discover...
  Sending discover...
  Sending discover...
  Lease failed:
 Why are you running dhcp client on eth1 ? its configured with a static IP.

I tried to set static IP down and using dhcp client to test dhcp
server. But, does not make sense.

  ~$ cat /etc/resolv.conf
  nameserver 203.49.70.20
  nameserver 139.134.2.190
 
  Did that mean? Why ISP dhcp server did not respose? If that does not
  work on my laptop, the wifi router won't get it work either?

 ISP dhcp server is not likely to respond to dhcp requests from eth1. your ppp
 is getting IPs from your ISP. Not eth1.

Understand.

 when both ppp0 and eth1 is up, run the following commands as root:

 These commands flushes out any iptables rules:
 #iptables --flush
 #iptables --table nat --flush
 #iptables --delete-chain
 #iptables --table nat --delete-chain

 These 2 commands gets NAT and forwarding on:
 #iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
 #iptables --append FORWARD --in-interface eth1 -j ACCEPT

I did those two commands, but still not working.

~$ sudo /sbin/iptables -L Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
ACCEPT 0--  anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

Should I make eth1 accept for both INPUT and OUTPUT as well?

Thank you.

Jim


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



Re: wifi network connection

2007-12-25 Thread hce
Thanks Mihira, it works after I rebooted the wifi router.

Thank you for your patient helps.

Kind Regards,

Jim
On 12/25/07, hce [EMAIL PROTECTED] wrote:
 On 12/26/07, Mihira Fernando [EMAIL PROTECTED] wrote:
  On Tue December 25 2007, hce wrote:
  
   Yes, I run the ppp manually. I did run iptable manually, but did not
   seems anything added to the list?
  
   ~$ sudo /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
  
   ~$ sudo /sbin/iptables -L
   Chain INPUT (policy ACCEPT)
   target prot opt source   destination
  
   Chain FORWARD (policy ACCEPT)
   target prot opt source   destination
  
   Chain OUTPUT (policy ACCEPT)
   target prot opt source   destination
  
the ip forwarding is still enabled right ?
  
   Yes,  I added net.ipv4.conf.default.forwarding=1 in /etc/sysctl.conf
  
   I also tried ifconfig eth1 down and run eth1 by udhcpc, but failed.
  
   $ sudo /sbin/udhcpc -i eth1
   udhcpc (v0.9.9-pre) started
   Sending discover...
   Sending discover...
   Sending discover...
   Lease failed:
  Why are you running dhcp client on eth1 ? its configured with a static IP.

 I tried to set static IP down and using dhcp client to test dhcp
 server. But, does not make sense.

   ~$ cat /etc/resolv.conf
   nameserver 203.49.70.20
   nameserver 139.134.2.190
  
   Did that mean? Why ISP dhcp server did not respose? If that does not
   work on my laptop, the wifi router won't get it work either?
 
  ISP dhcp server is not likely to respond to dhcp requests from eth1. your 
  ppp
  is getting IPs from your ISP. Not eth1.

 Understand.

  when both ppp0 and eth1 is up, run the following commands as root:
 
  These commands flushes out any iptables rules:
  #iptables --flush
  #iptables --table nat --flush
  #iptables --delete-chain
  #iptables --table nat --delete-chain
 
  These 2 commands gets NAT and forwarding on:
  #iptables --table nat --append POSTROUTING --out-interface ppp0 -j 
  MASQUERADE
  #iptables --append FORWARD --in-interface eth1 -j ACCEPT

 I did those two commands, but still not working.

 ~$ sudo /sbin/iptables -L Chain INPUT (policy ACCEPT)
 target prot opt source   destination

 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT 0--  anywhere anywhere

 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination

 Should I make eth1 accept for both INPUT and OUTPUT as well?

 Thank you.

 Jim



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



Re: wifi network connection

2007-12-25 Thread hce
On 12/25/07, wanderlust [EMAIL PROTECTED] wrote:
 У пн, 2007-12-24 у 13:43 +1100, hce пише:
  Hi,
 
  I am doing an experiment to set up a home wifi network. The setup is
  descripbed as follows:
 
  I have a laptop running Debian connected to the ISP via phone line
  (ppp), the laptop has also an ethernet port, I set it to 192.168.5.1
  which connectes to a wifi router at Internet port. The wifi local LAN
  IP address  to 192.168.2.1. The nameserver in laptop is assigned by
  ISP 139.134.2.190 and the default gw in laptop does not have an IP
  address, but the iface = ppp0.
 
  I have another desktop connect tot he wifi LAN via udhcpc, it gets the
  ip address 192.168.0.252 from DHCP server of wifi route. On the
  desktop, the nameserver in resolv.conf sets to 192.168.0.1 and default
  gw sets to 192.168.0.1. But, the desktop could not connect to the
  internet. Any help what I was missing?
 
  Thank you.
 
  Jim
 
 

 Here is an iptables config from my wifi-network:

 # Generated by iptables-save v1.3.8 on Tue Dec 25 13:24:19 2007
 *nat
 :PREROUTING ACCEPT [63410:4479749]
 :POSTROUTING ACCEPT [39259:2493913]
 :OUTPUT ACCEPT [39199:2418755]
 -A POSTROUTING -s 192.168.0.0/255.255.255.0 -o ppp0 -j MASQUERADE
 -A POSTROUTING -s 192.168.1.0/255.255.255.0 -o ppp0 -j MASQUERADE
 COMMIT
 # Completed on Tue Dec 25 13:24:20 2007
 # Generated by iptables-save v1.3.8 on Tue Dec 25 13:24:20 2007
 *filter
 :INPUT ACCEPT [4558907:4280157754]
 :FORWARD ACCEPT [592010:86851941]
 :OUTPUT ACCEPT [4204932:1208883656]
 COMMIT
 # Completed on Tue Dec 25 13:24:20 2007
 # Generated by iptables-save v1.3.8 on Tue Dec 25 13:24:20 2007
 *mangle
 :PREROUTING ACCEPT [5151583:4367072131]
 :INPUT ACCEPT [4558907:4280157754]
 :FORWARD ACCEPT [592010:86851941]
 :OUTPUT ACCEPT [4204932:1208883656]
 :POSTROUTING ACCEPT [4797376:1295842013]
 -A FORWARD -o ppp0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss
 1400:1536 -j TCPMSS --clamp-mss-to-pmtu
 COMMIT
 # Completed on Tue Dec 25 13:24:20 2007

 My configuration is: LAN (192.168.2.0) - (192.168.2.254) wifi-router
 (192.168.1.18) - (192.168.1.1) InetServer (PPPoE connection) - DSL
 modem - Provider

 Router is taking IP address via DHCP from InetServer, and InetServer is
 taking DNS and etc from provider.

 Sincerely,
 wanderlust

Thanks  wanderlust, it is really good reference of iptable set up.
I'll change my iptables according to it.

Thank you.

Kind Regards,

Jim


Re: wifi network connection

2007-12-24 Thread hce
On 12/25/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Mon December 24 2007 2:43 am, hce wrote:
  Hi,
 
  I am doing an experiment to set up a home wifi network. The setup is
  descripbed as follows:
 [snip]
  The wifi local LAN IP address  to 192.168.2.1.
 [snip]
  I have another desktop connect tot he wifi LAN via udhcpc, it gets the
  ip address 192.168.0.252 from DHCP server of wifi route. On the
  desktop, the nameserver in resolv.conf sets to 192.168.0.1 and default
  gw sets to 192.168.0.1. But, the desktop could not connect to the
  internet. Any help what I was missing?

 Since the wifi router is on 192.168.2.0/24 shouldn't the DHCP network be on
 the same IP range and the DHCP clients getting IP : 192.168.2.1 as both
 gateway and nameserver ?

Sorry, it was my mistake, the local wifi route IP addres =
192.168.0.1.  I guess, the problem may be due to missing some services
in my Debian laptop, should I run the DHCP server on the Debian
laptop?

I actually tried to connect the local wifi route (with same set up
above) to a friend's ADSL modem which also sets the local LAN address
to 192.168.5.1. And, it works fine. It seems that the ADSL modem has
more proper setting than my Debian laptop.

Thank you.

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/25/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Mon December 24 2007 9:02 am, hce wrote:
 
  Sorry, it was my mistake, the local wifi route IP addres =
  192.168.0.1.  I guess, the problem may be due to missing some services
  in my Debian laptop, should I run the DHCP server on the Debian
  laptop?
 
  I actually tried to connect the local wifi route (with same set up
  above) to a friend's ADSL modem which also sets the local LAN address
  to 192.168.5.1. And, it works fine. It seems that the ADSL modem has
  more proper setting than my Debian laptop.
 
  Thank you.
 
  Jim

 What are you trying to do ? share your Dial up internet connection via the
 WIFI router ?
 or does the WIFI Router has its own connection to the internet ?

It is the former. The laptop Ethernet connects to the wifi Internet port.

 If its the former, you will need to enable IP forwarding in your laptop's
 interface that connects to the wifi router.

Right, that was missing on my laptop. Could you please explain more
how to enable the IP formward on my laptop (an example of commands
will be better).

 Also, If  you plan to setup dhcp on this interface, then your dhcp options
 must be configured so that
 1. dhcp clients gets an IP address in the same subnet as your interface
 laptop's ethernet.
 2. the WIFI router must NOT be doing dhcp (2 dhcp servers are not necessary )
 3. the dhcp clients must get your laptop's ethernet IP as both gateway and
 nameserver.

 Alternatively you can use WIFI router's DHCP server but configure it so that :
 1. Laptop ethernet, WIF Router and dhcp clients are all on the same ip network
 2. Laptop ethernet has ip forwarding enabled
 3. dhcp clients get laptop ethernet ip address as both gateway and nameserver.

I'll use the wifi router's DHCP server.

 Goes withut saying that laptop must have a caching dns service such as dnsmasq
 for this to work.

Right, please also explain more, or an example of commands.

Thank you.

Kind Regards,

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/24/07, Jesus Arocho [EMAIL PROTECTED] wrote:
 should not resolv.conf and gw point to the address of the router?  I would set
 up the interface on the desktop manually just to test the connection.
 You can enter the DNS provided by the ISP into resolv.conf or use the router
 as the DNS.

 Something along the lines of:

 # The primary network interface
 auto eth0
 iface eth0 inet static
 address 192.168.2.x
 netmask 255.255.255.0
 gateway 192.168.2.1

I guess you were talking about set up for my desktop which connected
to the wifi router as a local lan. If so, it was all done. The missing
parts were actually on my debian laptop as Mihira indicated such as ip
forwarding.

Thanks.

Kind Regards,

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/25/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Mon December 24 2007 11:02 am, hce wrote:
 
  Right, that was missing on my laptop. Could you please explain more
  how to enable the IP formward on my laptop (an example of commands
  will be better).
 
 To enable IP Forwarding, run (as root)
 # echo 1  /proc/sys/net/ipv4/ip_forward

 (you need to run this everytime the system reboots )

 [snip]
 
  I'll use the wifi router's DHCP server.
 Then in the wifi router's DHCP configuration, set the Gateway and name server
 to Laptop's ethernet IP address.
 
   Goes withut saying that laptop must have a caching dns service such as
   dnsmasq for this to work.
 
  Right, please also explain more, or an example of commands.
 install dnsmasq. its a lightweight dns caching server.

 # aptitude install dnsmasq

 in its default config, it will take name servers as given in resolv.conf so it
 should just work 'out of the box' in your case.

 That should get things going.

I did as per above, then did a reboot on my Debian laptop and ping
from my desktop in wifi local network:

# ping -c 2 www.google.com
PING www.l.google.com (209.85.175.147): 56 data bytes

--- www.l.google.com ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

It seems that the DNS works, but still could not get through the
Internet via my laptop. The laptop does not formward packges to ppp0,
something seems still missing in my loptop?

If I plug an Ethernet port from an ADSL modem to the wifi router, that
works. So, Iit seems to me that the wifi local network setting is
fine, the problem of setting is still in the debian laptop. Please see
following informaiton of my laptop status:

$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
139.134.108.242 *   255.255.255.255 UH0  00 ppp0
192.168.5.0 *   255.255.255.0   U 0  00 eth1
default *   0.0.0.0 U 0  00 ppp0

$ /sbin/ifconfig
eth1  Link encap:Ethernet  HWaddr 00:20:E0:64:6E:0A
  inet addr:192.168.5.1  Bcast:192.168.5.255  Mask:255.255.255.0
  inet6 addr: fe80::220:e0ff:fe64:6e0a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1110 (1.0 KiB)  TX bytes:1040 (1.0 KiB)

ppp0  Link encap:Point-to-Point Protocol
  inet addr:144.139.45.157  P-t-P:139.134.108.242  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:3872 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3609 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:1058759 (1.0 MiB)  TX bytes:460017 (449.2 KiB)

Is there any debug messages can see on the debian laptop when I ping
from wifi local network? There was noting shown from dmesg from the
laptop when I ping from the wifi local network.

Thanks all responses.

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/25/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Mon December 24 2007, hce wrote:
  I did as per above, then did a reboot on my Debian laptop and ping
  from my desktop in wifi local network:
 
  # ping -c 2 www.google.com
  PING www.l.google.com (209.85.175.147): 56 data bytes
 
  --- www.l.google.com ping statistics ---
  2 packets transmitted, 0 packets received, 100% packet loss
 
  It seems that the DNS works, but still could not get through the
  Internet via my laptop. The laptop does not formward packges to ppp0,
  something seems still missing in my loptop?
 NAT on eth1. I though that was already understood.
 You need iptables package to be installed (chances are its already installed).
 Several ways to enable it but easiest would be to add a line to
 the /etc/network/interfaces

 find the lines that configures eth1 and add this line at the bottom :
 up  iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

 then restart networking :
 # /etc/init.d/networking restart

The iptables has already been installed. I added up  iptables -t nat
-A POSTROUTING -o ppp0 -j MASQUERADE to the /etc/network/interfaces
and restarted networking, it did not work. I then rebooted the laptop,
it still did not work. Now, ping from the desktop on wifi local
network got backward, please see following result:

# ping -c 2 www.google.com
ping: www.google.com: Host name lookup failure


Thank you.

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/25/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Tue December 25 2007, hce wrote:

  The iptables has already been installed. I added up  iptables -t nat
  -A POSTROUTING -o ppp0 -j MASQUERADE to the /etc/network/interfaces
  and restarted networking, it did not work. I then rebooted the laptop,
  it still did not work. Now, ping from the desktop on wifi local
  network got backward, please see following result:
 
  # ping -c 2 www.google.com
  ping: www.google.com: Host name lookup failure
 
 
  Thank you.
 
  Jim

 Can you post your unedited /etc/network/interfaces here ?

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.5.1
netmask 255.255.255.0
network 192.168.5.0

Thank you.

Jim


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



Re: wifi network connection

2007-12-24 Thread hce
On 12/26/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Tue December 25 2007, hce wrote:
 
  auto lo
  iface lo inet loopback
 
  # The primary network interface
  allow-hotplug eth1
  iface eth1 inet static
  address 192.168.5.1
  netmask 255.255.255.0
  network 192.168.5.0
 
  Thank you.
 
  Jim
 You have no lines defining your ppp connection ? no matter,
 Remove the up iptables line from /etc/network/interfaces and after the ppp is
 up try running it from the command line to test if NAT is working.

Yes, I run the ppp manually. I did run iptable manually, but did not
seems anything added to the list?

~$ sudo /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

~$ sudo /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination


 the ip forwarding is still enabled right ?

Yes,  I added net.ipv4.conf.default.forwarding=1 in /etc/sysctl.conf

I also tried ifconfig eth1 down and run eth1 by udhcpc, but failed.

$ sudo /sbin/udhcpc -i eth1
udhcpc (v0.9.9-pre) started
Sending discover...
Sending discover...
Sending discover...
Lease failed:

~$ cat /etc/resolv.conf
nameserver 203.49.70.20
nameserver 139.134.2.190

Did that mean? Why ISP dhcp server did not respose? If that does not
work on my laptop, the wifi router won't get it work either?

Thank you.

Jim


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



wifi network connection

2007-12-23 Thread hce
Hi,

I am doing an experiment to set up a home wifi network. The setup is
descripbed as follows:

I have a laptop running Debian connected to the ISP via phone line
(ppp), the laptop has also an ethernet port, I set it to 192.168.5.1
which connectes to a wifi router at Internet port. The wifi local LAN
IP address  to 192.168.2.1. The nameserver in laptop is assigned by
ISP 139.134.2.190 and the default gw in laptop does not have an IP
address, but the iface = ppp0.

I have another desktop connect tot he wifi LAN via udhcpc, it gets the
ip address 192.168.0.252 from DHCP server of wifi route. On the
desktop, the nameserver in resolv.conf sets to 192.168.0.1 and default
gw sets to 192.168.0.1. But, the desktop could not connect to the
internet. Any help what I was missing?

Thank you.

Jim


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



Re: Network is unreachable email error

2007-12-16 Thread hce
On Dec 16, 2007 7:04 PM, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sun, Dec 16, 2007 at 11:08:46AM +1100, hce wrote:

  Sorry for faulse alarm, it is actually working. I sent a test mail
  from my mutt client, the  mail was received, but not delivered by the
  pop server. Some how, the fetchmail stopped workijng. That is another
  issue I'll have to fix it myselfe.

 If you are trying to retrieve your own test mail from gmail that won't
 work due to a strange idea of gmail: there should only be one copy of an
 email. Because this is a sent mail they won't allow you to retrieve it,
 though it will show up in the inbox on the web.

 The same goes for postings to mailing lists. I post using the gmail
 account, but I receive using another mail address, because gmail would
 just discard my own postings received through the mailing list (though
 they are not 100% identical to the sent ones).

That is good to learn. Thanks Andrei. Indeed, if I send a test mail
fron other mail client, it can receive it.

Thank you.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sat, Dec 15, 2007 at 11:08:19AM +1100, hce wrote:

   You're the client here not the server. For gmail as relayhost I have
   this setup:
 
  Does that mean I don't need to worry about ssl-cert-snakeoil.pem and
  ssl-cert-snakeoil.key, were they created by server?

 I never cared about those and my setup works just fine.

Ok, I don't ned to worry about it.

  I added those as per above, but same errors:
 
  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate

 This I don't know

  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate

 These you can ignore

  Dec 15 11:01:16 debian postfix/smtp[4779]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 15 11:01:16 debian postfix/smtp[4779]: 21BB842ABC: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[209.85.133.109]: no mechanism available
  Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification

 Aha, the old no worthy mechs error. What libsasl packages do you have
 installed? Please post the output of

 dpkg -l libsasl*


$ dpkg -l libsasl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
un  libsasl2-gssap none (no description available)
un  libsasl2-krb4- none (no description available)
un  libsasl2-modul none (no description available)


Thanks Andrei.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sat, Dec 15, 2007 at 07:49:20PM +1100, hce wrote:

   Aha, the old no worthy mechs error. What libsasl packages do you have
   installed? Please post the output of
  
   dpkg -l libsasl*
 
 
  $ dpkg -l libsasl*
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
  uppercase=bad)
  ||/ Name   VersionDescription
  +++-==-==-
  ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
  ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
  un  libsasl2-gssap none (no description available)
  un  libsasl2-krb4- none (no description available)
  un  libsasl2-modul none (no description available)

 Aha, I also have libsasl2-modules. Try installing it.

I've installed the ibsasl2-modul:

$ dpkg -l libsasl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
un  libsasl2-gssap none (no description available)
un  libsasl2-krb4- none (no description available)
ii  libsasl2-modul 2.1.22.dfsg1-8 Pluggable Authentication Modules for SASL
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)

And I reloaded the postfix, the no worthy mechs error seems gone,
but it still has following errors of certificate verification failed

Dec 16 10:36:21 debian postfix/master[2739]: reload configuration /etc/postfix
Dec 16 10:36:46 debian postfix/pickup[5109]: 0F6F242AC2: uid=1000
from=[EMAIL PROTECTED]
Dec 16 10:36:46 debian postfix/cleanup[5130]: 0F6F242AC2:
message-id=[EMAIL PROTECTED]
Dec 16 10:36:46 debian postfix/qmgr[5110]: 0F6F242AC2:
from=[EMAIL PROTECTED], size=458, nrcpt=1 (queue active)
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 16 10:36:58 debian postfix/smtp[5132]: 0F6F242AC2:
to=[EMAIL PROTECTED], relay=smtp.gmail.com[209.85.147.111]:587,
delay=13, delays=0.14/0.26/6.5/5.7, dsn=2.0.0, status=sent (250 2.0.0
OK 1197761799 m6sm14820186wag)
Dec 16 10:36:58 debian postfix/qmgr[5110]: 0F6F242AC2: removed


Thanks Andrei and Mihira.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/16/07, hce [EMAIL PROTECTED] wrote:
 On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
  On Sat, Dec 15, 2007 at 07:49:20PM +1100, hce wrote:
 
Aha, the old no worthy mechs error. What libsasl packages do you have
installed? Please post the output of
   
dpkg -l libsasl*
  
  
   $ dpkg -l libsasl*
   Desired=Unknown/Install/Remove/Purge/Hold
   | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
   |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
   uppercase=bad)
   ||/ Name   VersionDescription
   +++-==-==-
   ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
   ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
   un  libsasl2-gssap none (no description available)
   un  libsasl2-krb4- none (no description available)
   un  libsasl2-modul none (no description available)
 
  Aha, I also have libsasl2-modules. Try installing it.

 I've installed the ibsasl2-modul:

 $ dpkg -l libsasl*
 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
 uppercase=bad)
 ||/ Name   VersionDescription
 +++-==-==-
 ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
 ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
 un  libsasl2-gssap none (no description available)
 un  libsasl2-krb4- none (no description available)
 ii  libsasl2-modul 2.1.22.dfsg1-8 Pluggable Authentication Modules for SASL
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)

 And I reloaded the postfix, the no worthy mechs error seems gone,
 but it still has following errors of certificate verification failed

 Dec 16 10:36:21 debian postfix/master[2739]: reload configuration /etc/postfix
 Dec 16 10:36:46 debian postfix/pickup[5109]: 0F6F242AC2: uid=1000
 from=[EMAIL PROTECTED]
 Dec 16 10:36:46 debian postfix/cleanup[5130]: 0F6F242AC2:
 message-id=[EMAIL PROTECTED]
 Dec 16 10:36:46 debian postfix/qmgr[5110]: 0F6F242AC2:
 from=[EMAIL PROTECTED], size=458, nrcpt=1 (queue active)
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate
 Dec 16 10:36:58 debian postfix/smtp[5132]: 0F6F242AC2:
 to=[EMAIL PROTECTED], relay=smtp.gmail.com[209.85.147.111]:587,
 delay=13, delays=0.14/0.26/6.5/5.7, dsn=2.0.0, status=sent (250 2.0.0
 OK 1197761799 m6sm14820186wag)
 Dec 16 10:36:58 debian postfix/qmgr[5110]: 0F6F242AC2: removed

Sorry for faulse alarm, it is actually working. I sent a test mail
from my mutt client, the  mail was received, but not delivered by the
pop server. Some how, the fetchmail stopped workijng. That is another
issue I'll have to fix it myselfe.

Thans  Andrei, Mihira and all other responses for your patient and kindly helps.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-14 Thread hce
On 12/14/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Thu December 13 2007 9:16 pm, hce wrote:
  $ sudo apt-get install sasl
  E: Couldn't find package sasl
 
  What is the SASL package name?
  Thank you.
  Kind Regards,
  Jim

 $apt-cache search libsasl

E: Couldn't find package libsasl

 I believe the package is libsasl2

Building dependency tree... Done
libsasl2 is already the newest version.

Seems that the SASL has already been installed.

Could it be the problem of ssl-cert-snakeoil.pem and
ssl-cert-snakeoil.key? Should I manually to create them by openssl
(and how?)?

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

Thank you.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-14 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Fri, Dec 14, 2007 at 09:54:17PM +1100, hce wrote:

  Could it be the problem of ssl-cert-snakeoil.pem and
  ssl-cert-snakeoil.key? Should I manually to create them by openssl
  (and how?)?
 
  smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
 -^^^

 You're the client here not the server. For gmail as relayhost I have
 this setup:

Does that mean I don't need to worry about ssl-cert-snakeoil.pem and
ssl-cert-snakeoil.key, were they created by server?

 ---[ /etc/postfix/main.cf ]---

 smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 smtp_sasl_type = cyrus
 smtp_sasl_security_options =

 --

 ---[ /etc/postfix/tls_policy ]---

 [smtp.gmail.com]:587encrypt

 -

 ---[ /etc/postfix/sasl_passwd ]---

 [smtp.gmail.com]:587[EMAIL PROTECTED]:my_password


I added those as per above, but same errors:

Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 15 11:01:16 debian postfix/smtp[4779]: warning: SASL
authentication failure: No worthy mechs found
Dec 15 11:01:16 debian postfix/smtp[4779]: 21BB842ABC: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[209.85.133.109]: no mechanism available
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 15 11:01:19 debian postfix/smtp[4779]: warning: SASL
authentication failure: No worthy mechs found

Thank you Andrei.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-13 Thread hce
On 12/13/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Wed December 12 2007 10:58 am, hce wrote:
  Almost, but it has following error for certificates, it seems that was
  a ssl proglem, but I don't know how to fix it:
 
  Dec 12 21:50:42 debian postfix/master[2740]: reload configuration
  /etc/postfix Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
  from=[EMAIL PROTECTED], size=455, nrcpt=1 (queue active)
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[64.233.167.109]: no mechanism available
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
  to=[EMAIL PROTECTED], relay=smtp.gmail.com[64.233.167.111]:587,
  delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[64.233.167.111]: no mechanism available)
 
 
  I should clarify that my main.cf was copied from a friend's Ubuntu
  machine. Not sure if something was missing? I did check that
  /etc/ssl/certs/ssl-cert-snakeoil.pem and
  /etc/ssl/private/ssl-cert-snakeoil.key did exist.
 Ubuntu may have its own customizations that Debian does not have. NEVER copy
 and paste a main.cf from someone else!
 
  $ sudo /usr/sbin/postconf -n
  alias_database = hash:/etc/aliases
  alias_maps = hash:/etc/aliases
  append_dot_mydomain = yes
  biff = no
  canonical_maps = hash:/etc/postfix/canonical
  config_directory = /etc/postfix
  inet_interfaces = loopback-only
  inet_protocols = ipv4
  mailbox_size_limit = 5120
  masquerade_domains = localhost
  mydestination =
  myhostname = debian
  mynetworks = 127.0.0.0/8
  myorigin = /etc/mailname
  recipient_delimiter = +
  relayhost = smtp.gmail.com:587
  smtp_sasl_auth_enable = yes
  smtp_sasl_mechanism_filter = login
  smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  smtp_sasl_security_options = noanonymous
  smtp_sasl_type = cyrus
  smtp_tls_CApath = /etc/ssl/certs
  smtp_tls_security_level = may
  smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  smtpd_use_tls = yes
 
 
   How can I fix it?

 Asusming that above listed is your server's postconf output,
 As root run :
 Lets not use unknown variables here so :

 # postconf -e smtpd_banner=$myhostname

 Your forgot the square brackets for the relayhost. This is not a must but it
 helps speed things up as square brackets stops postfix from doing MX lookups.

 #postconf -e relayhost=[smtp.gmail.com]:587

 AFAIK, no need to use CApaths for relaying with Gmail.
 # postconf -e smtp_tls_CApath=

 and reload Postfix.

 Mihira.

I did exactly as per above, but it still cannot post as the same
following ssl errors, is there something missing?

Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 13 21:43:54 debian postfix/smtp[4100]: warning: SASL
authentication failure: No worthy mechs found
Dec 13 21:43:54 debian postfix/smtp[4100]: 1514042A99: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[209.85.199.111]: no mechanism available

Thank you.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-13 Thread hce
On 12/14/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Thu December 13 2007 10:58 am, hce wrote:

  I did exactly as per above, but it still cannot post as the same
  following ssl errors, is there something missing?
 
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 13 21:43:54 debian postfix/smtp[4100]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 13 21:43:54 debian postfix/smtp[4100]: 1514042A99: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[209.85.199.111]: no mechanism available
 
  Thank you.
 
  Kind Regards,
 
  Jim

 Do you have the necessary TLS/SASL packages for Debian installed ?

Good question, From following, I guess that the TLS has been
isntalled, but not SASL??

$ dpkg -l | grep TLS
ii  libgnutls13   1.4.4-3
the GNU TLS library - runtime library

$ dpkg -l | grep SASL


$ sudo apt-get install sasl

E: Couldn't find package sasl

What is the SASL package name?

Thank you.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-12 Thread hce
On 12/12/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 hce wrote:
 
  $ /usr/sbin/postconf -n
  alias_database = hash:/etc/aliases
  alias_maps = hash:/etc/aliases
  append_dot_mydomain = yes
  biff = no
  canonical_maps = hash:/etc/postfix/canonical
  config_directory = /etc/postfix
  inet_interfaces = loopback-only
  inet_protocols = ipv4
  mailbox_size_limit = 5120
  masquerade_domains = bizmail.com.au
  mydestination = mail.bizmail.com.au
  myhostname = debian
  mynetworks = 127.0.0.0/8
  myorigin = /etc/mailname
  recipient_delimiter = +
  relayhost =
  smtp_sasl_auth_enable = yes
  smtp_sasl_mechanism_filter = login
  smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  smtp_sasl_security_options = noanonymous
  smtp_sasl_type = cyrus
  smtp_tls_CApath = /etc/ssl/certs
  smtp_tls_security_level = may
  smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  smtpd_use_tls = yes
 
  The bizmail.com.au is wrong, it was my old ISP, but I could not find
  where the parameters get it from?
 Most likely this is in your main.cf

 
  I only use one file mailname and I have changed mailname to
  smtp.gmail.com:587, but still got port 25:
 What is mailname ? are you referring to /etc/mailname ?
 Your postfix configuration doesnt seem to be using any file called mailname so
 changing that will not help you.
 
  Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
  mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)
 Because you're not using a relayhost, Postfix is trying to send the mail
 directly to the recipient's mailserver and since your ISP is blocking port 25,
 Postfix cannot access it.

 
  That's correct. I've only got three files contains specific mail
  information in postfix:
 
  1. mailname: smtp.gmail.com:587
 Again, what is this file ? where is it located ?
 
  2. canonical
 
  yh  [EMAIL PROTECTED]
  root[EMAIL PROTECTED]
 
  3. sasl_passwd
 
  smtp.gmail.com  [EMAIL PROTECTED]:mypassword
 
  That was working fine to my previous ISP bizmail.com.au, or may be
  because the postfix config set to:
 
  masquerade_domains = bizmail.com.au
  mydestination = mail.bizmail.com.au
 
  I could not find postfix.conf, and where I can change those parameers?
 /etc/postfix/main.cf is the place to change these parameters.

 If your postfix version is  2.3 you can use the postconf -e command to edit 
 the
 main.cf like this:
 postconf -e parameter_name=value

 Try the following (as root) :

 # postconf -e relayhost=[smtp.gmail.com]:587

 To remove the masquerades :
 # postconf -e masquerade_domains=

 Since you're not mail.bizmail.com.au, change mydestination to either your FQDN
 and/or simply localhost.

 # postconf -e mydestination=localhost

 Now reload Postfix:

 # postfix reload

 That should get things moving.

Almost, but it has following error for certificates, it seems that was
a ssl proglem, but I don't know how to fix it:

Dec 12 21:50:42 debian postfix/master[2740]: reload configuration /etc/postfix
Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
from=[EMAIL PROTECTED], size=455, nrcpt=1 (queue active)
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.109]: no mechanism available
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
to=[EMAIL PROTECTED], relay=smtp.gmail.com[64.233.167.111]:587,
delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.111]: no mechanism available)


I should clarify that my main.cf was copied from a friend's Ubuntu
machine. Not sure if something was missing? I did check that
/etc/ssl

Re: Network is unreachable email error

2007-12-11 Thread hce
On 12/10/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 hce wrote:

 
  Indeed, my ISP blocks port 25. How can I config the postfix to change
  to use 465 or 587? I have following  sasl_passwd:
 
  smtp.gmail.com [EMAIL PROTECTED]
 
  Thank you.
 
  Kind Regards,
 
  Jim
 
 

 It would help if you can post results of postconf -n
 and show the relevant map files (with the passwords and ip addresses mangled 
 of
 cause)

$ /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = loopback-only
inet_protocols = ipv4
mailbox_size_limit = 5120
masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au
myhostname = debian
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = login
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

The bizmail.com.au is wrong, it was my old ISP, but I could not find
where the parameters get it from?


 Change your relay server parameters from smtp.gmail.com to 
 [smtp.gmail.com]:587

 If you're using relay_server parameter in main.cf, modify it to look like 
 this :
 relayhost = [smtp.gmail.com]:587

 If you're using transport maps, change the map file to look like this :

 gmail.com   smtp:[smtp.gmail.com]:587

I only use one file mailname and I have changed mailname to
smtp.gmail.com:587, but still got port 25:

Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)


 your sasl password map file should have the following format :

 smtp.gmail.com  username:password

That's correct. I've only got three files contains specific mail
information in postfix:

1. mailname: smtp.gmail.com:587

2. canonical

yh  [EMAIL PROTECTED]
root[EMAIL PROTECTED]

3. sasl_passwd

smtp.gmail.com  [EMAIL PROTECTED]:mypassword

That was working fine to my previous ISP bizmail.com.au, or may be
because the postfix config set to:

masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au

I could not find postfix.conf, and where I can change those parameers?

Thanks Mihira.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-09 Thread hce
On Dec 10, 2007 7:35 AM, Celejar [EMAIL PROTECTED] wrote:

 On Sun, 9 Dec 2007 16:46:47 +1100
 hce [EMAIL PROTECTED] wrote:

  On 12/9/07, John Miller [EMAIL PROTECTED] wrote:
   hce wrote:
Hi,
   
I am using mutt in Debian, it was workng fine in both receive and send
emails (gmail server), but it is now only working receive email, does
not work to send email since last week, please see following error
message. Any suggestion what I could do wrong?
   
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
(port 25)
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
   
   
Thank you.
   
Jim
   
   
   Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
   didn't say in your message), you're not actually sending mail through
   gmail's server.  Can you explain a bit more about your mail setup
   (Debian version, Postfix settings, etc.)?
 
  Yes, the error message was from /var/log/mail.info.
 
  The configuration is in postfix. The receive and send email to / from
  gmail server work fine before I change to current ISP, could that be
  my new ISP problem?
 
   Something easy to try in the meantime: can you establish an SMTP
   connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?
  
   [EMAIL PROTECTED]:~$ telnet 64.233.183.27 25
 
  I could not make that work:
 
  ~$ telnet 64.233.183.27 25
  Trying 64.233.183.27...
  telnet: Unable to connect to remote host: Network is unreachable
 
  ~$ telnet 64.233.183.27
  Trying 64.233.183.27...
 
  telnet: Unable to connect to remote host: Connection timed out
 
  The port 25 return error immediately, is it port 25 problem?
 
  Seems it is a network connection problem, isn't it?

 Many ISPs block port 25; use 465 or 587:
 http://mail.google.com/support/bin/answer.py?hl=enanswer=13287

Indeed, my ISP blocks port 25. How can I config the postfix to change
to use 465 or 587? I have following  sasl_passwd:

smtp.gmail.com [EMAIL PROTECTED]

Thank you.

Kind Regards,

Jim


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



Network is unreachable email error

2007-12-08 Thread hce
Hi,

I am using mutt in Debian, it was workng fine in both receive and send
emails (gmail server), but it is now only working receive email, does
not work to send email since last week, please see following error
message. Any suggestion what I could do wrong?

Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
(port 25)
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)


Thank you.

Jim


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



Re: Download Opera brower package

2007-12-08 Thread hce
Thanks Mark.

That works fine. The only thing when I call the opera from the command
line, it has following errors although it still works. Should I
concern that error messages or not?


~$ opera
~$ ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be
preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

Thank you.

Kind Regards,

Jim

On 12/4/07, Mark Grieveson [EMAIL PROTECTED] wrote:
 On Mon,  3 Dec 2007 11:29:22 + (UTC)
 [EMAIL PROTECTED] wrote:

  Hi,
 
  I tried to install Opera brower packge from the apt-get install, but
  could not find the package? What am I missing?
 
  Thank you.
 
  Jim


 Just add the following to your /etc/apt/sources.list, update, and then
 you'll be able to install opera.

 deb http://deb.opera.com/opera/ etch non-free

 Mark


 --
 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]



Re: Network is unreachable email error

2007-12-08 Thread hce
On 12/9/07, Ron Johnson [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/08/07 21:35, hce wrote:
  Hi,
 
  I am using mutt in Debian, it was workng fine in both receive and send
  emails (gmail server), but it is now only working receive email, does
  not work to send email since last week, please see following error
  message. Any suggestion what I could do wrong?
 
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)

 Can you ping that machine?  What have you configured as the Google
 SMTP server?

Yes:

~$ ping 64.233.183.27
PING 64.233.183.27 (64.233.183.27) 56(84) bytes of data.
64 bytes from 64.233.183.27: icmp_seq=1 ttl=237 time=517 ms
64 bytes from 64.233.183.27: icmp_seq=2 ttl=237 time=484 ms

I set my email address in canonical and smtp.gmail.com
[EMAIL PROTECTED] in sasl_passwd.gmail. I guess the config for
postfix should be fine as It was work begore. But I've recently
changed to another ISP, not sure that may cause the problem?

Thank you.

Kind Regards,

Jim


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



Re: Network is unreachable email error

2007-12-08 Thread hce
On 12/9/07, John Miller [EMAIL PROTECTED] wrote:
 hce wrote:
  Hi,
 
  I am using mutt in Debian, it was workng fine in both receive and send
  emails (gmail server), but it is now only working receive email, does
  not work to send email since last week, please see following error
  message. Any suggestion what I could do wrong?
 
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
 
 
  Thank you.
 
  Jim
 
 
 Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
 didn't say in your message), you're not actually sending mail through
 gmail's server.  Can you explain a bit more about your mail setup
 (Debian version, Postfix settings, etc.)?

Yes, the error message was from /var/log/mail.info.

The configuration is in postfix. The receive and send email to / from
gmail server work fine before I change to current ISP, could that be
my new ISP problem?

 Something easy to try in the meantime: can you establish an SMTP
 connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?

 [EMAIL PROTECTED]:~$ telnet 64.233.183.27 25

I could not make that work:

~$ telnet 64.233.183.27 25
Trying 64.233.183.27...
telnet: Unable to connect to remote host: Network is unreachable

~$ telnet 64.233.183.27
Trying 64.233.183.27...

telnet: Unable to connect to remote host: Connection timed out

The port 25 return error immediately, is it port 25 problem?

Seems it is a network connection problem, isn't it?

Thank you.

Kind Regards,

Jim


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



Download Opera brower package

2007-12-02 Thread hce
Hi,

I tried to install Opera brower packge from the apt-get install, but
could not find the package? What am I missing?

Thank you.

Jim


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



Re: small service

2007-11-26 Thread hce
On Nov 26, 2007 2:01 PM, Ron Johnson [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 11/25/07 19:12, hce wrote:
  On Nov 24, 2007 10:55 AM, John Hasler [EMAIL PROTECTED] wrote:
  Jim writes:
  I need a small service like SAMBA. Does anyone know if there is an open
  source similar to SAMBA, but much small size?
  What problem are you trying to solve?
 
  Install it to a handset device. SAMBA is too big.

 You're trying to turn a handset device into a file/print server?

No necessary, but to allow desktop Window OS / Linux to connect to it,
and to download files to it.


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



Re: small service

2007-11-25 Thread hce
On Nov 24, 2007 10:55 AM, John Hasler [EMAIL PROTECTED] wrote:
 Jim writes:
  I need a small service like SAMBA. Does anyone know if there is an open
  source similar to SAMBA, but much small size?

 What problem are you trying to solve?

Install it to a handset device. SAMBA is too big.

Thanks.


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



Re: small service

2007-11-23 Thread hce
Hi,

I need a small service like SAMBA. Does anyone know if there is an
open source similar to SAMBA, but much small size? I've searched to
google, but could not find it.

Thank you.

Jim


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



pwa config

2007-11-22 Thread hce
Hi,

How can I make scan only once? I set up ap_scan=1, it goes loop for ever.

Thank you.

Jim


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



file transfer information

2007-11-18 Thread hce
Hi,

I use scp to transfer a file, it displayed 50 KB/s. Does that mean 50
Kbit/s or 50 Kbyte/s?

Thank you.

Jim


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



Re: How to check tftp server is running?

2007-11-06 Thread hce
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Tue, Nov 06, 2007 at 04:21:31PM +1100, hce wrote:
  On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
   On Tue, Nov 06, 2007 at 01:32:47PM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote:
  On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 ...
   please provide
  
   dpkg -l tftpd
 
  ~$ dpkg -l tftpd
  Desired=Unknown/Install/Remove/Purge/Hold
  | 
  Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
  uppercase=bad)
  ||/ Name   VersionDescription
  +++-==-==-
  rc  tftpd  0.17-15Trivial file transfer protocol 
  server
 --^^

 rc means that it is not installed.
 
  $ sudo dpkg -l tftpd
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
  uppercase=bad)
  ||/ Name   VersionDescription
  +++-==-==-
  ii  tftpd  0.17-15Trivial file transfer protocol server
 --^^

 ii means its installed.

 
  Well, I've called $ sudo /etc/init.d/openbsd-inetd restart, but
  tftpd doesn't seem work.

 try running it directly, instead of from inet.d because I'm guessing
 this is an inet.d configuration problem. I don't use inet.d, so
 someone else will have to help here.

Thanks Andrew, you are indeed so helpful.

Fow anyone who knows debian, please help me the following:

In FC6, the tftp script is in xinetd.d, I can call xinetd restart to
include tftp service.

In Debian, I could not find a tftp script in init.d. In fact, I could
not find a tftp script under /etc. How can I get the tftp service?

Thank you.

Jim


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



Re: How to check tftp server is running?

2007-11-06 Thread hce
Thanks for all responses and advice. I am going to use tftpd-hpa.

Thank you.

Jim


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



Re: How to check tftp server is running?

2007-11-05 Thread hce
On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Mon, Nov 05, 2007 at 03:37:05PM +1100, hce wrote:
  On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 ...
  
   in debian services are started with an init script stored in
   /etc/init.d/ and linked to various runlevels in /etc/rc[S123456].d/
 
  I've checked in /etc/init.d, there is no tftp, nor tftpd. I did
  installed by apt-get install tftp and apt-get install tftpd. Where
  are those scripts? Or did I installed wrong tftp packages?

 looks like you probably did install the wrong package.

 Useful bits:

 dpkg -L tftpd

$ dpkg -L tftpd
Package `tftpd' does not contain any files (!)

This is stange and I am confused, how can calling apt-get install
tftpd get nothing??

 will show you what files were installed by that package.

 to see what a package contains before installing it:

 apt-cache show tftpd

$ apt-cache show tftpd
Package: tftpd
Priority: optional
Section: net
Installed-Size: 44
Maintainer: Alberto Gonzalez Iniesta [EMAIL PROTECTED]
Architecture: i386
Source: netkit-tftp
Version: 0.17-15
Replaces: netstd
Depends: netbase, libc6 (= 2.3.5-1)
Filename: pool/main/n/netkit-tftp/tftpd_0.17-15_i386.deb
Size: 14956
MD5sum: 90c6645b38374c3da42b24e443060318
SHA1: e11210a2ee84edc229b3a059e93fbe3a00acdce2
SHA256: 7cc83ea3726271aea58720c2bf096bcd71ce33c6642f58bfd34b750d287bb415
Description: Trivial file transfer protocol server
 Tftpd is a server which supports the Internet Trivial File Transfer Protocol
 (RFC 783).  The TFTP server operates at the port indicated in the `tftp'
 service description; see services(5).  The server is normally started by
 inetd(8).
Tag: admin::boot, admin::file-distribution, filetransfer::ftp,
interface::daemon, network::server, protocol::ftp, protocol::ip,
role::program, use::configuring

So, the tftpd is the tftp server, what's going here??

 will provide the package description and various details such as
 dependencies.


 Indeed, from packages.debian.org and the package description, looks
 like tftpd expects to start form inet.d, so you'd have to put the
 proper entries in inet.d.conf and will not see the daemon running
 unless someone's actually connected.

Well, my inetd.conf contains following tftp:

tftp  dgram  udp wait  nobody  /usr/sbin/tcpd  /usr/sbin/in.tftpd /srv/tftp

How to start/stop/restart the intd?

Thank Andrew,

Jim


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



Re: How to check tftp server is running?

2007-11-05 Thread hce
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Mon, Nov 05, 2007 at 08:30:01PM +1100, hce wrote:
  On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
   On Mon, Nov 05, 2007 at 03:37:05PM +1100, hce wrote:
On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
   ...

 in debian services are started with an init script stored in
 /etc/init.d/ and linked to various runlevels in /etc/rc[S123456].d/
   
I've checked in /etc/init.d, there is no tftp, nor tftpd. I did
installed by apt-get install tftp and apt-get install tftpd. Where
are those scripts? Or did I installed wrong tftp packages?
  
   looks like you probably did install the wrong package.
  
   Useful bits:
  
   dpkg -L tftpd
 
  $ dpkg -L tftpd
  Package `tftpd' does not contain any files (!)
 

 please provide

 dpkg -l tftpd

~$ dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
rc  tftpd  0.17-15Trivial file transfer protocol server

That command seems work.

 and

 apt-cache policy tftpd

~$ apt-cache policy tftpd
tftpd:
  Installed: 0.17-15
  Candidate: 0.17-15
  Version table:
 *** 0.17-15 0
500 ftp://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status

That shows it was indeed installed.

  This is stange and I am confused, how can calling apt-get install
  tftpd get nothing??

 Without seeing the actual session where you did this, its hard to say.

   Indeed, from packages.debian.org and the package description, looks
   like tftpd expects to start form inet.d, so you'd have to put the
   proper entries in inet.d.conf and will not see the daemon running
   unless someone's actually connected.
 
  Well, my inetd.conf contains following tftp:
 
  tftp  dgram  udp wait  nobody  /usr/sbin/tcpd  /usr/sbin/in.tftpd /srv/tftp
 
  How to start/stop/restart the intd?

 depends on which inetd you have installed.

 ls /etc/init.d/ | grep inet

$ ls /etc/init.d/ | grep inet
openbsd-inetd

Is it normal that the Debian is running openbsd-inetd?

 and then /etc/init.d/results of above start/stop/restart as
 required.

I'll run /etc/init.d/openbsd-inetd restart when above question is confirmed.

Thank you.

Jim

 A

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFHL1dFaIeIEqwil4YRAon8AJ9EVPTIXrfbcoQUHXYLyZxRfhBKTgCgwua0
 Z4nEacXDW5N7TnY6GMAzj04=
 =bQN8
 -END PGP SIGNATURE-




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



Re: How to check tftp server is running?

2007-11-05 Thread hce
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote:
  On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 ...
   please provide
  
   dpkg -l tftpd
 
  ~$ dpkg -l tftpd
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
  uppercase=bad)
  ||/ Name   VersionDescription
  +++-==-==-
  rc  tftpd  0.17-15Trivial file transfer protocol server
 
  That command seems work.
 

 rc means that it is not installed.

   and
  
   apt-cache policy tftpd
 
  ~$ apt-cache policy tftpd
  tftpd:
Installed: 0.17-15
Candidate: 0.17-15
Version table:
   *** 0.17-15 0
  500 ftp://ftp.au.debian.org etch/main Packages
  100 /var/lib/dpkg/status
 
  That shows it was indeed installed.

 yeah. you've got a problem there.

 do

 apt-get update

$ sudo apt-get update
Get:1 ftp://ftp.au.debian.org etch Release.gpg [378B]
Get:2 ftp://ftp.au.debian.org etch Release [58.2kB]
Get:3 ftp://ftp.au.debian.org etch/main Packages/DiffIndex
Ign ftp://ftp.au.debian.org etch/main Packages/DiffIndex
Get:4 ftp://ftp.au.debian.org etch/contrib Packages/DiffIndex
Ign ftp://ftp.au.debian.org etch/contrib Packages/DiffIndex
Get:5 ftp://ftp.au.debian.org etch/main Sources/DiffIndex
Ign ftp://ftp.au.debian.org etch/main Sources/DiffIndex
Get:6 ftp://ftp.au.debian.org etch/contrib Sources/DiffIndex
Ign ftp://ftp.au.debian.org etch/contrib Sources/DiffIndex
Hit ftp://ftp.au.debian.org etch/main Packages
Hit ftp://ftp.au.debian.org etch/contrib Packages
Hit ftp://ftp.au.debian.org etch/main Sources
Hit ftp://ftp.au.debian.org etch/contrib Sources
Fetched 58.6kB in 25s (2289B/s)
Reading package lists... Done

 apt-get --reinstall install tftpd

$ sudo apt-get --reinstall install tftpd
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 43 not upgraded.
Need to get 0B/15.0kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 59650 files and directories currently installed.)
Preparing to replace tftpd 0.17-15 (using .../tftpd_0.17-15_i386.deb) ...
Unpacking replacement tftpd ...
Setting up tftpd (0.17-15) ...

$ sudo apt-cache policy tftpd
tftpd:
  Installed: 0.17-15
  Candidate: 0.17-15
  Version table:
 *** 0.17-15 0
500 ftp://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status

It was the same as the previouse one, what was the problem there?

 and provide the output from the install command.
 ...

  $ ls /etc/init.d/ | grep inet
  openbsd-inetd
 
  Is it normal that the Debian is running openbsd-inetd?

 yes.

 
   and then /etc/init.d/results of above start/stop/restart as
   required.
 
  I'll run /etc/init.d/openbsd-inetd restart when above question is confirmed.

 right, but that won't help with tftpd until you get it installed
 properly. see above.


Thank you.

Jim


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



Re: How to check tftp server is running?

2007-11-05 Thread hce
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Tue, Nov 06, 2007 at 01:32:47PM +1100, hce wrote:
  On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
   On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
   ...
 please provide

 dpkg -l tftpd
   
~$ dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
rc  tftpd  0.17-15Trivial file transfer protocol server
   
That command seems work.
   
  
   rc means that it is not installed.
  
 and

 apt-cache policy tftpd
   
~$ apt-cache policy tftpd
tftpd:
  Installed: 0.17-15
  Candidate: 0.17-15
  Version table:
 *** 0.17-15 0
500 ftp://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status
   
That shows it was indeed installed.
  
   yeah. you've got a problem there.
  
   do
  
   apt-get update
 
  $ sudo apt-get update
 [snipped output of apt-get --reinstall... process]
 
  $ sudo apt-cache policy tftpd
  tftpd:
Installed: 0.17-15
Candidate: 0.17-15
Version table:
   *** 0.17-15 0
  500 ftp://ftp.au.debian.org etch/main Packages
  100 /var/lib/dpkg/status
 
  It was the same as the previouse one, what was the problem there?

 sorry for not being clear. the problem was that dpkg thinks you've
 removed the package as evidenced by the dpkg -L failure and the status
 of tftpd shown in dpkg -l (rc for removed but still configured (i
 think)) while apt-cache thinks the package is installed as shown by
 the previous apt-cache policy output.

 By --reinstalling it, the files should be there now.

I did sudo apt-get --reinstall install tftpd

 you can verify with

 dpkg -l tftpd

$ sudo dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  tftpd  0.17-15Trivial file transfer protocol server

Couldn't see what is difference :-).

 which should now show

 ...
 ii tftpd blah blah blah

 and

 dpkg -L tftpd

$ sudo dpkg -L tftpd
/.
/usr
/usr/sbin
/usr/sbin/in.tftpd
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/in.tftpd.8.gz
/usr/share/doc
/usr/share/doc/tftpd
/usr/share/doc/tftpd/README
/usr/share/doc/tftpd/copyright
/usr/share/doc/tftpd/changelog.Debian.gz
/usr/share/doc/tftpd/changelog.gz
/usr/share/man/man8/tftpd.8.gz

That's different.

 which should show a handful of files (its a pretty small package).


 and now you can try restarting inet.d and see what happens.

Well, I've called $ sudo /etc/init.d/openbsd-inetd restart, but
tftpd doesn't seem work.

I tried a tftp client, but could not get files. Also I tried netstat
-a | grep tftp, nothing shown up??


Thank you.

Jim


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



how to read http mails in mutt mail reader (vim)?

2007-11-04 Thread hce
Hi,

I've just installed mutt in Debian, one problem is there are some
mails from news lists with HTTP format, it was fine when I use Mozilla
mail reader, but with mutt and vim, I could not read the HTTP format
mails. One solution I can think of is to use lynx, but I don't know
how to config mutt with lynx. How do you handle this issue?

Thank you.

Jim


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



Could not find nfs package

2007-11-04 Thread hce
Hi,

I got an error E: Couldn't find package nfs while trying to install
nfs server by calling apt-get install nfs. Is the nfs wrong nfs
server package name?

Thank you.

Jim


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



Re: Could not find nfs package

2007-11-04 Thread hce
Thanks Owen. To run nfs server, should I install both nfs-common and
nfs-user-server, or just nfs-common?

Thank you.

Jim

On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:

 On Mon, 2007-11-05 at 11:04 +1100, hce wrote:
  Hi,
 
  I got an error E: Couldn't find package nfs while trying to install
  nfs server by calling apt-get install nfs. Is the nfs wrong nfs
  server package name?
 
  Thank you.
 
  Jim
 
 
 Hey,
   Try `apt-cache search nfs`
   It should return the correct package names.
   One of these is probably what you're after:

 nfs-common - NFS support files common to client and server
 nfs-kernel-server - support for NFS kernel server
 nfs-user-server - User space NFS server


 cheers,
 Owen.




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



Re: how to read http mails in mutt mail reader (vim)?

2007-11-04 Thread hce
Thanks Andy and other responses. It is a good solution although I wish
I could use the vim to read HTML with ability to click the URL links
like lynx (asking too much :-)).

Thank you.

Jim

On 11/4/07, Andy Smith [EMAIL PROTECTED] wrote:
 Hi Jim,

 On Sun, Nov 04, 2007 at 07:31:53PM +1100, hce wrote:
  I've just installed mutt in Debian, one problem is there are some
  mails from news lists with HTTP format, it was fine when I use Mozilla
  mail reader, but with mutt and vim, I could not read the HTTP format
  mails. One solution I can think of is to use lynx, but I don't know
  how to config mutt with lynx. How do you handle this issue?

 If you mean HTML, there was a post to Planet Debian on this subject
 just yesterday:

 http://cord.de/blog/index.php?entry=entry071103-141719

 I do it that way too.

 Cheers,
 Andy

 --
 http://bitfolk.com/ -- No-nonsense VPS hosting
 Encrypted mail welcome - keyid 0x604DE5DB

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFHLYVsIJm2TL8VSQsRAuHUAJ9PRZp1QI28SS9epCTl90qoss7gHgCgi1ZC
 I/aRLb3W5cVPXAqrhHMus3M=
 =lE+W
 -END PGP SIGNATURE-




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



Re: Could not find nfs package

2007-11-04 Thread hce
On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:

 On Mon, 2007-11-05 at 11:25 +1100, hce wrote:
  Thanks Owen. To run nfs server, should I install both nfs-common and
  nfs-user-server, or just nfs-common?
 
  Thank you.
 
  Jim
 
  On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:
  
   On Mon, 2007-11-05 at 11:04 +1100, hce wrote:
Hi,
   
I got an error E: Couldn't find package nfs while trying to install
nfs server by calling apt-get install nfs. Is the nfs wrong nfs
server package name?
   
Thank you.
   
Jim
   
   
   Hey,
 Try `apt-cache search nfs`
 It should return the correct package names.
 One of these is probably what you're after:
  
   nfs-common - NFS support files common to client and server
   nfs-kernel-server - support for NFS kernel server
   nfs-user-server - User space NFS server
  
  
   cheers,
   Owen.
  
  
 
 

 Hey,
   nfs-kernel-server depends on nfs-common but I don't believe the
 userspace server does. Running `apt-get install nfs-user-server` will
 tell you of the dependancies and resolve them if it can. You can also
 use `apt-cache depend nfs-user-server` to find out.

Thanks  Owen, I installed nfs-user-server and added /etc/exports. But,
could not find exportfs in /sbin or /usr/sbin, I thought the exportfs
is included in nfs server packet, seems I got wrong. I did apt-cache
search exportfs, nothing happend?

Thank you.

Jim


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



Re: Could not find nfs package

2007-11-04 Thread hce
On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:

 On Mon, 2007-11-05 at 11:49 +1100, hce wrote:
  On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:
  
   On Mon, 2007-11-05 at 11:25 +1100, hce wrote:
Thanks Owen. To run nfs server, should I install both nfs-common and
nfs-user-server, or just nfs-common?
   
Thank you.
   
Jim
   
On 11/5/07, Owen Townend [EMAIL PROTECTED] wrote:

 On Mon, 2007-11-05 at 11:04 +1100, hce wrote:
  Hi,
 
  I got an error E: Couldn't find package nfs while trying to 
  install
  nfs server by calling apt-get install nfs. Is the nfs wrong nfs
  server package name?
 
  Thank you.
 
  Jim
 
 
 Hey,
   Try `apt-cache search nfs`
   It should return the correct package names.
   One of these is probably what you're after:

 nfs-common - NFS support files common to client and server
 nfs-kernel-server - support for NFS kernel server
 nfs-user-server - User space NFS server


 cheers,
 Owen.


   
   
  
   Hey,
 nfs-kernel-server depends on nfs-common but I don't believe the
   userspace server does. Running `apt-get install nfs-user-server` will
   tell you of the dependencies and resolve them if it can. You can also
   use `apt-cache depend nfs-user-server` to find out.
 
  Thanks  Owen, I installed nfs-user-server and added /etc/exports. But,
  could not find exportfs in /sbin or /usr/sbin, I thought the exportfs
  is included in nfs server packet, seems I got wrong. I did apt-cache
  search exportfs, nothing happened?
 
  Thank you.
 
  Jim
 
 

 Interesting,
   I have the kernel server installed along with nfs-common and I
 have /usr/sbin/exportfs. Perhaps it comes with the common package.
   I don't have any experience with the userspace server, the kernel
 server is (by accounts/testimonials) faster  easier and I have physical
  root access to my servers so it's not an issue. Any particular reason
 you're choosing the userspace server?

 cheers,
 Owen.

I've changed to kernel server, that works. I am from FC where
installation of packages are different to Debian.

Thank you Owen.

Jim


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



How to check tftp server is running?

2007-11-04 Thread hce
Hi,

I've just installed tftp and tftpd package by apt-get. But, I could
not see the tftp server running. Actually, I could not figure out
where is the tftp script. In FC6, the tftp script is in xinit.d. In
Debian, there is not xinit.d.

How can I check whether the tftp server is running or not? And, if
not, which command I can call to run the tftp server?

Thank you.

Jim


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



Re: How to check tftp server is running?

2007-11-04 Thread hce
On 11/5/07, Jeff Grossman [EMAIL PROTECTED] wrote:
 hce wrote:
  Hi,
 
  I've just installed tftp and tftpd package by apt-get. But, I could
  not see the tftp server running. Actually, I could not figure out
  where is the tftp script. In FC6, the tftp script is in xinit.d. In
  Debian, there is not xinit.d.
 
  How can I check whether the tftp server is running or not? And, if
  not, which command I can call to run the tftp server?
 
  Thank you.
 
  Jim
 
 
 
 I don't think Debian uses xinetd by default.  It puts everything in the
 inetd.conf file.  You can manually move the entries over to an xinetd file.

Indeed, the tftp is in inetd.conf file.  But, how can I
run/restart/stop tftp server? Also, how can I check whether the tftp
server is running or not? I checked ps and grep with in.tftpd, but
could not find it.

Thank you Jeff.

Jim


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



Re: How to check tftp server is running?

2007-11-04 Thread hce
On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Mon, Nov 05, 2007 at 03:14:05PM +1100, hce wrote:
  On 11/5/07, Jeff Grossman [EMAIL PROTECTED] wrote:
   hce wrote:
Hi,
   
I've just installed tftp and tftpd package by apt-get. But, I could
not see the tftp server running. Actually, I could not figure out
where is the tftp script. In FC6, the tftp script is in xinit.d. In
Debian, there is not xinit.d.
   
How can I check whether the tftp server is running or not? And, if
not, which command I can call to run the tftp server?
   
Thank you.
   
Jim
   
   
   
   I don't think Debian uses xinetd by default.  It puts everything in the
   inetd.conf file.  You can manually move the entries over to an xinetd 
   file.

 probably you should avoid inet.d and just start the service directly.

 
  Indeed, the tftp is in inetd.conf file.  But, how can I
  run/restart/stop tftp server? Also, how can I check whether the tftp
  server is running or not? I checked ps and grep with in.tftpd, but
  could not find it.

 in debian services are started with an init script stored in
 /etc/init.d/ and linked to various runlevels in /etc/rc[S123456].d/

I've checked in /etc/init.d, there is no tftp, nor tftpd. I did
installed by apt-get install tftp and apt-get install tftpd. Where
are those scripts? Or did I installed wrong tftp packages?

 to start the service use either

 /etc/init.d/Service name start

That is the same way in FC where service script can be
start/stop/restart. But, I could not find tftp or tftpd scripts.

 or

 invoke-rc.d Service name start

 to check the status of a service, look at ps -e (grepping as
 appropriate) or check

 invoke-rc.d Service name status

I've tried /usr/sbin/invoke-rc.d tftpd status with following error:

invoke-rc.d: unknown initscript, /etc/init.d/tftpd not found.

Thank you.

Jim

 (or /etc/init.d/Service name)

 personally, i like the /etc/init.d/ route as you get tab completion of
 a service name, if you happen to not remember it exactly.

 Many services won't actually start unless they are enabled in
 /etc/default/service name, so if you start a service and it doesn't
 seem to work, check there.

 hth

 A

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFHLpqtaIeIEqwil4YRAv5jAKDhJX+1uJRHeTo9dU2qdl0kHxPgDwCfe+og
 0fGDfnR+jZ69XP4wsMRNfQg=
 =/Bah
 -END PGP SIGNATURE-




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



Could not adjust time

2007-11-03 Thread hce
Hi,

I press the right button of the mouse to the clock time on the panel,
but there is not adjust time to change the time. What is missing ...

Thank you.

Jim


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



How to set up postfix logfile

2007-11-03 Thread hce
Hi,

I sent emails from mutt, but does not seem work. Where can I check
postfix logfile? The postfix is called from booting, I could not find
config file from postfix?

Thank you.

Jim


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



Which browser is better, firefox?

2007-11-03 Thread hce
Hi,

Is the firefox the best browser?

When I installed the Debian, it automatically included iceweasel. I
removed it and tryed to install firefox by apt-get install firefox,
but it it got iceweasel gain. How can I install the firefox?

Thank you.

Jim


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



Re: Could not adjust time

2007-11-03 Thread hce
Thanks Gérard, that works.

Jim

On 11/4/07, Gerard Robin [EMAIL PROTECTED] wrote:
 On Sun, Nov 04, 2007 at 10:20:06AM +1100, hce wrote:
 From: hce [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: Could not adjust time
 X-Spam-Status: No, score=-5.647 tagged_above=3.6 required=5.3
tests=[AWL=0.717, BAYES_00=-2, LDO_WHITELIST=-5,
SARE_MSGID_LONG40=0.637, SPF_PASS=-0.001]
 X-Spam-Level:
 
 Hi,
 
 I press the right button of the mouse to the clock time on the panel,
 but there is not adjust time to change the time. What is missing ...

 You can use date:

 sudo date --set='+2 minutes'
 sudo date --set='-3 minutes'
 sudo date --set='+1 hour'
 ...

 hth
 --
 Gérard





Re: How to set up postfix logfile

2007-11-03 Thread hce
Thanks Gerard, I tried, but did not give me the informaiotn where is
the postfix log file. The postfix has been restarted, but I still
could not send mails from the mutt.

Thank you.

Kind Regards,

Jim

On 11/4/07, Gerard Robin [EMAIL PROTECTED] wrote:
 On Sun, Nov 04, 2007 at 10:50:56AM +1100, hce wrote:
 From: hce [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: How to set up postfix logfile
 X-Spam-Status: No, score=-5.75 tagged_above=3.6 required=5.3 
 tests=[AWL=0.614,
BAYES_00=-2, LDO_WHITELIST=-5, SARE_MSGID_LONG40=0.637,
SPF_PASS=-0.001]
 X-Spam-Level:
 
 Hi,
 
 I sent emails from mutt, but does not seem work. Where can I check
 postfix logfile? The postfix is called from booting, I could not find
 config file from postfix?

 Try:
 sudo dpkg-reconfigure postfix

 hth
 --
 Gérard





Re: How to set up postfix logfile

2007-11-03 Thread hce
On 11/4/07, Carl Fink [EMAIL PROTECTED] wrote:
 On Sun, Nov 04, 2007 at 02:54:25PM +1100, hce wrote:
  Thanks Gerard, I tried, but did not give me the informaiotn where is
  the postfix log file. The postfix has been restarted, but I still
  could not send mails from the mutt.

 The default location is /var/log/mail.log.

Thanks Carl. After reading the mail.log, I fixed the problem.

Thank you.

Jim


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



Re: Risk of using Iceweasel / firefox

2007-11-01 Thread hce
On 11/2/07, John Hasler [EMAIL PROTECTED] wrote:
 Doug writes:
  It would only be a security issue if the permissions on your home
  directory and/or the execs themselves allowed others to execute them.

 I wrote:
  A buggy application (buffer overflow in Firefox...) or an evil bit of
  JavaScript could be used by a virus to install a trojan in $HOME/bin.

If both Iceweasel and Firefox have problemes, which browser should be
used in Debian?

Jim


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



Re: GLIBC_2.4

2007-10-31 Thread hce
On 10/31/07, Chris Bannister [EMAIL PROTECTED] wrote:
 On Mon, Oct 29, 2007 at 01:02:31PM +1100, hce wrote:
  Hi,
 
  I am installing mutt and got an error of GLIBC_2.4 is missing, I
  searched the Debian package, but could not found it. Which of Debian
  package contains the GLIBC_2.4?
 
  Also, which http source should I add it to the source.list? I tried to
  download postfix-dev by apt-get install postfix-dev, but could not
  find it.

 How are you installing mutt? Are you compiling mutt from source or
 trying to install the Debian binary package?
I am compiling mutt from the source, so I can install it in my local
directory, rather goes to /usr.

 --
 Chris.
 ==


 --
 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]



Re: GLIBC_2.4

2007-10-30 Thread hce
My appology. I simply did reply all, not knowing it was a message only
sent to me.

On 10/30/07, hyjial [EMAIL PROTECTED] wrote:
 A pleasure to help you, although I am quite clueless
 about GLIBC_2.4 ; I am going to dig a bit.
 Nevertheless, notice that you have sent your latest
 E-mail only to me and not to the list. You should fix
 it for others to give a try at fixing your problem.
 H.


   
 __
 Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !




Re: GLIBC_2.4

2007-10-29 Thread hce
Hi Doug,

Thanks for your response, please find attached my sources.list

Thank you.

Jim

On 10/29/07, Douglas A. Tutty [EMAIL PROTECTED] wrote:
 On Mon, Oct 29, 2007 at 01:02:31PM +1100, hce wrote:
 
  I am installing mutt and got an error of GLIBC_2.4 is missing, I
  searched the Debian package, but could not found it. Which of Debian
  package contains the GLIBC_2.4?
 
  Also, which http source should I add it to the source.list? I tried to
  download postfix-dev by apt-get install postfix-dev, but could not
  find it.

 Send us your sources list.  Something is strange.  Etch's libc6 is at
 2.3.6 and is a required package, there is no 2.4.

 Doug.


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




sources.list
Description: Binary data


GLIBC_2.4

2007-10-28 Thread hce
Hi,

I am installing mutt and got an error of GLIBC_2.4 is missing, I
searched the Debian package, but could not found it. Which of Debian
package contains the GLIBC_2.4?

Also, which http source should I add it to the source.list? I tried to
download postfix-dev by apt-get install postfix-dev, but could not
find it.

Thank you.

Kind Regards,

Jim


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



Where is linux-kernel-headers_2.6.18-4_i386.deb?

2007-10-21 Thread jupiter . hce

Hi,

I installed Debian with kernel 2.6.18-4 on my PC, but I could not find 
linux-kernel-headers_2.6.18-4_i386.deb, I can only find a  
linux-kernel-headers_2.6.18-7_i386.deb which caused error when I install 
it.Where can I find linux-kernel-headers_2.6.18-4_i386.deb?


Thank you.

Kind Regards,

Jim


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




Re: source code installation

2007-08-19 Thread jupiter . hce
Thanks Florian and Andrei. The installation of OpenOffice works indeed 
after installing the second CD.


 With aptitude you can do searches like this:

 aptitude search '~i(~sgames|~Ggame)'

 This will list all installed (~i) packages which belong to the games
 section (~sgames) or (|) which have the string game in one of their
 debtags (~Ggame).

 You can uninstall all these packages with one fell blow by replacing
 search with remove in the command above. If you want to have a bit
 more control over what is going on then you can use aptitude in
 interactive mode, look at Installed Packages  games and decide
 yourself which ones you want to remove.

I've also tried to run aptitude search '~i(~sgames|~Ggame)' and got 
following list:

i A gnome-about - The GNOME about box
i A gnome-applets   - Various applets for GNOME 2 panel 
- binary

i A gnome-games - games for the GNOME desktop
i A gnome-games-data- data files for the GNOME games
i A wodim   - command line CD/DVD writing tool
i A xbase-clients   - miscellaneous X clients

I guess the next command I should run to remove all games are following. 
Are they correct?


aptitude purge $(gnome-about)
aptitude purge $(gnome-applets)
aptitude purge $(gnome-games)
aptitude purge $(gnome-games-data)
aptitude purge $(wodim)
aptitude purge $(xbase-clients)

Thank you.

Jim


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




Re: change partitions

2007-08-19 Thread jupiter . hce


Douglas A. Tutty wrote:


The 'partitions' are only numbers in a table that OS's refer to to see
what block starts the next partition and where it ends.  I'm assuming
that your problem with the partition is actually with the filesystem on
that partition.  With it unmounted, run e2fsck -cc on it.  


The -cc means that a non-distructive read/write badblocks test will run
on it.  With modern drives you should not actually find any bad blocks
unless the drive is at end-of-life and has used up its remapping space.
However, if it completes fine you'll know that writing beyond the 70%
range worked for the drive.  


Which partition has the problem?


hda8 (12 G), it does not have any OS installed to it. It is an
independent partition with /work on it.



Also, I have only one window OS, but I don't k now why both hda1 and 
hda2 are for window partitions, can I delete both of them? 



I haven't run an MS product since windows 3.1 so I don't know.  But
since you don't need windows and you know that neither partition is
needed, you should be able to remove them.  This may end up changing the
numbering of the extended partition from hda3 to either 1 or 2.
However, the partitions in it should still start at hda5.




Please see following partition information and the debian boot is in
Master section.

sudo fdisk -l

Disk /dev/hda: 32.0 GB, 32003112960 bytes 255 heads, 63 sectors/track,
3890 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot  Start End  Blocks   Id  System
  /dev/hda1   1 255 20482567  HPFS/NTFS
  /dev/hda2 2561275 8193150b  W95 FAT32
  /dev/hda31276389021004987+   5  Extended
  /dev/hda512761504 1839411   83  Linux
  /dev/hda622962298   24066   83  Linux
  /dev/hda722992364  530113+  82  Linux swap
  / Solaris /dev/hda82365389012257563+  83
  Linux /dev/hda9   *15051863 2883636   83  Linux
  /dev/hda10   18642295 3470008+  83  Linux



 
Since hda3 goes from cylinder 1276 to 3890 yet hda10 ends at 2295, there

should also be some free space at the end.

Good luck,

Doug.


How can I use fdisk or other partition tools to display free space?

What command should I call to remove window partition and to 
re-partition to ext3? Are following correct?


fdisk -s /dev/hda1 ?
fdisk -s /dev/hda2 ?

Thank you.

Jim




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




Re: source code installation

2007-08-18 Thread jupiter . hce

Florian Kulzer wrote:

[ Your top-posting style of replying makes it harder for other people
  to join the discussion since they have to do quite some scrolling up
  and down to understand the context, especially if a certain topic has
  already received many messages. The recommended approach on this
  list is to put answers into the old text at the appropriate place
  while trimming the old text where possible. Ideally, every message
  should be a short story with all the relevant context in
  chronological order. ]


Sorry, I am new to Debian. Hope this is right.


More openoffice.org-* packages should be available. Which CD is this,
the first CD of the standard Etch 21 CD set?


Yes, I only scanned first CD.


apt-get install openoffice.org should have worked. I think we need to
have a quick look at your apt configuration. Please post the contents
of the file /etc/apt/sources.list from your system.



Please see the following sources.list:

# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
20070407-11:55]/ etch contrib main


deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
20070407-11:55]/ etch contrib main


# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib

Thank you.

Jim


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




Re: source code installation

2007-08-18 Thread webmail . hce

Andrei Popescu wrote:
Your apt knows only of one source for packages, and that is the CD1. You 
need to add additional sources.


I've only got one CD, will try to download second.

If you already have more than the first CD then you could add it with 
apt-cdrom (see 'man apt-cdrom' for more details). Otherwise, if your 
internet connection is working under Debian, you should uncomment 
(remove the # in front of) the line starting with 'deb' and also add 
something like:


deb http://ftp.us.debian.org/debian etch main contrib

Replace 'us' with your country code if necessary or check the mirror 
list for a mirror close to you (http://www.debian.org/mirror/list)


After that run 'apt-get update' and try installing openoffice again.


I don't have a network connection, a win modem is the only one I have 
and I am currently working to try compile the win modem source code. 
I'll have to install kernel header files to do it. But first, I have to 
learn how to install packages in Debian.


P.S. Is there a reason for using apt-get? aptitude is the recommended 
frontend and also has a nice text interface if you start it without 
options.


I am new to Debian :-), just follow instructions from people who helped 
me through the package installation. If you could give me aptitude 
commands for package installation, I'll try it.


Thank you.

Jim


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




man for linux programmer's Manual

2007-08-18 Thread jupiter . hce

Hi,

When I used RH 9.1 before, I can call man to display linux programmer's 
C / C++ manual. But, I am not be able to do it in my new installation of 
Debian 4.0. How can I install it?


Thank you.

Jim


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




change partitions

2007-08-18 Thread jupiter . hce

Hi,

I installed Debian on a machine with several other pations (window, 
RH9.1, etc). During the installation, it indicated one of my linux 
partition had some problems (it is formated by ext3, but can only write 
to the disk with used space only higher than 70%). Now I am going to fix 
that partition before I am going to mount it to Debian. Also, I am no 
longer need to use MS window and I am going to remove all window 
partitions. I know it is risk operation and I need to take advice here 
before I delete or alter the partitions.


Should I use fdisk to remove the window partition or if there is a 
better partition tool I can use in Debian?


Can I remove the window partition from Linux?

Is there a partition tool in Debian which can detect the ext3 partition 
problem and to fix it without re-format or re-partition?


Also, I have only one window OS, but I don't k now why both hda1 and 
hda2 are for window partitions, can I delete both of them? Please see 
following partition information and the debian boot is in Master section.


sudo fdisk -l

Disk /dev/hda: 32.0 GB, 32003112960 bytes
255 heads, 63 sectors/track, 3890 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
   /dev/hda1   1 255 20482567  HPFS/NTFS
   /dev/hda2 2561275 8193150b  W95 FAT32
   /dev/hda31276389021004987+   5  Extended
   /dev/hda512761504 1839411   83  Linux
   /dev/hda622962298   24066   83  Linux
   /dev/hda722992364  530113+  82  Linux swap / 
Solaris

   /dev/hda82365389012257563+  83  Linux
   /dev/hda9   *15051863 2883636   83  Linux
   /dev/hda10   18642295 3470008+  83  Linux



Thank you.

Jim



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




source code installation

2007-08-12 Thread jupiter . hce

Hi,

I've installed Debian 4.0 from a CD, just found that the installation 
does not let me to select applications. Mow I have to install an 
application from the CD (I don't have a network connection, a win modem 
has not worked yet ...)


1. Which openoffice in the CD I should install? Is the command like:

apt-get install openoffice

from /mnt/cdrom/debian/pool/main/o/openoffice.org?

2. I need to install some lib source code to build win modem code
Now I have to remove all games (as I've got limited space), how can I do it?

3. Due to limited space, I need to remove some packages I don't need 
such as games, how do I know which package I installed are for games?


Thank you.

Jim


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




Missing /lib/modules/2.6.18-4-686/build

2007-08-12 Thread jupiter . hce

Hi,

I am building a win modem source code which requires 
/lib/modules/2.6.18-4-686/build. I could not find the build in my 
/lib/modules/2.6.18-4-686 directory. What am I missing, and where can I 
get the build from?


Thank you.

Jim


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




<    1   2