[gentoo-user] [slightly OT] Automounting Windows shares with autofs

2007-06-01 Thread Alexander Skwar
Good $time :)

I'm trying to setup my system so, that it can automount Windows shares.
I'd like to have it so, that I do NOT have to specify each and every
host and share in the automount configuration; I'd like to have it so,
that it's as comfortable as the NFS solution that you can get, if you
use /etc/autofs/auto.net. That's a (Gentoo supplied) executable script.
If invoked with the target hostname, it'll print all the available exports
on that NFS host and thus allows to use these exports. Eg.:

[EMAIL PROTECTED] /dev/shm $ /etc/autofs/auto.net winds06
-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,tcp,rsize=32768,wsize=32768,timeo=11,retrans=4,posix,nocto
 \
        /opt/ORCLfmap winds06:/opt/ORCLfmap \
        /pool winds06:/pool \
        /pool/netbackup-catalog winds06:/pool/netbackup-catalog

So, on that winds06 host, there are 3 exports (ORCLfmap, pool and 
netbackup-catalog). When I now do a ls /net/winds06/pool, I'd
see what's in the pool export on winds06. In /etc/autofs/auto.master, I've
got:

/net/etc/autofs/auto.net

I'd like to get something like this for Samba hosts as well. As a
(dysfunctional :() start, I've hacked up a auto.smb script, which
you can find at http://askwar.pastebin.ca/527240. If invoked on the
command line, it returns:

[EMAIL PROTECTED] /dev/shm $ /etc/autofs/auto.smb winfs001 
-fstype=smbfs,credentials=/home/askwar/winfs001.cred \
         R$      ://winfs001/R$ \
         HOME    ://winfs001/HOME \
         C$      ://winfs001/C$ \
         DAITMeeting     ://winfs001/DAITMeeting \
         DEPT    ://winfs001/DEPT \
         APPL    ://winfs001/APPL \
         F$      ://winfs001/F$ \
         ADMIN$          ://winfs001/ADMIN$ \
         WORKGROUPS      ://winfs001/WORKGROUPS \
         D$      ://winfs001/D$ \
         PUBLIC          ://winfs001/PUBLIC \
         E$      ://winfs001/E$

Those are all the shares on the winfs001 host. In auto.master, I've got
the following:

/smb/etc/autofs/auto.smb

But it does not work :( When I do a ls /smb/winfs001/DEPT, I get:

ls: cannot access /smb/winfs001/DEPT: No such file or directory

And in syslog:

== ./syslog ==
Jun  1 09:13:46 winnb000488 automount[15874]:  Usage: mount.smbfs service 
mountpoint [-o options,...]
Jun  1 09:13:46 winnb000488 automount[15874]:  Version 3.0.24
Jun  1 09:13:46 winnb000488 automount[15874]:  Options:
Jun  1 09:13:46 winnb000488 automount[15874]:username=arg   
   SMB username
Jun  1 09:13:46 winnb000488 automount[15874]:password=arg   
   SMB password
Jun  1 09:13:46 winnb000488 automount[15874]:credentials=filename   
   file with username/password
Jun  1 09:13:46 winnb000488 automount[15874]:krb  
   use kerberos (active directory)
Jun  1 09:13:46 winnb000488 automount[15874]:netbiosname=arg
   source NetBIOS name
Jun  1 09:13:46 winnb000488 automount[15874]:uid=arg
   mount uid or username
Jun  1 09:13:46 winnb000488 automount[15874]:gid=arg
   mount gid or groupname
Jun  1 09:13:46 winnb000488 automount[15874]:port=arg   
   remote SMB port number
Jun  1 09:13:46 winnb000488 automount[15874]:fmask=arg  
   file umask
Jun  1 09:13:46 winnb000488 automount[15874]:dmask=arg  
   directory umask
Jun  1 09:13:46 winnb000488 automount[15874]:debug=arg  
   debug level
Jun  1 09:13:46 winnb000488 automount[15874]:ip=arg 
   destination host or IP address
Jun  1 09:13:46 winnb000488 automount[15874]:workgroup=arg  
   workgroup on destination
Jun  1 09:13:46 winnb000488 automount[15874]:sockopt=arg
   TCP socket options
Jun  1 09:13:46 winnb000488 automount[15874]:scope=arg  
   NetBIOS scope
Jun  1 09:13:46 winnb000488 automount[15874]:iocharset=arg  
   Linux charset (iso8859-1, utf8)
Jun  1 09:13:46 winnb000488 automount[15874]:codepage=arg   
   server codepage (cp850)
Jun  1 09:13:46 winnb000488 automount[15874]:unicode  
   use unicode when communicating with server
Jun  1 09:13:46 winnb000488 automount[15874]:lfs  
   large file system support
Jun  1 09:13:46 winnb000488 automount[15874]:ttl=arg
   dircache time to live
Jun  1 09:13:46 winnb000488 automount[15874]:guest
   don't prompt for a password
Jun  1 09:13:46 winnb000488 automount[15874]:ro   
   mount read-only
Jun  1 09:13:46 winnb000488 automount[15874]:rw   
   mount read-write
Jun  1 09:13:46 winnb000488 automount[15874]:  This command is designed to be 
run from within /bin/mount by giving
Jun  1 09:13:46 winnb000488 automount[15874]:  the option '-t 

Re: [gentoo-user] Math symbols with emerge -C

2007-06-01 Thread Albert Hopkins
On Thu, 2007-05-31 at 19:09 -0400, [EMAIL PROTECTED] wrote:
 I always stumble around endlessly whenever I attempt to use math
 symbols in emerge commands.
 
 To Neil B and others who have patiently explained this to me on
 several occasions... I can only plead deep seated idiocy but I'm not
 getting why this happens.
 
 
 I want to `unmerge' (-C) versions of gentoo-sources prior to -2.6.20-r6
 
 However this fails:
 
   root # emerge -vpC gentoo-sources-2.6.20-r6
 
These are the packages that would be unmerged:
 
   --- Couldn't find 'gentoo-sources-2.6.20-r6' to unmerge.

No packages selected for removal by unmerge

Question: do you have a gentoo-sources less than 2.6.20-r6 installed?
If not, then the output is appropriate (can't unmerge what you haven't
merged).

 
 ==
 
 However the same command run in `install' mode works:
 
   root # emerge -vp gentoo-sources-2.6.20-r6
 
   These are the packages that would be merged, in order:
 
   Calculating dependencies... done!
   [ebuild  NS   ] sys-kernel/gentoo-sources-2.6.20-r5 \
 USE=-build -symlink 42,570 kB 
 

The NS indicates that this version (2.6.20-r5) is not installed, which
would make sense if the answer to the above question is yes.

e.g:
$ epm -q automake
automake-1.9.6-r2
automake-1.10
automake-1.7.9-r1
automake-1.8.5-r3
automake-1.5
automake-1.6.3

$ emerge -Cp 'automake-1.7'

 These are the packages that would be unmerged:

 sys-devel/automake
selected: 1.5 1.6.3 
   protected: none
 omitted: 1.9.6-r2 1.10 1.7.9-r1 1.8.5-r3 

$ emerge -Cp 'automake-1.5'

 These are the packages that would be unmerged:

--- Couldn't find 'automake-1.5' to unmerge.




--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [slightly OT] Automounting Windows shares with autofs

2007-06-01 Thread Dirk Heinrichs
Am Freitag, 1. Juni 2007 schrieb ext Dirk Heinrichs:
 Am Freitag, 1. Juni 2007 schrieb ext Alexander Skwar:
  I'd like to get something like this for Samba hosts as well. As a
  (dysfunctional :() start, I've hacked up a auto.smb script, which
  you can find at http://askwar.pastebin.ca/527240. If invoked on the
  command line, it returns:
 
  [EMAIL PROTECTED] /dev/shm $ /etc/autofs/auto.smb winfs001
  -fstype=smbfs,credentials=/home/askwar/winfs001.cred \
           R$      ://winfs001/R$ \
           HOME    ://winfs001/HOME \
           C$      ://winfs001/C$ \
           DAITMeeting     ://winfs001/DAITMeeting \
           DEPT    ://winfs001/DEPT \
           APPL    ://winfs001/APPL \
           F$      ://winfs001/F$ \
           ADMIN$          ://winfs001/ADMIN$ \
           WORKGROUPS      ://winfs001/WORKGROUPS \
           D$      ://winfs001/D$ \
           PUBLIC          ://winfs001/PUBLIC \
           E$      ://winfs001/E$
 
  Those are all the shares on the winfs001 host. In auto.master, I've got
  the following:
 
  /smb    /etc/autofs/auto.smb
 
  But it does not work :( When I do a ls /smb/winfs001/DEPT, I get:
 
  ls: cannot access /smb/winfs001/DEPT: No such file or directory

 Hmm, I guess the output of your script is wrong. Put this line into the
 awk part instead:

 { if (first) { print opts; first=0 }; print  \\\n\t/$1\t://host/$1
 }

However, xxx$ shares don't work for me, which they do when entered in a 
static auto.windows.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Mick
On Thursday 31 May 2007 20:55, Sascha Hlusiak wrote:
   and why I'm getting an IPv6 address?  Thanks!

 Every link that is up gets a link-local ipv6 address which is used to
 find and communicate with direct link partners. It probably starts with
 fe80::. So don't worry, that's caused by the ipv6 module and you don't
 get it, you basically just have it.

You can switch off IPv6 in the kernel.
-- 
Regards,
Mick


pgpEsVsRFSmca.pgp
Description: PGP signature


Re: [gentoo-user] [slightly OT] Automounting Windows shares with autofs

2007-06-01 Thread Dirk Heinrichs
Am Freitag, 1. Juni 2007 schrieb ext Alexander Skwar:
 I'd like to get something like this for Samba hosts as well. As a
 (dysfunctional :() start, I've hacked up a auto.smb script, which
 you can find at http://askwar.pastebin.ca/527240. If invoked on the
 command line, it returns:

 [EMAIL PROTECTED] /dev/shm $ /etc/autofs/auto.smb winfs001
 -fstype=smbfs,credentials=/home/askwar/winfs001.cred \
          R$      ://winfs001/R$ \
          HOME    ://winfs001/HOME \
          C$      ://winfs001/C$ \
          DAITMeeting     ://winfs001/DAITMeeting \
          DEPT    ://winfs001/DEPT \
          APPL    ://winfs001/APPL \
          F$      ://winfs001/F$ \
          ADMIN$          ://winfs001/ADMIN$ \
          WORKGROUPS      ://winfs001/WORKGROUPS \
          D$      ://winfs001/D$ \
          PUBLIC          ://winfs001/PUBLIC \
          E$      ://winfs001/E$

 Those are all the shares on the winfs001 host. In auto.master, I've got
 the following:

 /smb    /etc/autofs/auto.smb

 But it does not work :( When I do a ls /smb/winfs001/DEPT, I get:

 ls: cannot access /smb/winfs001/DEPT: No such file or directory

Hmm, I guess the output of your script is wrong. Put this line into the awk 
part instead:

{ if (first) { print opts; first=0 }; print  \\\n\t/$1\t://host/$1 }

Nice Script, thanks :-) Only drawback of the script approach is that it 
makes automount's -ghost option useless.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Emerge -v portage performs sneak attack on emacs-cvs

2007-06-01 Thread Bo Ørsted Andresen
On Friday 01 June 2007 02:55:41 [EMAIL PROTECTED] wrote:
 The subject line is half joke... but I just did an sync and then
 emerged portage as suggested.   After the emerge of portage, emerge
 process went on and uninstaqlled a couple of versions of emacs-cvs.

 As you can see in the command output below... there was no hint of
 what was coming:

 
 root # emerge -v portage
[SNIP]
 The tail of emerge.log shows what happened at the end:
[SNIP]
 1180658026:   AUTOCLEAN: sys-apps/portage
 1180658026: === Unmerging... (sys-apps/portage-2.1.2.4)
 1180658030:   unmerge success: sys-apps/portage-2.1.2.4
 1180658030:  === (1 of 1) Post-Build Cleaning
 (sys-apps/portage-2.1.2.9::/usr/portage/sys-apps/portage/portage-2.1.2.9.eb
uild) 1180658030:  ::: completed emerge (1 of 1) sys-apps/portage-2.1.2.9 to
 / 1180658030:  *** Finished. Cleaning up...
 1180658031: === Unmerging... (app-editors/emacs-cvs-22.0.92)
 1180658078:   unmerge success: app-editors/emacs-cvs-22.0.92
 1180658078: === Unmerging... (app-editors/emacs-cvs-22.0.95-r1)
 1180658115:   unmerge success: app-editors/emacs-cvs-22.0.95-r1
 1180658115:  *** exiting successfully.
 1180658115:  *** terminating.

This happens when you have more than one version of a package in the same SLOT 
which means your system was in an illegal state. It should have left one 
version still in that SLOT (namely the one with the highest COUNTER which is 
the one that was emerged last and thus it's files won't have been removed).

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Randy Barlow
On Friday 01 June 2007 04:10, Mick wrote:
 You can switch off IPv6 in the kernel.

I can, but I don't think that will solve the problem that I'm seeing.  Other 
ideas?

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Math symbols with emerge -C

2007-06-01 Thread Albert Hopkins
On Fri, 2007-06-01 at 04:59 -0500, [EMAIL PROTECTED] wrote:

  Question: do you have a gentoo-sources less than 2.6.20-r6 installed?
  If not, then the output is appropriate (can't unmerge what you haven't
  merged).
 
 
 Yikes... I think you may have it, since `eix -I'  reports:
 
 [...]
  Installed versions:  2.6.20-r6(2.6.20-r6))07:51:05 04/16/07()build 
 symlink(
  Homepage:http://dev.gentoo.org/~dsd/genpatches
  Description: Full sources including the Gentoo patchset for the 
 2.6 kernel tree
 

I don't know eix, but the output seems to indicate that the only version
of gentoo-sources you have installed is 2.6.20-r6.

 I got the idea of emerge -C from the output of `ls -F /usr/src'
 CONFIG-linux-2.6.20-gentoo-r6  linux-2.6.17-gentoo-r8/
 CONFIG-orig-020707 linux-2.6.19-gentoo-r4/
 linux@ linux-2.6.20-gentoo-r6/
 

But that's totally irrelevant as to whether you have other versions of
gentoo-sources installed.  All that probably indicates is that you *had*
them installed at one time, and probably unmerged them.  The directories
likely still exist because other files exist in those directories that
were not part of the package (object files, .config files, depend files,
etc). When you unmerge a package it only removes the files belonging to
that package.  If a directory was created by a package, but is not empty
when that package removes it's files, then portage does not remove that
directory (for fear of deleting something you wanted).  If you don't
want it then, e.g.

  # ls -a /usr/src/linux-2.6.17-gentoo-r8 |less
  # rm -rf /usr/src/linux-2.6.17-gentoo-r8

 
 Note the earlier version trees at that address.
 
 I haven't installed or downloaded kernel sources outside of emerge
 (far as I can remember) so those are likely installed by emerge.
 
 My understanding of:  
root # emerge -vpCgentoo-sources-2.6.20-r6
 is that it should uninstall any version less than 2.6.20-r6.
 

 Is that true or does that command only target the immediately prior
 version?
 

It will uninstall any *installed* version less than 2.6.20-r6.

 A little further testing shows that using an exact target also fails:
   root # emerge -vCp =gentoo-sources-2.6.19-r4
 
These are the packages that would be unmerged:
 
   --- Couldn't find '=gentoo-sources-2.6.19-r4' to unmerge.
 
 So apparently emerge is not aware of the earlier versions in /usr/src.
 
Again, because apparently there is no earlier version installed (see
your eix output).
--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Dale
Mick wrote:
 On Wednesday 30 May 2007 00:25, Dale wrote:
   
 Hi,

 I'm trying to switch ISPs over to Bell South.  I can not get it to
 connect up though.  I have tried wvdial and Kppp with no luck.  This is
 what I am getting.
 
 [snip]
   
 I did a google search and nothing made sense to me.  I did try adding
 lcp-max-configure 30 to /etc/ppp/options though.  Still no go.

 Anybody have a clue on how to fix this??
 

 This is not going to help, but for what it's worth I used to have the same 
 problem with a number of ISP dial-up numbers in the UK.  I could get a 
 dialling tone but for some reason the ISP modem would not pick up/respond. My 
 modem would start the handshake but the ISP's would continue ringing.  After 
 trying out about a dozen different telephone Nos or so, I managed to find one 
 (virgin.net) which worked without a problem; i.e. the ISP's modem would pick 
 up and the handshake complete.  I never understood what was the cause of this 
 problem and would be interested to see what fixes it for you.

 Another thing, in the UK some ISP's modems are set to ignore calls which do 
 not identify their telephone number.  In such cases the dial up connection 
 will not work if you withhold your number. If your phone settings are set to 
 automatically withhold the number then in the UK you would need to prefix the 
 dial up number with 1470, e.g. 1470 0845 0798313

 Good luck!
   

On this, I turned the volume up and it answers the phone just fine.  It
starts the handshake part then connects at 26400 like is usually does. 
The only difference is that BellSouth does not seem to send a login
prompt and my system does know what to do so it just tries to connect
blind as a bat without sending the login/password.

We have caller ID here and it works fine.  My brother who uses windoze
and lives next door uses them and it works fine for them.  I may try it
again to see if anything has changed.  Maybe it needed time to use the
caller ID to see we are allowed to connect.

I'm open to ideas though.  I have tried Kppp, wvdial and pon and get no
joy out of it at all.  No worky.  :-(

Thanks

Dale

:-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



Re: [gentoo-user] File extensions in Kmail attachments

2007-06-01 Thread Mick
On Thursday 31 May 2007 21:39, Vladimir Rusinov wrote:
 On 5/31/07, Mick [EMAIL PROTECTED] wrote:
  I noticed that when I open an attachment from within Kmail it adds odd
  extensions to the file, which are retained when I later on try to save it
  on
  the disk;  e.g. a spreadsheet opened with OOo is shown as: Notes from
  yesterdays mtg.xls_[yQHODa].
 
  Furthermore, when I click on SaveAs in OOo it automatically opens the
  directory /tmp/kde-michael/ as opposed to /home/michael.  Would you
  perhaps
  know how I could fix this?

 I think, you cat fix this only via patching sources. When you open mail
 attachment, KMail extracts it from message body and saves it to tmp dir in
 order to other apps can open it.

Sure, but unless I am mistaken I recall that in the past it would strip 
the /tmp extension from the file name when asked where to save it, after it 
has been opened using another application like e.g. OpenOffice.
-- 
Regards,
Mick


pgpAyaFrBzNRH.pgp
Description: PGP signature


[gentoo-user] Re: Math symbols with emerge -C

2007-06-01 Thread reader
Albert Hopkins [EMAIL PROTECTED] writes:


[...]

 I want to `unmerge' (-C) versions of gentoo-sources prior to -2.6.20-r6
 
 However this fails:
 
   root # emerge -vpC gentoo-sources-2.6.20-r6
 
These are the packages that would be unmerged:
 
   --- Couldn't find 'gentoo-sources-2.6.20-r6' to unmerge.

No packages selected for removal by unmerge

 Question: do you have a gentoo-sources less than 2.6.20-r6 installed?
 If not, then the output is appropriate (can't unmerge what you haven't
 merged).


Yikes... I think you may have it, since `eix -I'  reports:

[...]
 Installed versions:  2.6.20-r6(2.6.20-r6))07:51:05 04/16/07()build symlink(
 Homepage:http://dev.gentoo.org/~dsd/genpatches
 Description: Full sources including the Gentoo patchset for the 
2.6 kernel tree

I got the idea of emerge -C from the output of `ls -F /usr/src'
CONFIG-linux-2.6.20-gentoo-r6  linux-2.6.17-gentoo-r8/
CONFIG-orig-020707 linux-2.6.19-gentoo-r4/
linux@ linux-2.6.20-gentoo-r6/

Note the earlier version trees at that address.

I haven't installed or downloaded kernel sources outside of emerge
(far as I can remember) so those are likely installed by emerge.

My understanding of:  
   root # emerge -vpCgentoo-sources-2.6.20-r6
is that it should uninstall any version less than 2.6.20-r6.

Is that true or does that command only target the immediately prior
version?

A little further testing shows that using an exact target also fails:
  root # emerge -vCp =gentoo-sources-2.6.19-r4

   These are the packages that would be unmerged:

  --- Couldn't find '=gentoo-sources-2.6.19-r4' to unmerge.

So apparently emerge is not aware of the earlier versions in /usr/src.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server

2007-06-01 Thread Mick
On Thursday 31 May 2007 20:05, Hans-Werner Hilse wrote:

 On Thu, 31 May 2007 19:28:09 +0100 Mick [EMAIL PROTECTED] wrote:

  Aha! We're getting somewhere.  There's no /home/mic specified in
  /etc/passwd but /:
 
  mick:x:502:10::/:/bin/bash
 
  What do you make of this?!

 LART your admin :-) and be sure he/she corrects that to read the real
 homedir instead... (well, you could just use / as your home, but I
 guess your admin didn't give you rights to write stuff there...) All
 the details in man 5 passwd.

LART him indeed (although I found out that it was the server owner and friend 
of mine that changed all these settings using webmin.  Aaarghh!)

I am grateful for your help.  After I changed the user home directory it's all 
working nicely.  :)
-- 
Regards,
Mick


pgpeKzexgu8Se.pgp
Description: PGP signature


[gentoo-user] Re: Emerge -v portage performs sneak attack on emacs-cvs

2007-06-01 Thread reader
Bo Ørsted Andresen [EMAIL PROTECTED] writes:

 On Friday 01 June 2007 02:55:41 [EMAIL PROTECTED] wrote:
 The subject line is half joke... but I just did an sync and then
 emerged portage as suggested.   After the emerge of portage, emerge
 process went on and uninstaqlled a couple of versions of emacs-cvs.


[...]

 This happens when you have more than one version of a package in the same 
 SLOT 
 which means your system was in an illegal state. It should have left one 
 version still in that SLOT (namely the one with the highest COUNTER which is 
 the one that was emerged last and thus it's files won't have been removed).

Ok... I see.  But it seems there should be some indication of what is
going to happen.   Maybe a higher verbosity level would have revealed
what was about to happen?

I don't understand how the `illegal state' happened..  Does the fact
that I'd just run `emerge sync' have bearing on what happened or would
any emerge command have provoked the uninstall of earlier versions of
emacs-cvs? 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Mick
On Wednesday 30 May 2007 00:25, Dale wrote:
 Hi,

 I'm trying to switch ISPs over to Bell South.  I can not get it to
 connect up though.  I have tried wvdial and Kppp with no luck.  This is
 what I am getting.
[snip]

 I did a google search and nothing made sense to me.  I did try adding
 lcp-max-configure 30 to /etc/ppp/options though.  Still no go.

 Anybody have a clue on how to fix this??

This is not going to help, but for what it's worth I used to have the same 
problem with a number of ISP dial-up numbers in the UK.  I could get a 
dialling tone but for some reason the ISP modem would not pick up/respond. My 
modem would start the handshake but the ISP's would continue ringing.  After 
trying out about a dozen different telephone Nos or so, I managed to find one 
(virgin.net) which worked without a problem; i.e. the ISP's modem would pick 
up and the handshake complete.  I never understood what was the cause of this 
problem and would be interested to see what fixes it for you.

Another thing, in the UK some ISP's modems are set to ignore calls which do 
not identify their telephone number.  In such cases the dial up connection 
will not work if you withhold your number. If your phone settings are set to 
automatically withhold the number then in the UK you would need to prefix the 
dial up number with 1470, e.g. 1470 0845 0798313

Good luck!
-- 
Regards,
Mick


pgpUDevsemvtB.pgp
Description: PGP signature


Re: [gentoo-user] Re: Emerge -v portage performs sneak attack on emacs-cvs

2007-06-01 Thread Bo Ørsted Andresen
On Friday 01 June 2007 12:06:28 [EMAIL PROTECTED] wrote:
  This happens when you have more than one version of a package in the same
  SLOT which means your system was in an illegal state. It should have left
  one version still in that SLOT (namely the one with the highest COUNTER
  which is the one that was emerged last and thus it's files won't have
  been removed).

 Ok... I see.  But it seems there should be some indication of what is
 going to happen.   Maybe a higher verbosity level would have revealed
 what was about to happen?

I don't really disagree so I guess you can file a bug. I'm not really sure 
what a better solution would be though.

 I don't understand how the `illegal state' happened..  Does the fact
 that I'd just run `emerge sync' have bearing on what happened or would
 any emerge command have provoked the uninstall of earlier versions of
 emacs-cvs?

This explains it:

# cd $(portageq portdir)/profiles  grep emacs-cvs updates/*
updates/2Q-2007:slotmove app-editors/emacs-cvs 21.3.50 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.50 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.90 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.91 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.92 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.93 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.94 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.95 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.96 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.97 22
updates/2Q-2007:slotmove app-editors/emacs-cvs 22.0.0 23
updates/2Q-2007:slotmove app-editors/emacs-cvs 23.0.0 23
updates/3Q-2004:slotmove =app-editors/emacs-cvs-21.3.50 0 21.3.50

They used to be in separate SLOTs. Then they got moved to the same SLOT (22). 
A slotmove is usually performed transparently...

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: [slightly OT] Automounting Windows shares with autofs

2007-06-01 Thread Alexander Skwar
Dirk Heinrichs [EMAIL PROTECTED] wrote:

 Am Freitag, 1. Juni 2007 schrieb ext Dirk Heinrichs:

 Hmm, I guess the output of your script is wrong. 

Guess so as well :)

 Put this line into the 
 awk part instead:

 { if (first) { print opts; first=0 }; print  \\\n\t/$1\t://host/$1
 }

Thx. This works. The difference is, that you're printing /DEPT, while
I was printing just DEPT - IOW: you added a / before the Sharename.
Strange that this is required, though, because in a static map, the
/ isn't required.

Oh, well. As long as it works ;)

 However, xxx$ shares don't work for me, which they do when entered in a
 static auto.windows.

Yep. If you have a close look at the syslog, you'll find:

D       ://winfs001/D

So, for some reason, it's loosing the $. Maybe add quotes? Or escape?
Let's see...

Yep. Escaping seems to be in order.

See http://askwar.pastebin.ca/527548 for the new version of the script.

--- post.527240 2007-06-01 04:42:37.284685294 -0600
+++ post.527548 2007-06-01 04:42:37.284685294 -0600
@@ -6,8 +6,11 @@
 
 /usr/bin/smbclient -A $cred_file -L $host 2/dev/null | \
grep Disk | \
+   sed s/\\$/$/g | \
awk -v host=$host -v opts=$opts -- '
BEGIN   { ORS=; first=1 }
-   { if (first) { print opts; first=0 }; print  \\\n\t, 
$1, \t :// host / $1 }
+   { if (first) { print opts; first=0 }; print  \\\n\t 
/$1 \t ://host/$1 }
END {  print \n; }
'
+
+

http://askwar.pastebin.ca/diff.php?id1=527240id2=527548

This fails with a much better error message for me ;)

Jun  1 12:39:23 winnb000488 automount[17344]: mount(generic): failed to mount 
//winfs001/D$ (type smbfs) on /smb/winfs001/D$
Jun  1 12:39:23 winnb000488 automount[17344]:  17411: tree connect failed: 
ERRDOS - ERRnoaccess (Access denied.)
Jun  1 12:39:23 winnb000488 automount[17344]:  SMB connection failed

Yep. I'm not allowed access to D$. This can very well be.

Cheers and thanks for the help!
Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] wireless failure after madwifi-ng upgrade

2007-06-01 Thread John Blinka

Hi, all,

I have been using wireless successfully for about a month, until I
upgraded madwifi-ng last night.   Since then wireless has not
worked.   I have a netgear wireless router which supplies the
wireless signal, and the configuration of this router has not
changed.  And  wireless works fine from the same box when I
boot Windows.  So, the problem seems to be related to the
madwifi-ng upgrade.

No configuration files were changed - at least etc-update didn't
report any.

In /var/log/messages,, I find the following:

rc-scripts: WEP key is not set for NETGEAR - not connecting

Well... of course it isn't - my router uses WPA encryption,
and always has.  My /etc/conf.d/net and
/etc/wpa_supplicant/wpa_supplicant.conf files are straight from
the gentoo handbook:

/etc/conf.d/net:

modules=( wpa_supplicant )
wpa_supplicant_ath0=-Dmadwifi
modules=( dhcpcd )
config_ath0=( dhcp )
dhcpcd_ath0=-t 10 -s 192.168.1.101
dhcp_ath0=release nodns nontp nonis
nis_domain_ath-= mydomain.org

/etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid=NETGEAR
psk=xxx
priority=5
}


So, why does the rc-script suddenly think I'm using WEP encryption
?

Thanks for any and all ideas.

John Blinka


Re: [gentoo-user] File permissions and such

2007-06-01 Thread Alan McKinnon
On Sunday 03 June 2007, Dan Cowsill wrote:
 Hey list,

 It has been a constant burden to me to have to change the file
 permissions of files I've copied so that other users can access them
 and modify them.  Say I have a number of documents in the /root
 folder which the root user owns.  Now I want to transfer them to my
 non-priveliged user so I can work on them... But I have to chown them
 so that is possible.

 It just occured to me that there must be an easier way to do things
 like this and I was wondering if you fine fellows could guide me down
 the right path.

A custom script? Maybe something like (named as chowncp)

#!/bin/bash
#
chown $1 $2
cp $2 $3

Permissions would be something like x only for owner (root), called 
something like this:

chowncp dan file1 file2

It's way incomplete, I'll let you figure out your own '[ -f ...' checks 
but you get the idea.

I'm also sure ext3/reiser acls can force ownership of new files (it can 
do it for groups), but I'm way too lazy to figure it out right now, it 
being Friday and all...

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] wireless failure after madwifi-ng upgrade

2007-06-01 Thread Naga
On Friday 01 June 2007 14:08:16 John Blinka wrote:
 Hi, all,

 I have been using wireless successfully for about a month, until I
 upgraded madwifi-ng last night. 
[...] 
 Thanks for any and all ideas.

reemerge wpa_supplicant

It's in that ebuild...
elog save or mail is a good thing (tm) :)

-- 
Naga
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [slightly OT] Automounting Windows shares with autofs

2007-06-01 Thread Dirk Heinrichs
Am Freitag, 1. Juni 2007 schrieb ext Alexander Skwar:
 Dirk Heinrichs [EMAIL PROTECTED] wrote:
  Am Freitag, 1. Juni 2007 schrieb ext Dirk Heinrichs:
  Hmm, I guess the output of your script is wrong.

 Guess so as well :)

  Put this line into the
  awk part instead:
 
  { if (first) { print opts; first=0 }; print 
  \\\n\t/$1\t://host/$1 }

 Thx. This works. The difference is, that you're printing /DEPT, while
 I was printing just DEPT - IOW: you added a / before the Sharename.
 Strange that this is required, though, because in a static map, the
 / isn't required.

You mentioned auto.net in your first mail. This one also prints a 
leading /.

  However, xxx$ shares don't work for me, which they do when entered in a
  static auto.windows.

 Yep. Escaping seems to be in order.

 See http://askwar.pastebin.ca/527548 for the new version of the script.

 This fails with a much better error message for me ;)

 Yep. I'm not allowed access to D$. This can very well be.

I see a different picture :-(. It seems to be the sheer mass of shares on 
that server. From the syslog, it looks like the automounter tries to mount 
every share until it runs out of memory.

That would explain why my static (direct) map works, while the dynamic one 
doesn't.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] postfix - how to test

2007-06-01 Thread Johannes Skov Frandsen
Hi

Im trying to setup my own mail server... first step is to install postfix.

I have installed postfix with the following USE flags: mysql sasl

I have modified the config file /etc/postfix/main.cf and added the
following lines:

myhostname = myhost.mydomain.com
mydomain = mydomain.com
inet_interfaces = all
mydestination = myhost.mydomain.com, localhost.mydomain.com, localhost,
mydomain.com
mynetworks = my.ip.net.work/24, 127.0.0.0/8
home_mailbox = .maildir/
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

When I try starting the service with  /etc/init.d/postfix start and
everything seems to be ok but...

how do I test that it actual works ?

testing if apache works is easy, you just go to http://localhost and see
if something happens,
but how do I test if postfix actual sends my mail?
-- 

Regards / Venlig hilsen

Johannes Skov Frandsen

*Address:* Egelundsvej 18, DK-5260 Odense S
*Web:* www.omesc.com | *Email:* [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] wireless failure after madwifi-ng upgrade

2007-06-01 Thread John Blinka

On 6/1/07, Naga [EMAIL PROTECTED] wrote:


On Friday 01 June 2007 14:08:16 John Blinka wrote:
 Hi, all,

 I have been using wireless successfully for about a month, until I
 upgraded madwifi-ng last night.
[...]
 Thanks for any and all ideas.

reemerge wpa_supplicant




I did that.  It didn't help.


It's in that ebuild...

elog save or mail is a good thing (tm) :)



Yes. it is!


John


Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Hans-Werner Hilse
Hi,

On Fri, 01 Jun 2007 14:45:10 +0200 Johannes Skov Frandsen
[EMAIL PROTECTED] wrote:

 testing if apache works is easy, you just go to http://localhost and
 see if something happens,
 but how do I test if postfix actual sends my mail?

Errrm... Send a mail?

(No, not to this list, at least not, if your mail consists basically of
Subject: Test\r\n)

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Albert Hopkins
On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
 testing if apache works is easy, you just go to http://localhost and
 see
 if something happens,
 but how do I test if postfix actual sends my mail? 

Well, you set up a web server to deliver web content.  I'm assuming
you're setting up a mail server to deliver mail.  So the test is to see
that it delivers mail.

Not that I've ever used postfix, but testing a mail server should be
pretty similar for any platform.

 1. Create a mailbox (or use a remote one)
 2. Using a MUA, for example, connect to mail server. 
 3. Send message to be delivered to mailbox
 4. Verify message delivered to mailbox.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] wireless failure after madwifi-ng upgrade

2007-06-01 Thread Naga
On Friday 01 June 2007 14:08:16 John Blinka wrote:

 rc-scripts: WEP key is not set for NETGEAR - not connecting

Just a sugestion change the name. There might be other NETGEAR units in the 
area.

 /etc/wpa_supplicant/wpa_supplicant.conf:

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 ap_scan=1
 network={
  ssid=NETGEAR
  psk=xxx
  priority=5
 }
 So, why does the rc-script suddenly think I'm using WEP encryption

Try and add 
proto=WPA
or do a scan and add from the gui with
update_config=1
in the config file.

else try looking in /usr/share/doc/wpa_supplicant-xxx/wpa_supplicant.conf.bz2

-- 
Naga
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] kde problem after installing xfce

2007-06-01 Thread Alex Prinsier
Hello all,

I just emerged xfce4, and when I now log in again under kde, some things
don't work anymore.

The home folder icon has disappeared from my bottom panel. When I click
that icon on my desktop, kdesvn launches up giving an error (why does
kdesvn launch up?).

Also the start menu has changed. The icons are gone next to 'Internet',
'Office' etc, except for 'Edutainment' and 'Settings' which now have a
standard blue folder icon.

My terminal icon has disappeared too from another panel. It seams it has
been replaced by the standard terminal program from xfce. 'konsole' from
kde is still installed though, but the icons are gone and it's gone from
the start menu too.

Anyone knows why xfce and kde seem to conflict?

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Galevsky

Just my two cents: don't forget to use temporary email boxes like
yopmail.com, these boxes can be very helpful for the kind of tests you
may run.

Gal'

2007/6/1, Albert Hopkins [EMAIL PROTECTED]:

On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
 testing if apache works is easy, you just go to http://localhost and
 see
 if something happens,
 but how do I test if postfix actual sends my mail?

Well, you set up a web server to deliver web content.  I'm assuming
you're setting up a mail server to deliver mail.  So the test is to see
that it delivers mail.

Not that I've ever used postfix, but testing a mail server should be
pretty similar for any platform.

 1. Create a mailbox (or use a remote one)
 2. Using a MUA, for example, connect to mail server.
 3. Send message to be delivered to mailbox
 4. Verify message delivered to mailbox.

--
Albert W. Hopkins

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Hans-Werner Hilse
Hi,

On Fri, 01 Jun 2007 08:07:33 -0500 Albert Hopkins [EMAIL PROTECTED]
wrote:

 On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
  testing if apache works is easy, you just go to http://localhost and
  see
  if something happens,
  but how do I test if postfix actual sends my mail? 
 
 Well, you set up a web server to deliver web content.  I'm assuming
 you're setting up a mail server to deliver mail.  So the test is to
 see that it delivers mail.
 
 Not that I've ever used postfix, but testing a mail server should be
 pretty similar for any platform.
 
  1. Create a mailbox (or use a remote one)
  2. Using a MUA, for example, connect to mail server. 
  3. Send message to be delivered to mailbox
  4. Verify message delivered to mailbox.

Except that this is more the test case for /receiving/ mail :-)
But yes, looking at the mail server's configuration, this is most
likely the more interesting test case. Sending, after all, should just
work fine with almost any mail server...

Since OP did set up with SASL, it might also be interesting whether
non-local originating mail is blocked for relay (test case: Send a mail
with the server's mail domain address -- [EMAIL PROTECTED] -- to
some other server out there from a computer not in the trusted address
range) and if that can be cured by proper authentication. But the OP
didn't mention setting up SASL by any means. It'll probably work using
PAM out-of-the-box.


-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] wireless failure after madwifi-ng upgrade

2007-06-01 Thread John Blinka

On 6/1/07, Naga [EMAIL PROTECTED] wrote:


On Friday 01 June 2007 14:08:16 John Blinka wrote:

 rc-scripts: WEP key is not set for NETGEAR - not connecting

Just a sugestion change the name. There might be other NETGEAR units in
the
area.



Excellent idea.



Try and add
proto=WPA
or do a scan and add from the gui with
update_config=1
in the config file.

else try looking in
/usr/share/doc/wpa_supplicant-xxx/wpa_supplicant.conf.bz2




Thanks for all the tips.  I just followed your original suggestion to
re-emerge
wpa_supplicant (repeating what  I did already after upgrading madwifi-ng)
and now everything works.  A mystery.

Thanks for all your help!

John


Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Mick
On Friday 01 June 2007 11:51, Dale wrote:

 On this, I turned the volume up and it answers the phone just fine.  It
 starts the handshake part then connects at 26400 like is usually does.
 The only difference is that BellSouth does not seem to send a login
 prompt and my system does know what to do so it just tries to connect
 blind as a bat without sending the login/password.

This indicates that you have set it up to use link control protocol (LCP) 
which is the first part of establishing a PPP link, but BellSouth may be 
using CHAP?

 We have caller ID here and it works fine.  My brother who uses windoze
 and lives next door uses them and it works fine for them.  I may try it
 again to see if anything has changed.  Maybe it needed time to use the
 caller ID to see we are allowed to connect.

 I'm open to ideas though.  I have tried Kppp, wvdial and pon and get no
 joy out of it at all.  No worky.  :-(

I assume that you have tried out the different authentication methods in kppp 
(pap/chap and what not).  Not sure if the use of tcpdump and, or wireshark 
would show anything particularly revealing here?  This would be more 
meaningful if you compare with a dial up number that actually works.

From what I understand BellSouth use 'TCP header compression' which I believe 
requires the vj-max-slots option enabled in pppd, but don't know for sure 
what the number should be, if this is enabled by default, etc. (you could try 
from 2 to 16 and see what gives).

Additionally, a chat with the ISPs' sysadmin might help (if need be with 
giving you a login script).  If their system works with OSX which I believe 
it does, it would probably work with Linux too.  
-- 
Regards,
Mick


pgpiZ22hu6atZ.pgp
Description: PGP signature


Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Johannes Skov Frandsen
Hans-Werner Hilse wrote:
 Hi,

 On Fri, 01 Jun 2007 08:07:33 -0500 Albert Hopkins [EMAIL PROTECTED]
 wrote:

   
 On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
 
 testing if apache works is easy, you just go to http://localhost and
 see
 if something happens,
 but how do I test if postfix actual sends my mail? 
   
 Well, you set up a web server to deliver web content.  I'm assuming
 you're setting up a mail server to deliver mail.  So the test is to
 see that it delivers mail.

 Not that I've ever used postfix, but testing a mail server should be
 pretty similar for any platform.

  1. Create a mailbox (or use a remote one)
  2. Using a MUA, for example, connect to mail server. 
  3. Send message to be delivered to mailbox
  4. Verify message delivered to mailbox.
 

 Except that this is more the test case for /receiving/ mail :-)
 But yes, looking at the mail server's configuration, this is most
 likely the more interesting test case. Sending, after all, should just
 work fine with almost any mail server...

 Since OP did set up with SASL, it might also be interesting whether
 non-local originating mail is blocked for relay (test case: Send a mail
 with the server's mail domain address -- [EMAIL PROTECTED] -- to
 some other server out there from a computer not in the trusted address
 range) and if that can be cured by proper authentication. But the OP
 didn't mention setting up SASL by any means. It'll probably work using
 PAM out-of-the-box.


 -hwh
   
Hi

Well I guess I should have expected it to rather simple to test. But I
have never tried to configure a mailserver before
hence my somewhat naive question.

So what I did was to change my smtp server in thunderbird to use
localhost (with my postfix server running) and the send a
mail. This failed! Thunderbirds just claims that it could not connect to
the server...

I'm obvious doing something  really simple  completely wrong, but what?

-- 

Regards / Venlig hilsen

Johannes Skov Frandsen

*Address:* Egelundsvej 18, DK-5260 Odense S
*Web:* www.omesc.com | *Email:* [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Hans-Werner Hilse
Hi,

On Fri, 01 Jun 2007 16:29:56 +0200 Johannes Skov Frandsen
[EMAIL PROTECTED] wrote:

 Well I guess I should have expected it to rather simple to test. But I
 have never tried to configure a mailserver before
 hence my somewhat naive question.
 
 So what I did was to change my smtp server in thunderbird to use
 localhost (with my postfix server running) and the send a
 mail. This failed! Thunderbirds just claims that it could not connect
 to the server...
 
 I'm obvious doing something  really simple  completely wrong, but
 what?

Start with telnet or even better netcat (nc) and try connecting
directly, e.g. nc localhost smtp (replace nc by telnet if you
have that installed -- you might need to install one of the utilities,
in that case, chose netcat).

The server should respond with 
220 server's host name ESMTP product id.

If not, check
- whether localhost can be resolved (your /etc/hosts might be borked)
- if there's a overly jealous firewall active, that doesn't allow this
  traffic.

You can then try talking to your mail server directly (simple SMTP is
fast to learn), e.g. enter

---snip
MAIL FROM: [EMAIL PROTECTED]
RCPT TO: [EMAIL PROTECTED]
DATA
Subject: Test

this is a test.
.
QUIT
---snip
(server will send replies not printed here)

Do the same coming from the outside, in order to make sure that those
attempts are blocked. Otherwise you'll create an open relay and you'll
be blocked very soon on several other hosts.

If you're not sure what is wrong, that might warrant a look into
postfix' log files (below /var/log).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Sending console messages on Users

2007-06-01 Thread Dan Farrell
On Mon, 28 May 2007 20:54:27 +0100
Mick [EMAIL PROTECTED] wrote:

 On Monday 28 May 2007 20:14, Albert Hopkins wrote:
  On Mon, 2007-05-28 at 18:52 +0100, Mick wrote:
 
   What is the way to send a console warning to anyone logged on a
   machine before I reboot it?
 
  shutdown(8) does this for you.  In addition there is wall(1).
 
 Of course wall! I had forgotten about that.  There's also talk to tap
 others on the shoulder.  I assume all these will work if logged onto
 a server via ssh?
 
   If the user is logged on a console I will only need to send it to
   the console; in addition if the user is running webmin, or
   phpadmin, then I would really like a popup of sorts to alert them
   to log out (something like the net send command on MS Windows
   running with the messenger service).
 
  I could give a long explanation on why in practice this never works
  (even for wall msgs), but it's not interesting.  Instead I'll give
  you some real-world examples of what I've seen.
 [snip...]
 
 Thank you for a very informative insight.  :)

Yes, it should work at ssh terminals too.  My test verifies.  

A. Hopkins is right though; even if everyone _did_ work at the
terminal, and not say at the screen, people using ncurses or redrawing
the screen often at any rate could miss a wall message.  
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Epson Perfection and Gentoo

2007-06-01 Thread Willie Wong
Hi all, 

  My family is looking to purchase a scanner. It will mostly be
  connected to my mother's computer running Windows, so linux
  compatibility isn't the most important criterion. However, it would
  be nice to have the scanner working with my laptop when I go visit. 

  Currently we are primarily looking at Epson products, and well, on
  Newegg, we saw that the Perfection V100 is rather cheap
http://www.newegg.com/Product/Product.aspx?Item=N82E16838110017
  The question is, as far as I can find out, the printers in this
  series only uses a proprietary binary driver which luckily is in
  portage (media-gfx/iscan). Does any one on the list own such a
  printer and have suggestions about how well the driver functions?

Thanks, 

W
-- 
Statistics are like a Bikini: 
  showing interesting details but hiding the important stuff.
Sortir en Pantoufles: up 175 days, 13:54
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Razr(Alltel) looking for an interface program

2007-06-01 Thread James
Hello

I ran  'eix app-mobilephone/*'
to read the package descriptions. Nothing looks very 
promising. What I'm looking for is a simple gui
to (minimally) copy/edit the stored phone numbers
on a motorola Razr phone. Any other features
to interact with the phone, would be welcome.


Suggestions?


James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Randy Barlow
On Thursday 31 May 2007 12:05, Randy Barlow wrote:
 Howdy all!  I'm having a tough time getting DHCP to work on my wireless
 card. It's the intel 2200, and I am using wpa_supplicant with it.  The
 contents of my /etc/conf.d/net are:

I've filed a bug report about this problem with a few more details at 
http://bugs.gentoo.org/show_bug.cgi?id=180487  I'll repeat the text I posted 
there here so if anyone can help I would be very grateful!

I am using the intel 2200 wireless card with the in-kernel driver and the
firmware from portage, as well as wpa_supplicant.  When I run the init script
to start the network interface, it reports normally:

lappy786 ~ # /etc/init.d/net.eth1 start
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...  [ok]
 *   Starting wpa_cli on eth1 ... [ok]
 * Backgrounding ...

However, it seems to get stuck somewhere in the backgrounded stage because the
interface doesn't come up and I don't get an IP address.

lappy786 ~ # /etc/init.d/net.eth1 status
 * status:  inactive
lappy786 ~ # /etc/init.d/net.eth1 start
 * WARNING:  net.eth1 has already been started.
lappy786 ~ # ifconfig
eth1  Link encap:Ethernet  HWaddr 00:0E:35:13:2B:A0
  inet6 addr: fe80::20e:35ff:fe13:2ba0/64 Scope:Link
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:4 errors:1188 dropped:1488 overruns:0 frame:0
  TX packets:3 errors:0 dropped:0 overruns:0 carrier:8
  collisions:0 txqueuelen:1000
  RX bytes:10960814 (10.4 Mb)  TX bytes:393094968 (374.8 Mb)
  Interrupt:11 Base address:0x6000 Memory:c000-cfff

Strangely, it seems to aquire an ipv6 address.  /var/log/messages just
contains:

May 31 15:37:27 lappy786 ADDRCONF(NETDEV_UP): eth1: link is not ready
May 31 15:37:28 lappy786 ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
May 31 15:37:38 lappy786 eth1: no IPv6 routers present

It does correctly associate with my AP, and I can manually run dhcpcd eth1 to
get an IP address and use the network (how I am writing this bug report!) 
However, other services (such as sshd) that depend on the network will not
start since the init script doesn't think it finished.

My /etc/conf.d/net contains:

modules=( wpa_supplicant )
wpa_supplicant_eth1=-Dwext

And my /etc/wpa_supplicant/wpa_supplicant.conf contains:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

ap_scan=1

network={
  ssid=youThink
  psk=wouldntYouLikeToKnow
  priority=5
}

network={
  ssid=ncsu
  key_mgmt=NONE
}

I am using baselayout version 1.12.9-r2 and wpa_supplicant version 0.5.7.  I
have found a lot of bug reports similar to this, but they are all for 
different
versions of baselayout or wpa_supplicant, and the fixes specified by them
haven't seemed to work.  I do apologize if this turns out to be a duplicate,
but I promise that I spent a fair amount of time reading the related reports
and trying things!  Let me know if there is any additional information I can
offer!

Reproducible: Always

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Etaoin Shrdlu
I can not help you with your problem, but...

On Friday 1 June 2007 18:57, Randy Barlow wrote:

 Strangely, it seems to aquire an ipv6 address.  

The ipv6 address you see is the so-called link-local address, and is 
automatically constructed by the network adapter based on its MAC 
address; hence, it's not acquired from some server, and so it's 
perfectly normal that, even though there are other connectivity 
problems, the network adapter has this kind of ipv6 address.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Etaoin Shrdlu wrote:
 The ipv6 address you see is the so-called link-local address, and is 
 automatically constructed by the network adapter based on its MAC 
 address; hence, it's not acquired from some server, and so it's 
 perfectly normal that, even though there are other connectivity 
 problems, the network adapter has this kind of ipv6 address.

Thanks for your reply!

R
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGYFSq7So1xaF/eR8RAqCwAJ4vb1r2k6BDQqHzYFEeGB4crtcyeACeJD6s
u+Hqluq8dw2FRd88IU0KyAM=
=ehvL
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Mick
On Friday 01 June 2007 17:57, Randy Barlow wrote:
 On Thursday 31 May 2007 12:05, Randy Barlow wrote:
[snip...]
   RX packets:4 errors:1188 dropped:1488 overruns:0 frame:0
   TX packets:3 errors:0 dropped:0 overruns:0 carrier:8
   collisions:0 txqueuelen:1000
   RX bytes:10960814 (10.4 Mb)  TX bytes:393094968 (374.8 Mb)
   Interrupt:11 Base address:0x6000 Memory:c000-cfff

I'm afraid that I can't really help either, but it is clear from the number of 
received packet errors and dropped packets received that something is amiss 
big time.  Having suffered similarly in the past (with different hardware) 
I'd say that the problem is with the driver.

Good luck.
-- 
Regards,
Mick


pgpvhBiFauYLA.pgp
Description: PGP signature


Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Alex Prinsier
Randy Barlow wrote:
 lappy786 ~ # /etc/init.d/net.eth1 start
  * Starting eth1
  *   Starting wpa_supplicant on eth1 ...  [ok]
  *   Starting wpa_cli on eth1 ... [ok]
  * Backgrounding ...
 
 However, it seems to get stuck somewhere in the backgrounded stage because the
 interface doesn't come up and I don't get an IP address.

How sure are you that wpa_supplicant is able to connect to your access
point? It can only do ip stuff (like acquiring an ip) once it's
connected (associated) to your ap.

Run wpa_gui to verify.

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Razr(Alltel) looking for an interface program

2007-06-01 Thread Mark Shields

On 6/1/07, James [EMAIL PROTECTED] wrote:


Hello

I ran  'eix app-mobilephone/*'
to read the package descriptions. Nothing looks very
promising. What I'm looking for is a simple gui
to (minimally) copy/edit the stored phone numbers
on a motorola Razr phone. Any other features
to interact with the phone, would be welcome.


Suggestions?


James

--
[EMAIL PROTECTED] mailing list



Have you bothered to look at the app-mobilephone/kmobiletools website,
http://www.kmobiletools.org ?  It states that it supports the RAZR v3x
series.

--
- Mark Shields


[gentoo-user] Radeon trouble

2007-06-01 Thread Alex Schuster
Hi there!

I have a new video card (and a new motherboard + CPU, but I got that to work 
already), and once again I am having trouble configuring X.

It is a ATI Radeon 9250 (128 MB-AGP, 200/240 MHz). I added fglrx and radeon 
to my VIDEO_CARDS in /etc/make.conf, now it is VIDEO_CARDS=fglrx radeon 
nvidia nv vesa vga fbdev. X was updated with emerge -uN xorg-x11. I 
usually configure with X -configure, but here it gives me this:

weird ~ # X -configure :1
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/weird:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.20-gentoo-r7 i686
Current Operating System: Linux weird 2.6.20-gentoo-r7 #6 PREEMPT Fri Jun 1 
05:21:29 CEST 2007 i686
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.1.log, Time: Fri Jun  1 20:23:38 2007
List of video drivers:
ati
atimisc
radeon
nv
nvidia
r128
fglrx
fbdev
vesa
vga

Backtrace:
0: X(xf86SigHandler+0xa9) [0x80af86f]
1: X(DoConfigure+0x199) [0x80a367b]
2: X(InitOutput+0x186) [0x80967b0]
3: X(main+0x305) [0x806e405]
4: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d8f83c]
5: X(FontFileCompleteXLFD+0xa1) [0x806d9c1]

Fatal server error:
Caught signal 11.  Server aborting

I used the :1 argument because I have X running at the moment, but I also 
tried without X up, so this should not be the problem. The full log file is 
available here: http://wonkology.org/~wonko/tmp/Xorg.1.log


I also tried xorgconfig, but I get this message:

(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(EE) No devices detected.

Fatal server error:
no screens found

Log file: http://wonkology.org/~wonko/tmp/Xorg.2.log
xorg.conf: http://wonkology.org/~wonko/tmp/xorg.conf.xorgconfig


I got X running by keeping my last xorg.conf and exchanging nvidia 
with radeon. But I want 3d acceleration, and I guess I need the fglrx 
driver instead, but with that I get this error:
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found

Log file: http://wonkology.org/~wonko/tmp/Xorg.3.log
xorg.conf: http://wonkology.org/~wonko/tmp/xorg.conf.fglrx

What could I do? Via google I do not find threads about such problems.

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Dale
Mick wrote:
 On Friday 01 June 2007 11:51, Dale wrote:

   
 On this, I turned the volume up and it answers the phone just fine.  It
 starts the handshake part then connects at 26400 like is usually does.
 The only difference is that BellSouth does not seem to send a login
 prompt and my system does know what to do so it just tries to connect
 blind as a bat without sending the login/password.
 

 This indicates that you have set it up to use link control protocol (LCP) 
 which is the first part of establishing a PPP link, but BellSouth may be 
 using CHAP?

   
 We have caller ID here and it works fine.  My brother who uses windoze
 and lives next door uses them and it works fine for them.  I may try it
 again to see if anything has changed.  Maybe it needed time to use the
 caller ID to see we are allowed to connect.

 I'm open to ideas though.  I have tried Kppp, wvdial and pon and get no
 joy out of it at all.  No worky.  :-(
 

 I assume that you have tried out the different authentication methods in kppp 
 (pap/chap and what not).  Not sure if the use of tcpdump and, or wireshark 
 would show anything particularly revealing here?  This would be more 
 meaningful if you compare with a dial up number that actually works.

 From what I understand BellSouth use 'TCP header compression' which I believe 
 requires the vj-max-slots option enabled in pppd, but don't know for sure 
 what the number should be, if this is enabled by default, etc. (you could try 
 from 2 to 16 and see what gives).

 Additionally, a chat with the ISPs' sysadmin might help (if need be with 
 giving you a login script).  If their system works with OSX which I believe 
 it does, it would probably work with Linux too.  
   

You may have hit on something good there.  I disabled vj a long time ago
because I was having trouble with it.  I took that out and will try
again.  The funny things is, I used this at my brothers once and it
worked fine.

I'll post back what I find out.

Thanks much.

Dale

:-) :-) :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



Re: [gentoo-user] Radeon trouble

2007-06-01 Thread Mick
On Friday 01 June 2007 20:09, Alex Schuster wrote:

 It is a ATI Radeon 9250 (128 MB-AGP, 200/240 MHz). I added fglrx and radeon
 to my VIDEO_CARDS in /etc/make.conf, now it is VIDEO_CARDS=fglrx radeon
 nvidia nv vesa vga fbdev. X was updated with emerge -uN xorg-x11.

You need either the radeon driver OR the ati-drivers.  Up to you.  If the 
former take everything else out of VIDEO_CARDS= except for radeon and 
try configuring your xorg.conf.  Alternatively, take radeon out, put fglrx in 
and emerge ati-drivers before you try to configure your xorg.conf again.

If I were you I would first read really carefully this:

http://www.gentoo.org/doc/en/ati-faq.xml
-- 
Regards,
Mick


pgppwk9R3EySa.pgp
Description: PGP signature


Re: [gentoo-user] DHCP on my wireless card

2007-06-01 Thread Mick
On Friday 01 June 2007 19:28, Alex Prinsier wrote:
 Randy Barlow wrote:
  lappy786 ~ # /etc/init.d/net.eth1 start
   * Starting eth1
   *   Starting wpa_supplicant on eth1 ... 
  [ok] *   Starting wpa_cli on eth1 ...
  [ok] * Backgrounding ...
 
  However, it seems to get stuck somewhere in the backgrounded stage
  because the interface doesn't come up and I don't get an IP address.

 How sure are you that wpa_supplicant is able to connect to your access
 point? It can only do ip stuff (like acquiring an ip) once it's
 connected (associated) to your ap.

 Run wpa_gui to verify.

Somebody re-emerged wpa_supplicant earlier today and fixed his problem (second 
time round) - did you try it at all?

-- 
Regards,
Mick


pgpLYL15VJAbf.pgp
Description: PGP signature


[gentoo-user] Re: Math symbols with emerge -C

2007-06-01 Thread reader
Albert Hopkins [EMAIL PROTECTED] writes:

 But that's totally irrelevant as to whether you have other versions of
 gentoo-sources installed.  All that probably indicates is that you *had*
 them installed at one time, and probably unmerged them.  The directories
 likely still exist because other files exist in those directories that
 were not part of the package (object files, .config files, depend files,
 etc). When you unmerge a package it only removes the files belonging to
 that package.  If a directory was created by a package, but is not empty
 when that package removes it's files, then portage does not remove that
 directory (for fear of deleting something you wanted).  If you don't
 want it then, e.g.

   # ls -a /usr/src/linux-2.6.17-gentoo-r8 |less
   # rm -rf /usr/src/linux-2.6.17-gentoo-r8

OK again.  I hadn't soaked in that what was in those directories was
debris from builds and not the installed files.

Thanks

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Razr(Alltel) looking for an interface program

2007-06-01 Thread James
Mark Shields laebshade at gmail.com writes:


 Have you bothered to look at the app-mobilephone/kmobiletools website, 
 http://www.kmobiletools.org ?  It states that it supports the RAZR v3x series.


Yes, I installed version '0.4.3.3'
But could not get the usb configured. The only doc I found was
/usr/share/doc/kmobiletools-0.4.3.3/README.bz2'
It refers to an INSTALL doc, but I could not find it anywhere
[slocate find]..


I also could not get a newer (masked) version of kmobiletools to 
install. I did all of this after the initial post.

lsusb show the phone:
Bus 004 Device 004: ID 22b8:2a62 Motorola PCS


ideas on getting kmobile-0.5_beta2 to install?

other ideas?

James


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Razr(Alltel) looking for an interface program

2007-06-01 Thread Mark Shields

On 6/1/07, James [EMAIL PROTECTED] wrote:


Mark Shields laebshade at gmail.com writes:


 Have you bothered to look at the app-mobilephone/kmobiletools website,
 http://www.kmobiletools.org ?  It states that it supports the RAZR v3x
series.


Yes, I installed version '0.4.3.3'
But could not get the usb configured. The only doc I found was
/usr/share/doc/kmobiletools-0.4.3.3/README.bz2'
It refers to an INSTALL doc, but I could not find it anywhere
[slocate find]..


I also could not get a newer (masked) version of kmobiletools to
install. I did all of this after the initial post.

lsusb show the phone:
Bus 004 Device 004: ID 22b8:2a62 Motorola PCS


ideas on getting kmobile-0.5_beta2 to install?

other ideas?

James


--
[EMAIL PROTECTED] mailing list



I don't have access to a Gentoo box with X installed, so I can't test it
right now, but some phone providers lock their phones (most notably Verizon
and Cingular).  It's possible your phone may be locked from responding to
USB communication.  Have you ever used it with the Motorola Phone Tools in
Windows?

--
- Mark Shields


[gentoo-user] Re: Razr(Alltel) looking for an interface program

2007-06-01 Thread James
Mark Shields laebshade at gmail.com writes:


 I don't have access to a Gentoo box with X installed, so I can't test it right
now, but some phone providers lock their phones (most notably Verizon and
Cingular).  It's possible your phone may be locked from responding to USB
communication.  Have you ever used it with the Motorola Phone Tools in Windows?


I got kmobiletools-0.5.0_beta2 to install; I had to 
unmask some files. When I try to 
fire it up, it never appears. It is a beta release
Documentation is also scant on kmobiletools.

Where do you download the windows software from?

I should at least get the phone talking under windows
before trying with Gentoo, I guess.


James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Dale
Dale wrote:
 Mick wrote:
 On Friday 01 June 2007 11:51, Dale wrote:

   
 On this, I turned the volume up and it answers the phone just fine.  It
 starts the handshake part then connects at 26400 like is usually does.
 The only difference is that BellSouth does not seem to send a login
 prompt and my system does know what to do so it just tries to connect
 blind as a bat without sending the login/password.
 

 This indicates that you have set it up to use link control protocol (LCP) 
 which is the first part of establishing a PPP link, but BellSouth may be 
 using CHAP?

   
 We have caller ID here and it works fine.  My brother who uses windoze
 and lives next door uses them and it works fine for them.  I may try it
 again to see if anything has changed.  Maybe it needed time to use the
 caller ID to see we are allowed to connect.

 I'm open to ideas though.  I have tried Kppp, wvdial and pon and get no
 joy out of it at all.  No worky.  :-(
 

 I assume that you have tried out the different authentication methods in 
 kppp 
 (pap/chap and what not).  Not sure if the use of tcpdump and, or wireshark 
 would show anything particularly revealing here?  This would be more 
 meaningful if you compare with a dial up number that actually works.

 From what I understand BellSouth use 'TCP header compression' which I 
 believe 
 requires the vj-max-slots option enabled in pppd, but don't know for sure 
 what the number should be, if this is enabled by default, etc. (you could 
 try 
 from 2 to 16 and see what gives).

 Additionally, a chat with the ISPs' sysadmin might help (if need be with 
 giving you a login script).  If their system works with OSX which I believe 
 it does, it would probably work with Linux too.  
   

 You may have hit on something good there.  I disabled vj a long time
 ago because I was having trouble with it.  I took that out and will
 try again.  The funny things is, I used this at my brothers once and
 it worked fine.

 I'll post back what I find out.

 Thanks much.

 Dale

 :-) :-) :-)

 -- 
 www.myspace.com/-remove-me-dalek1967

 Copy n paste then remove the -remove-me- part.

Well, that didn't help any.  I also forgot to mention that I do have it
set up on Kppp to use pap/chap.  It doesn't work either.  I don't know
where LCP came from.  Any way to force it to disable that in ppp options?

I'm not sure but maybe it is something to do with my modem.  I had a
different modem when I used my brothers account a long time ago.  That
is all that has changed on my end.

Any more ideas?

Dale

:-) :-) :-) :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



[gentoo-user] Problems with kde and NIS/NFS users

2007-06-01 Thread Thiago Lüttig

Hi folks. I have an gentoo-desktop box, with kde-3.5.5 running under
2.6.18kernel. Last week, I upgraded the kernel to the
2.6.20 version, and the kde takes a whole eternity to start, and another to
run any program. I use nis(ypbind) and nfs(the home folders) to log on my
network. The console show no error or warning messages after the startx
program, only the Starting KDE The xorg.log doesn't show nothing about
Drivers error or something about the hardware. I downgraded the kernel
versions until reach back my 2.6.18-r2 kernel, and it worked. So, any kernel
above 2.6.18, seems to crash my kde. I tried to add an local user to my
box and when I start the KDE logged as local user, everything works fine :(.
I get another box, the same model, hardware, etc... and installed a fresh
gentoo, with kde, and my nis/nfs mappings. Guess what ? KDE doesn' wok !!!
:O. And, just to confirm, an local user on the fresh gentoo, starts kde
normally. What could be happening. My NIS/NFS server is a gentoo
2.6.10-hardened-r3 with nfs-utils 1.0.6-r6. Any help is welcome !! :)

Thanx
--
__

Atenciosamente,
Thiago Lüttig

MSN: [EMAIL PROTECTED]
ICQ:   194392373
__


Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Mick
On Friday 01 June 2007 23:24, Dale wrote:
 Dale wrote:

 Well, that didn't help any.  I also forgot to mention that I do have it
 set up on Kppp to use pap/chap.  It doesn't work either.  I don't know
 where LCP came from.  Any way to force it to disable that in ppp options?

You can use the option silent so that pppd does not send any LCP packets to 
initiate the connection, until the ISP has sent first a valid LCP packet.

 I'm not sure but maybe it is something to do with my modem.  I had a
 different modem when I used my brothers account a long time ago.  That
 is all that has changed on my end.

I'm scraping the bottom of the barrel here!  wvdial shows that you have a V34 
modem, when BellSouth's website talks about how to configure V90 and V92.  
Could it be that you need something aheam! more modern?  As far as I can 
figure they say that you should have correction control and compression 
enabled on your modem.  Can yours do that?

Not withstanding the above, your modem only sends packets but seems to receive 
nothing back from your ISP.  Have you changed the serial port, or the serial 
cable, or the serial connector/adaptor to the modem?  If you have by mistake 
used a null modem as opposed to a straight through RS-232 serial cable the 
connection is unlikely to work (properly).

Do you have another modem to try it with?  My ISP connection problems were 
isolated down to the specific modem (which was a winmodem anyway).  When I 
tried with a different modem (still softmodem but with a V.92 std) the 
telephone numbers worked fine.

If none of the above works then I am at a loss.  It'll be down to using 
minicom and building scripts to troubleshoot the connection one step at a 
time . . . may be easier to get a better modem?

Good luck.
-- 
Regards,
Mick


pgp52WjGre6ra.pgp
Description: PGP signature


Re: [gentoo-user] controlling xscreensaver throttle

2007-06-01 Thread Iain Buchanan
On Fri, 2007-05-25 at 20:09 -0500, »Q« wrote:
 I'm using a laptop, and I'd like xscreensaver to just display a blank
 screen when running on battery power.  The command
 
 $ xscreensaver-command --throttle

[snip]

 But when xscreensaver kicks in because of idle time, it's unthrottled
 no matter the power source, and I can't find a way to control that.  If
 I could control this, I'd be happy.  The stuff below about suspending is
 less important to me.

how about running a daemon to watch the output of
`xscreensaver-command -watch`
instead of using your script.  That way, regardless of what kicks off
the screensaver (you or the timeout) you can then do some action to it.

 I use suspend2 to suspend to HDD, and I want to lock the screen
 when suspending. Using the LockXScreenSaver option in hibernate.conf
 locks all X displays, but even if xscreensaver is throttled before
 that, upon resume from suspend it's unthrottled.  AFAICT, when
 resuming, suspend2 actually restarts xscreensaver, so its state was
 lost.

I think the above solution could work here too.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Deek If the user points the gun at his foot and pulls the trigger, it
   is our job to ensure the bullet gets where it's supposed to.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do i know my SMP is working and setup right?

2007-06-01 Thread Iain Buchanan
On Sat, 2007-05-26 at 15:19 -0700, Daevid Vincent wrote:
 I just upgraded my Gentoo server from an old Celeron 1Ghz to a Pentium4
 3Ghz (hyperthreaded).

[snip]

 But when I'm in KDE, the little load applet doesn't show two CPUs
 (should it?).

don't know about kde, but have you tried something simple like top?
load it and then press '1' to swap between a composite cpu and real
cpus.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

In matters of principle, stand like a rock;
in matters of taste, swim with the current.
-- Thomas Jefferson

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do i know my SMP is working and setup right?

2007-06-01 Thread darren kirby
quoth the Daevid Vincent:

 So why doesn't KDE show it in the little CPU applet?

What does:
cat /proc/cpuinfo

tell you?

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-06-01 Thread Dale
Mick wrote:
 On Friday 01 June 2007 23:24, Dale wrote:
   
 Dale wrote:
 

   
 Well, that didn't help any.  I also forgot to mention that I do have it
 set up on Kppp to use pap/chap.  It doesn't work either.  I don't know
 where LCP came from.  Any way to force it to disable that in ppp options?
 

 You can use the option silent so that pppd does not send any LCP packets to 
 initiate the connection, until the ISP has sent first a valid LCP packet.

   
 I'm not sure but maybe it is something to do with my modem.  I had a
 different modem when I used my brothers account a long time ago.  That
 is all that has changed on my end.
 

 I'm scraping the bottom of the barrel here!  wvdial shows that you have a V34 
 modem, when BellSouth's website talks about how to configure V90 and V92.  
 Could it be that you need something aheam! more modern?  

Sorry, it is a very old USRobotics V34 Everything modem.  Thing is, I
like all the lights.  LOL
 As far as I can 
 figure they say that you should have correction control and compression 
 enabled on your modem.  Can yours do that?
   

This thing has a ton of options in it.  But I think the above may be the
issue we are having. 
 Not withstanding the above, your modem only sends packets but seems to 
 receive 
 nothing back from your ISP.  Have you changed the serial port, or the serial 
 cable, or the serial connector/adaptor to the modem?  If you have by mistake 
 used a null modem as opposed to a straight through RS-232 serial cable the 
 connection is unlikely to work (properly).

 Do you have another modem to try it with?  

Yup, I do have another modem that is a Diamond SupraExpress 56e PRO.  It
works for my bro but not for me.  It doesn't even work with my current
ISP.  It tries to connect at 115K which is more like a serial port
speed.  It seems to be confused, as am I right now.
 My ISP connection problems were 
 isolated down to the specific modem (which was a winmodem anyway).  When I 
 tried with a different modem (still softmodem but with a V.92 std) the 
 telephone numbers worked fine.

 If none of the above works then I am at a loss.  It'll be down to using 
 minicom and building scripts to troubleshoot the connection one step at a 
 time . . . may be easier to get a better modem?

 Good luck.
   

This is what I am thinking about getting.  I had this before it got hit
by lightening. 
http://www.discountsales.com/shop/pub/1153574702_1177517624.htm  I am
pretty sure it worked too.  I know it did for my current ISP but I think
I used his ISP a few times too.  I'm pretty sure this works with Bell
South.  Your thoughts???

I may go check with my ISP and see if they have one that is external
serial.  Maybe cheap too.  LOL

Dale

:-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



[gentoo-user] Can't emerge ekiga

2007-06-01 Thread Mike Diehl
Hello all,

I'm trying to install ekiga and it won't compile.  It's complaining about not 
having XML::Parser installed.

But XML::Parser is installed:
===
hydra Desktop # emerge -s XML-Parser
Searching...
[ Results for search key : XML-Parser ]
[ Applications found : 1 ]

*  dev-perl/XML-Parser
  Latest version available: 2.34
  Latest version installed: 2.34
  Size of files: 224 kB
  Homepage:  http://search.cpan.org/~msergeant/
  Description:   A Perl extension interface to James Clark's XML parser, 
expat
  License:   Artistic
===

So, how should I approach this?  Here is the original emerge error message.

===
hydra Desktop # emerge -u  ekiga
Calculating dependencies... done!
 Verifying ebuild Manifests...

 Emerging (1 of 2) dev-util/intltool-0.35.5 to /
 * intltool-0.35.5.tar.bz2 RMD160 ;-) ... [ 
ok ]
 * intltool-0.35.5.tar.bz2 SHA1 ;-) ...   [ 
ok ]
 * intltool-0.35.5.tar.bz2 SHA256 ;-) ... [ 
ok ]
 * intltool-0.35.5.tar.bz2 size ;-) ...   [ 
ok ]
 * checking ebuild checksums ;-) ...  [ 
ok ]
 * checking auxfile checksums ;-) ... [ 
ok ]
 * checking miscfile checksums ;-) ...[ 
ok ]
 * checking intltool-0.35.5.tar.bz2 ;-) ...   [ 
ok ]
 Unpacking source...
 Unpacking intltool-0.35.5.tar.bz2 
to /var/tmp/portage/dev-util/intltool-0.35.5/work
 * Applying intltool-0.35.5-update.patch ...  [ 
ok ]
 Source unpacked.
 Compiling source 
in /var/tmp/portage/dev-util/intltool-0.35.5/work/intltool-0.35.5 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is 
required for intltool

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-util/intltool-0.35.5/work/intltool-0.35.5/config.log

!!! ERROR: dev-util/intltool-0.35.5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 642:   Called econf
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if 
relevant.
!!! A complete build log is located 
at '/var/tmp/portage/dev-util/intltool-0.35.5/temp/build.log'.
===

TIA,

-- 
Mike Diehl
-- 
[EMAIL PROTECTED] mailing list