[gentoo-user] gentoo-user+unsubscr...@lists.gentoo.org

2020-09-18 Thread Roger Cahn





[gentoo-user] gentoo-user+ unsubscr...@lists.gentoo.org

2020-09-18 Thread Roger Cahn






Re: [gentoo-user] OpenVPN - error

2020-02-22 Thread Roger Welsh
Hi Thelma,

I think you need 
tls-server 
And 
tls-client 
In your respective configs below.

Reference:
https://askubuntu.com/questions/594868/openvpn-hmac-authentication-failure-no-matter-what-i-do

And
https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/ 
Grep for tls-server.


On 22 February 2020 11:08:02 PM NZDT, the...@sys-concept.com wrote:
>When I try to start openVPN on a client I see this error on a server:
>
>Sat Feb 22 02:32:10 2020 Authenticate/Decrypt packet error: packet HMAC
>authentication failed
>Sat Feb 22 02:32:10 2020 TLS Error: incoming packet authentication
>failed from [AF_INET]
>
>cat server.conf 
>proto udp
>port 9000
>dev tun
>mode server
>ca /etc/openvpn/cert/ca.crt
>cert /etc/openvpn/cert/clinic_atom.crt
>key /etc/openvpn/cert/clinic_atom.key
>dh /etc/openvpn/cert/dh.pem
>topology subnet
>server 192.168.141.0 255.255.255.0 
>client-to-client
>ifconfig-pool-persist ipp.txt
>client-config-dir ccd
>keepalive 10 120
>tls-auth vpn_clinic.key 0
>tun-mtu 1500
>tun-mtu-extra 32
>mssfix 1200
>duplicate-cn
>comp-lzo
>max-clients 100
>persist-key
>persist-tun
>status openvpn-status.log
>log /var/log/openvpn.log
>log-append /var/log/openvpn.log
>verb 3
>
>On client-config:
>clinic_atom.conf 
>client
>dev tun
>proto udp
>port 9070
>topology subnet
>remote xxx.xx.xx.xx 9070 # static IP
>resolv-retry infinite
>tun-mtu 1500
>tun-mtu-extra 32
>mssfix 1200
>persist-key
>persist-tun
>remote-cert-tls server
>ca "/etc/openvpn/clinic_atom/ca.crt"
>cert "/etc/openvpn/clinic_atom/syscon7.crt"
>key "/etc/openvpn/clinic_atom/syscon7.key"
>tls-auth "/etc/openvpn/clinic_atom/ta.key" 1
>comp-lzo
>log /var/log/openvpn.log
>log-append /var/log/openvpn.log 
>verb 3
>
>-- 
>Thelma

--
Kind regards,

Roger

Re: [gentoo-user] Loading Issue

2020-02-22 Thread Roger J. H. Welsh
MIME-Version: 1.0
Content-Type: text/plain; format=flowed

Dr Rainer,

Dr Rainer Woitok  writes:
> So instead of pressing the "1" key umpteen times (plus one time 
> too oft-
> en, ARGH :-) it's probably really easier to boot from a live CD.
I certainly agree with you on this, I was really just posing a 
quick fix
for OP. I actually have a sysrescue disk in my boot partition, 
which I
can choose from the GRUB menu when things break at home.

> And the privileged shell offered here  is also restricted  in 
> that it is
> only usable for the  minority of 330 million people  using a US 
> keyboard
> layout,  while the vast  majority of  7.4 billion people  NOT 
> using a US
> keyboard layout will most probably not even manage  to enter 
> their pass-
> word :-(
Personally, if I was debugging my openrc, I would probably try out 
rc_interactive
for options 1, 2 and 3; if I was thinking of doing anything like 
4, I would rather drop
to a LiveCD.

When things go bad, go with what you know works. ;)

On another note, I don't see the "keymaps" rc-service when I use
rc-status. Is there any chance it is loaded before the other 
services?
Or alternatively, is there any way to set it as the first service 
that
starts? Does anyone listening know?

I'm just curious now.

--
Regards,

Roger Welsh



Re: [gentoo-user] Loading Issue

2020-02-18 Thread Roger J. H. Welsh
MIME-Version: 1.0
Content-Type: text/plain; format=flowed

Hi Jack,

I just looked at the comments in my /etc/rc.conf.
`less /etc/rc.conf`

Jack  writes:

> I'm not the OP, but I recently had a similar situation - total 
> freeze
> early during the boot process.  What I wanted was a way to get 
> that
> rc_interactive="YES" behavior - but by doing something at boot 
> time.

rc_interactive means I can press "I" or "i" during boot and 
INTERRUPT
the boot process; *otherwise* it will boot as per normal.

Is that not the behaviour you are seeking?
OR is that not the behaviour you get?

Also to note:

rc_parallel="yes" may cause the boot process to lock up.
(I wonder if that has been causing some of these boot freezes.)

rc_interactive="yes" is DISABLED (automatically), if rc_parallel 
is set
to "yes".

--
Best of luck
Roger



Re: [gentoo-user] Loading Issue

2020-02-14 Thread Roger Welsh
Hi Colleen,

Which bootloader and init system do you use?

If it is grub, you can try adding a ' 1' OR ' real_init=single' to the 
bootline. 
If LILO, you can try adding ' append="1" ' to the bootline.
If you use OpenRC, you can try adding ' softlevel=boot'

This should tell your system to boot in single-user mode and hopefully not 
start the mysql service.

Otherwise, any compatible Linux LiveCD is your friend.

Good luck

--
Roger Welsh

Re: [gentoo-user] Coming up with a password that is very strong.

2019-02-04 Thread Roger J. H. Welsh
Hi Dale,

On  Sun, Feb 03, 2019 at 11:47:35PM -0600 , Dale wrote:
> How do you, especially those who admin systems that are always being
> hacked at, generate strong passwords that meet the above?

I have a script for generating passwords the way I like (basically diceware on 
bash).

Something like:
FACTOR=$[ 2**(4*8)/$(cat "$WORDLIST"|wc -l) ]
cat "$WORDLIST" | head -n "$[ $(od -vAn -N4 -tu4 < /dev/random ) / $FACTOR ]" | 
tail -1

I use this in conjunction with
https://github.com/dwyl/english-words/blob/master/words.txt

As far as I understand, if you have about 96 bits of entropy you are
golden. 256 bits is unbruteforceable (at least within the realms of
physics apparently).
5 words = 94 bits (which is good enough for me)
14 words = 256 bits (which seems like a lot of typing)

I also have a messy spreadsheet for checking passwords.
https://github.com/rjhwelsh/gpg-tutorial/blob/master/password_checker.ods

I provide no warranty for my working. ;)

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D



Re: [gentoo-user] Persistence of ZFS /dev/zvol/rpool/swap

2018-11-25 Thread Roger J. H. Welsh
Hi,

I followed fearedbliss's guide a couple years back.
Here are my 2 cents.

On  Sun, Nov 25, 2018 at 04:36:35PM -0500 , Pariksheet Nanda wrote:

> I'm actually surprised my system boots at all, because /etc/fstab looks for
> that partition to be the swap:
I don't think swap is required for booting.

> My best guesses at the problem are either that it's udev related or that
> the various ZFS services need to be better configured to expose the zvol.
> I read the "Admin Documentation" links on the zfsonlinux.org website
> looking for mentions on "zvol" and the only relevant section seems to be
> the `zpool import` should apply `zfs share -a` to zvols [2].  Maybe I need
> to run `zfs share`?  But that doesn't seem to help:
>
It does seem to be a udev issue on your end.

This is what your udev rule should look like.
https://github.com/zfsonlinux/zfs/blob/master/udev/rules.d/60-zvol.rules.in

Check it exists.
# cat /lib/udev/rules.d/60-zvol.rules

Reload udev rules.
# rc-service udev reload

I think you also have to re-trigger the rules, which is beyond the scope
of my knowledge.
# man udevadm

If it exists on `zfs list`, your swap partition is in there somewhere.
This command will show you any swap partitions in use.
# swapon --show

Good luck!

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D



Re: [gentoo-user] Notification of ebuild status

2018-07-25 Thread Roger J. H. Welsh
On  Mon, Jul 23, 2018 at 01:26:36PM +0800 , Andrew Lowe wrote:
> Hi all,
>   Yonks ago, literally four years ago, 14/7/14, I posted something here
> about the whole emerge process being able to make a noise when the
> emerge process either succeeded or failed. Success, play some decent
> music, fail, play some crap music. I got some good relies and then
> promptly put that task on to the "I'll have to get around to that" list.
>
>   I'm now in the process of building a machine from scratch and thought I
> would revisit this. Last night I worked it out but before I tidy it up
> and post what I did here, for everyones edification, I though I would
> ask if anyone knows if the emerge system has implemented anything in the
> last four years that automagically does this?
>
>   Any thoughts?
>
>   Andrew
>

There is the `--alert, -A` option for sending a terminal bell when
emerge needs some interaction.

I presume that you are looking at something on a per-ebuild basis, and
not something as simple as :
`emerge -avuDN @world &&
aplay success.flac ||
aplay fail.flac`

I'm curious to see what you have come up with.

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


Re: [gentoo-user] Dhclient and buggy ISP

2018-07-21 Thread Roger J. H. Welsh
On  Fri, Jul 20, 2018 at 11:41:22PM +0100 , Mick wrote:
> On Friday, 20 July 2018 08:58:53 BST Matti Nykyri wrote:
> > Hey
> >
> > I have a following with Telia ISP and their dhcp-server... I'm using
> > dhclient to get dynamic IP from ISP and also to update DDNS. When

> I am not familiar with dhclient, although whenever I used it in various
> distros it just worked.  Have you tried using dhcpcd instead?
> --
> Regards,
> Mick

I second Mick's suggestion.

I use dhcpcd (with ddclient for dynamic dns) on my home server, which seems to 
work well enough.

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


Re: [gentoo-user] newuse vs changed-use (and python3_6)

2018-07-18 Thread Roger J. H. Welsh
> emerge --pretend --newuse ... @world
> shows 15 rebuilds while --changed-use shows none.
--changed-use prevents your system from remerging packages
due to USE flag changes upstream (not made by you).

>eselect python show
> indicates python3.4, which I realize has end of life next year.
>
> Any advice would be appreciated.
Note that, portage will want to use the new python targets immediately.

Set for portage, for your next upgrade:
PYTHON_TARGETS="python2_7 python3_4 python3_6"
PYTHON_SINGLE_TARGET="python3_4"

Set for portage, for your next upgrade after that:
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

Migrate via,
`emerge --ask --depclean && emerge -1vUD @world && emerge --ask --depclean`

And you should be good to go.

NOTES:
`man emerge`
  `/changed-use`

"Unlike --newuse, the --changed-use option does not trigger
reinstallation when flags that the user has not enabled are added or
removed."
`emerge --newuse @world` should fix you up here.

From the news item,
`eselect news read`
`2018-05-22-python3-6`
On *2018-06-22*, Python 3.6 will replace Python 3.5 in the default Python
targets for Gentoo systems.  The new default targets will be:
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

Hope this helps.
--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


Re: [gentoo-user] Printer

2018-03-03 Thread Roger Cahn
Hi all,
Thank you for your messages.
It's not easy to make a choice among
the so numerous machines.
Finaly I took the: 


  HP OfficeJet 7612 Wide Format All-in-One Printer

I hope it will give me satisfaction.
Roger


[gentoo-user] Printer

2018-03-01 Thread Roger Cahn
Hi,

For my birthday (!) my children want to offer me a multifunction
printer, copier.

I ask you for an idea which one they could buy.

For example:  Multifonction A3 HP Officejet Pro 7612

-gentoo amd64 compatible

-inkjet color (4colors)

-ethernet

Thank you for your help

Roger




Re: [gentoo-user] NeoMutt and GnuPG

2018-01-30 Thread Roger J. H. Welsh
On  Wed, Jan 31, 2018 at 05:17:45AM +0100 , Floyd Anderson wrote:
> I would not do that. The topic itself is complex enough and sourcing of 14 !
> long and cryptic command lines doesn’t make it better. Also note that gpg.rc
> defines the deprecated ‘pgp_clearsign_command’ variable.
Right.

> BTW. as we‘re talking about NeoMutt here, I use:
> ${XDG_CONFIG_HOME:-${HOME}/.}${XDG_CONFIG_HOME:+/}neomutt/neomuttrc
> so I can run a parallel Mutt installation when things get broken.
That is a very good point.

> Instead I suggest to set ‘gpgme’ USE-flag and *only that* – no ‘crypt’,
> ‘gpg’, ‘pgp_classic’, ‘smime’, ‘smime_classic’. Look at the ebuild and
> especially the comments. This way I only need to set one ! variable to get
> the stuff working:
>
> set crypt_use_gpgme = yes
>
>
> To be sure you may also set:
> # ensure deprecated options are disabled or disarmed
> set pgp_autoinline  = no
> set pgp_clearsign_command   = ''
> set pgp_mime_auto   = ask-yes
> set pgp_replyinline = no
>
> And if one like:
> # semi-automated encrypted reply to encrypted messages
> # Notes:
> #- this can always be disabled by PGP-menu ('p')
> #- crypt_autoencrypt or crypt_replyencrypt (if set) disables 
> crypt_opportunistic_encrypt
> set crypt_opportunistic_encrypt = yes
> set crypt_autoencrypt   = no
> set crypt_replyencrypt  = no
>
> # whether or not display unusable (revoked, expired, disabled) keys
> set pgp_show_unusable   = yes
> set crypt_timestamp = no
>
>
> With more than one mail address I suggest:
> send2-hook  . 'set pgp_sign_as = ""'
> send2-hook  '~f "1st@example\.net$"'  'set pgp_sign_as = 
> "0x0123456789ABCDEF0123456789ABCDEF01234567"'
> send2-hook  '~f "2nd@example\.net$"'  'set pgp_sign_as = 
> "0xABCDEF0123456789ABCDEF0123456789ABCDEF01"'
Thanks for the above, I will certainly revisit this email when I update
my config in the next month or so. :)

>
> > On my neomutt, when I press "v" to view attachments, all I can
> > see is text/plain. I think my neomutt does something automatic to
> > decrypt the messages.
> >
>
> Indeed, viewing attachments encrypted would break many functions otherwise,
> e.g. piping, printing, saving.
So Lucas's original problem sounds like an issue with this, I can only
imagine it is some sort of lack of pgp support.

> > My source docs I used when setting my gpg up with mutt were:
> > https://gitlab.com/muttmua/mutt/wikis/MuttGuide/UseGPG
> > http://codesorcery.net/old/mutt/mutt-gnupg-howto
> >
>
> In the meantime NeoMutt != Mutt, so not to forget to mention
> <https://www.neomutt.org/guide/>. ;-)
Lol. Of course. I read that for my current setup. Though I never really
got to grips with what gpgme was, as I was more concerned with
bootstrapping a working (neo)mutt configuration, which is why I source
my : "14 ! long and cryptic command lines".

Thanks for the critique Floyd.

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


Re: [gentoo-user] NeoMutt and GnuPG

2018-01-30 Thread Roger J. H. Welsh
Hi Lucas,

> Here is my muttrc on github:
> https://github.com/lramage94/dotfiles/blob/master/.mutt/muttrc
It looks like you are using gpgme, I personally have not set this up for
my neomutt, instead I use a gpg.rc file from the samples provided.

For example;
bzcat /usr/share/doc/neomutt-*/samples/gpg.rc.bz2 > ~/.mutt/gpg.rc
echo "source ~/.mutt/gpg.rc" >> ~/.mutt/muttrc

There are a few other samples in
ls /usr/share/doc/neomutt-*/samples

Maybe there is something there that will fix your issue.

> When I send an encrypted message I see two files:
>
> - noname (1kb)
> - msg.asc (10kb) # <-- this one changes size depending on my message.
Whenever I see an encrypted message on my gmail account, which was
encrypted on my PC, I see the exact same thing. These are the raw
PGP/MIME type files for PGP, as opposed to inline PGP which is embedded
in the plain text.

https://security.stackexchange.com/questions/128368/is-using-pgp-mime-or-pgp-inline-more-secure

On my neomutt, when I press "v" to view attachments, all I can
see is text/plain. I think my neomutt does something automatic to
decrypt the messages.

My source docs I used when setting my gpg up with mutt were:
https://gitlab.com/muttmua/mutt/wikis/MuttGuide/UseGPG
http://codesorcery.net/old/mutt/mutt-gnupg-howto

I remember in particular reading the codesorcery one pretty closely.
Hope this helps.

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


Re: [gentoo-user] Printer

2016-11-15 Thread Roger Cahn



Do you have something relevant in the logs ?

In /var/log/dmesg I found:

 3.907048] usb 7-2: new low-speed USB device number 2 using uhci_hcd
[3.935212] usb 2-6: New USB device found, idVendor=04b8, idProduct=0007
[3.935214] usb 2-6: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[3.935216] usb 2-6: Product: USB2.0 Printer (Hi-speed)
[3.935217] usb 2-6: Manufacturer: EPSON
[3.935218] usb 2-6: SerialNumber: 423037303146D2F37C
[3.937625] usblp 2-6:1.0: usblp0: USB Bidirectional printer dev 4 if 
0 alt 0 proto 2 vid 0x04B8 pid 0x0007

[3.969202] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[3.969500] ieee80211 phy0: hwaddr 00:15:af:51:78:01, RTL8187vB 
(default) V1 + rtl8225z2, rfkill mask 2

[3.990770] rtl8187: Customer ID is 0x00

Thanks



[gentoo-user] Printer

2016-11-15 Thread Roger Cahn

Hi all,

gentoo-4.4.26,  amd64,  Epson D120

I can't neither print nor open localhost:631

Yesterday I stopped the printer hardly by pushing the STOP button.

I could at this time go in localhost:31 and tried to stop the action in 
"jobs"


and made some settings (I don't remember which !!).

nano /etc/cups/cupsd.conf is empty

Bureau cahn # /etc/init.d/cupsd start
 * Starting cupsd ...
 * start-stop-daemon: failed to start `/usr/sbin/cupsd'
 * Failed to start cupsd [ !! ]
 * ERROR: cupsd failed to start

Thank you for helping me to make my printer work again




[gentoo-user] Scanner

2016-08-21 Thread roger . cahn

Hi again !


Please, if you answer me at the previous message

use the following adress:

roger.c...@free.fr




Re: [gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn
Yes, now check your make.conf entry, it seems you used the letter 'o' 
there, and not a zero. Fix that, and maybe your libreoffice will be in 
french again :)


It is a zero and not a o
But in make.conf I writed a new L10N
and I compiled app-office/libreoffice-l10n again
There was nomore -fr in it
And now I have libreoffice again in French.
Thank you for your answers :-)



Re: [gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn


It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).

Yes, it's a zero in  L10N !

eix libreoffice  shows

[I] app-office/libreoffice-l10n

Installed versions:  5.1.2.2^s(10:12:41 27/06/2016)(-offlinehelp 
L10N="-af -am  -fr






[gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn

hey all,

4.4.6-gentoo, amd64, libreoffice-5.1.2.2

Since I have done what was said,
I have in make.conf   LINGUAS="fr fr_FR"   L1ON="fr"

Libreoffice is in English. I would like to have it again in French.
I updated a short time agoapp-office/libreoffice-l10n-5.1.2.2
with  L10N having -fr instead of +fr
I think it is the reason of this.

How could I solve the problem ?
Thank you for your help
Roger


[gentoo-user] KP_Decimal-Solved

2015-07-13 Thread Roger Cahn

Have you tried another (differnt make/model) keyboard?
If you get the same problem,it is software related,
if it goes away, then you are good to go.

In Parameters Keyboard Settings I found a line with

Command  .   and shortcut  .

I removed it, and now it's ok.

Thank you for your answers
Roger




Re: [gentoo-user] KP_Decimal

2015-07-10 Thread Roger Cahn

Le 09/07/2015 10:51, Neil Bothwick a écrit :

On Thu, 09 Jul 2015 10:07:06 +0200, Roger Cahn wrote:


Since a few days, when I type the point (.) on the numeric keypad,
everytime, I obtain a window with:

Impossible to launch  the shortcut KP_Decimal.
The execution of the son process . failed
(permission not allowed)

It sounds like a shortcut has been set up for that key. Which desktop are
you running? Have you reconfigured anything lately. What have you
installed or updated before this started?

My desktop is xfce4

The last updates since the 1st of July are:

-sys-apps:openrc-0.17
-dev-util:xfce4-dev-tools-4.12.0

and a lot of xfce-base:

libxfce4util-4.12.1, xfconf-4.12.0-r1, libxfce4ui-4.12.1-r2, exo-0.10.6, 
garcon-0.5.0-r1, xfce4-panel-4.12.0,
xfce4-appfinder-4.12.0-r1, xfwm4-4.12.3, xfce4-session-4.12.1, 
xfce4-settings-4.12.0, thunar-1.6.10,

xfce4-meta-4.12, xfdesktop-4.12.2

and xfce-extra:  screenshooter-1.8.2, tumbler-0.1.31, thunar-volman-0.8.1



Re: [gentoo-user] KP_Decimal

2015-07-10 Thread Roger Cahn

Le 10/07/2015 14:59, Roger Cahn a écrit :

Le 09/07/2015 10:51, Neil Bothwick a écrit :

On Thu, 09 Jul 2015 10:07:06 +0200, Roger Cahn wrote:


Since a few days, when I type the point (.) on the numeric keypad,
everytime, I obtain a window with:

Impossible to launch  the shortcut KP_Decimal.
The execution of the son process . failed
(permission not allowed)

It sounds like a shortcut has been set up for that key. Which desktop are
you running? Have you reconfigured anything lately. What have you
installed or updated before this started?

My desktop is xfce4

The last updates since the 1st of July are:

-sys-apps:openrc-0.17
-dev-util:xfce4-dev-tools-4.12.0

and a lot of xfce-base:

libxfce4util-4.12.1, xfconf-4.12.0-r1, libxfce4ui-4.12.1-r2, 
exo-0.10.6, garcon-0.5.0-r1, xfce4-panel-4.12.0,
xfce4-appfinder-4.12.0-r1, xfwm4-4.12.3, xfce4-session-4.12.1, 
xfce4-settings-4.12.0, thunar-1.6.10,

xfce4-meta-4.12, xfdesktop-4.12.2

and xfce-extra:  screenshooter-1.8.2, tumbler-0.1.31, thunar-volman-0.8.1


I can also show you: /etc/X11/xorg.conf.d/10-evdev.conf

# Configuration for evdev-controlled input devices.

Section InputClass
Identifier  keyboard
Driver  evdev
Option  XkbLayout fr
Option  XkbModel pc105
Option  XkbOptions compose:lwin,kpdl:dot
MatchIsKeyboard on
EndSection

Section InputClass
Identifier  pointer
Driver  evdev
MatchIsPointer  on
EndSection





[gentoo-user] KP_Decimal

2015-07-09 Thread Roger Cahn

Hi,

Since a few days, when I type the point (.) on the numeric keypad,
everytime, I obtain a window with:

Impossible to launch  the shortcut KP_Decimal.
The execution of the son process . failed
(permission not allowed)

Can anybody give me a solution to have again the .
on the numeric keypad ?
I didn't find any answer on internet.

Thank you for your help
Roger


Re: [gentoo-user] Python and man problems_solved

2014-08-05 Thread Roger Cahn


Hello all,

Thank you very much for your help: problems solved.

-PYTHON_TARGETS=python2_7 are now defined
-PAGER=most is defined in your environment: Icompiled it again.
Now man emerge works.

Well, I'm now quite quiet...until next problem !!!
Thank you again
Cheers
Roger




Re: [gentoo-user] Python and man problems_solved

2014-08-05 Thread Roger Cahn



I haven't followed this thread up to now, but are you setting this yourself in
make.conf? It shouldn't be necessary: all packages that rely on python set
their own targets - and they're best left that way too. If you twiddle with
your targets yourself, sooner or later you'll find yourself having to
disentangle a cat's cradle.


It' not in make.conf.
Your remark is judicious   ;-)
Roger



[gentoo-user] Python and man problems

2014-08-04 Thread Roger Cahn
=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
APACHE2_MODULES=authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner 
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling status unique_id userdir usertrack vhost_alias 
CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon 
braindump author CAMERAS=canon ptp2 COLLECTD_PLUGINS=df interface 
irq load memory rrdtool swap syslog ELIBC=glibc 
GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt 
gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx 
INPUT_DEVICES=evdev KERNEL=linux LCD_DEVICES=bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text 
LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer 
LINGUAS=fr OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 
PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_3 
RUBY_TARGETS=ruby19 ruby20 USERLAND=GNU VIDEO_CARDS=nvidia 
XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p 
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, 
USE_PYTHON



$eselect python list

Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.3

Thank you for your help.

Cheers,
Roger












[gentoo-user] Can't boot upgraded kerne;

2012-03-12 Thread roger
I recently decided to update my AMD64 box from 2.38 to the new 3.2 kernel.
I used genkernel all to compile the upgraded kernel but when I go to boot
I get the following error.

Loading modules
Determining root device
!!Block device /dev/sdb2 is not a valid root device
!!Could not find the root block device in .
Pleas specify another value or press enter for the same, type shell for
a shell, or qto skip..
root block device()::

However at this point the computer is hung and I am no longer able to
input anything. I just switched over to gentoo from bsd a year or so ago
and am still a newbie at some of the installation procedures but I believe
I have followed the manual correctly with the only change being that /boot
is located on the root partition and not a seperate partition. I'm still
able to use my older kernel without a problem and the only difference that
I can note between the two is that older kernel seems to load in a bunch
of modules and starts mdev, I believe, before trying to locate root. I am
also using Lilo since my motherboard doesn't seem to like grub. Any help I
could get would be appreciated.

roger

Here is a print out of lilo.conf
boot=/dev/sdb
map=/boot/map

prompt
timeout=50
default=Windows

image=/boot/kernel-genkernel-x86_64-2.6.38-gentoo-r6
  label=2.6.38
  read-only
  append=real_root=/dev/sdb2
  vga=773
  initrd=/boot/initramfs-genkernel-x86_64-2.6.38-gentoo-r6

image=/boot/kernel-genkernel-x86_64-3.2.1-gentoo-r2
  label=3.2.1
  read-only
  append=real_root=/dev/sdb2
  initrd=/boot/initramfs-genkernel-x86_64-3.2.1-gentoo-r2


other=/dev/sda1
  label=Windows


Here is a print out of fdisk
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x37cd3650

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1204812584959 6291456   82  Linux swap / Solaris
/dev/sdb2   *1258496014682111 1048576   83  Linux
/dev/sdb314682112   156301487708096885  Extended
/dev/sdb51468416018878463 2097152   83  Linux
/dev/sdb61888051223074815 2097152   83  Linux
/dev/sdb7230768646501990320971520   83  Linux
/dev/sdb865021952   15630148745639768   83  Linux

Here is a print out of fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of
storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# fsmountpointtype   
optsdump/pass

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdb2/ext3noatime 
  0 1
/dev/sdb1noneswapsw   
0 0

/dev/sdb5/varext3defaults 
   1 2
/dev/sdb6/tmpext3defaults 
  1 2
/dev/sdb7/usrext3defaults 
  1 2
/dev/sdb8/homeext3defaults
   1 2

/dev/cdrom/mnt/cdromautonoauto,ro 
  0 0

/dev/sda2/mnt/Windowsntfsdefaults 
  1 2

proc /procproc   
defaults0 0
shm/dev/shmtmpfs   
nodev,nouisd,noexec0 0

#tmpfs /var/tmp/portagetmpfs   
size=500M,mode=07770 0







[gentoo-user] xorg on ppc64

2012-01-26 Thread Roger Mason
Helllo,

I have installed xorg-server on a mac G5 (ppc64, 32 bit userland).  I
configured the kernel for xorg according to the gentoo xorg howto.
However, the server will not start:

(==) Log file: /var/log/Xorg.0.log, Time: Thu Jan 26 08:57:27 2012
(==) Using system config directory /usr/share/X11/xorg.conf.d
(EE) Failed to load module fbdev (module does not exist, 0)
(II) [KMS] Kernel modesetting enabled.
xinit: connection to X server lost

xorg-server was built using these use flags:

[ebuild   R] x11-base/xorg-server-1.10.4-r1  USE=ipv6 nptl udev
xorg -dmx -doc -kdrive -minimal -static-libs -tslib -xnest -xvfb 0 kB

This is the kernel:

Linux perthite 2.6.39-gentoo-r3 #7 SMP Thu Jan 26 11:51:42 NST 2012
ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux

I have also noticed that I am not able to switch between virtual
terminals, but this may be an unrelated problem.

I appreciate any help offered.

Thanks,
Roger



[gentoo-user] Env-update missing

2011-12-26 Thread roger
I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
into my new install I tried to run env-update but got a command not found.
I looked in sbin and the command isn't there. I downloaded again the stage
3 tarball i686 20111213 from another mirror and I'm still not finding the
command. I feel like a goof for asking but has anyone else run into this
error?

roger




Re: [gentoo-user] Problem with xf86-video-ati nvidia-drivers

2011-07-13 Thread Roger Mason
meino.cra...@gmx.de writes:


 Hi Grant,

 another shot into an even much deeper dark  ;)

 May be you have a problem here, which it is called Brummschleife
 in german...sorry dont know the English equivalent...may be something
 like buzzing loop...but this looks more like a strange translation 
 made by google than by any other, human being ;)
 Anyway

What you are describing that is, I think, called a ground loop in
English.

Cheers,
Roger



Re: [gentoo-user] Internet

2011-06-17 Thread Cahn Roger

 1. are the lights on or flashing with a cable plugged in and pinging
 something valid?

 No. They are stable

 That indicates a problem - if a packet is going out/in, the lights
 shouls flash

Excuse me; I looked only half a second!!!  Yes they are flashing.

Since this night I found something important: the little box
put in the socket wall from where the cable goes out, doesn't
no more work!!!
When I put it on my two other PCs they can't connect to internet.
For this reason I use one of the boxes, which works, on my desktop.
Between this one and my laptop pings are ok.
The two PCs can recognize each other.
But, on my desktop I don't have yet internet connection.
Is the network card even so out???




Re: [gentoo-user] Internet

2011-06-17 Thread Cahn Roger

 If the PC has wireless it would be a quick test to run to prove if the eth0 
 NIC on the mobo is borked.

Yesterday night, under Win XP (!), I could connect
to internet with wifi.





Re: [gentoo-user] Internet

2011-06-17 Thread Cahn Roger

 But, on my desktop I don't have yet internet connection.
 Is the network card even so out???

I don't know why, but my desktop is now connected to internet!
The only thing I did was a reboot!

Thanks a lot to you all who tried to help me.
It was a hard way to obtain the solution.
The problem was really a hardware one,
not the cable, but just the little box connected
to the wall socket for my connection to the router
through the house electric circuit.
But the most important thing is to succeed   :-)
Once more a great thank you.
Roger




Re: [gentoo-user] Internet

2011-06-17 Thread Roger Cahn

 You've been using powerline networking and never thought to mention it
 throughout this entire thread, even when people were saying it had to be
 a hardware problem?

Excuse me Neil, and the others, but you're right,
I should have mentionned it.




Re: [gentoo-user] Internet

2011-06-17 Thread Roger Cahn

 Well, as long as your connection problem is now solved you can carry on with 
 using your Gentoo!  :)

Yes, I'm very happy to be able
to use it again on my desktop.
Long life to Gentoo, indeed!!!





Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger
 Or someone's standing on the cable  :-)

Yes, a bad spirit!!!

I resume.
1-The problem occured after I tried to share my Epson printer
between my three PCs: Gentoo+XP (twice) and W7
2-The NIC is included in the motherboard (Asus P5K-E)
3-The cable from the dektop, where the problem exists,
works fine on the laptop which is without problem,
and the cable from the laptop doesn't work on the desktop.
Therefore, I think, that's not a cable problem.




Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger
 This really sounds like broken hardware and if the
 cable is fine, the NIC is suspect.

I'm afraid you're right!
But, as I just wrote, the NIC is included in the motherboard...

PERHAPS a solution: try a restore from the
external HD where I have saved a week ago with
fsarchiver on SystemRescueCD.





Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger

 Can you get hold of a PCI* NIC to try, it will appear as eth1. 

Excuse me, I don't understand what you mean  get hold of a PCI* NIC  :-(

A lspci gives:

02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E
Gigabit Ethernet Controller (rev 12)







Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger
 Based on all the information provided already, there is a very good chance 
 that the network card on your mainboard is no longer working correctly.

I'm afraid you're right, because neither Gentoo nor XP work and they're
on two different HD.

 I am, to be honest, hoping that it is caused by interference of the printer 

It was my first idea, because it arrived just afterwards.

 or by a BIOS setting.

I verified, but didn't see any wrong setting

I'll try with an other network card...when I get time!
Thank's all for trying to bring me out of the trouble.
I'll tell you what will happen.
Roger





Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger
 Apologies if I missed someone already asking these:

No problem! Thanks to try to help me.

 1. are the lights on or flashing with a cable plugged in and pinging
 something valid?

No. They are stable

 2. can you ping yourself (both 127.0.0.1 and the nic IP) - cable plugged
 in

They work both (127.0.0.1 and 192.168.1.20 my desktop IP)

 3. do you have IP tables installed - iptables -vnL and check you have
 not firewalled yourself off from the world somehow.

Not iptables installed.

 4. set up a ping and check dmesg and terminal 12 (ctrl-alt-F12) for
 anything meaningful.

ping to my laptop which works (192.168.0.22) fails.
In dmesg (very very long!) I didn't find anything
I could understand but this:
[   11.002756] sky2 :02:00.0: eth0: enabling interface
[   11.003194] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.113427] Adding 2048280k swap on /dev/sdb2.  Priority:-1 extents:1
across:2048280k
[   14.025657] sky2 :02:00.0: eth0: Link is up at 100 Mbps, full
duplex, flow control rx
[   14.026096] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.386040] eth0: no IPv6 routers present

With ctrl+alt+F12 i canread this (interesting?)
Bureau ntpd_intres[3301] host name not found: 0.gentoo.pool.ntp.org
(3 other lines like this with number 2, 3, 4)

 5. as an outside chance, run modinfo [eth_module] - get the right
 module name from lsmod

in lsmod I don't have a module eth_module







Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger

 Reset the switch too?

Excuse me Thanasis but I don't understand what you mean   ;-(




Re: [gentoo-user] Internet

2011-06-16 Thread Cahn Roger

 Wait 5 minutes and then restart the whole thing.

I did it, but without success  :-(




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger
 If you have ethtool installed on the problematic pc, post the output of:

 ethtool eth0

No, I don't have it.

 f you don't have ethtool, post the output of:

 # dmesg | grep eth

 dmesg | grep eth
[2.161822] sky2 :02:00.0: eth0: addr 00:1e:8c:4a:44:db
[   15.970632] sky2 :02:00.0: eth0: enabling interface
[   15.971076] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   19.140340] sky2 :02:00.0: eth0: Link is up at 100 Mbps, full
duplex, flow control rx
[   19.140340] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.418039] eth0: no IPv6 routers present

Roger




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger
 open a root terminal and type
 ifconfig
 and
 route -n

Here it is:

ifconfig
eth0  Lien encap:Ethernet  HWaddr 00:1e:8c:4a:44:db
  inet adr:192.168.1.20  Bcast:192.168.1.255  Masque:255.255.255.0
  adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:1000
  RX bytes:0 (0.0 B)  TX bytes:8715 (8.5 KiB)
  Interruption:17

loLien encap:Boucle locale
  inet adr:127.0.0.1  Masque:255.0.0.0
  adr inet6: ::1/128 Scope:Hôte
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:3480 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3480 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:0
  RX bytes:276568 (270.0 KiB)  TX bytes:276568 (270.0 KiB)

Bureau cahn # route -n
Table de routage IP du noyau
Destination Passerelle  Genmask Indic Metric RefUse
Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo





Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 When you then run:

  route add default gw 192.168.1.1

 to define a route manually what do you get in response and then what does it 
 show:

  route -n

 and what does ip show:

  ip link show dev eth0

Here it is. But the last command not found!

route add default gw 192.168.1.1
Bureau cahn # route -n
Table de routage IP du noyau
Destination Passerelle  Genmask Indic Metric RefUse
Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG0  00 eth0
Bureau cahn # ip link show dev eth0
bash: ip : commande introuvable





Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 open a root terminal and type
 ifconfig
 and
 route -n

 Try to boot from a rescue or live CD (like ubuntu maybe) and see what
 you get.

After the SystemRescueCD was launched, ifconfig
gave for etho a bad adress: fe00::

and route -n gave kernel IP routing table
but without answers




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger
Le 15/06/2011 16:52, Paul Hartman a écrit :

 It is in package sys-apps/iproute2

Yes and I haven't it emerged.
But I can't do it because...I have no connection to internet!

Thanks Paul for helping me
Roger




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 If you have another device with Internet connection you can download
 the missing files and place it into your /usr/portage/distfiles

Thank you Paul for the tip   :-)
Roger




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger
Now I have emerged iproute2 and I can give also the last answer

  route -n
 
 and what does ip show:
 
  ip link show dev eth0

route add default gw 192.168.1.1
Bureau cahn # route -n
Table de routage IP du noyau
Destination Passerelle  Genmask Indic Metric RefUse
Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG0  00 eth0
Bureau cahn # ip link show dev eth0
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:1e:8c:4a:44:db brd ff:ff:ff:ff:ff:ff




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 Once you are inside the SystemRescueCD (has finished booting) try to
 start the network. It should get an IP from the router's dhcp server.
 If it doesn't, then try to assign manually one to eth0, and test.

OK. I make an ifconfig and the adress is: 169.264.240.204
and of course Firefox has no connection

Was it that what you meant?




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 Can you please try to ping your router:

 ping -c 3 192.168.1.1

It fails: Destination Host Unreachable

 if this fails try to ping other PCs in your LAN.  

I can't get other PCs

If that fails too can you use arping instead:
 
 arping -c 3 -I eth0 192.168.1.1
 
 or the same with the IP addresses of other machines in your LAN.

All what I try fails!





Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger
 Assign one manually.

 ifconfig eth0 down 0
 ifconfig eth0 192.168.1.111 up
 ifconfig
 route -n
 ping 192.168.1.1
 arp -a

It works as well with SystemRescueCD as on a terminal
But ping to another PC gives Destination Host Unreachable




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 So try the following and post output:

 # ping -c 3 192.168.1.1 ; arp -a

ping -c 3 192.168.1.1 ; arp -a
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.20 icmp_seq=1 Destination Host Unreachable
From 192.168.1.20 icmp_seq=2 Destination Host Unreachable
From 192.168.1.20 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
pipe 3
? (192.168.1.1) at incomplete on eth0

Well, I stop beczusse I'm occupied now!
To morrow is another day   ;-)
Roger




Re: [gentoo-user] Internet

2011-06-15 Thread Cahn Roger

 Can you ping your machine from any other PC on your LAN?  

No: Destination Host Unreachable
(from 192.168.1.22 to 192.168.1.20)

 If not please change the ethernet cable. 

I did it, it was even a new one!

  This seems s much like a hardware failure
 I can't think of anything else.

I would like this was the key, but...   :-(
Roger





[gentoo-user] Internet

2011-06-14 Thread Cahn Roger
Hi,

Yesterday I tried to make a connection between my three PC
to manage my Epson printer: two with Win XP and Gentoo
and one with Win7.
I didn't succeed, but that's not important!
After reboot of the three machines
I went back to Win7: no problem
 and to my laptop with Xp and Gentoo: OK.

But the problem is on my desktop with two HD,
one with XP and the other with Gentoo amd64.
None of them can connect to internet neither gentoo nor XP.
I tryed many things (revdep-rebuild, verification in the box, etc.)
but I was unsuccessful. Here is what I become at boot:

 * Bringing up interface lo
 *   127.0.0.1/8 ...
 [ ok ]
 *   Adding routes
 * 127.0.0.0/8 via 127.0.0.1 ...
 [ ok ]
 * Bringing up interface eth0
 *   dhcp ...
 * Running dhcpcd ...
dhcpcd[3076]: version 5.2.12 starting
dhcpcd[3076]: eth0: waiting for carrier
dhcpcd[3076]: eth0: carrier acquired
dhcpcd[3076]: eth0: rebinding lease of 192.168.1.20
dhcpcd[3076]: eth0: broadcasting for a lease
dhcpcd[3076]: timed out
dhcpcd[3076]: allowing 8 seconds for IPv4LL timeout
dhcpcd[3076]: timed out
 [ !! ]
 [ !! ]
 * ERROR: net.eth0 failed to start
 * Mounting USB device filesystem [usbfs] ...
 [ ok ]
 * Mounting misc binary format filesystem ...
 [ ok ]
 * Activating swap devices ...
 [ ok ]
 * Initializing random number generator ...
 [ ok ]

rc boot logging stopped at Tue Jun 14 08:29:53 2011


rc default logging started at Tue Jun 14 08:29:53 2011

 * Bringing up interface eth0
 *   dhcp ...
* Running dhcpcd ...
dhcpcd[3223]: version 5.2.12 starting
dhcpcd[3223]: eth0: rebinding lease of 192.168.1.20
dhcpcd[3223]: eth0: broadcasting for a lease
dhcpcd[3223]: timed out
dhcpcd[3223]: allowing 8 seconds for IPv4LL timeout
dhcpcd[3223]: timed out
 [ !! ]
 [ !! ]
 * ERROR: net.eth0 failed to start
 * ERROR: cannot start netmount as net.eth0 would not start

And another try:

/etc/init.d/net.eth0 start
 * Caching service dependencies ...
  [ ok ]
 * Bringing up interface eth0
 *   dhcp ...
 * Running dhcpcd ...
dhcpcd[6723]: version 5.2.12 starting
dhcpcd[6723]: eth0: broadcasting for a lease
dhcpcd[6723]: timed out
dhcpcd[6723]: allowing 8 seconds for IPv4LL timeout
dhcpcd[6723]: eth0: probing for an IPv4LL address
dhcpcd[6723]: eth0: checking for 169.254.79.43
dhcpcd[6723]: eth0: using IPv4LL address 169.254.79.43
dhcpcd[6723]: forked to background, child pid 6744
  [ ok ]
 * received address 169.254.79.43/16

Could please anybody tell me how to solve this awkward problem?
Thank you very much
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
Le 14/06/2011 15:15, Todd Goodman a écrit :

Hi Todd,

Thank you for your quick answer.

 It looks like your DHCP server isn't serving addresses.

Well, it serves adresses for W7, and on the laptop for XP and Gentoo.
The box is configured with fixed adresses.

 If it's your Internet router you might try resetting it 

I'll try it!

Thank you again Todd
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
Hi Mick,

 What does the router log show?

Euh, how can I get it???

 Can you please share:
 ifconfig eth0

ifconfig eth0
eth0Lien encap:Ethernet  HWaddr 00:1e:8c:4a:44:db
   inet adr:169.254.79.43  Bcast:169.254.255.255  Masque:255.255.0.0
   adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:1000
  RX bytes:0 (0.0 B)  TX bytes:20708 (20.2 KiB)
  Interruption:17

/etc/conf.d/net

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

config_eth0=dhcp

In the box I stopped the option fixed adresses,
but the problem remains the same   :-(

Thanks for your answers
Roger







Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 Can you check the network cable and connections to ensure that is actually 
 correct?

The cable and connections are well.
Thank you Joost
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 It depends on your router.  Usually routers have at least a GUI control panel 
 access and one of the pages shows recent attempts to connect and authenticate.

My router hasn't this!

 Are your running some sort of an access control list on the router and have 
 not included your MAC address?

The MAC adresses are included in the box.

 Try setting an address manually:
 
  ifconfig eth0 192.168.1.20 broadcast 192.168.1.255 netmask 255.255.255.0
 
  route add default gw 192.168.1.1 (assuming that this is your router) 

I put this in /etc/conf.d/net;  is it right?

 and then try to ping it:
 
  ping -c 3 192.168.1.1

The answer:

ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.20 icmp_seq=1 Destination Host Unreachable
From 192.168.1.20 icmp_seq=2 Destination Host Unreachable
From 192.168.1.20 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
pipe 3

Regards
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 Your DHCP server serves addresses for other hardware OK?

Yes. A PC with W7, my laptop with XP and Gentoo
Both work fine.

The problem is on my desktop with two HD: XP and Gentoo
Both OS can't connect to Internet.

 When you say fixed addresses you mean the DHCP server gives out a
 fixed IP address based on the MAC address of the requestor?

Yes. I put manually in the box (router) ip and mac adresses.

 Can you check the DHCP logs on the DHCP server?
No!

Regards
Roger





Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger

 Try setting an address manually:

  ifconfig eth0 192.168.1.20 broadcast 192.168.1.255 netmask 255.255.255.0

  route add default gw 192.168.1.1 (assuming that this is your router) 

It doesn't work: error locating host target (for route)
Regards
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 # /etc/init.d/net.eth0 stop
 # ifconfig eth0 192.168.1.20 up
 
 and post output of

/etc/init.d/net.eth0 stop
 * Caching service dependencies ...
/etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
/etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
SIOCADDRT: Le fichier existe
/etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
/etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
SIOCADDRT: Le fichier existe
/etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
/etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
SIOCADDRT: Le fichier existe
  [ ok ]
 * samba - stop: smbd ...
  [ ok ]
 * samba - stop: nmbd ...
  [ ok ]
 * Unmounting network filesystems ...
  [ ok ]
/etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
/etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
SIOCADDRT: Le fichier existe
 * net.eth0: error loading /etc/init.d/../conf.d/net
 * ERROR: net.eth0 failed to stop

(command unobtenaible)

Of course, ifconfig eth0 192.168.1.20 up didn't give an answer!

 What's the IP of your router?

192.168.1.1

Thank's a lot for your help Thanasis
Roger





Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 Run these (in sequence) as root (and post output):
 
 # echo  /etc/conf.d/net
 # /etc/init.d/net.eth0 stop
 # /etc/init.d/net.eth0 zap
 # ifconfig eth0 192.168.1.20 up
 # ifconfig
 # ping 192.168.1.1

Bad luck: it fails.

Bureau cahn # echo  /etc/conf.d/net
Bureau cahn # /etc/init.d/net.eth0 stop
 * Caching service dependencies ...
  [ ok ]
 * Bringing down interface eth0
 *   Stopping dhcpcd on eth0 ...
  [ ok ]
 *   Removing addresses
 * 192.168.1.20/24
Bureau cahn # /etc/init.d/net.eth0 zap
 * Manually resetting net.eth0 to stopped state
Bureau cahn # ifconfig eth0 192.168.1.20 up
Bureau cahn # ifconfig
eth0  Lien encap:Ethernet  HWaddr 00:1e:8c:4a:44:db
  inet adr:192.168.1.20  Bcast:192.168.1.255  Masque:255.255.255.0
  adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:662 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:1000
  RX bytes:0 (0.0 B)  TX bytes:147085 (143.6 KiB)
  Interruption:17

loLien encap:Boucle locale
  inet adr:127.0.0.1  Masque:255.0.0.0
  adr inet6: ::1/128 Scope:Hôte
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:39878 errors:0 dropped:0 overruns:0 frame:0
  TX packets:39878 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:0
  RX bytes:3166048 (3.0 MiB)  TX bytes:3166048 (3.0 MiB)

Bureau cahn # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.20 icmp_seq=2 Destination Host Unreachable
From 192.168.1.20 icmp_seq=3 Destination Host Unreachable
From 192.168.1.20 icmp_seq=4 Destination Host Unreachable
From 192.168.1.20 icmp_seq=6 Destination Host Unreachable

Thanks for help
Roger




Re: [gentoo-user] Internet

2011-06-14 Thread Cahn Roger
 Can you ping 192.168.1.1 from another machine?

Yes, from my laptop with which I'm writing

Portable cahn # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=3.86 ms
64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=3.86 ms
64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=3.96 ms
64 bytes from 192.168.1.1: icmp_req=4 ttl=64 time=3.94 ms
64 bytes from 192.168.1.1: icmp_req=5 ttl=64 time=7.46 ms
64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=4.65 ms
c64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=3.85 ms
64 bytes from 192.168.1.1: icmp_req=8 ttl=64 time=7.10 ms
64 bytes from 192.168.1.1: icmp_req=9 ttl=64 time=4.38 ms
64 bytes from 192.168.1.1: icmp_req=10 ttl=64 time=3.99 ms
^C
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9024ms
rtt min/avg/max/mdev = 3.851/4.708/7.465/1.316 ms





Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-28 Thread Roger Cahn

 497 lines. Could you please: increase the buffer and turn off usb debugging?

Hi Volker,

I tried again and I hope you'llhave now the complete dmesg.
Here is the adress:

 http://dl.free.fr/qUJf6qr39





Re: [gentoo-user] Problem with /devcdrom /dev/sro [solved]

2011-02-28 Thread Roger Cahn

 I tried again and I hope you'llhave now the complete dmesg.

A friend found how to solve the problem.
He changed some settings in Device Drivers,
specially in Serial ATA and Paralell ATA drivers,
and somewhere else.
Now I have cdrom and sr0 in /dev and the player works.

Thank you for your help.
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn
Thank you Volker for your answer.

 dmesg and kernel config would be much more helpfull. 

dmesg | grep cdrom and grep sr0 didn't give any answer

 Especially the scsi part of kernel config. Stuff like cdrom support.

Here is my scsi config in the kernel:

  RAID Transport Class

-*- SCSI device support

  SCSI target support

[*] legacy /proc/scsi/ support

 *** SCSI support type (disk, tape, CD-ROM)***
 * SCSI disk support

  SCSI tape support

  SCSI OnStream SC-x0 tape support

* SCSI CDROM support

[*]   Enable vendor-specificextensions(forSCSICDROM)
  * SCSI generic support

  SCSI media changer support

Probe all LUNs on each SCSI device

[*] Verbose SCSI error reporting (kernel size+=12K)

SCSI logging facility

[ ] Asynchronous SCSI scanning

SCSI Transports  ---

[ ] SCSI low-level drivers  ---

[ ] PCMCIA SCSI adapter support  ---
  SCSI Device Handlers  ---

  OSD-Initiator library

I hope it will help you...and me   :-)
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 complete dmesg would be nice nonetheless.

But in dmesg there are 1106 lines!
Would you like I send all or only a part of them?

 * SCSI CDROM support
 [*]   Enable vendor-specificextensions(forSCSICDROM)
   * SCSI generic support

 try that as module and reload it - what happens?

Nothing, bad luck!
Neither no cdrom nor sr0 in /dev





Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 isnt it a pioneer sata device by any chance?

No, it isn't.
Thanks for your answer
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 and dmesg says  what?

Because threre are many lines (1106)
you can get it at this adress:

 http://dl.free.fr/eaWeJr0WB

I hope it will work!




[gentoo-user] Problem with /devcdrom /dev/sro

2011-02-26 Thread Roger Cahn
Hi,

Since I have installed kernel amd64 I have nomore
cdrom and sr0 in /dev
Here is my emerge --info:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4,
glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=
System uname:
Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 25 Feb 2011 08:15:01 +
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -march=native -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/splash /etc/terminfo
CXXFLAGS=-O2 -march=native -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs distlocks fixlafiles fixpackages
news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=fr_FR.UTF.8
LC_ALL=fr_FR.UTF.8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=fr fr_FR
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss
encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6
jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap
multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf
perl png policykit ppds pppd python qt3support qt4 readline sdl session
spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype
udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
multi null plug rate route share shm softvol APACHE2_MODULES=actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter headers
include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias
CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool
swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate
evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom
oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing
tsip tripmate tnt ubx INPUT_DEVICES=evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LINGUAS=fr fr_FR PHP_TARGETS=php5-3
RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=nvidia
XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Thanks for the help
Roger




Re: [gentoo-user] Laptop

2010-10-28 Thread Roger Cahn

 Ask not will this work on Gentoo, rather ask will this work on
 Linux!


Your answer is very interesting, Iain.
I'll try what you wrote, and then take my decision   ;-)

Thank you very much for the explanation.
Roger







Re: [gentoo-user] Laptop

2010-10-28 Thread Roger Cahn
 The best would be to run lspci on the machine as others suggested. You
 can paste the lspci -n output here and get the availability of drivers
 for linux. http://kmuto.jp/debian/hcl/
 
 There is also lists of hardware/laptops known to be working on Gentoo.
 N series is not listed on Gentoo wiki but perhaps you can find it on
 other distros' wiki or at least find laptops with common hardware.
 
 http://en.gentoo-wiki.com/wiki/Index:Laptops

Thank you Fatih.
I'll try also your suggestions.
Roger




Re: [gentoo-user] Laptop

2010-10-27 Thread Roger Cahn
Thank you for your answers.

 To get a sensible answer on a question like that, you MUST supply the
 entire
 spec of all the hardware you intend to buy. Only then can people offer an
 opinion on how good or otherwise the drivers are.

Here are the specifications:

 Specifications
 Processor  Cache Memory  Support Intel® i7 Quad Core™ Processor CPU
 Operating System  Genuine Windows® 7 Home Premium
 
 Chipset   Mobile Intel® HM55 Express Chipset
 Main Memory   DDR3 1333 MHz SDRAM, 3 x SODIMM socket for expansion up to 12GB 
 SDRAM
 
 Display   17.3 16:9 Full HD (1920x1080)/HD+ (1600x900) LED 
 backlight,Asus Splendid Video Intelligent Technology
 Video Graphics  Memory   NVIDIA® GeForce® GT 425M with 1GB DDR3 VRAM
 Hard Drive2.5 9.5mm SATA
 640GB ,5400rpm
 750GB,7200rpm
 500GB,5400rpm;7200rpm
 
 320GB,5400rpm;7200rpm
 Dual HDD support
 Optical Drive DVD Super Multi Double Layer
 Blu-ray RW
 Card Reader   4 in 1 SD,MMC,MS,MS-Pro card reader
 Video Camera  2.0 Mega Pixel web camera
 (Optional)
 Fax/Modem/LAN/WLANIntegrated 802.11 b/g/n
 Built-in Bluetooth™ V2.1+EDR (optional)
 10/100/1000 Base T
 Interface 1 x E-SATA (USB 2.0 combo)1 x Microphone-in jack
 1 x Headphone-out jack (S/PDIF)
 1 x VGA port/Mini D-sub 15-pin for external monitor
 2 x USB 2.0 ports
 
 1 x RJ45 LAN Jack for LAN insert
 1 x HDMI
 1 x WLAN On/Off Switch
 Audio Bang  Olufsen ICEpower®
 SonicFocus
 Built-in speaker and microphone
 Battery Pack  Life   6 cells: 4400 mAh 47 Whrs
 AC AdapterOutput: 19 V DC, 6.32 A, 120 W
 Input:100-240 V AC, 50/60 Hz universal

I hope it will help you...and me;-)
Roger




[gentoo-user] Laptop

2010-10-26 Thread Roger Cahn
Hi,

I want to buy a laptop Asus N series,
but could anybody tell me if its possible
to use it with Gentoo-Linux?
And in case of yes, if it's a good choice?
Thank you
Roger




Re: [gentoo-user] Boot hangs after install, no error

2010-06-17 Thread Roger Mason
Jake,

Jake Moe jakesaddr...@gmail.com writes:

 I've just completed a fresh Gentoo installation on a new laptop, and
 strangely, after I choose the entry from the Grub screen, all I get is:

   Booting `Gentoo Linux 2.6.32-r7`

 root (hd0,1)
  Filesystem type is ext2fs, partition type 0x83
 kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4
[Linux-bzImage, setup=0x3000, size=0x1ab020]

 It then sits there.  No error, no other messages.  The hard drive light
 stops, and the Num Lock and Caps Lock keys don't respond.  If I press
 the power button, it immediately turns off.

 The laptop is a HP 8440p and I've installed amd64.  I've followed the
 install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 /
 on it.  I've compiled EXT2, EXT3 and SATA AHCI into the kernel.

 Does anyone have any idea what I've forgotten or missed?  If you need
 more info, let me know.  Thanks for any help you can give.

I had a similar problem about 6 weeks or so ago.  It turned out that the
hardware (a Dell Optiplex 320) and Grub were incompatible in some way.
I installed Lilo instead, and everything now works fine.  So, try
searching on your specific hardware to see if this is a known problem.

Roger



Re: [gentoo-user] x86 boot failure [solved]

2010-05-10 Thread Roger Mason
Walter Dnes waltd...@waltdnes.org writes:

 On Thu, May 06, 2010 at 11:49:01AM -0230, Roger Mason wrote

 Egg on face.  The processor is listed in the bios as Intel EM64T.
 
 Does that mean I should re-build this as an amd64 system?

   No, it's not necessary.  64-bit Intel and AMD cpus will run 32-bit
 mode without problems.  It's your decision which one to use.  General
 rule of thumb...

 - If you have 4 gigs or more of RAM, the 64-bit OS will take better
   advantage of it than a 32-bit OS.

 - If you have 3 gigs or less of RAM, stick with 32-bit.

   I'm running 32-bit mode on an Intel(R) Core(TM)2 Duo CPU E4600 and it
 works fine.

I did some reading and found that Grub does not work on this hardware.
I installed and configured lilo and the system booted.

Cheers,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Roger Mason
Hello Andrea,

Andrea Conti a...@alyf.net writes:

 I would check the processor type setting (A 3GHz Celeron should be
 P4-based) and/or muck around with ACPI. Also try disabling framebuffer
 drivers and using a plain VGA console.

 Leave all advanced settings in your bios to their defaults.

 And no, EM64T just means it *can* run amd64 -- i686 is fine and IMO a
 lot better for that kind of hardware if you do not absolutely need to
 run 64-bit code for some reason.

That is what I thought.

I looked into the BIOS: no AHCI support.  I edited the genkernel .config
and set the various SATA drivers as built-in.  There seemed to be
nothing wrong with grub or its configuration (I rebuilt it anyway, just
in case).  In the end I gave up and installed the machine as an amd64.
I may know today how that turned out: my install script shuts the
machine down at the end and I'll need to get someone to re-boot it for
me as I'm not in the office.

I'll let you know what happened.

Thanks Andrea and everyone else for your help.

Roger



Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Roger Mason
Helmut Jarausch jarau...@igpm.rwth-aachen.de writes:

 One more hint (that I've got earlier on this list)

 Boot from a rescue CD  (preferably
 http://www.sysresccd.org/
 )

 then execute
 lspci -k

 it shows you all drivers that have been selected during boot.

Many thanks fir the information.

Cheers,
Roger



[gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Hello all,

I just built a new machine (celeron 3 GHz) using a script that builds
the kernel using genkernel and a config that is copied from that of the
kernel on the install cd.  The latter was downloaded and burned from a
very recent autobuild.

The build process appears to complete successfully, with nothing
untoward in the logs.  However, the machine will not boot but hangs at
this point in the process:

root (hd0,0)

Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=linuxrc 
ramdisk=8192 real_root=/dev/sda3 vga=791

[Linux-bzImage, setup=0x3000, size=0x2a8d80]

This is the grub.conf:

default 0
timeout 5

title Gentoo genkernel-x86-2.6.32-gentoo-r7
root (hd0,0)

kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/sda3 vga=791
initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7

I have verified that the names of the kernel and initrd on the disk
match those in grub.conf.  In any case a wrong filename is usually
signalled as 'not found' during the boot process.

Can anyone suggest how to debug this?

Thanks,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Mick michaelkintz...@gmail.com writes:

 On 6 May 2010 09:37, Roger Mason rma...@mun.ca wrote:

 Can anyone suggest how to debug this?

 When I get problems like this I usually run grub in a terminal and
 then use autocompletion to find out what grub sees:

 root (hd  --tab

 it will list all partitions and hopefully help you find your boot partition.

 Then search for the kernel image:  kernel /boot/   --tab

 If you have chosen the correct grub root partition you should find
 your kernel image in there.

I assume you mean to boot from the install CD then chroot into the new
install and run grub from bash?

Thanks,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Roger Mason rma...@mun.ca writes:

 Can anyone suggest how to debug this?

Egg on face.  The processor is listed in the bios as Intel EM64T.

Does that mean I should re-build this as an amd64 system?  If the answer
to that is yes, then I don't understand why the x86 install CD booted
without problems.

Cheers,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Stroller strol...@stellar.eclipse.co.uk writes:

 On 6 May 2010, at 09:37, Roger Mason wrote:
 ...
 I just built a new machine (celeron 3 GHz) using a script that builds
 the kernel using genkernel and a config that is copied from that of
 the
 kernel on the install cd.

 Are you sure ext[234] is compiled statically into the kernel in this
 .config?

Yes.

 Also the drivers for the EIDE / SATA controller.

 The liveCD configs I've seen generally store these as modules. I, too,
 usually take a copy of the config from a working LiveCD when I compile
 a kernel, but I *always* have to change something.

This what grep SATA kernel-config says:

# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=m
CONFIG_SATA_SIL24=m
CONFIG_SATA_SVW=m
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_SATA_QSTOR=m
CONFIG_SATA_PROMISE=m
CONFIG_SATA_SX4=m
CONFIG_SATA_SIL=m
CONFIG_SATA_SIS=m
CONFIG_SATA_ULI=m
CONFIG_SATA_VIA=m
CONFIG_SATA_VITESSE=m
CONFIG_SATA_INIC162X=m

lspci says:
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA

So, what must I set?

Thanks for the help.

Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-05-01 Thread Roger Mason
Mike Edenfield kut...@kutulu.org writes:

 On 4/30/2010 12:40 PM, Roger Mason wrote:
 Mike Edenfield kut...@kutulu.org writes:
 
 Have you tried using sys-devel/crossdev?
 
 Not in the present context.
 
 It will set up the entire 32-bit cross-compiler environment for you;
 then it's just a matter of setting a couple of environment variables to
 switch compilers.
 
 Some time ago I tried setting up cross-compilation so that I could use a
 rather heterogeneous collection of amd64, ppc and x86 machines in
 icecream.  Unfortunately I could not get cross-compilation to work.  I
 asked about it in this forum but did not get any replies.

 I have it set up on my laptop. I admit it's been a while since I used
 it, but I know it worked at one point.

 Though I was using it on a standard PC, the best source of information I
 found on the process was the Gentoo Embedded Handbook:


 http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1

 The whole first section is on setting up a cross-compiler, just
 substitute i686-pc-linux-gnu for your target architecture.

Ah, thank you.  I'll have another go at it this summer.

Roger



[gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Hello,

I need to compile a 32 bit version of libtermcap on an x86_64 (multilib)
system.  Can someone tell me how to set up CFLAGS?  This is what I have
at the moment:

CFLAGS=-O2 -m32 -march=native -msse3 -pipe
CXXFLAGS=-O2 -m32 -march=native -msse3 -pipe

ebuild libtermcap-compat-2.0.8-r2.ebuild compile

ends with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `termcap.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `tparam.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `version.o' is incompatible with
i386:x86-64 output

Thanks,
Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
David W Noon dwn...@ntlworld.com writes:

 On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about
 [gentoo-user] Compiling 32 bit library on x86_64:

Hello,

I need to compile a 32 bit version of libtermcap on an x86_64
(multilib) system.  Can someone tell me how to set up CFLAGS?  This is
what I have at the moment:

CFLAGS=-O2 -m32 -march=native -msse3 -pipe
CXXFLAGS=-O2 -m32 -march=native -msse3 -pipe

 The -march=native will shoot you in the foot. Pick a 32-bit
 architecture and use that instead; e.g. -march=i686

 Then, -msse3 could also be problematic, unless the target is a very late
 model Pentium 4.  I would ditch that too.

Many thanks.  Interestingly enough, even though the build of libtermca
failed, the static library _was_ built and my application builds against
it just fine.

Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Mike Edenfield kut...@kutulu.org writes:

 Have you tried using sys-devel/crossdev?

Not in the present context.

 It will set up the entire 32-bit cross-compiler environment for you;
 then it's just a matter of setting a couple of environment variables to
 switch compilers.

Some time ago I tried setting up cross-compilation so that I could use a
rather heterogeneous collection of amd64, ppc and x86 machines in
icecream.  Unfortunately I could not get cross-compilation to work.  I
asked about it in this forum but did not get any replies.

Cheers,
Roger



Re: [gentoo-user] Re: sci-physics/root slotting?

2010-04-21 Thread Roger Mason
Hello Daid,

daid kahl daid...@gmail.com writes:

 Hello,

 For anyone who uses the data analysis framework ROOT developed mainly
 at CERN (sorry, I didn't name it 'root'), I can imagine that slotting
 would be an extremely useful feature.

 It occurred to me tonight that adding slotting should be easy and very
 useful.

I use ROOT a fair amount.  I have not personally run into issues with
sensitivity of macros to ROOT version, at least not that I know of.  I
am running 5.22-r2 on an X86_64 system and 5.25/02 on a ppc.  The latter
was compiled outside portage because ROOT is masked with missing keyword
on that system.

If there is something I can do to help out then please let me know.  I
am not much of a programmer, but at the very least I should be able to
run tests.  I have a few old machines around that could be fired up and
used as test beds.

I am tied up with end of term stuff for the next week or so, but then my
time will be a bit more flexible.

Cheers,
Roger



Re: [gentoo-user] Re: language

2010-04-03 Thread Roger Cahn
 I propose an experiment.  For example, if gedit is displaying the wrong
 language, then type this at a command prompt (in xterm or gterm, etc):
 
 $LC_ALL='fr' gedit

Thank you Walt, but it doesn't work. Here is the message:

(process:5573): Gtk-WARNING**: locale not supported by C library.
Using the fallback 'C' locale.

Roger




Re: [gentoo-user] Re: language [solved]

2010-04-03 Thread Roger Cahn
 Try
 $LC_ALL=fr_FR.UTF-8 gedit

I did it, but it opens gedit in english.

The idea came to search where the config file of gedit is
on my desktop computer.
I made a locate gedit and I found within other files
/usr/share/locale/fr/LC_MESSAGES/gedit.mo

I saw that gedit.mo is a binary file.
With an usb key I put it in /usr/share/locale/fr/LC_MESSAGES
of my laptop where it wasn't.
And it worked   :-)
I made a second try with xfdesktop.mo, and it succeeded also.

Now I have to do the same thing for the other packages.
I'm surprised that the video projector could change the language
in many files.

Thanks for your help
Roger





Re: [gentoo-user] Re: language [solved]

2010-04-03 Thread Roger Cahn
 With an usb key I put it in /usr/share/locale/fr/LC_MESSAGES
 of my laptop where it wasn't.
 And it worked   :-)
 I made a second try with xfdesktop.mo, and it succeeded also.

An other method given by a friend, and more easier:
compile again a package in english, and it will become in french.
I tried with gimp and it worked.

I don't indeed understand what happened!
Roger




[gentoo-user] language

2010-04-02 Thread Roger Cahn
Hi all,

Yesterday I gave a presentation with OOo-3.2 Impress
with my laptop (xfce4, thunar).
I used a video projector Dell, which worked fine.
However, this made my language change from french
to english in many of my packages.

Right click on desktop and the showed window is in english;
the same with a click on the icons on it. (their name is also in english)

The menu bars are sometimes in french (thunar,firefox,
thunderbird, OOo, skype) sometimes not (gimp, vlc, gedit, etc.)

I don't know what happened, and in spite of serching in many
directions , I could not find a solution.
How could I resolve this problem?

Many thanks for a help
Roger





Re: [gentoo-user] Re: language

2010-04-02 Thread Roger Cahn
 Hi Roger,

Hi Walt,

Thank you for your answer.

 Just to clarify, are you saying the language problem was caused by using
 the video projector, or by running the OO file on your laptop, or ...?

By using the video projector. It was the first time I used this one.
I never had this problem with another one.

 Are you saying that the language problems are permanent, or just during
 your presentation?

They are permanent   :-(

Roger





Re: [gentoo-user] language

2010-04-02 Thread Roger Cahn
 Have you tried setting LINGUAS=fr in your make.conf?

Yes, it is.
Thank's
Roger




Re: [gentoo-user] Re: [OT] Screen sharing software or similar

2010-02-20 Thread Roger Mason
James wirel...@tampabay.rr.com writes:

 Renat Golubchyk ragermany at gmx.net writes:


 too. For easy writing I would probably buy graphics tablets since
 writing math formulas or drawing isn't particularly fast or easy with
 keyboard and mouse.


 If my old (weak) memory serves me correctly,
 some time back several folks where discussing getting writing tablets to
 work with Gentoo.

Tha tablet part of this ought to be straightforward.  I have a Wacom
Graphire USB tablet working with several machines including PPC,
Core2duo  x86.  I have the tablet configured in xorg.conf (have not
tried with hal).  There is info on the wiki:
http://en.gentoo-wiki.com/wiki/Wacom_Tablet

Roger



Re: [gentoo-user] Can't hear anything. :-(

2010-02-17 Thread Roger Mason
Hello Alan,

Alan Mackenzie a...@muc.de writes:

 Did you get this worked out yet? 

 Not yet, no.

 VERY strange that you don't see pcm as a mixer control...

 I've got alsamixer 1.0.21.  Could it be that it choses its controls
 according to the capabilities of the sound card?

 It's a bit hard to say much with so little info but I'll offer a
 couple of things:

 1) IMO Alsa has never run so well when drivers are compiled into the
 kernel. I do a lot of audio in Linux and have always had the best
 results using modules. I would strongly suggest you give it a try...

 Oh deity!  I was hoping not to have to do this.  I've never used modules
 before, since they are (or were) an unnecessary complication, and might
 introduce security risks.  Maybe I'll have to read up on this.

 2) Under /proc/asound/card0 (or whatever card you are using if you
 have more than 1) do you see any pcm directories?

 # ls /proc/asound/card0
   codec#0  id  oss_mixer  pcm0c  pcm0p pcm1p  pcm2c

 , so yes, I can see some pcm directories.

 3) Post back a little more info?

 cat /proc/asound/cards

0 [SB ]: HDA-Intel - HDA ATI SB
 HDA ATI SB at 0xfbcf8000 irq 16
1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
 HDA ATI HDMI at 0xfbffc000 irq 19


 aplay -l

 List of PLAYBACK Hardware Devices 
card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 aplay -L

default:CARD=SB
HDA ATI SB, ALC1200 Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=HDMI
HDA ATI HDMI, ATI HDMI
HDMI Audio Output


 lsmod

Opening /proc/modules: No such file or directory


I have Intel HDA and load the necessary drivers as modules.  I had to
add some stuff to the module configuration to get sound from my card,
which is:

pyrope ~ $ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC885 Analog [ALC885 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC885 Digital [ALC885 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

It was the ALC885 that was troublesome to get going.  Have a look in
/usr/src/linux/Documentation/sound/alsa/ at the HD*.txt for information.

Good luck,
Roger



Re: [gentoo-user] gnome keychain

2010-01-30 Thread Roger Mason
Hi Alexander,

Alexander b3n...@yandex.ru writes:

 On Friday 29 January 2010 19:45:53 Roger Mason wrote:
 
 I would like to know how to configure gdm/gnome to ask for the
 passprhase once, at login so that I don't have to enter it multiple
 times.
 
 Thanks,
 Roger
 


 try to install app-crypt/seahorse and maybe app-crypt/seahorse-plugins

I have seahorse installed and it is in the list of startup apps under
Preferences.  I _am_ being asked for a _passphrase_ when I try to ssh to
another machine (although the dialogue calls it a _password_).  I have
no idea which application is popping up this dialogue.  Having supplied
the passphrase I can ssh to the remote machine without being asked again
for the passphrase.  However, if I then open an xterm on my local
machine and start an xterm inside it I am prompted for the passphrase
again, on the xterm, not in a dialogue box.

Thanks,
Roger



[gentoo-user] gnome keychain

2010-01-29 Thread Roger Mason
Hello,

I have previously used keychain as per the gentoo docs.  Once I
supplied the SSH passphrase at the console I was able to access other
machines without providing a password.

I have just started using gnome and am logging in using gdm.  When I log
in I am not asked for a passphrase.  If I start a screen session in an
xterm I'm prompted for my passphrase.  Then I start a new xterm and use
it to ssh to another machine and a dialogue opens asking for the
passphrase.

I would like to know how to configure gdm/gnome to ask for the
passprhase once, at login so that I don't have to enter it multiple
times.

Thanks,
Roger



  1   2   3   >