[gentoo-user] accented characters in KDE apps

2012-02-26 Thread Philip Webb
In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie  ë .

Kate has a Vi mode, which seems to reproduce Vim fairly well,
but there's no sign of 'control-k' or any substitute.

KDE System Settings has a menu for setting a compose key,
but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM  Fixed(Misc).
I don't have the KDE desktop pkgs installed, but use many apps
 it shouldn't make a difference.

Does anyone know if  how accented characters cb entered in KDE apps ?

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




[gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
Hi,

After running an update yesterday (about 50 packages) on my ~x86 laptop, wicd 
stopped working, and no wicd was not updated neither was any other network 
related packages.
Today after a reboot my wireless network refused to start from wicd, starting 
it manually works.
This is a part of the wicd.log:

2012/02/26 09:53:51 :: enctype is wpa
2012/02/26 09:53:51 :: Generating psk...
2012/02/26 09:53:51 :: ['/usr/bin/wpa_passphrase', 'DMJ', 
'Do_not_care_about_this']
2012/02/26 09:53:51 :: Attempting to authenticate...
2012/02/26 09:53:51 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', 
'/var/lib/wicd/configurations/000f90ac2780', '-D', dbus.String(u'wext', 
variant_level=1)]
2012/02/26 09:53:51 :: ['iwconfig', 'wlan0', 'essid', '--', 'DMJ']
2012/02/26 09:53:51 :: iwconfig wlan0 channel 13
2012/02/26 09:53:51 :: iwconfig wlan0 ap 00:0F:90:AC:27:80
2012/02/26 09:53:51 :: WPA_CLI RESULT IS DISCONNECTED
2012/02/26 09:53:52 :: WPA_CLI RESULT IS COMPLETED
2012/02/26 09:53:52 :: Running DHCP with hostname mutgdjoda1
2012/02/26 09:53:52 :: /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0 
2012/02/26 09:53:52 :: dhcpcd[12434]: sending commands to master dhcpcd process
2012/02/26 09:53:52 :: 
2012/02/26 09:53:52 :: 
2012/02/26 09:53:52 :: DHCP connection successful
2012/02/26 09:53:52 :: not verifying
2012/02/26 09:53:52 :: Connecting thread exiting.
2012/02/26 09:53:52 :: ifconfig wlan0
2012/02/26 09:53:52 :: IP Address is: None
2012/02/26 09:53:52 :: Sending connection attempt result success
2012/02/26 09:53:52 :: ifconfig eth0
2012/02/26 09:53:52 :: iwconfig wlan0
2012/02/26 09:53:52 :: Forced disconnect on
2012/02/26 09:53:52 :: /sbin/dhcpcd -k wlan0


Running the commands by hand everything works:

# wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/000f90ac2780 -D 
wext

# wpa_cli status
Selected interface 'wlan0'
bssid=00:0f:90:ac:27:80
ssid=DMJ
id=0
mode=station
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.1.21

# /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
dhcpcd[28962]: sending commands to master dhcpcd process

# ifconfig wlan0
wlan0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500  metric 1
inet 192.168.1.21  netmask 255.255.255.0  broadcast 192.168.1.255
ether 00:18:de:e1:c9:71  txqueuelen 1000  (Ethernet)
RX packets 128  bytes 21081 (20.5 KiB)
RX errors 0  dropped 20  overruns 0  frame 0
TX packets 143  bytes 24546 (23.9 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And my wireless connection works!

Anny suggestions what's wrong?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Thursday night, I emerged some packages

Thu Feb 23 23:26:44 2012  net-libs/webkit-gtk-1.6.3-r300
Thu Feb 23 23:29:44 2012  www-client/midori-0.4.3
Thu Feb 23 23:45:36 2012  sys-apps/portage-2.1.10.49
Thu Feb 23 23:52:50 2012  media-libs/libpng-1.5.9
Thu Feb 23 23:53:45 2012  sys-apps/openrc-0.9.9
Thu Feb 23 23:56:43 2012  dev-libs/libgcrypt-1.5.0-r2
Thu Feb 23 23:58:35 2012  media-libs/libmikmod-3.2.0_beta2-r5
Thu Feb 23 23:59:20 2012  media-libs/vo-aacenc-0.1.2
Fri Feb 24 00:00:44 2012  dev-libs/libevent-2.0.17
Fri Feb 24 00:06:11 2012  dev-libs/libxml2-2.7.8-r5
Fri Feb 24 00:07:26 2012  media-sound/alsa-utils-1.0.25-r1
Fri Feb 24 00:08:35 2012  sys-apps/file-5.11
Fri Feb 24 00:10:28 2012  media-libs/imlib2-1.4.5
Fri Feb 24 00:15:00 2012  sys-apps/util-linux-2.20.1-r2
Fri Feb 24 00:15:18 2012  dev-util/intltool-0.50.1
Fri Feb 24 00:19:57 2012  net-print/hplip-3.12.2-r1
Fri Feb 24 00:23:30 2012  media-sound/mpd-0.16.7
Fri Feb 24 00:23:47 2012  dev-tex/latexmk-430a
Fri Feb 24 00:24:20 2012  dev-tex/latex-beamer-3.13

On Friday morning, I started having network problems. wicd would try
to connect to the access point, and fail. 

[   49.754744] r8169 :01:00.0: eth0: link down
[   50.958354] r8169 :01:00.0: eth0: link down
[   52.349167] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1)
[   52.355694] wlan0: authenticated
[   52.355762] wlan0: associate with 00:01:e3:4b:4a:6d (try 1)
[   52.358116] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 
aid=6)
[   52.358130] wlan0: associated
[   58.579496] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice 
(reason=3)
[   58.589726] cfg80211: Calling CRDA to update world regulatory domain
[   58.751572] r8169 :01:00.0: eth0: link down
[   59.954878] r8169 :01:00.0: eth0: link down
[   61.359184] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1)
[   61.365490] wlan0: authenticated
[   61.365561] wlan0: associate with 00:01:e3:4b:4a:6d (try 1)
[   61.367884] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 
aid=6)
[   61.367898] wlan0: associated
[   65.108874] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice 
(reason=3)
[   65.119716] cfg80211: Calling CRDA to update world regulatory domain
[   65.295639] r8169 :01:00.0: eth0: link down
[  262.492240] r8169 :01:00.0: eth0: link down

A bit of tracking plus memories of bygone days led me to realise that, 
for some reason, the two copies of dhcpcd client were being run! One
was started by wicd, after it associates to the AP. But how'bout the
other one? 

Well, on boot up this morning, I saw that, for the first time in a
*very long while* that DHCPCD is being started at boot time as a
service. Now, I am sure I didn't include it as a service. 

Gee-Mi-Ni ~ # rc-update show
alsasound |  default
 bootmisc | boot
  consolefont | boot
 dbus |  default
devfs |sysinit
dmesg |sysinit
 fsck | boot
  gpm |  default
 hostname | boot
  hwclock | boot
  keymaps | boot
killprocs |shutdown
local |  default nonetwork
   localmount | boot
  metalog | boot
  modules | boot
 mount-ro |shutdown
 mtab | boot
   net.lo | boot
 netmount |  default
   procfs | boot
 root | boot
savecache |shutdown
 swap | boot
swapfiles | boot
   sysctl | boot
 termencoding | boot
 udev |sysinit
   udev-postmount |  default
  urandom | boot
 wicd | boot

Okay, on the other hand rc-status showed something I haven't seen before

Dynamic Runlevel: needed
 sysfs[started]
 dhcpcd   [started]

Huh, simple enough, some other service needs dhcpcd to be running. Okay. Let me 
see which one it is:

Gee-Mi-Ni init.d # grep dhcpcd /etc/init.d/*
/etc/init.d/dhcpcd:command=/sbin/dhcpcd
/etc/init.d/dhcpcd:pidfile=/var/run/dhcpcd.pid
/etc/init.d/wpa_supplicant: before dns dhcpcd net

uh, apparently none of them? 

Can someone help me figure out how to find the offending initscript that is 
needlessly calling dhcpcd? 

Cheers, 
W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Alan McKinnon
On Sun, 26 Feb 2012 10:19:56 +0100
Dan Johansson dan.johans...@dmj.nu wrote:

 Hi,
 
 After running an update yesterday (about 50 packages) on my ~x86
 laptop, wicd stopped working, and no wicd was not updated neither was
 any other network related packages. Today after a reboot my wireless
 network refused to start from wicd, starting it manually works. This
 is a part of the wicd.log:
 
 2012/02/26 09:53:51 :: enctype is wpa
 2012/02/26 09:53:51 :: Generating psk...
 2012/02/26 09:53:51 :: ['/usr/bin/wpa_passphrase', 'DMJ',
 'Do_not_care_about_this'] 2012/02/26 09:53:51 :: Attempting to
 authenticate... 2012/02/26 09:53:51 :: ['wpa_supplicant', '-B', '-i',
 'wlan0', '-c', '/var/lib/wicd/configurations/000f90ac2780', '-D',
 dbus.String(u'wext', variant_level=1)] 2012/02/26 09:53:51 ::
 ['iwconfig', 'wlan0', 'essid', '--', 'DMJ'] 2012/02/26 09:53:51 ::
 iwconfig wlan0 channel 13 2012/02/26 09:53:51 :: iwconfig wlan0 ap
 00:0F:90:AC:27:80 2012/02/26 09:53:51 :: WPA_CLI RESULT IS
 DISCONNECTED 2012/02/26 09:53:52 :: WPA_CLI RESULT IS COMPLETED
 2012/02/26 09:53:52 :: Running DHCP with hostname mutgdjoda1
 2012/02/26 09:53:52 :: /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
 2012/02/26 09:53:52 :: dhcpcd[12434]: sending commands to master
 dhcpcd process 2012/02/26 09:53:52 :: 2012/02/26 09:53:52 :: 
 2012/02/26 09:53:52 :: DHCP connection successful
 2012/02/26 09:53:52 :: not verifying
 2012/02/26 09:53:52 :: Connecting thread exiting.
 2012/02/26 09:53:52 :: ifconfig wlan0
 2012/02/26 09:53:52 :: IP Address is: None
 2012/02/26 09:53:52 :: Sending connection attempt result success
 2012/02/26 09:53:52 :: ifconfig eth0
 2012/02/26 09:53:52 :: iwconfig wlan0
 2012/02/26 09:53:52 :: Forced disconnect on
 2012/02/26 09:53:52 :: /sbin/dhcpcd -k wlan0
 
 
 Running the commands by hand everything works:
 
 # wpa_supplicant -B -i wlan0
 -c /var/lib/wicd/configurations/000f90ac2780 -D wext
 
 # wpa_cli status
 Selected interface 'wlan0'
 bssid=00:0f:90:ac:27:80
 ssid=DMJ
 id=0
 mode=station
 pairwise_cipher=TKIP
 group_cipher=TKIP
 key_mgmt=WPA-PSK
 wpa_state=COMPLETED
 ip_address=192.168.1.21
 
 # /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
 dhcpcd[28962]: sending commands to master dhcpcd process
 
 # ifconfig wlan0
 wlan0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500  metric 1
 inet 192.168.1.21  netmask 255.255.255.0  broadcast
 192.168.1.255 ether 00:18:de:e1:c9:71  txqueuelen 1000  (Ethernet)
 RX packets 128  bytes 21081 (20.5 KiB)
 RX errors 0  dropped 20  overruns 0  frame 0
 TX packets 143  bytes 24546 (23.9 KiB)
 TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
 And my wireless connection works!
 
 Anny suggestions what's wrong?
 
 Regards,

I'm having similar issues with an Intel N6300 since a reboot.

In my case it fails with this:

[   76.232020] wlan0: deauthenticating from
xx:xx:xx:xx:xx:xx by local choice (reason=3)

Which means something deauthed the connection in the meantime. This
happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.

It doesn't make a whole lot of sense. If you are also running 3.2.6,
try 3.2.5 - if that works we are onto something.


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon squawked:
 On Sun, 26 Feb 2012 10:19:56 +0100
 Dan Johansson dan.johans...@dmj.nu wrote:
  After running an update yesterday (about 50 packages) on my ~x86
  laptop, wicd stopped working, and no wicd was not updated neither was
  any other network related packages. Today after a reboot my wireless
  network refused to start from wicd, starting it manually works. This
  is a part of the wicd.log:
  
 I'm having similar issues with an Intel N6300 since a reboot.
 
 In my case it fails with this:
 
 [   76.232020] wlan0: deauthenticating from
 xx:xx:xx:xx:xx:xx by local choice (reason=3)
 
 Which means something deauthed the connection in the meantime. This
 happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
 

You guys are almost certainly running into the same problem as the one
I mentioned in the thread I just started. 

Try `pkill dhcpcd` and associate again. 

Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
to start on boot. 

Cheers, 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] accented characters in KDE apps

2012-02-26 Thread Volker Armin Hemmann
Am Sonntag, 26. Februar 2012, 03:32:58 schrieb Philip Webb:
 In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie  ë .
 
 Kate has a Vi mode, which seems to reproduce Vim fairly well,
 but there's no sign of 'control-k' or any substitute.
 
 KDE System Settings has a menu for setting a compose key,
 but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
 I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM 
 Fixed(Misc). I don't have the KDE desktop pkgs installed, but use many apps
  it shouldn't make a difference.
 
 Does anyone know if  how accented characters cb entered in KDE apps ?


http://userbase.kde.org/Tutorials/ComposeKey

Typing Macrons, Umlauts, Accents, ... 
The compose key will be now whatever you have configured it to be, e. g. right 
logo. 
 Macrons 
compose + shift + hyphen then vowel 
or 
compose + underscore then vowel 
 -- 
āēīōū ĀĒĪŌŪ

 
 Umlauts 
compose + shift + single quote then vowel 
or 
compose + double quotes then vowel 
 -- 
äëïöü ÄËÏÖÜ


google is your friend.


-- 
#163933





Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon 
 squawked:
  On Sun, 26 Feb 2012 10:19:56 +0100
  Dan Johansson dan.johans...@dmj.nu wrote:
   After running an update yesterday (about 50 packages) on my ~x86
   laptop, wicd stopped working, and no wicd was not updated neither was
   any other network related packages. Today after a reboot my wireless
   network refused to start from wicd, starting it manually works. This
   is a part of the wicd.log:
   
  I'm having similar issues with an Intel N6300 since a reboot.
  
  In my case it fails with this:
  
  [   76.232020] wlan0: deauthenticating from
  xx:xx:xx:xx:xx:xx by local choice (reason=3)
  
  Which means something deauthed the connection in the meantime. This
  happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
  
 
 You guys are almost certainly running into the same problem as the one
 I mentioned in the thread I just started. 
 
 Try `pkill dhcpcd` and associate again. 
 
 Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
 to start on boot. 

Yes, that was it, killing the dhcpcd made it possible to bring the interface up 
and associate with the AP.
As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
assume (guess) that is why dhcpcd gets started at boot.
Now I just have to figure out a way to stop this from happening.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] accented characters in KDE apps

2012-02-26 Thread Philip Webb
120226 Volker Armin Hemmann wrote:
 Am Sonntag, 26. Februar 2012, 03:32:58 schrieb Philip Webb:
 In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie  ë .
 Kate has a Vi mode, which seems to reproduce Vim fairly well,
 but there's no sign of 'control-k' or any substitute.
 KDE System Settings has a menu for setting a compose key,
 but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
 I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM 
 Fixed(Misc). I don't have the KDE desktop pkgs installed, but use many apps
  it shouldn't make a difference.
 Does anyone know if  how accented characters cb entered in KDE apps ?
 google is your friend.
 http://userbase.kde.org/Tutorials/ComposeKey

Yes, I saw that, but ...

 Typing Macrons, Umlauts, Accents, ... 
 The compose key will be now whatever you have configured it to be,
 e. g. right logo. 

... as I said above, it doesn't work.

Thanks for trying, but please read the full msg before doing so (smile).

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




Re: [gentoo-user] accented characters in KDE apps

2012-02-26 Thread Volker Armin Hemmann
Am Sonntag, 26. Februar 2012, 07:44:37 schrieb Philip Webb:
 120226 Volker Armin Hemmann wrote:
  Am Sonntag, 26. Februar 2012, 03:32:58 schrieb Philip Webb:
  In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie  ë
  .
  Kate has a Vi mode, which seems to reproduce Vim fairly well,
  but there's no sign of 'control-k' or any substitute.
  KDE System Settings has a menu for setting a compose key,
  but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
  I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM 
  Fixed(Misc). I don't have the KDE desktop pkgs installed, but use many
  apps
   it shouldn't make a difference.
  Does anyone know if  how accented characters cb entered in KDE apps ?
  
  google is your friend.
  http://userbase.kde.org/Tutorials/ComposeKey
 
 Yes, I saw that, but ...
 
  Typing Macrons, Umlauts, Accents, ...
  The compose key will be now whatever you have configured it to be,
  e. g. right logo.
 
 ... as I said above, it doesn't work.
 
 Thanks for trying, but please read the full msg before doing so (smile).

well, worked here.. do you have a unicode enabled system? fonts?
-- 
#163933



[gentoo-user] Re: accented characters in KDE apps

2012-02-26 Thread Jörg Schaible
Philip Webb wrote:

 120226 Volker Armin Hemmann wrote:
 Am Sonntag, 26. Februar 2012, 03:32:58 schrieb Philip Webb:
 In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie 
 ë . Kate has a Vi mode, which seems to reproduce Vim fairly well,
 but there's no sign of 'control-k' or any substitute.
 KDE System Settings has a menu for setting a compose key,
 but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
 I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM 
 Fixed(Misc). I don't have the KDE desktop pkgs installed, but use many
 apps  it shouldn't make a difference.
 Does anyone know if  how accented characters cb entered in KDE apps ?
 google is your friend.
 http://userbase.kde.org/Tutorials/ComposeKey
 
 Yes, I saw that, but ...
 
 Typing Macrons, Umlauts, Accents, ...
 The compose key will be now whatever you have configured it to be,
 e. g. right logo.
 
 ... as I said above, it doesn't work.
 
 Thanks for trying, but please read the full msg before doing so (smile).

On a German keyboard layout I type AltGr+ü and then the letter: äöüïëÿ

Cheers,
Jörg




Re: [gentoo-user] Re: Safe way to test a new kernel?

2012-02-26 Thread Alex Schuster
Grant writes:

 I get Unrecognized command from savedefault in grub:
 
 grub savedefault --default=1 --once
 Error 27: Unrecognized command

Strange. Maybe this is something inofficial, and not every Gurb
understands this? The documentation does not mention the --default option
I think.

 I re-emerged grub with /boot mounted and ran grub-install but I get
 the same error.  Does anyone know how to fix this?  I'm on
 grub-0.97-r10.

Have a look at 'info grub', 'Booting' - 'Making your system robust',
especially section 4.3.2 'Booting fallback systems'. That's what I used in
order to test new kernels remotely.

Wonko



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dale
Willie WY Wong wrote:
 On Thursday night, I emerged some packages
 
 SNIP 
 Can someone help me figure out how to find the offending initscript that is 
 needlessly calling dhcpcd? 
 
 Cheers, 
 W



This may not be it but worth taking a look at.  /etc/rc.conf  From that
file:

# rc_hotplug is a list of services that we allow to be hotplugged.
# By default we do not allow hotplugging.
# A hotplugged service is one started by a dynamic dev manager when a
matching
# hardware device is found.
# This service is intrinsically included in the boot runlevel.
# To disable services, prefix with a !
# Example - rc_hotplug=net.wlan !net.*
# This allows net.wlan and any service not matching net.* to be plugged.
# Example - rc_hotplug=*
# This allows all services to be hotplugged
#rc_hotplug=*

I think that should be off by default but maybe try disabling them all
manually just in case.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



[gentoo-user] Re: Why is dhcpcd starting by itself?

2012-02-26 Thread walt
On 02/26/2012 01:35 AM, Willie WY Wong wrote:

 Gee-Mi-Ni init.d # grep dhcpcd /etc/init.d/*
 /etc/init.d/dhcpcd:command=/sbin/dhcpcd
 /etc/init.d/dhcpcd:pidfile=/var/run/dhcpcd.pid
 /etc/init.d/wpa_supplicant: before dns dhcpcd net
 
 uh, apparently none of them? 

The net.lo script does include this test:

# Ensure that loopback has the correct address
if [ ${IFACE} = lo -o ${IFACE} = lo0 ]; then
if [ $1 != null ]; then
config_0=127.0.0.1/8
config_index=1
fi
else
if [ -z $1 ]; then
ewarn No configuration specified; defaulting to DHCP
config_0=dhcp
config_index=1
fi
fi

The value of ${IFACE} is set (I think) by looking at the .lo
or .eth0 file extension of net.lo or net.eth0 (or whatever
symlink you created when you installed gentoo).  If you don't
have a net.whatever symlink to net.lo, then openrc defaults to
dhcp.

Do you maybe not have a net.foo symlink, or an old obsolete one
in /etc/init.d ?




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Dale
Alan McKinnon wrote:

 I'm the resident old fart around here
 


I beg your pardon.  ;-)

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 07:32:43AM -0600, Penguin Lover Dale squawked:
 This may not be it but worth taking a look at.  /etc/rc.conf  From that
 file:
 
 # rc_hotplug is a list of services that we allow to be hotplugged.
 # By default we do not allow hotplugging.
 # A hotplugged service is one started by a dynamic dev manager when a
 matching
 # hardware device is found.
 # This service is intrinsically included in the boot runlevel.
 # To disable services, prefix with a !
 # Example - rc_hotplug=net.wlan !net.*
 # This allows net.wlan and any service not matching net.* to be plugged.
 # Example - rc_hotplug=*
 # This allows all services to be hotplugged
 #rc_hotplug=*
 
 I think that should be off by default but maybe try disabling them all
 manually just in case.
 

Hotplug has never been turned on in my case. 

I've always had

rc_hotplug=!net.* 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 05:35:30AM -0800, Penguin Lover walt squawked:
 The value of ${IFACE} is set (I think) by looking at the .lo
 or .eth0 file extension of net.lo or net.eth0 (or whatever
 symlink you created when you installed gentoo).  If you don't
 have a net.whatever symlink to net.lo, then openrc defaults to
 dhcp.

Gee-Mi-Ni init.d # ls -l net*
lrwxrwxrwx 1 root root 6 Nov  7  2009 net.eth0 - net.lo
-rwxr-xr-x 1 root root 16852 Feb 26 10:06 net.lo
-rwxr-xr-x 1 root root  2211 Feb 26 10:06 netmount
lrwxrwxrwx 1 root root 6 Jan 22  2010 net.wlan0 - net.lo
-rwxr-xr-x 1 root root  6954 Feb 26 10:06 network

I think I have the correct ones. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong squawked:
 Can someone help me figure out how to find the offending initscript that is 
 needlessly calling dhcpcd? 

Apparently the culprit is /etc/init.d/netmount
I am not sure how it got into the default run level, since I don't use
any network file systems on my netbook. 

Cheers, 
W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Safe way to test a new kernel?

2012-02-26 Thread Grant
 I get Unrecognized command from savedefault in grub:

 grub savedefault --default=1 --once
 Error 27: Unrecognized command

 Strange. Maybe this is something inofficial, and not every Gurb
 understands this? The documentation does not mention the --default option
 I think.

 I re-emerged grub with /boot mounted and ran grub-install but I get
 the same error.  Does anyone know how to fix this?  I'm on
 grub-0.97-r10.

 Have a look at 'info grub', 'Booting' - 'Making your system robust',
 especially section 4.3.2 'Booting fallback systems'. That's what I used in
 order to test new kernels remotely.

        Wonko

I like that better.  Where do you execute 'grub-set-default 0'?

I did notice this:

In some newer versions of GNU/Linux, there is no
/sbin/grub-set-default (eg. Debian 3.1, Fedora Core 4,5). While some
distributions like Gentoo still has /sbin/grub-set-default

http://sidvind.com/wiki/GRUB:_Boot_another_OS_once#Method_1_.28preferred.29

BTW, is there a way to tell which grub entry I'm booted into, or am I
best off examining the contents of /proc/config.gz?

- Grant



Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread John
On Sunday, February 26, 2012 07:36 Dale wrote:
 Alan McKinnon wrote:
 
  I'm the resident old fart around here
 
 
 
 I beg your pardon.  ;-)
 
 Dale
 
 :-)  :-)

  Heh, if I can find someone close by that has a fast connection, I bet *I'll* 
be the new 
resident old fart at 50 years of age just this last Monday the 20th.

  I figure if I can find a fast connection, I can get what I need downloaded 
and burned 
onto a dvd. I'll just 'update' things one or two at a time so that it's easy on 
my dial-up 
connection. If I really, really need to update something like a kernel or 
something else 
that's huge for a dial-up download, I'll just find that fast connection again 
and put it 
on a cd or dvd (I *can) 'update' (emerge? still trying to get all the 
nomenclature down) 
from a cd or dvd, right?) and do it that way.

  A question about the stage 3 tarball thing...if I download that instead of 
the iso 
(which is for 486 and up, whereas the tarball is 686 and better), how do I burn 
it (the 
tarball) as an iso onto a dvd so I can install Gentoo? Also, Distrowatch.com 
says that 
Gentoo has the latest in 'packages' as Feb 26, yet when I downloaded the 
tarball of 
CONTENTS, it shows mostly things (gcc, glibc, kernel, etc) that are used in the 
January 
release of Gentoo 12.0, not what Distrowatch has in their list of up-to-date 
lib's and 
such for the 26th of Feb. Where do I find the 'package' that Distrowatch seems 
to have 
found with almost everything being the latest and greatest?


-- 
Life is not a journey to the grave with the intention of arriving safely, in a 
pretty and
well preserved body, but rather to skid in broadside on your Harley at 130 mph, 
thoroughly 
used and worn out, loudly proclaiming, Hot damn! WHAT A FRIGGIN' RIDE!



Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-26 Thread Mick
On Friday 24 Feb 2012 11:46:33 Mick wrote:
 On Thursday 23 Feb 2012 12:47:00 James Broadhead wrote:
  On 23 February 2012 12:39, Robin Atwood robin.atw...@attglobal.net 
wrote:
   I have just tried to send a file from my phone to my laptop running KDE
   4.8.0 and it fails; the two devices never bind. When I set up the
   laptop it was running KDE 4.6.3 and bluetooth worked fine. The BlueZ
   libraries have changed substantially since, I think. Using 'hcitool
   inq' works fine, it's the KDE dialogs which sit there searching
   endlessly. Any recommended settings for /etc/bluetooth/*? Doc is a bit
   hard to come by.
   
   TIA
   -Robin
  
  Not exactly on-topic, but I recently got my bluetooth headset working
  without any major hassle using net-wireless/gnome-bluetooth by
  - Building the appropriate communications-types modules
  - Starting the bluetooth init script
  - Running bluetooth-wizard to pair and bluetooth-applet to
  connect/disconnect
 
 I'm using net-wireless/bluedevil-1.2.2 and I do not have any such problems.
 However, I'm not using the whole KDE desktop and I'm still on KDEPIM
 4.4.11.1

I had a go at browsing the filesystem on my Blackberry.  It won't work.

obexftp fails in each case to list the contents on the BB internal flash.  When 
looking under Known Devices on the Bluedevil applet on the desktop, it says:

No supported services found

which make me think that the way this BB is set up, it won't share its fs with 
a PC.

if your run:

# sdptool browse your_device_MAC_address

it will list a number of services that the device supports after you connect 
it to your PC.

Although I could not browse any files using Dophin or obexftp, I was able to 
send and receive files using obex push.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: accented characters in KDE apps

2012-02-26 Thread Philip Webb
120226 Jörg Schaible wrote:
 Philip Webb wrote:
 In Gvim I can enter 'e-umlaut' via the keystrokes 'control-k e : ', ie ë .
 Kate has a Vi mode, which seems to reproduce Vim fairly well,
 but there's no sign of 'control-k' or any substitute.
 KDE System Settings has a menu for setting a compose key,
 but tests with 'left-control'  'pause' in Konsole  Kate did nothing.
 I tried in Kate with Luxi Mono  Courier(IBM), Konsole with LM 
 Fixed(Misc). I don't have the KDE desktop pkgs installed, but use many
 apps  it shouldn't make a difference.
 Does anyone know if  how accented characters cb entered in KDE apps ?
 On a German keyboard layout I type AltGr+ü and then the letter: äöüïëÿ

I don't want to change keyboard layouts, which isn't needed with Gvim.

I booted into Mandriva 10 Spring, which I have on another partition
but don't use except for testing stuff occasionally,  got it to work there :
SystemSettings - C/R + Language - KeyboardLayout - Advanced
- Compose key position - Left Ctl ; Kwrite complies : 'Ctl c ,' - 'ç' .

KDE System Settings in my usual Gentoo system doesn't show C/R+Language,
but offers the Compose-key options under Hardware - Keyboard - Advanced.

I don't have the whole of KDE installed, only what I need
to support the apps I use, so perhaps there's a pkg I need to add.

Does anyone have further suggestions ?

Thanks for those offered so far.

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




Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-26 Thread Volker Armin Hemmann
Am Samstag, 25. Februar 2012, 21:14:21 schrieb Grant:
  [snip]
  
  I'm amazed but disconnecting and reconnecting the IDE and power cable
  fixed it.  Which is your favorite tool for testing a HD's integrity
  with and without S.M.A.R.T. support?
  
  [I] gnome-extra/gsmartcontrol [1]
  Available versions:  (~)0.8.6 {debug}
  Installed versions:  0.8.6(16:47:27 13/02/12)(-debug)
  Homepage:http://gsmartcontrol.berlios.de/
  Description: Graphical user interface for smartctl
  
  [1] sunrise /var/lib/layman/sunrise
  
  Is a great (and sorely needed) frontend for smartmontools - it even
  colours lines in red when they indicate imminent failure!
 
 That sounds good but I shy away from GUI tools.  How does everyone go
 about using smartctl for monitoring?  Maybe just 'smartctl -a
 /dev/sda' emailed daily?
 
 - Grant

cat /etc/smartd.conf

/dev/sdb -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sdc -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sdd -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sde -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sdf -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sdg -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)
/dev/sdh -m root@localhost -d ata -a -o on -S on -s (S/../../4/17|L/../(01|
15)/./20)


postfix dumps all those mails into my mailbox

-- 
#163933




Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-26 Thread Robin Atwood
On Sunday 26 Feb 2012, Mick wrote:
 On Friday 24 Feb 2012 11:46:33 Mick wrote:
  On Thursday 23 Feb 2012 12:47:00 James Broadhead wrote:
   On 23 February 2012 12:39, Robin Atwood robin.atw...@attglobal.net
 
 wrote:
I have just tried to send a file from my phone to my laptop running
KDE 4.8.0 and it fails; the two devices never bind. When I set up
the laptop it was running KDE 4.6.3 and bluetooth worked fine. The
BlueZ libraries have changed substantially since, I think. Using
'hcitool inq' works fine, it's the KDE dialogs which sit there
searching endlessly. Any recommended settings for /etc/bluetooth/*?
Doc is a bit hard to come by.

TIA
-Robin
   
   Not exactly on-topic, but I recently got my bluetooth headset working
   without any major hassle using net-wireless/gnome-bluetooth by
   - Building the appropriate communications-types modules
   - Starting the bluetooth init script
   - Running bluetooth-wizard to pair and bluetooth-applet to
   connect/disconnect
  
  I'm using net-wireless/bluedevil-1.2.2 and I do not have any such
  problems. However, I'm not using the whole KDE desktop and I'm still on
  KDEPIM 4.4.11.1
 
 I had a go at browsing the filesystem on my Blackberry.  It won't work.
 
 obexftp fails in each case to list the contents on the BB internal flash. 
 When looking under Known Devices on the Bluedevil applet on the desktop,
 it says:
 
 No supported services found
 
 which make me think that the way this BB is set up, it won't share its fs
 with a PC.
 
 if your run:
 
 # sdptool browse your_device_MAC_address
 
 it will list a number of services that the device supports after you
 connect it to your PC.
 
 Although I could not browse any files using Dophin or obexftp, I was able
 to send and receive files using obex push.

I tried the browse but got Protocol not supported. :(

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Safe way to test a new kernel?

2012-02-26 Thread Alex Schuster
Grant writes:

  Have a look at 'info grub', 'Booting' - 'Making your system robust',
  especially section 4.3.2 'Booting fallback systems'. That's what I
  used in order to test new kernels remotely.
 
         Wonko
 
 I like that better.  Where do you execute 'grub-set-default 0'?

I had it in /etc/init.d/local.start back when I used these features.
Nowadays with openrc I would put this line
in /etc/local.d/grub-default.start. I had some safety checks included,
like testing if networking and sshd was running, so this box would be
accessible from remote. But this is some years ago now, currently I do
not administrate such remote servers and so I have not used this
mechanism for a while.


 BTW, is there a way to tell which grub entry I'm booted into, or am I
 best off examining the contents of /proc/config.gz?

The first line in /boot/grub/default has the number of the default entry.
grub-set-default modifies this file, as does the GRUB savedefault command.

Wonko



Re: [gentoo-user] Re: Safe way to test a new kernel?

2012-02-26 Thread Nilesh Govindrajan
On Sun 26 Feb 2012 08:05:23 PM IST, Grant wrote:
 I get Unrecognized command from savedefault in grub:

 grub savedefault --default=1 --once
 Error 27: Unrecognized command

 Strange. Maybe this is something inofficial, and not every Gurb
 understands this? The documentation does not mention the --default option
 I think.

 I re-emerged grub with /boot mounted and ran grub-install but I get
 the same error.  Does anyone know how to fix this?  I'm on
 grub-0.97-r10.

 Have a look at 'info grub', 'Booting' - 'Making your system robust',
 especially section 4.3.2 'Booting fallback systems'. That's what I used in
 order to test new kernels remotely.

Wonko

 I like that better.  Where do you execute 'grub-set-default 0'?

 I did notice this:

 In some newer versions of GNU/Linux, there is no
 /sbin/grub-set-default (eg. Debian 3.1, Fedora Core 4,5). While some
 distributions like Gentoo still has /sbin/grub-set-default

 http://sidvind.com/wiki/GRUB:_Boot_another_OS_once#Method_1_.28preferred.29

 BTW, is there a way to tell which grub entry I'm booted into, or am I
 best off examining the contents of /proc/config.gz?

 - Grant


uname -r

If the kernel version is same, add a version string in menuconfig.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Alan McKinnon
On Sun, 26 Feb 2012 15:19:54 +0100
Willie WY Wong wong...@member.ams.org wrote:

 On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY
 Wong squawked:
  Can someone help me figure out how to find the offending initscript
  that is needlessly calling dhcpcd? 
 
 Apparently the culprit is /etc/init.d/netmount
 I am not sure how it got into the default run level, since I don't use
 any network file systems on my netbook. 

I believe the problem is much deeper than that and while your
observations are valid, you don't have a root cause yet. You just have
a happy symptom that works with your specific configuration.

Here's what I've found after much up  down-grading and rebooting:

First, I've had netmount in the default runlevel for ages and it's
worked for ages even though it does nothing.
Second, openrc has been launching dhcpcd -q at boot time for ages and
this has never interfered with wicd which comes along later.

openrc-0.8.* always works with any kernel version
openrc-0.9* work with kernel-3.2.5

openrc-0.9* does not work with kernel-3.2.6, giving these errors:

Feb 26 17:16:53 khamul dhcpcd[2661]: wlan0: leased 172.20.0.41 for
43200 seconds 
Feb 26 17:16:53 khamul avahi-daemon[2479]: Joining mDNS multicast group
on interface wlan0.IPv4 with address 172.20.0.41. 
Feb 26 17:16:53 khamul avahi-daemon[2479]: New relevant interface
wlan0.IPv4 for mDNS. 
Feb 26 17:16:53 khamul avahi-daemon[2479]: Registering new address
record for 172.20.0.41 on wlan0.IPv4. 
Feb 26 17:16:54 khamul dhcpcd[2661]: eth0: sending IPv6 Router
Solicitation
Feb 26 17:16:54 khamul dhcpcd[2661]: eth0: sendmsg: Network is
unreachable 
Feb 26 17:16:55 khamul dhcpcd[4388]: sending commands to master dhcpcd
process 
Feb 26 17:16:55 khamul dhcpcd[2661]: control command: /sbin/dhcpcd -k
wlan0 
Feb 26 17:16:55 khamul dhcpcd[2661]: wlan0: releasing lease of
172.20.0.41 
Feb 26 17:16:55 khamul avahi-daemon[2479]: Withdrawing address record
for 172.20.0.41 on wlan0. 
Feb 26 17:16:55 khamul avahi-daemon[2479]: Leaving mDNS multicast group
on interface wlan0.IPv4 with address 172.20.0.41. 
Feb 26 17:16:55 khamul avahi-daemon[2479]: Interface wlan0.IPv4 no
longer relevant for mDNS. 
Feb 26 17:16:55 khamul dhcpcd[2661]: wlan0: open_udp_socket: Cannot
assign requested address 
Feb 26 17:16:55 khamul kernel: [   58.240866] wlan0: deauthenticating
from 00:04:ed:45:65:df by local choice (reason=3)

That looks to me like avahi is all confused and tripping over what
openrc  wicd do properly. I'd say the root cause is a change in
kernel-3.2.6 that was not tested against.

So, what's the next debugging step?


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Alan McKinnon
On Sun, 26 Feb 2012 07:36:49 -0600
Dale rdalek1...@gmail.com wrote:

 Alan McKinnon wrote:
 
  I'm the resident old fart around here
  
 
 
 I beg your pardon.  ;-)


Yes Dale, *I* am the resident old fart.

*You* are the hal breaker and finder/destroyer of stupid software.

We discussed all this and agreed months ago, or did you forget already?


:-)



-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Alan McKinnon
On Sun, 26 Feb 2012 08:41:41 -0600
John irgu...@gmail.com wrote:

 On Sunday, February 26, 2012 07:36 Dale wrote:
  Alan McKinnon wrote:
  
   I'm the resident old fart around here
  
  
  
  I beg your pardon.  ;-)
  
  Dale
  
  :-)  :-)
 
   Heh, if I can find someone close by that has a fast connection, I
 bet *I'll* be the new resident old fart at 50 years of age just this
 last Monday the 20th.
 
   I figure if I can find a fast connection, I can get what I need
 downloaded and burned onto a dvd. I'll just 'update' things one or
 two at a time so that it's easy on my dial-up connection. If I
 really, really need to update something like a kernel or something
 else that's huge for a dial-up download, I'll just find that fast
 connection again and put it on a cd or dvd (I *can) 'update' (emerge?
 still trying to get all the nomenclature down) from a cd or dvd,
 right?) and do it that way.
 
   A question about the stage 3 tarball thing...if I download that
 instead of the iso (which is for 486 and up, whereas the tarball is
 686 and better), how do I burn it (the tarball) as an iso onto a dvd
 so I can install Gentoo? Also, Distrowatch.com says that Gentoo has
 the latest in 'packages' as Feb 26, yet when I downloaded the tarball
 of CONTENTS, it shows mostly things (gcc, glibc, kernel, etc) that
 are used in the January release of Gentoo 12.0, not what Distrowatch
 has in their list of up-to-date lib's and such for the 26th of Feb.
 Where do I find the 'package' that Distrowatch seems to have found
 with almost everything being the latest and greatest?

gentoo is vastly different from almost every other distro out there.

It's a funny quirk of computers that you have to have a working OS
already running on the computer to install an OS. There's nothing magic
about an install, basically some software asks you a bunch of
questions, then copies a bunch of files to disk and writes appropriate
config files. When you reboot, the software that went on the disk just
happens to be correct so that the whole system will reboot and start
properly.

So how do you get this first running OS on the go so that it can do the
install? Well, it's on the install CD or flash drive. SuSE gives you a
customized SuSE on the CD that does things appropriately to install
SuSE.

This is where Gentoo is different. You don't have to use Gentoo to
install Gentoo, in fact you can use anything as long as it can connect
to the internet and write to the disk. There is a Gentoo install CD
available (updated infrequently) but I usually use Ubuntu (I just happen
to have a handy Ubuntu memory stick).

DistroWatch always quotes today as the most up to date version, because
there's always at least one package updated today. The date of the
install CD is whenever it was built (sometimes this gets to be 6 months
old). This is why Gentoo does not really have version numbers - the
version you have is whatever software you have running right now.

Assuming you have a handy Linux LiveCD (any distro) it's better to
download the stage3 as these are built daily and of all the available
methods, it's the most recent. But beware that you will still need to
download almost all the source code all over again with the first
update, and this is somewhere around 2G if you use KDE or Gnome.

It gets really painful really quick doing all that on dialup. Omit one
package from the list and you might not be able to complete a full
update.

None of this is unusual, the maintainer of Ubuntu and SuSE do all these
steps when they build their packages. They just shield you from the
hard bits and give you the final product nicely package. Gentoo gives
you the tools you need to do all that yourself, the key thing is do it
yourself - there is no way to not do it yourself

You should chat to Dale and listen closely. He's the guy who was most
recently forced to use dialup routinely, he can tell you what it's like.


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Neil Bothwick
On Sun, 26 Feb 2012 17:33:24 +0200, Alan McKinnon wrote:

 Yes Dale, *I* am the resident old fart.

I feel a Spartacus moment coming on...


-- 
Neil Bothwick

An expert is nothing more than an ordinary person away from home.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: accented characters in KDE apps

2012-02-26 Thread Philip Webb
Further investigation shows that both in Mandriva  in Gentoo
the file  ~/.kde4/share/config/kxkbrc  has a line 'Options=compose:lctrl',
so for some reason Kwrite  Kate are not recognising that setting.

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




[gentoo-user] Re: Why is dhcpcd starting by itself?

2012-02-26 Thread walt
On 02/26/2012 06:17 AM, Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 05:35:30AM -0800, Penguin Lover walt squawked:
 The value of ${IFACE} is set (I think) by looking at the .lo
 or .eth0 file extension of net.lo or net.eth0 (or whatever
 symlink you created when you installed gentoo).  If you don't
 have a net.whatever symlink to net.lo, then openrc defaults to
 dhcp.
 
 Gee-Mi-Ni init.d # ls -l net*
 lrwxrwxrwx 1 root root 6 Nov  7  2009 net.eth0 - net.lo
 -rwxr-xr-x 1 root root 16852 Feb 26 10:06 net.lo
 -rwxr-xr-x 1 root root  2211 Feb 26 10:06 netmount
 lrwxrwxrwx 1 root root 6 Jan 22  2010 net.wlan0 - net.lo
 -rwxr-xr-x 1 root root  6954 Feb 26 10:06 network
 
 I think I have the correct ones. 

Yes, that looks okay.  My other thought is about the contents of
/etc/conf.d/net.  IIRC there was some confusion about the proper
syntax of that file concerning the use of parentheses and quote
marks, and I believe the syntax did change at least once.

You could check your current syntax against the most recently
installed /usr/share/doc/openrc*/net.example.bz2.




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 15.19:54 Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong 
 squawked:
  Can someone help me figure out how to find the offending initscript that is 
  needlessly calling dhcpcd? 
 
 Apparently the culprit is /etc/init.d/netmount
 I am not sure how it got into the default run level, since I don't use
 any network file systems on my netbook. 

And on my laptop the culprit seems to be /etc/init.d/sshd

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 17.52:13 Dan Johansson wrote:
 On Sunday 26 February 2012 15.19:54 Willie WY Wong wrote:
  On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong 
  squawked:
   Can someone help me figure out how to find the offending initscript that 
   is 
   needlessly calling dhcpcd? 
  
  Apparently the culprit is /etc/init.d/netmount
  I am not sure how it got into the default run level, since I don't use
  any network file systems on my netbook. 
 
 And on my laptop the culprit seems to be /etc/init.d/sshd

At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
/etc/rc.conf
which prevents dhcpcd to start when sshd is started.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 13.43:13 Dan Johansson wrote:
 On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote:
  On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon 
  squawked:
   On Sun, 26 Feb 2012 10:19:56 +0100
   Dan Johansson dan.johans...@dmj.nu wrote:
After running an update yesterday (about 50 packages) on my ~x86
laptop, wicd stopped working, and no wicd was not updated neither was
any other network related packages. Today after a reboot my wireless
network refused to start from wicd, starting it manually works. This
is a part of the wicd.log:

   I'm having similar issues with an Intel N6300 since a reboot.
   
   In my case it fails with this:
   
   [   76.232020] wlan0: deauthenticating from
   xx:xx:xx:xx:xx:xx by local choice (reason=3)
   
   Which means something deauthed the connection in the meantime. This
   happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
   
  
  You guys are almost certainly running into the same problem as the one
  I mentioned in the thread I just started. 
  
  Try `pkill dhcpcd` and associate again. 
  
  Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
  to start on boot. 
 
 Yes, that was it, killing the dhcpcd made it possible to bring the interface 
 up and associate with the AP.
 As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
 assume (guess) that is why dhcpcd gets started at boot.
 Now I just have to figure out a way to stop this from happening.

The problems seems to be that dhcpcd was started automatically as soon as a 
service needed the network - in my case dhcpcd was started due to 
/etc/init.d/sshd.
At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
/etc/rc.conf
which prevents dhcpcd to start when sshd is started and wicd can now do it's 
magic.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread John
On Sunday, February 26, 2012 09:50 Alan McKinnon wrote:
 

  snip

 Assuming you have a handy Linux LiveCD (any distro) it's better to
 download the stage3 as these are built daily and of all the available
 methods, it's the most recent. But beware that you will still need to
 download almost all the source code all over again with the first
 update, and this is somewhere around 2G if you use KDE or Gnome.
 

  Aha! So the stage 3 tarball's I'm seeing at 
http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/ won't be 
the same as 
what the 12.0 DVD will have, correct? The stage tarballs are just the barest 
minimum 
stuff, with only a few window managers and no DE's, correct?

  So, what I basically was right about at first, the only *real* problem I'll 
have with 
trying to run a Gentoo system is my dial-up (presuming I can get along just 
fine with 
command line stuff and whatever). Still...if I absolutely *must* do an update 
of some kind 
of huge MB download thing, can I not just go to the gentoo sources webpage, 
download 
whatever it was I needed (being on someone's fast pipe of course), put that on 
a CD or 
DVD, take it back home and have the update app install it from said CD or DVD? 
If this is 
possible, then I just might have this thing licked!


-- 
There is no such thing as a hyphenated American who is a good American. The 
only man who 
is a good American is the man who is an American and nothing else.  -Theodore 
Roosevelt, 
1915



Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread James Broadhead
On 26 February 2012 17:10, John irgu...@gmail.com wrote:
 On Sunday, February 26, 2012 09:50 Alan McKinnon wrote:


  snip

 Assuming you have a handy Linux LiveCD (any distro) it's better to
 download the stage3 as these are built daily and of all the available
 methods, it's the most recent. But beware that you will still need to
 download almost all the source code all over again with the first
 update, and this is somewhere around 2G if you use KDE or Gnome.


  Aha! So the stage 3 tarball's I'm seeing at
 http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/ won't be 
 the same as
 what the 12.0 DVD will have, correct? The stage tarballs are just the barest 
 minimum
 stuff, with only a few window managers and no DE's, correct?

  So, what I basically was right about at first, the only *real* problem I'll 
 have with
 trying to run a Gentoo system is my dial-up (presuming I can get along just 
 fine with
 command line stuff and whatever). Still...if I absolutely *must* do an update 
 of some kind
 of huge MB download thing, can I not just go to the gentoo sources webpage, 
 download
 whatever it was I needed (being on someone's fast pipe of course), put that 
 on a CD or
 DVD, take it back home and have the update app install it from said CD or 
 DVD? If this is
 possible, then I just might have this thing licked!

To do an install offline , you will need:
- An installation environment (any LiveCD at all, or another
linux/freebsd(?) install on the same machine)
- A stage3 to unpack (this is the base of your install)
- A portage snapshot (today's list of packages which are installable
and scripts to install them).

Once you have the stage and snapshot unpacked, you will hit a point
where you need the source of some packages to continue (grub and a
kernel, as a bare minimum). At this point, the handbook will tell you
to emerge foo. If instead you run emerge -fp foo  get-these.txt,
you will get a list of links to all the files that you will need to
download to continue. Take this to the nearest internet, and put the
files in /usr/portage/distfiles, and compile away!



Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Alan McKinnon
On Sun, 26 Feb 2012 11:10:50 -0600
John irgu...@gmail.com wrote:

 On Sunday, February 26, 2012 09:50 Alan McKinnon wrote:
  
 
   snip
 
  Assuming you have a handy Linux LiveCD (any distro) it's better to
  download the stage3 as these are built daily and of all the
  available methods, it's the most recent. But beware that you will
  still need to download almost all the source code all over again
  with the first update, and this is somewhere around 2G if you use
  KDE or Gnome.
  
 
   Aha! So the stage 3 tarball's I'm seeing at 
 http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/
 won't be the same as what the 12.0 DVD will have, correct? The stage
 tarballs are just the barest minimum stuff, with only a few window
 managers and no DE's, correct?

Yes, that's pretty much it. It's not a problem having only the basics
in the tarball as with the first major update you will download all the
source code for the bits you don't have yet. And those are the same
bits that will probably be updated anyway.

   So, what I basically was right about at first, the only *real*
 problem I'll have with trying to run a Gentoo system is my dial-up
 (presuming I can get along just fine with command line stuff and
 whatever). Still...if I absolutely *must* do an update of some kind
 of huge MB download thing, can I not just go to the gentoo sources
 webpage, download whatever it was I needed (being on someone's fast
 pipe of course), put that on a CD or DVD, take it back home and have
 the update app install it from said CD or DVD? If this is possible,
 then I just might have this thing licked!

There's some tricks you can use. Portage can display the URLs of code
it will want to download, so you can take that list and feed
it into a downloader. Like so:

emerge -pvuNDf world

-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 06:00:46PM +0100, Penguin Lover Dan Johansson squawked:
  Yes, that was it, killing the dhcpcd made it possible to bring the 
  interface up and associate with the AP.
  As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
  assume (guess) that is why dhcpcd gets started at boot.
  Now I just have to figure out a way to stop this from happening.
 
 The problems seems to be that dhcpcd was started automatically as soon as a 
 service needed the network - in my case dhcpcd was started due to 
 /etc/init.d/sshd.
 At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
 /etc/rc.conf
 which prevents dhcpcd to start when sshd is started and wicd can now do it's 
 magic.
 

I wonder if it would be advisable to file a bug to have wicd provide
net? (Is there any reason why this would be a bad idea?)

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 05:31:23PM +0200, Penguin Lover Alan McKinnon squawked:
 Here's what I've found after much up  down-grading and rebooting:
 
 First, I've had netmount in the default runlevel for ages and it's
 worked for ages even though it does nothing.
 Second, openrc has been launching dhcpcd -q at boot time for ages and
 this has never interfered with wicd which comes along later.
 
 openrc-0.8.* always works with any kernel version
 openrc-0.9* work with kernel-3.2.5
 
 openrc-0.9* does not work with kernel-3.2.6, giving these errors:

snipped log-

 
 That looks to me like avahi is all confused and tripping over what
 openrc  wicd do properly. I'd say the root cause is a change in
 kernel-3.2.6 that was not tested against.
 

Alan: after re-reading your post, I have to retract my earlier
statement. It seems *your* problem is a separate one from the one that
Dan and I are having! 

I am running on 2.6.37. I just tried to upgrade to 3.2.6 earlier today
but ran into some other problems (there seems to be a bug in the
linux-3 kernel that breaks WEP for ath9k wireless cards, that and for
some reason `shutdown -h now' halts but does not power off; both are
known and there are patches, just haven't made it into the tree yet). 

The problem I was reporting has nothing to do with the kernel (same
kernel since last August). 

Cheers, 

W

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread John
On Sunday, February 26, 2012 11:44 Alan McKinnon wrote:
 On Sun, 26 Feb 2012 11:10:50 -0600
 
 John irgu...@gmail.com wrote:
  On Sunday, February 26, 2012 09:50 Alan McKinnon wrote:
snip

   Assuming you have a handy Linux LiveCD (any distro) it's better to
   download the stage3 as these are built daily and of all the
   available methods, it's the most recent. But beware that you will
   still need to download almost all the source code all over again
   with the first update, and this is somewhere around 2G if you use
   KDE or Gnome.
   
Aha! So the stage 3 tarball's I'm seeing at
  
  http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/
  won't be the same as what the 12.0 DVD will have, correct? The stage
  tarballs are just the barest minimum stuff, with only a few window
  managers and no DE's, correct?
 
 Yes, that's pretty much it. It's not a problem having only the basics
 in the tarball as with the first major update you will download all the
 source code for the bits you don't have yet. And those are the same
 bits that will probably be updated anyway.
 
So, what I basically was right about at first, the only *real*
  
  problem I'll have with trying to run a Gentoo system is my dial-up
  (presuming I can get along just fine with command line stuff and
  whatever). Still...if I absolutely *must* do an update of some kind
  of huge MB download thing, can I not just go to the gentoo sources
  webpage, download whatever it was I needed (being on someone's fast
  pipe of course), put that on a CD or DVD, take it back home and have
  the update app install it from said CD or DVD? If this is possible,
  then I just might have this thing licked!
 
 There's some tricks you can use. Portage can display the URLs of code
 it will want to download, so you can take that list and feed
 it into a downloader. Like so:
 
 emerge -pvuNDf world

  Okay, great. Thanks to everyone who's been trying to help me out here. Now to 
work on 
finding someone with a fast connection and see what kind of damage I can do!




Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Dale
Alan McKinnon wrote:
 On Sun, 26 Feb 2012 07:36:49 -0600
 Dale rdalek1...@gmail.com wrote:
 
 Alan McKinnon wrote:

  I'm the resident old fart around here



 I beg your pardon.  ;-)
 
 
 Yes Dale, *I* am the resident old fart.
 
 *You* are the hal breaker and finder/destroyer of stupid software.
 
 We discussed all this and agreed months ago, or did you forget already?
 
 
 :-)
 
 
 


We did?  Really?  O_O

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Is Gentoo for me?

2012-02-26 Thread Dale
John wrote:
 On Sunday, February 26, 2012 07:36 Dale wrote:
 Alan McKinnon wrote:

  I'm the resident old fart around here



 I beg your pardon.  ;-)

 Dale

 :-)  :-)
 
   Heh, if I can find someone close by that has a fast connection, I bet 
 *I'll* be the new 
 resident old fart at 50 years of age just this last Monday the 20th.
 
   I figure if I can find a fast connection, I can get what I need downloaded 
 and burned 
 onto a dvd. I'll just 'update' things one or two at a time so that it's easy 
 on my dial-up 
 connection. If I really, really need to update something like a kernel or 
 something else 
 that's huge for a dial-up download, I'll just find that fast connection again 
 and put it 
 on a cd or dvd (I *can) 'update' (emerge? still trying to get all the 
 nomenclature down) 
 from a cd or dvd, right?) and do it that way.
 
   A question about the stage 3 tarball thing...if I download that instead of 
 the iso 
 (which is for 486 and up, whereas the tarball is 686 and better), how do I 
 burn it (the 
 tarball) as an iso onto a dvd so I can install Gentoo? Also, Distrowatch.com 
 says that 
 Gentoo has the latest in 'packages' as Feb 26, yet when I downloaded the 
 tarball of 
 CONTENTS, it shows mostly things (gcc, glibc, kernel, etc) that are used in 
 the January 
 release of Gentoo 12.0, not what Distrowatch has in their list of up-to-date 
 lib's and 
 such for the 26th of Feb. Where do I find the 'package' that Distrowatch 
 seems to have 
 found with almost everything being the latest and greatest?
 
 


In a small nutshell.  First, find something Linux to boot and install
from.  It can be a CD/DVD or a full Linux install of some other distro.
 It can be a image on a USB stick thingy.  You need that first. It needs
to have the chroot command.  I have yet to see or hear of a Linux ISO
that doesn't but just saying.  If that is a install on a hard drive, be
prepared to have something else to install to.  Another drive, separate
partitions or whatever you got planned.

Second thing, you need a stage3 tarball.  Put that on something:  DVD,
CD, stick thingy to get it back to your machine.

Third thing:  Get a portage snap shot.  That's what tells portage the
packages that can be installed, what they need to install first and all
sorts of other goodies.  Put that on something to get it back to your
machine.  The same thing #2 is on will be fine.  Just separate things
into different directories so YOU know where they are.

Forth, download the grub source tarball and a kernel tarball at least.
Remember the version of the tarball too.  You will have to tell emerge
the exact version or it will try to download some other version.  Most
other tarballs can be downloaded over dial-up and not take to long.
Even grub can be.  The kernel is pretty good size for dial-up.

You need those things first to even start.  Make sure you can get to the
docs on Gentoo's website.  You can get that over dial-up since it is
text and not much else.  You can also get to this mailing list most
likely.

With that, it should get you to a point where you can boot into Gentoo.
 Then you can emerge -fvp kde/gnome/fluxbox or whatever to get the list
of tarballs.  Keep in mind, it will list the sizes of those.  The small
stuff, let it get those over dial-up if you want.  Me, I'd just get the
larger stuff that takes a hour or so to get over dial-up and leave the
rest to dial-up.  You can sort of judge your patience on that one.

Keep in mind, you will have to drive off the reservation when it comes
to copying the tarball and snap shot over.  Instead of copying it from
the location the docs say to, you will have to substitute where YOU put
it.

I will say this, Gentoo over dial-up is a bitter pill but the install
and KDE upgrades are the worst parts.  When I first started using Gentoo
the sources were MUCH smaller.  I even considered switching to something
else just because it took ages to download something even small.  Also,
if you use KDE, it is going to be fun.  Open Office, LibreOffice, is
going to be at least as much fun.  By the way, OOo and LOo are what we
generally call Open Office and LibreOffice.  Shorter.  lol

Given your situation, I would update about once a month maybe two
months.  I'd set aside a FULL weekend to do it if you plan to use only
dial-up.  Also, be ready for down time.  KDE has got to where it does
not like being used while the upgrades are being installed.  I have
Fluxbox installed as a back-up to KDE.  If you do the same and you can't
get the login manager to come up, try this command:  startx
/usr/bin/startfluxbox and see if that works.

Also, by all means learn tab completion.  When you are typing in a
command, trying to get to a location you can use the tab key to help
keep things along.  If it beeps once, there are more than one matching
commands/location.  If it beeps twice, nothing matches.  Back up and try
again.  Tab completion can save you lots of time.  It should work during
the install 

Re: [gentoo-user] Mythtv compilation problems

2012-02-26 Thread Alex Schuster
Jeff Cranmer writes:

 I'm having trouble compiling mythtv-0.24.1.
 
 The build log is attached.  Can anyone help me decipher what is going
 on?
 
 mythtv-0.23.1_p27077 compiles OK.

Probably the same problem they are talking about here:
http://www.mythtv.org/pipermail/mythtv-dev/2011-October/071414.html

The thread also mentions how to fix it (adding #include GL/glu.h to
mythrender_opengl.cpp). You can probably do this manually by going to the
build directory, editing the file, and starting over with
FEATURES=keepwork emereg --resume. It would be nice if you'd file a bug
about this at bugs.gentoo.org, so someone can fix this issue.

Wonko



Re: [gentoo-user] Midori and Flash

2012-02-26 Thread Alex Schuster
Henson Sturgill writes:

  On Thu, Feb 23, 2012 at 8:32 PM, Alex Schuster wo...@wonkology.org
  wrote:
   Now I'd also like to use Midori, as a lightweight browser for using
   Google+. The reason is that when I open Google+ in Firefox, I am
   also logged in at Google when I using other tabs with Youtube or
   other Google sites. If there's a way around this, I'd be happy to
   know about it. But so I just thought, why not use Midori for
   Google+ only. But it doesn't do Flash.
 
 I could swear I downloaded the latest tar.gz from Adobe, created
 ~/.mozilla/plugins, and threw the libflashplayer.so file in there
 without any problems. Been it's been a few months since I've had Midori
 installed.

I had read about this somewhere. ~/.mozilla/plugins/ was already existing
(I had played with creating my own plugin using Qt), and I made a symlink
to /opt/Adobe/flash-player/flash-plugin/libflashplayer.so. But no success.

I used to get some errors in the terminal when starting midori manually,
like these:

** (midori:28396): DEBUG: NP_Initialize succeeded
** (midori:28396): DEBUG: NP_Initialize
** (midori:28396): DEBUG: NP_Initialize succeeded
java version 1.6.0_24
OpenJDK Runtime Environment (IcedTea6 1.11.1) (Gentoo build 1.6.0_24-b24
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
*** NSPlugin Viewer  *** ERROR: /usr/lib32/nsbrowser/plugins/nppdf.so:
cannot open sharh file or directory
*** NSPlugin Viewer  *** ERROR: /usr/lib32/nsbrowser/plugins/nppdf.so:
cannot open sharh file or directory
*** NSPlugin Viewer  *** ERROR: /usr/lib32/nsbrowser/plugins/nppdf.so:
cannot open sharh file or directory
*** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC clien
*** NSPlugin Wrapper ***
WARNING:(/var/portage/tmp/portage/www-plugins/nspluginwrapper-wrapper-1.4.4/src/npw-wrapper.c:3556):invoke_NP_Initialize:
assertion failed: (rpc_methpc_connection))
*** NSPlugin Viewer  *** ERROR: /usr/lib32/nsbrowser/plugins/nppdf.so:
cannot open sharh file or directory
*** NSPlugin Viewer  *** ERROR: /usr/lib32/nsbrowser/plugins/nppdf.so:
cannot open sharh file or directory

Not depending on the value of MOZ_PLUGIN_PATH I specified. Now all I get
is this:

wonko@weird ~ $ MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins/ midori
(midori:16347): GnomeShellBrowserPlugin-DEBUG: plugin loaded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
(midori:16347): GnomeShellBrowserPlugin-DEBUG: plugin loaded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
ERROR: Invalid browser function table. Some functionality may be
restricted. ** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
(midori:16347): GnomeShellBrowserPlugin-DEBUG: plugin loaded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
ERROR: Invalid browser function table. Some functionality may be
restricted. ** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Initialize
** (midori:16347): DEBUG: NP_Initialize succeeded
** (midori:16347): DEBUG: NP_Shutdown
ERROR: Invalid browser function table. Some functionality may be
restricted. java version 1.7.0_03-icedtea
OpenJDK Runtime Environment (IcedTea7 2.1) (Gentoo build
1.7.0_03-icedtea-b147) OpenJDK 64-Bit Server VM (build 22.0-b10, mixed
mode)

Well, I have more important stuff to do at the moment, so I will deal
with this later. Thanks all four your input, I'll also try using
different Firefox profiles, if Midori just doesn't work for me.

Wonko



[gentoo-user] local layman repository missing files

2012-02-26 Thread Alex Schuster
Hi there!

I haven't been able to emerge sci-libs/dcmtk from the science overlay for
a while, due to a missing dcmtk-asneeded.patch in the files directory. In
fact, the whole /var/portage/layman/science/files directory was missing.

I fixed this by removing and adding the science overlay again:
  layman -d science
  layman -a science

Any idea why this was necessary? eix-sync said all was up to date, same
result when I do a 'git pull' manually there.

Just being curious,

Wonko



Re: [gentoo-user] Midori and Flash

2012-02-26 Thread Alex Schuster
Paul Hartman writes:

 In Firefox you can create multiple profiles. Each profile will have
 its own set of cookies, bookmarks, history, saved passwords, etc. To
 open 2 firefox windows with 2 different profiles at once, launch it
 with:
 
 firefox -P -no-remote

Thanks Paul, that's what I am doing now.

 There are firefox add-ons such as cookieswap to maintain separate sets
 of cookies and sessions that you can toggle, instead of needing to
 logout and login you just swap cookies then open youtube or
 whatever...

I'll have a look into this when I have some time. Although I tend to
never find time once I have found a workaround...

Wonko



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dale
Dan Johansson wrote:
 On Sunday 26 February 2012 17.52:13 Dan Johansson wrote:
 On Sunday 26 February 2012 15.19:54 Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong 
 squawked:
 Can someone help me figure out how to find the offending initscript that 
 is 
 needlessly calling dhcpcd? 

 Apparently the culprit is /etc/init.d/netmount
 I am not sure how it got into the default run level, since I don't use
 any network file systems on my netbook. 

 And on my laptop the culprit seems to be /etc/init.d/sshd
 
 At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
 /etc/rc.conf
 which prevents dhcpcd to start when sshd is started.
 


You should read the thread  rfc: only the loopback interface should
provide net on -dev.  They were discussing the changes in this.  Maybe
those changes had something to do with what happened here.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Weird XFS problem

2012-02-26 Thread Coert Waagmeester

On 02/25/2012 06:05 AM, Pandu Poluan wrote:


On Feb 25, 2012 10:34 AM, Nilesh Govindrajan cont...@nileshgr.com
mailto:cont...@nileshgr.com wrote:
 
  Hi,
 
  I'm using XFS on /home and facing a strange issue. When I add acl to
  the mount options in /etc/fstab, the FS fails to mount during boot
  with an error in dmesg which says invalid option acl whereas I'm able
  to mount it using the mount command from the CLI.
 
  For now I'm using a script in local.d to remount it with acl, but why
  is this happening?
  Also, XFS is compiled right into the kernel, not as a module (I
  believe, because there's no module xfs in /lib/modules/3.2.6-gentoo.
 

AFAIK, by default XFS is mounted with acl support.

Plus, I can't find any acl word in the documentation:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/xfs.txt;hb=HEAD

CMIIW, I never use XFS before in my life.

Rgds,



I use XFS a lot.

It does indeed not need the acl mount option.
Those features are available standard.

Regards,
Coert