Re: [gentoo-user] skype masked because of eula?

2010-01-26 Thread Boris Fersing
Hi,

add to your /etc/portage/package.license :

net-im/skype skype-eula

This will unmask skype.

regards,

Boris

On Tue, Jan 26, 2010 at 08:27, Mick michaelkintz...@gmail.com wrote:
 This is confusing me ...

 I have skype-2.0.0.72 installed for some time now.  eix -l skype shows:

 [I] net-im/skype
     Available versions:
                        2.0.0.72!m!s amd64 x86 [qt-static]
                ~       2.1.0.81+i!m!s ~amd64 ~x86 [qt-static]
     Installed versions:  2.0.0.72!m!s(06:22:21 04/15/09)(-qt-static)
     Homepage:            http://www.skype.com/
     Description:         A P2P-VoiceIP client.

 However, after updating portage I see:

 Calculating dependencies... done!

 Total: 0 packages, Size of downloads: 0 kB

 !!! The following installed packages are masked:
 - net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
 A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-
 eula'.

 Is portage telling me that I need to do something about the eula?  eix does
 not show this version as being masked.
 --
 Regards,
 Mick




-- 
42



Re: [gentoo-user] skype masked because of eula?

2010-01-26 Thread John H. Moe
Mick wrote:
 This is confusing me ...

 I have skype-2.0.0.72 installed for some time now.  eix -l skype shows:

 [I] net-im/skype
  Available versions:  
 2.0.0.72!m!s amd64 x86 [qt-static]
 ~   2.1.0.81+i!m!s ~amd64 ~x86 [qt-static]
  Installed versions:  2.0.0.72!m!s(06:22:21 04/15/09)(-qt-static)
  Homepage:http://www.skype.com/
  Description: A P2P-VoiceIP client.

 However, after updating portage I see:

 Calculating dependencies... done!

 Total: 0 packages, Size of downloads: 0 kB

 !!! The following installed packages are masked:
 - net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
 A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-
 eula'.

 Is portage telling me that I need to do something about the eula?  eix does 
 not show this version as being masked.
   
1. Go to Google (or your favourite search engine)
2. Search for gentoo license mask
3. Follow instructions from several previous threads

John Moe



Re: [gentoo-user] Which IPSEC to go?

2010-01-26 Thread Eray Aslan
On 24.01.2010 23:38, Konstantinos Agouros wrote:
 since I am a while out of the game of doing ipsec with Linux:
 What's the way to go? Strongswan/Openswan or ipsec-tools for kame/racoon.
 
 Emerge -p gave me some ~ for ipsec-tools while openswan goes without.
 
 Any input welcome. I need this for a road warrior setup.

Assuming you will want to support windows clients as well, openswan and
openvpn are the populer choices.  There has been some mention of
questionable code quality for openswan so you might want to check if
openvpn fits your needs first.

Personally, I would stay away from kame/racoon.

-- 
Eray



Re: [gentoo-user] skype masked because of eula?

2010-01-26 Thread Mick
2010/1/26 John H. Moe john...@optusnet.com.au:
 Mick wrote:
 This is confusing me ...

 I have skype-2.0.0.72 installed for some time now.  eix -l skype shows:

 [I] net-im/skype
      Available versions:
                         2.0.0.72!m!s amd64 x86 [qt-static]
                 ~       2.1.0.81+i!m!s ~amd64 ~x86 [qt-static]
      Installed versions:  2.0.0.72!m!s(06:22:21 04/15/09)(-qt-static)
      Homepage:            http://www.skype.com/
      Description:         A P2P-VoiceIP client.

 However, after updating portage I see:

 Calculating dependencies... done!

 Total: 0 packages, Size of downloads: 0 kB

 !!! The following installed packages are masked:
 - net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
 A copy of the 'skype-eula' license is located at 
 '/usr/portage/licenses/skype-
 eula'.

 Is portage telling me that I need to do something about the eula?  eix does
 not show this version as being masked.

 1. Go to Google (or your favourite search engine)
 2. Search for gentoo license mask
 3. Follow instructions from several previous threads

Nice, thanks.  :-)
-- 
Regards,
Mick



[gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread luis jure

hello list,

i purchased recently an external usb disk (HP SimpleSave, 1.5 TB).

i re-formatted it with an ext4 file system, but i can't get rid of the
virtual cd created by the manufacturer with some backup software.

when i connect the disc, the system sees two devices: a hard disc (for
example /dev/sdb, that i can format with the usual tools) and a virtual
cd-rom (sr1 or sg1), that i'd like to erase but i don't know how to
manipulate. 

here is the relevant part of dmesg:

usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access  HP   External HDD1028 PQ: 0 ANSI: 4
sd 3:0:0:0: Attached scsi generic sg2 type 0
scsi 3:0:0:1: CD-ROM HP   Virtual CD 4607 1028 PQ: 0 ANSI: 4
sd 3:0:0:0: [sdb] 2928904192 512-byte logical blocks: (1.49 TB/1.36 TiB)
sr1: scsi3-mmc drive: 51x/51x caddy
sr 3:0:0:1: Attached scsi CD-ROM sr1
sr 3:0:0:1: Attached scsi generic sg3 type 5
usb-storage: device scan complete
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 23 00 10 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI disk



and of ls -l /dev

brw-rw 1 root disk 8, 16 ene 26 10:02 /dev/sdb
brw-rw 1 root disk 8, 17 ene 26 10:02 /dev/sdb1
brw-rw 1 root cdrom 11, 1 ene 26 10:02 /dev/sr1


any help would be greatly appreciated, i've been searching the web for
days and found many people asking the same question, but no solution
yet...

best,

lj




Re: [gentoo-user] Where oh where has my vol_id gone

2010-01-26 Thread Kevin O'Gorman
On Sun, Jan 24, 2010 at 6:31 AM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 24 Jan 2010, at 03:53, Kevin O'Gorman wrote:

  I used to have a vol_id command to discover the UUIDs of my partitions.
 I just connected some new SATA drives and I cannot find that utility.  Did I
 just imagine it, or has something else happened?


 Sorry if this is a dumb response, but have you partitioned /or formatted
 them?

 Here I would use `ls -lG /dev/disk/by-uuid/` to find UUIDs. A drive that
 was hot-swapped in, partitioned  formatted since the system was booted is
 showing.

 Please excuse me if I'm misunderstanding your question.

 Stroller.

 As it happens, these were Fantom Green drives, which come with NTFS, but I
had just reformatted with ext4.

Thanks, though, I didn't know about that /dev/disk thing either...

-- 
Kevin O'Gorman, PhD


[gentoo-user] system freeze

2010-01-26 Thread Yoav Luft
Hello,
My system just froze, dead unresponsive, with the screen on, after
several minutes of being idle. How can I gather more information about
it? Is there someplace to look for clues as to what made it freeze?



Re: [gentoo-user] system freeze

2010-01-26 Thread wins mallow
On Tue, 2010-01-26 at 15:40 +0200, Yoav Luft wrote:
 Hello,
 My system just froze, dead unresponsive, with the screen on, after
 several minutes of being idle. How can I gather more information about
 it? Is there someplace to look for clues as to what made it freeze?
 
1. check your hw with memtest, livecd, etc
2. set default values at cmos
3. check system log




Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Neil Bothwick
On Tue, 26 Jan 2010 10:19:36 -0200, luis jure wrote:

 when i connect the disc, the system sees two devices: a hard disc (for
 example /dev/sdb, that i can format with the usual tools) and a virtual
 cd-rom (sr1 or sg1), that i'd like to erase but i don't know how to
 manipulate. 

If this works like the virtual CDROMS in 3G modems, you can get rid of it
with a udev rule that ejects the device as soon as it is detected.

ATTRS{idVendor}==1410, ATTRS{idProduct}==5010, 
ACTION==add,RUN+=/usr/bin/eject %k

was the line I used to prevent one such modem showing up as a CD.


-- 
Neil Bothwick

Sir! Romulan warbird decloaki»®õ÷üÁ NO CARRIER


signature.asc
Description: PGP signature


Re: [gentoo-user] Bluetooth is impossible

2010-01-26 Thread Grant
 I have a TRENDnet TBW-105UB USB bluetooth adapter and Motorola H560
 bluetooth headset, and I'm trying to use them with twinkle VOIP
 software.  I've spent at least 8 hours today following up with every
 single lead and I can't figure out how this is supposed to work.  I
 think I don't have the 2 devices pairing.  The instructions here:

 http://www.gentoo.org/doc/en/bluetooth-guide.xml

 seem to be completely outdated.  I installed blueman in the hopes that
 it would help facilitate pairing, but I only get python errors when I
 try to run the binaries.  Is it gnome-only?  I'm running xfce4.

 Dumb question, Grant, but you are using the right passkey, right?

 These headsets have it built into them, and you usually have to do something
 like hold down the headset's power button for 4 or 6 seconds (instead of
 just pushing it and letting go, as you would normally do to power on the
 device) and the indicator light will flash (or flash more slowly than usual,
 or change colour or in some other way indicate it's doing things
 differently). This initiates pairing mode on the headset, and you have 10 or
 20 seconds to pair.

 The passkey of the headset is usually fixed at , but check the manual.
 You can't change it, and you'll need to match your PC to that.

 It seems like you're a bit frustrated by all this, the way you've posted
 without giving us any information. If you're struggling with the concept of
 pairing, then I suggest you try pairing the headset with your phone  using
 it, just to get the hang of it. If you don't have a bluetooth phone, maybe
 you could borrow one? Usually headsets pair with phones pretty easily, first
 or second time, just as soon as you've worked out which of the tiny little
 buttons to hold in the right way for pairing. Once you've got this sussed
 out it'll pair immediately - or even automatically - with your PC.

 The article doesn't look *that* out of date to me, as it mentions ... with
=bluez-libs-3.x and =bluez-utils-3.x, pin helpers have been replaced...
 and here on my systems versions 2.25 are still marked as stable. On the
 other hand I see that 3.36 is marked as stable, too. :/

 Stroller.

 Thank you for taking the time to write, and I'm sorry my frustration
 shined through.  I got blueman running and everything is working now.
 To get blueman running I had to use the dbus bluetooth.conf from here:

 http://bugs.gentoo.org/275470

 and run blueman-applet and then blueman-manager.

 That Gentoo Bluetooth page really is way out of date.  I reverted back
 to original everything, and the only info I needed from that page was
 the kernel config.  Absolutely nothing else necessary except for
 emerging blueman, copying the dbus bluetooth.conf from above, and
 starting /etc/init.d/bluetooth.  That page refers to bluez-utils-3.*
 and bluez-libs-3.* which are both deprecated and the config is
 different.  bluetooth stuff in portage depends on bluez-4.* which
 blocks the other two.

 Also, it was necessary to add the following to /etc/asound.conf and
 specify bluetooth for the alsa devices in twinkle:

 pcm.bluetooth {
        type bluetooth
        device 00:1F:82:14:7F:11
 }

 You mentioned that the headset's PIN can't be changed.  Couldn't
 anybody pair with it if they enter ?

 - Grant

Using the blueman-1.21 ebuild is really the secret to success here:

http://bugs.gentoo.org/show_bug.cgi?id=289902

All that is required is emerge bluez, reload dbus, start bluetooth,
emerge blueman-1.21, config asound.conf as above, and restart
alsasound.

Has anyone gotten bluetooth pairing without a GUI tool such as
blueman?  That's the impossible part.

- Grant



[gentoo-user] xfce4 systray malfunctioning

2010-01-26 Thread Grant
My wife and I have identical Dell Vostro 1320 laptops and I've always
tried to keep their configs the same.  The xfce4 systray on mine works
perfectly, but my wife's has always malfunctioned and I've never been
able to figure out why.  xfce4 panel plugins work perfectly, but other
applications such as orage, blueman, wicd, and twinkle which should
appear in the systray do not.  The systray icon for twinkle actually
shows up in the center of the screen, but the icons for the rest do
not show up at all.  I'm not sure where to start with this, does
anyone have any ideas?  I just completed an emerge -e world so nothing
should need rebuilding.

- Grant



[gentoo-user] POT (partly offtopic): Firefox + Polipo + Tor switching advice needed...

2010-01-26 Thread meino . cramer

Hi,

 I successfully configured firefox to work with tor over polipo.
 And I successfully configured firefox to work with polipo without
 tor.

 But anything I tried to conveniently switch firefox to either use
 tor or not to tor ended up in ugly scripts, which switch config
 files for polipo and/or tor before killing tor/polipo process and
 restart new ones ended in mess and misbehaviour.

 I tried torbutton and read bad things of disappearing bookmarks
 when doing so. I tried foxproxy and read on the torbutton homepage,
 that this is not save.

 For unknown reasons, DNS calls leaked unencrypted when using tor.
 Something with socks seems not to work in/with firefox?!?!?!?!

 I am using firefox 3.5.7.

 My goal is to have ONE button to safely and securely switch between
 firefox with and without tor both with polipo.

 If someone know the ultimate solution or reason, why I am to
 [CENSORED] to manage this task; PLEASE HELP ME! :


 Thank you very much in advance for any help!
 Best regards,
 mcc
 


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Jarry

Hi,
I just noticed I have *a lot of* tty/pty files in dev:

obelix ~ # ls -l /dev/pty* | wc -l
256
obelix ~ # ls -l /dev/tty* | wc -l
325

They have names from /dev/ptya0 till /dev/ptyzf, then
pty0-pty63, and ttya0-ttyzf. Is this normal? I thought
udev creates device-files as they are needed, so I'm
surprised to see so much of them...

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Alex Schuster
Jarry writes:

 I just noticed I have *a lot of* tty/pty files in dev:
 
 obelix ~ # ls -l /dev/pty* | wc -l
 256
 obelix ~ # ls -l /dev/tty* | wc -l
 325
 
 They have names from /dev/ptya0 till /dev/ptyzf, then
 pty0-pty63, and ttya0-ttyzf. Is this normal? I thought
 udev creates device-files as they are needed, so I'm
 surprised to see so much of them...

Seems to be normal, I get the same output on two of my Gentoo machines.

Wonko



Re: [gentoo-user] system freeze

2010-01-26 Thread Yoav Luft
ok, it happened in X, and happened several times. I suspect it happens
only when the screen is supposed to go to standby, but it's only
suspicion, not a fact. I've changed the kernel settings lately,
without installing the new kernel yet, and I'm about to do that now,
with magic SysReq, just in case.
I'm not sure if the system is really ideal, or just that application
are unresponsive.
While writing this mail I've managed to recreate the symptoms by
pressing ctrl+alt+F1. I have an intel video card, and remember having
some problems with it.

What log should I check? I never tried to track down this kind of
error in the past.

On Tue, Jan 26, 2010 at 4:21 PM, Willie Wong ww...@math.princeton.edu wrote:
 On Tue, Jan 26, 2010 at 03:40:39PM +0200, Yoav Luft wrote:
 Hello,
 My system just froze, dead unresponsive, with the screen on, after
 several minutes of being idle. How can I gather more information about
 it? Is there someplace to look for clues as to what made it freeze?

 What was it running at the time? (Was it *truly* idle or was it just
 not running userspace applications?)

 Was this in X or on the command line? It it was in X, have you tried
 the Magic SysReq Keys (provided that you have that compiled into the
 kernel; there have been many threads on this mailing list with more
 details, you can search for it)?

 If you reboot, is there anything suspicious in /var/log?

 Is this recurring, or has it only happened this one time?

 Have you performed any software/firmware/hardware updates recently?

 These are just some of the questions that immediately pop into my
 head. If you provide more information, I'm sure the list can help you
 sort this out.

 Cheers,

 W
 --
 Willie W. Wong                                     ww...@math.princeton.edu
 408 Fine Hall,  Department of Mathematics, Princeton University,  Princeton
 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
         et vice versa   ~~~  I. Newton





Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Jarry

On 26. 1. 2010 18:57, Alex Schuster wrote:


I just noticed I have *a lot of* tty/pty files in dev:

obelix ~ # ls -l /dev/pty* | wc -l
256
obelix ~ # ls -l /dev/tty* | wc -l
325

They have names from /dev/ptya0 till /dev/ptyzf, then
pty0-pty63, and ttya0-ttyzf. Is this normal? I thought
udev creates device-files as they are needed, so I'm
surprised to see so much of them...


Seems to be normal, I get the same output on two of my Gentoo machines.
Wonko


Thanks for info. FYI I just checked some debian-machine and
it has only 63 tty's and none pty. I always thought it had
something to do with number of terminals started by inittab.
Anyway, it looks so that udev is not dynamic for all kind
of dev-files...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Dirk Heinrichs
Am Dienstag 26 Januar 2010 19:20:27 schrieb Jarry:

 Anyway, it looks so that udev is not dynamic for all kind
 of dev-files...

Well, it is. Lookup /lib/udev/rules.d/50-udev-default.rules, you'll find the 
rules for creating [pt]ty nodes there. Debian may have different rules in 
place.

Bye...

Dirk



Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Dale

Alex Schuster wrote:

Jarry writes:

  

I just noticed I have *a lot of* tty/pty files in dev:

obelix ~ # ls -l /dev/pty* | wc -l
256
obelix ~ # ls -l /dev/tty* | wc -l
325

They have names from /dev/ptya0 till /dev/ptyzf, then
pty0-pty63, and ttya0-ttyzf. Is this normal? I thought
udev creates device-files as they are needed, so I'm
surprised to see so much of them...



Seems to be normal, I get the same output on two of my Gentoo machines.

Wonko

  


Same thing here.  It's a old install so I expected some old things 
before udev took over.  I guess udev cleaned it up some. 


Seems normal tho.

Dale

:-)  :-) 



Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread luis jure
on 2010-01-26 at 14:28 Neil Bothwick wrote:


ATTRS{idVendor}==1410, ATTRS{idProduct}==5010,
ACTION==add,RUN+=/usr/bin/eject %k

was the line I used to prevent one such modem showing up as a CD.

thanks for your answer, but i take it that this only hides the
partition? any ideas how i can effectively delete it?




Re: [gentoo-user] system freeze

2010-01-26 Thread Willie Wong
On Tue, Jan 26, 2010 at 08:09:27PM +0200, Yoav Luft wrote:
 ok, it happened in X, and happened several times. I suspect it happens
 only when the screen is supposed to go to standby, but it's only
 suspicion, not a fact. I've changed the kernel settings lately,
 without installing the new kernel yet, and I'm about to do that now,
 with magic SysReq, just in case.
 I'm not sure if the system is really ideal, or just that application
 are unresponsive.
 While writing this mail I've managed to recreate the symptoms by
 pressing ctrl+alt+F1. I have an intel video card, and remember having
 some problems with it.
 
 What log should I check? I never tried to track down this kind of
 error in the past.

kernel log, maybe. (If you use metalog, the default should be under
/var/log/kernel/) X log (/var/log/Xorg.?.log)

If your computer has sshd open, you can try to ssh-in from another
computer. If you can get in, at least you don't have a full-blown
kernel panic. 

What kernel settings did you tweak? Installed a new kernel maybe? 
Which kernel version?
With an intel video card, are you using kernel mode setting?
Do you have a previous kernel where everything is working? If so,
what are the diffs between the configs? [Yes, a situation like this is
why it is nice to either save your kernel configs or save the old
bzimage with /proc/config.gz enabled.] 

Cheers, 

W 
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Stefan Schulte
Looks different on my machine:

# ls -l /dev/pty* | wc -l
zsh: no matches found: /dev/pty*
0
# ls -l /dev/tty* | wc -l
65

It may have something to do with your kernel settings.
Device Drivers-Character devices-Unix98 PTY support is enabled
Device Drivers-Character devices-Legacy (BSD) PTY support is disabled
here

-Stefan

On Tue, Jan 26, 2010 at 06:57:33PM +0100, Alex Schuster wrote:
 Jarry writes:
 
  I just noticed I have *a lot of* tty/pty files in dev:
  
  obelix ~ # ls -l /dev/pty* | wc -l
  256
  obelix ~ # ls -l /dev/tty* | wc -l
  325
  
  They have names from /dev/ptya0 till /dev/ptyzf, then
  pty0-pty63, and ttya0-ttyzf. Is this normal? I thought
  udev creates device-files as they are needed, so I'm
  surprised to see so much of them...
 
 Seems to be normal, I get the same output on two of my Gentoo machines.
 
   Wonko
 


pgpCEg6oTcCJ1.pgp
Description: PGP signature


Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Paul Hartman
On Tue, Jan 26, 2010 at 6:19 AM, luis jure l...@internet.com.uy wrote:

 hello list,

 i purchased recently an external usb disk (HP SimpleSave, 1.5 TB).

 i re-formatted it with an ext4 file system, but i can't get rid of the
 virtual cd created by the manufacturer with some backup software.

I don't think it is possible to remove it. Disks with this kind of
helpful stuff are annoying because of violating corporate policies,
being seen as non-hdd by some devices that accept external hard drives
(like a dvr, media center etc). A quick googling basically said that
people who don't like it sold it and bought a different brand...

I think Neil's on the right track, you can make a udev rule to
hide/disable/eject to it...  I do not remember if udev has a blacklist
functionality or not. maybe?



Re: [gentoo-user] POT (partly offtopic): Firefox + Polipo + Tor switching advice needed...

2010-01-26 Thread Paul Hartman
On Tue, Jan 26, 2010 at 10:46 AM,  meino.cra...@gmx.de wrote:

 Hi,

  I successfully configured firefox to work with tor over polipo.
  And I successfully configured firefox to work with polipo without
  tor.

  But anything I tried to conveniently switch firefox to either use
  tor or not to tor ended up in ugly scripts, which switch config
  files for polipo and/or tor before killing tor/polipo process and
  restart new ones ended in mess and misbehaviour.

  I tried torbutton and read bad things of disappearing bookmarks
  when doing so. I tried foxproxy and read on the torbutton homepage,
  that this is not save.

  For unknown reasons, DNS calls leaked unencrypted when using tor.
  Something with socks seems not to work in/with firefox?!?!?!?!

  I am using firefox 3.5.7.

  My goal is to have ONE button to safely and securely switch between
  firefox with and without tor both with polipo.

  If someone know the ultimate solution or reason, why I am to
  [CENSORED] to manage this task; PLEASE HELP ME! :


  Thank you very much in advance for any help!
  Best regards,
  mcc

I think the safest way it to use a different user, or a virtual
machine, with no access to outside networks, only access to the local
tor (which in turn is only able to access outside or proxy). And use a
tor-firefox and a non-tor-firefox. Trying to switch between
secure/insecure on the same browser with cookies, bookmarks, etc seems
too dangerous if you're really using tor for secure tasks. Even if
you're just trying for fun beware that you don't know who is spying on
your data. (encrypt everything)

Also be sure to disable things like phishing site warnings, similar
sites recommendations, etc; it causes queries to google/whoever about
your current page.

I tried Tor with firefox/torbutton/privoxy/noscript and it seemed to
work. It was so slow it would take a lot of patience to do anything,
trying to load the same page took several tries. It seemed like it can
only perform 1 network thread at a time. I don't know if it's a limit
of tor or privoxy or some configuration problem on my side.



Re: [gentoo-user] remote desktop suggestion

2010-01-26 Thread Amit Dor-Shifer



Paul Hartman wrote:

On Thu, Jan 21, 2010 at 4:10 PM, Valmor de Almeida val.gen...@gmail.com wrote:
  

Hello,

I would like to try a remote desktop server/client app (linux to linux).
Would anyone have suggestions? freenx x ltsp x vnc x others?

Thanks,



definitely one of the NX or NX-derived products. The performance is
lightyears ahead of any other and there are clients for
windows/mac/solaris and it uses ssh already so no need to mess with
tunnelling. It can also proxy local VNC and RDP connections to make
them faster, too.

  
I tried nxserver-freenx. The performance is indeed impressive. Yet it 
didn't work 'out-of-the-box'. I had to assign write perms over /tmp, as 
nx user is attempting to write to that folder.

FYI.
Amit



Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Neil Bothwick
On Tue, 26 Jan 2010 16:56:12 -0200, luis jure wrote:

 ATTRS{idVendor}==1410, ATTRS{idProduct}==5010,
 ACTION==add,RUN+=/usr/bin/eject %k
 
 was the line I used to prevent one such modem showing up as a CD.  
 
 thanks for your answer, but i take it that this only hides the
 partition? any ideas how i can effectively delete it?

You can't if it is in the drive's firmware. It's not a physical partition
if repartitioning the drive doesn't touch it. ejecting the CD means it
is no longer present, that's why the device disappears.


-- 
Neil Bothwick

It is impossible to fully enjoy procrastination
unless one has plenty of work to do.


signature.asc
Description: PGP signature


Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread luis jure
on 2010-01-26 at 20:26 Neil Bothwick wrote:

 any ideas how i can effectively delete it?

You can't if it is in the drive's firmware. 

i see. if i understand correctly, i'd need a specific tool to overwrite
the firmware. is that correct? 



Re: [gentoo-user] remote desktop suggestion

2010-01-26 Thread Alan McKinnon
On Wednesday 27 January 2010 00:01:54 Amit Dor-Shifer wrote:
 Paul Hartman wrote:
  On Thu, Jan 21, 2010 at 4:10 PM, Valmor de Almeida val.gen...@gmail.com 
wrote:
  Hello,
 
  I would like to try a remote desktop server/client app (linux to linux).
  Would anyone have suggestions? freenx x ltsp x vnc x others?
 
  Thanks,
 
  definitely one of the NX or NX-derived products. The performance is
  lightyears ahead of any other and there are clients for
  windows/mac/solaris and it uses ssh already so no need to mess with
  tunnelling. It can also proxy local VNC and RDP connections to make
  them faster, too.
 
 I tried nxserver-freenx. The performance is indeed impressive. Yet it
 didn't work 'out-of-the-box'. I had to assign write perms over /tmp, as
 nx user is attempting to write to that folder.

/tmp MUST have write permissions anyway. It needs to be 777 plus sticky dir as 
the entire point of it is for any user to write to it

So your box was broken. If it had been fixed, nx would probably have worked 
out the box

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] KDE 4.4rc2 Network Manager Applet

2010-01-26 Thread Dave Oxley
Hi All,

I've just installed KDE 4.3.95 from the kde overlay and was expecting the 
network manager applet to be installed by default but it doesn't appear to be. 
Does anyone know how I install this? Is it an ebuild that's not part of the 
@kde-4.4 set?

Cheers,
Dave.



Re: [gentoo-user] changing nvidia settings dynamically

2010-01-26 Thread Iain Buchanan
I'm still trying to figure this out!

Two screens - one screen is easy.  When I undock, I just run:
$ xrandr -s 1920x1200
to set the resolution to that of my laptop LCD.  All good.

When I dock however, I have to run this sequence of commands:
$ ./nv-control-dpy --probe-dpys
$ ./nv-control-dpy --set-associated-dpys 0x5
$ ./nv-control-dpy --add-metamode DFP-2: nvidia-auto-select @1920x1200 +0+0, 
DFP-0: nvidia-auto-select @1920x1200 +1920+0
$ xrandr -s 0 -r 118

The output of probe-dpys gives me the mask to use, and the output of
add-metamode gives me 118 which I pass on to xrandr.

This lays out the monitors in the right order, but now the external LCD
is black except for the cursor!  There's stuff on it (I can drag windows
to and from it, click on icons)...

Any more ideas?  Please?!
-- 
Iain Buchanan iaindb at netspace dot net dot au

He expanded his chest to make it totally clear that here 
was the sort of man you only dared to cross if you had a 
team of Sherpas with you. 




Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Steven
I had this problem with a SanDisk usb drive.
Its been years since I did this but If my memory serves me correct I had
to go to the SanDisk website and download a program for windows to
remove the problem.

I don't know if there is a linux alternative to something like this but
I know how annoying it can be.

I know there not the same brand but have you tried there website for
something like this. I would think they would provide an option to
remove the annoyance. Of course google might help as well.

On 20:29/01/26/10, luis jure wrote:
 on 2010-01-26 at 20:26 Neil Bothwick wrote:
 
  any ideas how i can effectively delete it?
 
 You can't if it is in the drive's firmware. 
 
 i see. if i understand correctly, i'd need a specific tool to overwrite
 the firmware. is that correct? 



[gentoo-user] [footnote] The purpose of pam

2010-01-26 Thread walt

Not too long ago there was a question here about why pam is
needed (or not) but I can't find that thread at the moment :-/

Anyway, I said that I put auth sufficient pam_ssh.so in
my /etc/pam.d/system-auth file so that I can ssh between
the machines on my home network using my ssh key for login
authentication *instead* of a password.

Well, Neil said that I don't need pam for that because sshd
handles ssh logins automatically, whether by key or password.

I deleted that line from system-auth and found that I could
indeed ssh between machines using my ssh key, just as Neil
said.

However...

Then I remembered that the *real* reason I added that line
to system-auth is so that I can login directly (not via ssh)
to my local machines using my ssh passphrase instead of an
ordinary password.  (This seems inherently more secure to
me, but I could be wrong.)

After thinking awhile I realized that pam can be used to
combine muliple forms of authentication to reduce the well
documented risk of single-factor authentication (like our
traditional password system).

Example:  if I have an ordinary password, plus an ssh key
stored on a USB stick, plus a biometric device like an
eye scanner or a fingerprint scanner, I can then use any
or all of those methods to identify myself to the system
by configuring pam in the appropriate way.

Any sysadmins out there that can confirm my reasoning?




Re: [gentoo-user] changing nvidia settings dynamically

2010-01-26 Thread Hung Dang
I configure xorg.conf for the laptop screen only and use nvidia-setting to
setup twinview mode for the external screen (it does not require to restart
X). It works fine so far.

Hope this help
Hung

On Fri, Jan 15, 2010 at 12:25 AM, Iain Buchanan iai...@netspace.net.auwrote:

 Hi all,

 For a long time I've been using nvidia's twinview for two 1920x1200
 displays (laptop and external LCD).

 Whenever I dock / undock I have to run nvidia-settings to change the
 resolution from the virtual 3840x1200 to 1920x1200 or vice versa.  Also
 since two screens is the Default I have to do this when I log in with
 only the laptop.

 I am looking for a way to use the command line nvidia-settings (as much
 as I've studied the help I can't find out how to do it - all attributes
 seem read-only to the command line nvidia-settings)

 Then I can call nvidia-settings --some-options on a dock / undock event.

 Alternatively, I read in the nvidia-drivers README that you can use
 metamodes and then use the FN-F8 (CRT/LCD switch key) to switch between
 them.  However, when I use metamodes I always get a 3840 wide screen,
 and I can scroll left and right to the unseen space.

 These are the metamodes I've tried:
 1. The two-screen only metamode:
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0
 2. attempt to use a 1920 metamode as well:
Option metamodes DFP-0: 1920x1200; DFP-0: 1920x1200 +1920+0,
 DFP-2: 1920x1200 +0+0
 3. attempt 2:
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0; DFP-0: 1920x1200 +0+0,

 Here's my screen section (all other sections are basic):
 Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option TwinView 1
Option TwinViewXineramaInfoOrder DFP-2
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0
SubSection Display
Depth   24
EndSubSection
 EndSection

 Has anyone done a dynamic mode change with nvidia xinerama?

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

 If you have nothing to do, don't do it here.






-- 
Hung Dang
New Mexico State University


Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Neil Bothwick
On Tue, 26 Jan 2010 20:29:53 -0200, luis jure wrote:

  any ideas how i can effectively delete it?  
 
 You can't if it is in the drive's firmware.   
 
 i see. if i understand correctly, i'd need a specific tool to overwrite
 the firmware. is that correct? 

Why would you want to do that? The virtual CD is not taking up any space
on the disk and it is no longer visible on your system once you eject it.
Why would you want to risk turning the drive into a brick to get rid of
it when it's not really there anyway?

-- 
Neil Bothwick

(A)bort (R)etry (S)ell it


signature.asc
Description: PGP signature


Re: [gentoo-user] changing nvidia settings dynamically

2010-01-26 Thread Iain Buchanan
On Tue, 2010-01-26 at 18:04 -0700, Hung Dang wrote:
 I configure xorg.conf for the laptop screen only and use
 nvidia-setting to setup twinview mode for the external screen (it does
 not require to restart X). It works fine so far. 
 
 Hope this help
 Hung

thanks, but I wanted to get away from doing anything manually, and have
the screens appear correct regardless of how I have them plugged in :)

I'm almost there...
-- 
Iain Buchanan iaindb at netspace dot net dot au

Painting, n.:
The art of protecting flat surfaces from the weather, and
exposing them to the critic.
-- Ambrose Bierce




Re: [gentoo-user] deleting virtual cd in usb hard disc

2010-01-26 Thread Iain Buchanan
On Wed, 2010-01-27 at 01:25 +, Neil Bothwick wrote:
 On Tue, 26 Jan 2010 20:29:53 -0200, luis jure wrote:
 
   any ideas how i can effectively delete it?  
  
  You can't if it is in the drive's firmware.   
  
  i see. if i understand correctly, i'd need a specific tool to overwrite
  the firmware. is that correct? 
 
 Why would you want to do that? The virtual CD is not taking up any space
 on the disk

oRly?  Toshiba used to sell USB keys that came built in with a cd (or
hd?) partition that you couldn't get rid of but it took up space.

They provided a windows utility that could erase it, and give the space
back to the primary partition.

Don't know about the SimpleSave though.

  and it is no longer visible on your system once you eject it.
 Why would you want to risk turning the drive into a brick to get rid of
 it when it's not really there anyway?

Because it's annoying? Because it's wrong? Because it's there?

You could possibly turn off SCSI CDROM support in your kernel:
CONFIG_BLK_DEV_SR=n
if you don't use it for anything else.  Or you could stop the module
sr_mod from loading automatically.

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

On a clear disk you can seek forever.




[gentoo-user] Xterm slow start : partly solved

2010-01-26 Thread Philip Webb
After reporting earlier that I had found a solution
to the slow start of Xterm, the bug soon returned.
I have had further discussions with Xterm's maintainer Thomas Dickey
 have made Xterm start instantly via  USE=-toolbar.
See Gentoo bug 293933 for details.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.4rc2 Network Manager Applet

2010-01-26 Thread Dave Oxley
It's ok I found it. kde-misc/knetworkmanager. I had a local ebuild that was 
overriding it which didn't compile and that was confusing me.

Cheers,
Dave.

On Wednesday 27 January 2010 10:16:37 Dave Oxley wrote:
 Hi All,
 
 I've just installed KDE 4.3.95 from the kde overlay and was expecting the 
 network manager applet to be installed by default but it doesn't appear to 
 be. Does anyone know how I install this? Is it an ebuild that's not part of 
 the @kde-4.4 set?
 
 Cheers,
 Dave.
 
 



Re: [gentoo-user] [footnote] The purpose of pam

2010-01-26 Thread Alan McKinnon
On Wednesday 27 January 2010 02:34:56 walt wrote:
 After thinking awhile I realized that pam can be used to
 combine muliple forms of authentication to reduce the well
 documented risk of single-factor authentication (like our
 traditional password system).
 
 Example:  if I have an ordinary password, plus an ssh key
 stored on a USB stick, plus a biometric device like an
 eye scanner or a fingerprint scanner, I can then use any
 or all of those methods to identify myself to the system
 by configuring pam in the appropriate way.
 
 Any sysadmins out there that can confirm my reasoning?
 

This is not merely a nice thing you can use pam to do.

It is the entirely reason for pam's existence and it was 
written to do nothing else.

If all you need auth to do is validate a username/password 
you might as well stick with login

pam is Pluggable Authentication Modules, meaning you use 
the modules you want to create the scheme you want.

-- 
alan dot mckinnon at gmail dot com