[gentoo-user] Re: to USE loop-aes or not to USE loop-aes, that is the confusion
On Tuesday 14 June 2011, meino.cra...@gmx.de wrote: Why are the versions oscillate that way? Did you add loop-aes globally in /etc/make.conf, or per package in /etc/portage/package.use? In the latter case did you specify the packet version? Can you see why I'm asking these questions? Cheers Francesco -- Linux Version 2.6.39-gentoo-r1, Compiled #1 SMP PREEMPT Thu Jun 9 11:20:57 CEST 2011 Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total aemaeth
Re: [gentoo-user] Internet
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
[gentoo-user] blocking conflicts in kde packages when updating world
Hello! I want to make an update on my Gentoo system and get a lot of blocking packages. I use this command for upgarde: USE=semantic-desktop emerge -pv --update --newuse --deep world and the blocking packages are: [blocks B ] kde-base/nepomuk:4.4 (kde-base/nepomuk:4.4 is blocking kde-base/nepomuk-4.6.3) [blocks B ] kde-base/khelpcenter:4.4 (kde-base/khelpcenter:4.4 is blocking kde-base/khelpcenter-4.6.3) [blocks B ] kde-base/kdesu:4.6[-kdeprefix] (kde-base/kdesu:4.6[-kdeprefix] is blocking kde-base/kdesu-4.4.5) [blocks B ] kde-base/kdesu:4.4 (kde-base/kdesu:4.4 is blocking kde-base/kdesu-4.6.3) [blocks B ] sys-auth/policykit (sys-auth/policykit is blocking sys-auth/polkit-0.101-r1) [blocks B ] kde-base/kdepimlibs:4.6[-kdeprefix] (kde-base/kdepimlibs:4.6[-kdeprefix] is blocking kde-base/kdepimlibs-4.4.5) [blocks B ] kde-base/nepomuk:4.6[-kdeprefix] (kde-base/nepomuk:4.6[-kdeprefix] is blocking kde-base/nepomuk-4.4.5) [blocks B ] kde-base/kcontrol:4.4 (kde-base/kcontrol:4.4 is blocking kde-base/kcontrol-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/khelpcenter:4.6[-kdeprefix] (kde-base/khelpcenter:4.6[-kdeprefix] is blocking kde-base/khelpcenter-4.4.5) [blocks B ] kde-base/kdelibs:4.4 (kde-base/kdelibs:4.4 is blocking kde-base/kdontchangethehostname-4.6.3, kde-base/plasma-runtime-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/kdepimlibs:4.4 (kde-base/kdepimlibs:4.4 is blocking kde-base/kdepimlibs-4.6.3) [blocks B ] kde-base/kdelibs:4.6[-kdeprefix] (kde-base/kdelibs:4.6[-kdeprefix] is blocking kde-base/kdelibs-4.4.5) [blocks B ] kde-base/kcontrol:4.6[-kdeprefix] (kde-base/kcontrol:4.6[-kdeprefix] is blocking kde-base/kcontrol-4.4.5) Please help me to resolve this blocking conflicts. One solution I know is that I remove the 4.4 kde packages, but I'm afraid that it would result in a non-working system, so I hope there are other much painless solutions as well. Thanks, István
Re: [gentoo-user] Internet
On Wednesday 15 Jun 2011 09:04:09 Cahn Roger wrote: 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 OK, the link is coming up. I've forgotten where we left this ... Oh yes, your router was not responding. Once you boot up, have you tried: /etc/init.d/net.eth0 stop /etc/init.d/net.eth0 zap ifconfig eth0 192.168.1.20 up arping -c 3 -I eth0 192.168.1.1 If this does not return anything then try to arping other machines in your LAN. If you are getting reponses from other PCs but not your router, then the ethernet cable is good, but the router configuration is not. It is probable then that your static IP address/MAC number that you have set up at the router has some error with it. Look at that again and check for typos. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] blocking conflicts in kde packages when updating world
2011-06-15 12:53 keltezéssel, Alan McKinnon írta: On Wednesday 15 June 2011 11:43:42 ifj. Stefán István wrote: Hello! I want to make an update on my Gentoo system and get a lot of blocking packages. I use this command for upgarde: USE=semantic-desktop emerge -pv --update --newuse --deep world and the blocking packages are: [blocks B ] kde-base/nepomuk:4.4 (kde-base/nepomuk:4.4 is blocking kde-base/nepomuk-4.6.3) [blocks B ] kde-base/khelpcenter:4.4 (kde-base/khelpcenter:4.4 is blocking kde-base/khelpcenter-4.6.3) [blocks B ] kde-base/kdesu:4.6[-kdeprefix] (kde-base/kdesu:4.6[-kdeprefix] is blocking kde-base/kdesu-4.4.5) [blocks B ] kde-base/kdesu:4.4 (kde-base/kdesu:4.4 is blocking kde-base/kdesu-4.6.3) [blocks B ] sys-auth/policykit (sys-auth/policykit is blocking sys-auth/polkit-0.101-r1) [blocks B ] kde-base/kdepimlibs:4.6[-kdeprefix] (kde-base/kdepimlibs:4.6[-kdeprefix] is blocking kde-base/kdepimlibs-4.4.5) [blocks B ] kde-base/nepomuk:4.6[-kdeprefix] (kde-base/nepomuk:4.6[-kdeprefix] is blocking kde-base/nepomuk-4.4.5) [blocks B ] kde-base/kcontrol:4.4 (kde-base/kcontrol:4.4 is blocking kde-base/kcontrol-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/khelpcenter:4.6[-kdeprefix] (kde-base/khelpcenter:4.6[-kdeprefix] is blocking kde-base/khelpcenter-4.4.5) [blocks B ] kde-base/kdelibs:4.4 (kde-base/kdelibs:4.4 is blocking kde-base/kdontchangethehostname-4.6.3, kde-base/plasma-runtime-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/kdepimlibs:4.4 (kde-base/kdepimlibs:4.4 is blocking kde-base/kdepimlibs-4.6.3) [blocks B ] kde-base/kdelibs:4.6[-kdeprefix] (kde-base/kdelibs:4.6[-kdeprefix] is blocking kde-base/kdelibs-4.4.5) [blocks B ] kde-base/kcontrol:4.6[-kdeprefix] (kde-base/kcontrol:4.6[-kdeprefix] is blocking kde-base/kcontrol-4.4.5) Please help me to resolve this blocking conflicts. One solution I know is that I remove the 4.4 kde packages, but I'm afraid that it would result in a non-working system, so I hope there are other much painless solutions as well. Option 1: in a text console, unmerge all blockers, remerge world. Log in. Share. Enjoy. Option 2: Upgrade to latest portage, it's masked so you will have to unmask it first. portage-2.2.0-alpha* deals with that blocker nonsense automagically. Much less hassle for you. I've tried option 2, but =portage-2.2.0_alpha38 has missing keyword for my system (amd64). It has keywords only for ~sparc-fbsd ~x86-fbsd. I synced the portage tree today. Are there some way to install portage-2.2.0_alpha* somehow anyway? Thanks, István
Re: [gentoo-user] blocking conflicts in kde packages when updating world
On Wednesday 15 Jun 2011 10:43:42 ifj. Stefán István wrote: Hello! I want to make an update on my Gentoo system and get a lot of blocking packages. I use this command for upgarde: USE=semantic-desktop emerge -pv --update --newuse --deep world and the blocking packages are: [blocks B ] kde-base/nepomuk:4.4 (kde-base/nepomuk:4.4 is blocking kde-base/nepomuk-4.6.3) [blocks B ] kde-base/khelpcenter:4.4 (kde-base/khelpcenter:4.4 is blocking kde-base/khelpcenter-4.6.3) [blocks B ] kde-base/kdesu:4.6[-kdeprefix] (kde-base/kdesu:4.6[-kdeprefix] is blocking kde-base/kdesu-4.4.5) [blocks B ] kde-base/kdesu:4.4 (kde-base/kdesu:4.4 is blocking kde-base/kdesu-4.6.3) [blocks B ] sys-auth/policykit (sys-auth/policykit is blocking sys-auth/polkit-0.101-r1) [blocks B ] kde-base/kdepimlibs:4.6[-kdeprefix] (kde-base/kdepimlibs:4.6[-kdeprefix] is blocking kde-base/kdepimlibs-4.4.5) [blocks B ] kde-base/nepomuk:4.6[-kdeprefix] (kde-base/nepomuk:4.6[-kdeprefix] is blocking kde-base/nepomuk-4.4.5) [blocks B ] kde-base/kcontrol:4.4 (kde-base/kcontrol:4.4 is blocking kde-base/kcontrol-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/khelpcenter:4.6[-kdeprefix] (kde-base/khelpcenter:4.6[-kdeprefix] is blocking kde-base/khelpcenter-4.4.5) [blocks B ] kde-base/kdelibs:4.4 (kde-base/kdelibs:4.4 is blocking kde-base/kdontchangethehostname-4.6.3, kde-base/plasma-runtime-4.6.3, kde-base/kdelibs-4.6.3-r2) [blocks B ] kde-base/kdepimlibs:4.4 (kde-base/kdepimlibs:4.4 is blocking kde-base/kdepimlibs-4.6.3) [blocks B ] kde-base/kdelibs:4.6[-kdeprefix] (kde-base/kdelibs:4.6[-kdeprefix] is blocking kde-base/kdelibs-4.4.5) [blocks B ] kde-base/kcontrol:4.6[-kdeprefix] (kde-base/kcontrol:4.6[-kdeprefix] is blocking kde-base/kcontrol-4.4.5) Please help me to resolve this blocking conflicts. One solution I know is that I remove the 4.4 kde packages, but I'm afraid that it would result in a non-working system, so I hope there are other much painless solutions as well. First run emerge -C for any package that is showing up with [blocks B ] (with an upper case 'B'). Then run again emerge -pv --update --newuse --deep world. It would be best to add semantic-desktop to /etc/make.conf, or future emerges may want to emerge different packages or dependencies. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Internet
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
On Wednesday 15 Jun 2011 14:55:00 Cahn Roger wrote: 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 0 0 lo No gateway defined. :( 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 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Override DHCP-provided DNS
On Wed, Jun 15, 2011 at 04:07:43PM +0200, Florian Philipp wrote: Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. Thanks in advance, Florian Philipp from the man page, this seems to do what you want (never tried, i use dhclient and its /etc/dhcp/dhclient.conf): -C, --nohook script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .sh. So to stop dhcpcd from touching your DNS or MTU settings you would do:- dhcpcd -C resolv.conf -C mtu eth0 yoyo
Re: [gentoo-user] Internet
on 06/15/2011 04:55 PM Cahn Roger wrote the following: open a root terminal and type ifconfig and route -n I wanted to see those when you have booted from a rescue CD.
Re: [gentoo-user] Internet
on 06/15/2011 04:55 PM Cahn Roger wrote the following: 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.
Re: [gentoo-user] Internet
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
On Wed, Jun 15, 2011 at 9:43 AM, Cahn Roger rc...@club-internet.fr wrote: Bureau cahn # ip link show dev eth0 bash: ip : commande introuvable It is in package sys-apps/iproute2
Re: [gentoo-user] Internet
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] blocking conflicts in kde packages when updating world
On Wed, 15 Jun 2011 14:41:30 +0200, ifj. Stefán István wrote: I've tried option 2, but =portage-2.2.0_alpha38 has missing keyword for my system (amd64). It has keywords only for ~sparc-fbsd ~x86-fbsd. I synced the portage tree today. Are there some way to install portage-2.2.0_alpha* somehow anyway? Put =sys-apps/portage-2.2.0_alpha* ** in /etc/portage/package.accept_keywords -- Neil Bothwick Everyone has a photographic memory. Some don't have film. signature.asc Description: PGP signature
[gentoo-user] Override DHCP-provided DNS
Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. Thanks in advance, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Internet
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
On Wed, Jun 15, 2011 at 10:03 AM, Cahn Roger rc...@club-internet.fr wrote: Yes and I haven't it emerged. But I can't do it because...I have no connection to internet! I'm sorry. :) I didn't read the entire thread. If you have another device with Internet connection you can download the missing files and place it into your /usr/portage/distfiles For example you can download from http://mirrors.kernel.org/gentoo/distfiles/ After the required distfiles exist, emerge should work.
Re: [gentoo-user] Override DHCP-provided DNS
On Wed, Jun 15, 2011 at 9:27 AM, YoYo Siska y...@gl.ksp.sk wrote: On Wed, Jun 15, 2011 at 04:07:43PM +0200, Florian Philipp wrote: Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. Thanks in advance, Florian Philipp from the man page, this seems to do what you want (never tried, i use dhclient and its /etc/dhcp/dhclient.conf): -C, --nohook script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .sh. So to stop dhcpcd from touching your DNS or MTU settings you would do:- dhcpcd -C resolv.conf -C mtu eth0 yoyo I use the google dns servers so I created a /etc/resolv.conf file and set the i attribute on it: chattr +i /etc/resolv.conf that way it can't be removed or overwritten and you won't have that problem no matter what dhcp client you are using
Re: Odp: [gentoo-user] Re: polish fonts xorg.conf
On Wed, Jun 15, 2011 at 04:46:54PM +0200, fajfu...@wp.pl wrote: Dnia 14-06-2011 o godz. 21:51 walt napisał(a): On 06/14/2011 09:02 AM, fajfu...@wp.pl wrote: Hello When I execute: setxkbmap pl I can type polish fonts in xterm and other X programs. But when I generate xorg.conf file with Xorg -configure and add the following to it I cannot type the polish fonts (I copied it to /etc/x11/xorg.conf) Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayoutpl EndSection Xorg.0.log: [ 29007.715] (==) Using config file: /etc/X11/xorg.conf [ 29008.100] (II) XINPUT: Adding extended input device Power Button (type: KEYBOARD) [ 29008.100] (**) Option xkb_rules evdev [ 29008.100] (**) Option xkb_model evdev [ 29008.100] (**) Option xkb_layout us The only problem I can see at the moment is that the log file says that your keyboard is using the 'evdev' driver but your xorg.conf specifies the 'kbd' driver. Try changing the Driver to evdev instead of 'kbd'. I have reconfigured xorg.conf as follows: Section InputDevice Identifier Keyboard0 Driver evdev Option XkbModel pc105 Option XkbLayoutpl EndSection or Section InputDevice Identifier Keyboard0 Driver evdev Option XkbModel evdev Option XkbLayoutpl EndSection Unfortunatelly it didn't help. I attach the complete Xorg.0.log. Do you have another suggestions. Thank you for help [ 24703.710] (**) Keyboard0: always reports core events [ 24703.710] (EE) Keyboard0: No device specified. [ 24703.710] (II) UnloadModule: evdev [ 24703.710] (EE) PreInit returned NULL for Keyboard0 you defined a (new) keyboard in the config, which doesn't actually point to a device (the old kbd driver didn't need a device, but it didn't work for other reasons...) so that X basically ignored that section and your real keyboard device did get added automatically later albeit without your settings... the most correct way with a newer xorg is to create a file in /etc/xorg.conf.d where you put an entry, which would *match* your keyboard device (that gets automatically created) and add the options to it, basically something like: Section InputClass Identifier pl keyboard layout MatchIsKeyboard on Option XkbModel evdev Option XkbLayoutpl EndSection can't find gentoo specific doc / page for this stuff, but man xorg.conf (search for InputClass) and google for xorg.conf.d and/or InputClass should give you something usefull fex: http://fedoraproject.org/wiki/Input_device_configuration yoyo
Re: [gentoo-user] Internet
on 06/15/2011 05:55 PM Cahn Roger wrote the following: 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:: What do you mean bad address? Did you start the network? It should get an IP address from the router's dhcp server.
Re: [gentoo-user] Internet
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
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
on 06/15/2011 06:47 PM Thanasis wrote the following: on 06/15/2011 05:55 PM Cahn Roger wrote the following: 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:: What do you mean bad address? Did you start the network? It should get an IP address from the router's dhcp server. 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.
Re: [gentoo-user] Re: Kernel Modules
On Friday 10 June 2011 21:31:15 Paul Hartman wrote: ( shopt -s extglob; eselect bashcomp list | while read -r s; do s=${s##*][[:space:]]}; [[ $s != Available* ]] eselect bashcomp enable --global ${s%%?([[:space:]]\\*)}; done ) I'd like to use this but I don't have shopt. Which package is it in? If I ask Google I get a list of places to buy T-shirts. -- Rgds Peter
Re: [gentoo-user] Internet
On Wednesday 15 Jun 2011 16:53:58 Cahn Roger wrote: 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 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0 0 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 OK, this looks good! Can you please try to ping your router: ping -c 3 192.168.1.1 if this fails try to ping other PCs in your LAN. 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. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Kernel Modules
On Thursday 09 June 2011 21:44:19 Mick wrote: I had to memorise that because it kept popping up every time I would run emerge (and couldn't be bothered to run eselect at the time). So it is: eselect news read new Or just eselect news read. I found that while messing about trying to find out why one box listed news items oldest-first and the others newest-first. Never did find out. -- Rgds Peter
Re: [gentoo-user] Re: Kernel Modules
On Wed, 15 Jun 2011 17:07:01 +0100, Peter Humphrey wrote: I'd like to use this but I don't have shopt. Which package is it in? If I ask Google I get a list of places to buy T-shirts. It's a Bash built-in. -- Neil Bothwick Things are more like they are today than they ever have been before. signature.asc Description: PGP signature
Re: [gentoo-user] Internet
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
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
on 06/15/2011 07:26 PM Cahn Roger wrote the following: 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? Assign one manually. ifconfig eth0 down 0 ifconfig eth0 192.168.1.111 up ifconfig route -n ping 192.168.1.1 arp -a
Re: [gentoo-user] Internet
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
on 06/15/2011 08:31 PM Cahn Roger wrote the following: 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 Does arp -a show the mac address of the other pc or router just after trying to ping them? ping 192.168.1.1 arp -a
Re: [gentoo-user] Re: Kernel Modules
On Wednesday 15 June 2011 17:25:23 Neil Bothwick wrote: On Wed, 15 Jun 2011 17:07:01 +0100, Peter Humphrey wrote: I'd like to use this but I don't have shopt. Which package is it in? If I ask Google I get a list of places to buy T-shirts. It's a Bash built-in. Hmm. It seems that the command from the Wiki can't be run as an ordinary user via sudo; that's what was causing the errors that made me think shopt was not on the system - I got syntax error near unexpected token `shopt' Thanks. -- Rgds Peter
Re: [gentoo-user] Override DHCP-provided DNS
Juan Diego Tascón wrote: On Wed, Jun 15, 2011 at 9:27 AM, YoYo Siskay...@gl.ksp.sk wrote: On Wed, Jun 15, 2011 at 04:07:43PM +0200, Florian Philipp wrote: Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. Thanks in advance, Florian Philipp from the man page, this seems to do what you want (never tried, i use dhclient and its /etc/dhcp/dhclient.conf): -C, --nohook script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .sh. So to stop dhcpcd from touching your DNS or MTU settings you would do:- dhcpcd -C resolv.conf -C mtu eth0 yoyo I use the google dns servers so I created a /etc/resolv.conf file and set the i attribute on it: chattr +i /etc/resolv.conf that way it can't be removed or overwritten and you won't have that problem no matter what dhcp client you are using Does this still work? config_eth0=( dhcp ) dhcp_eth0=nodns dns_servers_eth0=8.8.8.8 8.8.4.4 This worked before the openrc update but I guess it still does. Someone speak up if it doesn't. Hope that helps. Dale :-) :-)
Re: [gentoo-user] Override DHCP-provided DNS
Am 15.06.2011 20:53, schrieb Dale: Juan Diego Tascón wrote: On Wed, Jun 15, 2011 at 9:27 AM, YoYo Siskay...@gl.ksp.sk wrote: On Wed, Jun 15, 2011 at 04:07:43PM +0200, Florian Philipp wrote: Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. [...] So to stop dhcpcd from touching your DNS or MTU settings you would do:- dhcpcd -C resolv.conf -C mtu eth0 [...] I use the google dns servers so I created a /etc/resolv.conf file and set the i attribute on it: chattr +i /etc/resolv.conf that way it can't be removed or overwritten and you won't have that problem no matter what dhcp client you are using [...] dhcp_eth0=nodns A, great. That's exactly what I was looking for. Wonder why I overlooked it. Probably because I searched the example file for DNS and dns. -.- Thanks for all the proposals! I guess I stick with the nodns option. The others aren't bad to know, either. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Internet
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
On Wednesday 15 Jun 2011 17:44:40 Cahn Roger wrote: 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! Can you ping your machine from any other PC on your LAN? If not please change the ethernet cable. This seems s much like a hardware failure I can't think of anything else. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: Odp: [gentoo-user] Re: polish fonts xorg.conf
On Wednesday 15 Jun 2011 16:41:29 YoYo Siska wrote: On Wed, Jun 15, 2011 at 04:46:54PM +0200, fajfu...@wp.pl wrote: Dnia 14-06-2011 o godz. 21:51 walt napisał(a): On 06/14/2011 09:02 AM, fajfu...@wp.pl wrote: Hello When I execute: setxkbmap pl I can type polish fonts in xterm and other X programs. But when I generate xorg.conf file with Xorg -configure and add the following to it I cannot type the polish fonts (I copied it to /etc/x11/xorg.conf) Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayoutpl EndSection Xorg.0.log: [ 29007.715] (==) Using config file: /etc/X11/xorg.conf [ 29008.100] (II) XINPUT: Adding extended input device Power Button (type: KEYBOARD) [ 29008.100] (**) Option xkb_rules evdev [ 29008.100] (**) Option xkb_model evdev [ 29008.100] (**) Option xkb_layout us The only problem I can see at the moment is that the log file says that your keyboard is using the 'evdev' driver but your xorg.conf specifies the 'kbd' driver. Try changing the Driver to evdev instead of 'kbd'. I have reconfigured xorg.conf as follows: Section InputDevice Identifier Keyboard0 Driver evdev Option XkbModel pc105 Option XkbLayoutpl EndSection or Section InputDevice Identifier Keyboard0 Driver evdev Option XkbModel evdev Option XkbLayoutpl EndSection Unfortunatelly it didn't help. I attach the complete Xorg.0.log. Do you have another suggestions. Thank you for help [ 24703.710] (**) Keyboard0: always reports core events [ 24703.710] (EE) Keyboard0: No device specified. [ 24703.710] (II) UnloadModule: evdev [ 24703.710] (EE) PreInit returned NULL for Keyboard0 you defined a (new) keyboard in the config, which doesn't actually point to a device (the old kbd driver didn't need a device, but it didn't work for other reasons...) so that X basically ignored that section and your real keyboard device did get added automatically later albeit without your settings... the most correct way with a newer xorg is to create a file in /etc/xorg.conf.d where you put an entry, which would *match* your keyboard device (that gets automatically created) and add the options to it, basically something like: Section InputClass Identifier pl keyboard layout MatchIsKeyboard on Option XkbModel evdev Option XkbLayoutpl EndSection can't find gentoo specific doc / page for this stuff, but man xorg.conf (search for InputClass) and google for xorg.conf.d and/or InputClass should give you something usefull fex: http://fedoraproject.org/wiki/Input_device_configuration yoyo As yoyo says: Remove Section ServerLayout # InputDeviceKeyboard0 CoreKeyboard because evdev does not need it and change your keyboard section as suggested, or if it doesn't work you can also try this: = Section InputClass Identifier keyboard catchall Driver evdev MatchIsKeyboard on MatchDevicePath /dev/input/event* Option XkbLayout pl Option XkbOptions EndSection = -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Internet
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
Re: [gentoo-user] Internet
On Wednesday 15 Jun 2011 22:49:46 Cahn Roger wrote: 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... :-( OK, let's look at this from the router side ... what router make model do you have? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Internet
On Wed, 15 Jun 2011 23:14:28 +0100, Mick wrote: 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... :-( OK, let's look at this from the router side ... what router make model do you have? I'd go even more basic, connect directly to another computer using a crossover cable, set addresses on both with ifconfig and see if they can ping one another. This really sounds like broken hardware and if the cable is fine, the NIC is suspect. -- Neil Bothwick Pound for pound, the amoeba is the most vicious animal on the earth. signature.asc Description: PGP signature
Re: [gentoo-user] USB Problems
On Sunday 12 June 2011 15:30:12 john wrote: Gents [...] It may have escaped your attention, but we here aren't all gents. Just thought I'd mention it. -- Rgds Peter
Re: [gentoo-user] KDE4 + python3.1 == no system-config-printer-kde ?
On Tue, Jun 14, 2011 at 07:38:56PM +0200, Ulrich Drolshagen wrote I'm not Dmitry but I am using 3.1 too. 3.1 is set as default by stage1 for some time now. No issues with 3.1 here though, at least none that are related to python. Why do they set it default by stage1 and warn not to use it at the same time? Gentoo does not use that type of install anymore for standard installs. Stage 1 is for experimentation and developers only, not for regular users. The rules that apply to stage 1 do not apply to ordinary installs. See http://www.gentoo.org/doc/en/faq.xml#stage12 How do I Install Gentoo Using a Stage1 or Stage2 Tarball? The Gentoo Handbook only describes a Gentoo installation using a stage3 tarball. However, Gentoo still provides stage1 and stage2 tarballs. This is for development purposes (the Release Engineering team starts from a stage1 tarball to obtain a stage3) but shouldn't be used by users: a stage3 tarball can very well be used to bootstrap the system. You do need a working Internet connection. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Internet
On Tuesday 14 June 2011 16:30:54 Thanasis wrote: on 06/14/2011 05:45 PM Cahn Roger wrote the following: Can you check the network cable and connections to ensure that is actually correct? The cable and connections are well. NIC became faulty? After reading this thread, I'd say that either the NIC is faulty or he's using a cross-over cable instead of straight-through. Or someone's standing on the cable :-) -- Rgds Peter