Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On Sunday 19 December 2010 21:35:57 Dale wrote: Peter Humphrey wrote: On Sunday 19 December 2010 13:17:51 Dale wrote: I found a how to. I read it. This is what I got out of it. It sounds like I need to let the modem use DHCP with the phone company. Correct. Then I need to set the ethernet that comes toward the router to say 192.168.1.2 then set the router to 192.168.1.5 or something to come to my puter. Those two addresses must be on the same network segment, but they aren't - you have your router in between (it routes traffic between one network segment and the other). The side of the router that's connected to the modem can have that address, but the side that's connected to your computers can't have 192.168.1.X. Try 192.168.2.1, say, and your computers 192.168.2.2, 192.168.2.3, ... Best I can figure, no two can have the same IP. Each device has two IPs, one coming in, one going out. Yes, each address belongs to an interface, not to a computer, modem etc. Think of it as the address of one end of a piece of wire. I think the how to may have made this worse. :-( Nah - sounds to me like you're getting there... :-) O. Light bulb moment here, I think. The modem has a network, even tho it only has one device connected to it. The router has its own network but can have 4 devices connected to it. So, if the modem has 192.168.1.1 255 then the router needs 192.168.2.1 255 which is two separate networks. If I follow you correctly, then yes So, if that is true, set the modem to 192.168.1.1 for its IP. Then set the router to to 192.168.2.1 for it's network. That would give my puter a IP and the second puter another IP and they can talk to each other since they are on the same network. Is my light bulb OK so far? If I follow you correctly, then yes In schema form: INTERNET --- DHCP from ISP [Modem] 192.168.1.1---192.168.1.2 [ROUTER] 192.168.2.1 - (Other PCs = 192.168.2.2...192.168.2.254) (Above should have been a single line) By the way, I feel asleep watching TV, missed my show too. The internet was still up when I got up. I think that setting on the modem got changed during a reset, upgrade on its software or something. It updates software automatically. Always usefull :/ Btw, if you use ADSL, an ADSL Modem/Router combination might be easier to maintain as then you have the Internet-address and LAN network done correctly with default settings. Or, if your Modem supports it, set it to bridge mode so your Router thinks it's connected directly to the ISP -- Joost
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
J. Roeleveld wrote: On Sunday 19 December 2010 21:35:57 Dale wrote: Peter Humphrey wrote: On Sunday 19 December 2010 13:17:51 Dale wrote: I found a how to. I read it. This is what I got out of it. It sounds like I need to let the modem use DHCP with the phone company. Correct. Then I need to set the ethernet that comes toward the router to say 192.168.1.2 then set the router to 192.168.1.5 or something to come to my puter. Those two addresses must be on the same network segment, but they aren't - you have your router in between (it routes traffic between one network segment and the other). The side of the router that's connected to the modem can have that address, but the side that's connected to your computers can't have 192.168.1.X. Try 192.168.2.1, say, and your computers 192.168.2.2, 192.168.2.3, ... Best I can figure, no two can have the same IP. Each device has two IPs, one coming in, one going out. Yes, each address belongs to an interface, not to a computer, modem etc. Think of it as the address of one end of a piece of wire. I think the how to may have made this worse. :-( Nah - sounds to me like you're getting there... :-) O. Light bulb moment here, I think. The modem has a network, even tho it only has one device connected to it. The router has its own network but can have 4 devices connected to it. So, if the modem has 192.168.1.1255 then the router needs 192.168.2.1255 which is two separate networks. If I follow you correctly, then yes So, if that is true, set the modem to 192.168.1.1 for its IP. Then set the router to to 192.168.2.1 for it's network. That would give my puter a IP and the second puter another IP and they can talk to each other since they are on the same network. Is my light bulb OK so far? If I follow you correctly, then yes In schema form: INTERNET ---DHCP from ISP [Modem]192.168.1.1---192.168.1.2 [ROUTER] 192.168.2.1 - (Other PCs = 192.168.2.2...192.168.2.254) (Above should have been a single line) By the way, I feel asleep watching TV, missed my show too. The internet was still up when I got up. I think that setting on the modem got changed during a reset, upgrade on its software or something. It updates software automatically. Always usefull :/ Btw, if you use ADSL, an ADSL Modem/Router combination might be easier to maintain as then you have the Internet-address and LAN network done correctly with default settings. Or, if your Modem supports it, set it to bridge mode so your Router thinks it's connected directly to the ISP -- Joost I got to do some more work then. Right now, I can see the router but I can't get to the modem. I did get a static IP for my puter but I think I need to adjust it based on what you said was correct. Even tho I can't get to the modem, the internet works. Sort of weird but I think I know why. I'll play with it some in a little bit. Is there a tool that will show how the network is set up? Sort of like a flow chart? Dale :-) :-)
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On 19/12/2010, at 8:35pm, Dale wrote: ... O. Light bulb moment here, I think. The modem has a network, even tho it only has one device connected to it. The router has its own network but can have 4 devices connected to it. So, if the modem has 192.168.1.1 255 then the router needs 192.168.2.1 255 which is two separate networks. So, if that is true, set the modem to 192.168.1.1 for its IP. Then set the router to to 192.168.2.1 for it's network. That would give my puter a IP and the second puter another IP and they can talk to each other since they are on the same network. Is my light bulb OK so far? Sounds like you're getting it. A computer (this includes routers) cannot have two interfaces on the same subnet. They can have multiple network interfaces, as long as they're all on different subnets. A router is a computer with multiple network interfaces, acting to gateway data between those subnets. Whether the machines are on the same subnet is determined by the subnet mask. If the subnet mask is 255.255.0.0 then only the first two bytes of the IP address need to be the same for the computers to be on the same subnet. I.E. 192.168.1.1 and 192.168.2.3 would be on the same subnet if they had the mask of 255.255.0.0. But a subnet mask of 255.255.255.0 means that the first 3 bytes need to be the same for them to be on the same subnet - so 192.168.1.1 would be on the same subnet as 192.168.1.2, but not on the same subnet as 192.168.2.3, 192.168.2.4, 192.168.3.3, or 192.168.44.8. IP addresses and subnet masks can be written more succinctly using the / notation. /16 means 255.255.0.0, /24 means 255.255.255.0. So 192.168.2.3/16 means IP address 192.168.2.3, subnet mask 255.255.0.0 whereas 192.168.2.3/24 means IP address 192.168.2.3, subnet mask 255.255.255.0. Ranges are sometimes written 192.168.1.100-200, but don't do that when you're talking about a whole subnet (1-255) because it just looks odd. Use the slash notation instead, or just say 192.168.1.x and 192.168.2.y. So this email is to say that I don't know what you're doing writing with a . :P On these networks the final .255 address (eg. 192.168.1.255) is reserved for broadcast use, and you cannot allocate it to your PCs. Addresses ending in a .1 (e.g. 192.168.0.1) tend generally to be used for the subnet's gateway (the router). When a computer wants to send a packet to a computer on a different subnet it send it to the router instead (set in its configuration as the gateway to the network, typically the default gateway) with the instructions hi, please forward this to Stroller.
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
Stroller wrote: Sounds like you're getting it. A computer (this includes routers) cannot have two interfaces on the same subnet. They can have multiple network interfaces, as long as they're all on different subnets. A router is a computer with multiple network interfaces, acting to gateway data between those subnets. Whether the machines are on the same subnet is determined by the subnet mask. If the subnet mask is 255.255.0.0 then only the first two bytes of the IP address need to be the same for the computers to be on the same subnet. I.E. 192.168.1.1 and 192.168.2.3 would be on the same subnet if they had the mask of 255.255.0.0. But a subnet mask of 255.255.255.0 means that the first 3 bytes need to be the same for them to be on the same subnet - so 192.168.1.1 would be on the same subnet as 192.168.1.2, but not on the same subnet as 192.168.2.3, 192.168.2.4, 192.168.3.3, or 192.168.44.8. IP addresses and subnet masks can be written more succinctly using the / notation. /16 means 255.255.0.0, /24 means 255.255.255.0. So 192.168.2.3/16 means IP address 192.168.2.3, subnet mask 255.255.0.0 whereas 192.168.2.3/24 means IP address 192.168.2.3, subnet mask 255.255.255.0. Ranges are sometimes written 192.168.1.100-200, but don't do that when you're talking about a whole subnet (1-255) because it just looks odd. Use the slash notation instead, or just say 192.168.1.x and 192.168.2.y. So this email is to say that I don't know what you're doing writing with a . :P On these networks the final .255 address (eg. 192.168.1.255) is reserved for broadcast use, and you cannot allocate it to your PCs. Addresses ending in a .1 (e.g. 192.168.0.1) tend generally to be used for the subnet's gateway (the router). When a computer wants to send a packet to a computer on a different subnet it send it to the router instead (set in its configuration as the gateway to the network, typically the default gateway) with the instructions hi, please forward this to Stroller. I'm kind of getting it. I read up on netmask and sort of get it but it is still murky. Basically for my little wimpy network, 255.255.255.0 will suite all my needs. I think. I set it up like this. The modem uses DHCP to get the IP from ATT. My local IP from the modem is 192.168.1.2. Then the router has the IP 192.168.2.1 for my connection to the puter. The IP of my puter is 192.168.2.5. The next puter will be 192.168.2.6 or something different anyway. Basically the modem has its network and the router has its network for the LAN. Another thing I like, I can access the router and modem if needed. I guess 100 for the last number would work too. I need to read up on the netmask thing some more. It's still murky for sure. How's it look? Think it will work for a while? Dale :-) :-)
Re: [gentoo-user] Re: Can't move Chromium windows between screens
2010/12/17 Sebastian Beßler sebast...@darkmetatron.de: Am 17.12.2010 15:16, schrieb Pau Peris: No one knows what could be? Maybe you should ask on a kde4, xorg or chromium specific mailinglist or forum. A window without titlebar in the way as chromium uses it is a nasty hack and absolutly not supported from Xorg. Problems of any type have to be expected. As you say, if you override the WM and use your own (like chromium does when configured that way) then your application is the responsible for doing all the movement. So, whatever the problem is, it is a problem with chromium. If previous versions worked then there was a regression. The original poster should look into the chromium bug tracker and see if anyone is having that problem. Else, report it him or herself. -- Jesús Guerrero Botella
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On Monday 20 December 2010 09:37:48 Dale wrote: I set it up like this. The modem uses DHCP to get the IP from ATT. My local IP from the modem is 192.168.1.2. Then the router has the IP 192.168.2.1 for my connection to the puter. The IP of my puter is 192.168.2.5. The next puter will be 192.168.2.6 or something different anyway. The one thing you didn't mention there is the outer address of your router. It needs to be 192.168.1.x where x is anything other than 2. It needs to be on the same network segment as the inner side of your modem. I need to read up on the netmask thing some more. It's still murky for sure. (What follows has grown rather long. I hope it doesn't come over too much as a lecture.) It's fairly straightforward once you get the hang of it. The address of a device is a 64-bit number, expressed as four 16-bit numbers joined with dots. It's just easier to read when split into chunks, but it is really a 64-bit number. As in decimal arithmetic, the right-hand digit is the least significant. An interface address consists of two parts: the leftmost part defines a group of addresses (the network part) and the rightmost part specifies the number of the interface in that group (the host part). The function of the network mask is to specify where the boundary is between the network part and the host part. Two conventions are used for expressing where that boundary is: the older method is to write, say, 255.255.255.0, which indicates that the first 24 bits (three eight-bit numbers - 255 is all-ones in eight bits) belong to the network and anything to the right of those can be allocated to interfaces in that network. That convention dates from the era of plenty of IP addresses in the world and goes along with Class A, B, C or D. A class A network has a mask of 255.0.0.0, class B has 255.255.0.0, class C has 255.255.255.0 and a class D (never used in the wild as far as I know) would have 255.255.255.255. Since the meteoric growth of the Internet this class scheme has become a handicap, and a finer division of network scope has become necessary, to allow use of, say, 255.255.255.248 as a net mask. Rather than specifying a plethora of new classes (we'd need anything up to 60), a shorthand notation has been invented in which we just append a number to an address to specify the number of bits that identify the network, with the rest identifying the host on it (strictly speaking, a host's interface on the network, as a host may have more than one interface - sometimes even on the same network). This scheme is known as CIDR notation. Thus your modem's inner address is, I assume, 192.168.1.2/24, which is the same as writing 192.168.1.2 with a mask of 255.255.255.0. That mask 255.255.255.248 I mentioned specifies 29 bits for the network address and three for the hosts on it; that's enough for six computers once the ..0 and ..7 addresses are reserved for network address and broadcast address. A lot of ISPs use such a scheme for allocating address ranges to their customers. How's it look? Think it will work for a while? Once you've set your router's outer address correctly, yes. Sorry I was asleep overnight and had to leave you to the tender mercies of your compatriots. :-) Again, apologies if I've seemed to want to teach my grandmother to suck eggs. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
Peter Humphrey wrote: On Monday 20 December 2010 09:37:48 Dale wrote: I set it up like this. The modem uses DHCP to get the IP from ATT. My local IP from the modem is 192.168.1.2. Then the router has the IP 192.168.2.1 for my connection to the puter. The IP of my puter is 192.168.2.5. The next puter will be 192.168.2.6 or something different anyway. The one thing you didn't mention there is the outer address of your router. It needs to be 192.168.1.x where x is anything other than 2. It needs to be on the same network segment as the inner side of your modem. Yep, front end is 192.168.1.4 or 5 I think. Something close to that. The last number may be different. It may be .2 or something. I need to read up on the netmask thing some more. It's still murky for sure. (What follows has grown rather long. I hope it doesn't come over too much as a lecture.) It's fairly straightforward once you get the hang of it. The address of a device is a 64-bit number, expressed as four 16-bit numbers joined with dots. It's just easier to read when split into chunks, but it is really a 64-bit number. As in decimal arithmetic, the right-hand digit is the least significant. An interface address consists of two parts: the leftmost part defines a group of addresses (the network part) and the rightmost part specifies the number of the interface in that group (the host part). The function of the network mask is to specify where the boundary is between the network part and the host part. Two conventions are used for expressing where that boundary is: the older method is to write, say, 255.255.255.0, which indicates that the first 24 bits (three eight-bit numbers - 255 is all-ones in eight bits) belong to the network and anything to the right of those can be allocated to interfaces in that network. That convention dates from the era of plenty of IP addresses in the world and goes along with Class A, B, C or D. A class A network has a mask of 255.0.0.0, class B has 255.255.0.0, class C has 255.255.255.0 and a class D (never used in the wild as far as I know) would have 255.255.255.255. Since the meteoric growth of the Internet this class scheme has become a handicap, and a finer division of network scope has become necessary, to allow use of, say, 255.255.255.248 as a net mask. Rather than specifying a plethora of new classes (we'd need anything up to 60), a shorthand notation has been invented in which we just append a number to an address to specify the number of bits that identify the network, with the rest identifying the host on it (strictly speaking, a host's interface on the network, as a host may have more than one interface - sometimes even on the same network). This scheme is known as CIDR notation. Thus your modem's inner address is, I assume, 192.168.1.2/24, which is the same as writing 192.168.1.2 with a mask of 255.255.255.0. That mask 255.255.255.248 I mentioned specifies 29 bits for the network address and three for the hosts on it; that's enough for six computers once the ..0 and ..7 addresses are reserved for network address and broadcast address. A lot of ISPs use such a scheme for allocating address ranges to their customers. How's it look? Think it will work for a while? Once you've set your router's outer address correctly, yes. Sorry I was asleep overnight and had to leave you to the tender mercies of your compatriots. :-) Again, apologies if I've seemed to want to teach my grandmother to suck eggs. Taking a nap is fine. I do that sometimes myself. If worse came to worse, I could set my puter to DHCP and hooked straight to the modem. That always works. I seem to have the stuff set up correctly now. I may try to hook up the second rig at least for testing anyway. I should have set the IP and set it to start ssh before the last shutdown. I didn't tho. Oh well. I'm starting to grasp the netmask thingy. It just has to soak in a little bit. lol Thanks for the help. Dale :-) :-)
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On Monday 20 December 2010 11:44:11 Peter Humphrey wrote: (What follows has grown rather long. I hope it doesn't come over too much as a lecture.) It's fairly straightforward once you get the hang of it. The address of a device is a 64-bit number, expressed as four 16-bit numbers joined with dots. It's just easier to read when split into chunks, but it is really a 64-bit number. As in decimal arithmetic, the right-hand digit is the least significant. For the sake of the archives, I do need to correct you here. With the current IP-numbers (IPv4) it's a 32-bit number, expressed as four 8- bit numbers (A byte is 8 bit) -- Joost
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On Monday 20 December 2010 12:04:27 J. Roeleveld wrote: For the sake of the archives, I do need to correct you here. With the current IP-numbers (IPv4) it's a 32-bit number, expressed as four 8- bit numbers (A byte is 8 bit) Of course. Thanks for the correction. I should just have stuck with what I was going to write, instead of thinking about it :-( -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
On Monday 20 December 2010 13:24:11 Peter Humphrey wrote: On Monday 20 December 2010 12:04:27 J. Roeleveld wrote: For the sake of the archives, I do need to correct you here. With the current IP-numbers (IPv4) it's a 32-bit number, expressed as four 8- bit numbers (A byte is 8 bit) Of course. Thanks for the correction. I should just have stuck with what I was going to write, instead of thinking about it :-( No worries, as I said, the correction was for the sake of the archives. You actually used the correct bit-count later on. :) It is a bit tricky when thinking about bits and then writing it consistently though, think IPv6 uses 128bits per address? -- Joost
Re: [gentoo-user] Linksys router BEFSR41 loosing internet
J. Roeleveld wrote: On Monday 20 December 2010 13:24:11 Peter Humphrey wrote: On Monday 20 December 2010 12:04:27 J. Roeleveld wrote: For the sake of the archives, I do need to correct you here. With the current IP-numbers (IPv4) it's a 32-bit number, expressed as four 8- bit numbers (A byte is 8 bit) Of course. Thanks for the correction. I should just have stuck with what I was going to write, instead of thinking about it :-( No worries, as I said, the correction was for the sake of the archives. You actually used the correct bit-count later on. :) It is a bit tricky when thinking about bits and then writing it consistently though, think IPv6 uses 128bits per address? -- Joost I got confused on what had what IP too. I checked, double checked, then read it again. I hope I got what I wrote right. o_O Dale :-) :-)
[gentoo-user] depclean wants to remove hal, which kills xdm
Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. I can easily add hal to world, but should xdm depend on it? allan
Re: [gentoo-user] depclean wants to remove hal, which kills xdm
Le 20 décembre à 15:12 Allan Gottlieb a écrit Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. Have you look on how X.org packages are built on your computer. You should build it with udev support. I can easily add hal to world, but should xdm depend on it? allan -- Vincent-Xavier JUMEL GPG Id: 0x2E14CE70 http://thetys-retz.net Rejoignez les 5312 adhérents de l'April http://www.april.org/adherer Parinux, logiciel libre à Paris : http://www.parinux.org
[gentoo-user] Re: gvfs, cameras, and me
On 12/19/2010 09:25 PM, Andy Wilkinson wrote: To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it... I use gnome, but have no camera so I can't give specific advise. But in general I try to get behind the gui by starting an app (like gphoto2) from a command prompt to see what error messages it may print. Some gui apps may have an optional flag like -v or --debug that will print more messages. (Or start it as strace gphoto2 for even more fun.) I've never actually found a use for the various gvfs commandline apps, like gvfs-info et al, but you might be able to use them for debugging this puzzle. Worth fiddling with them, anyway. I've noticed several times that the gentoo-stable gnome is running mismatched versions of gnome apps, and if I just wait long enough the right version of something-or-other will be installed and something broken will start working again. The ~ version of gnome actually has fewer problems that way than the stable version.
Re: [gentoo-user] depclean wants to remove hal, which kills xdm
Vincent-Xavier JUMEL endymion+gen...@thetys-retz.net writes: Le 20 décembre à 15:12 Allan Gottlieb a écrit Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. Have you look on how X.org packages are built on your computer. You should build it with udev support. I think it is enabled for xorg-server gottl...@ajglap ~ $ eix xorg-server [I] x11-base/xorg-server Available versions: 1.7.6 1.7.7-r1 [m](~)1.8.2 [m](~)1.9.2 [m](~)1.9.2.902 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg} Installed versions: 1.7.7-r1(09:59:41 AM 12/19/2010)(ipv6 kdrive nptl sdl xorg -debug -dmx -hal -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers To be sure I temporarily added it to make.conf but an emerge update world did not want to merge any packages I can easily add hal to world, but should xdm depend on it? I still wonder why xdm, which claims to need hal doesn't depend on it and why suddenly depclean wants to remove it. allan
Re: [gentoo-user] depclean wants to remove hal, which kills xdm
On Monday 20 December 2010 15:55:40 Allan Gottlieb wrote: Vincent-Xavier JUMEL endymion+gen...@thetys-retz.net writes: Le 20 décembre à 15:12 Allan Gottlieb a écrit Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. Have you look on how X.org packages are built on your computer. You should build it with udev support. I think it is enabled for xorg-server gottl...@ajglap ~ $ eix xorg-server [I] x11-base/xorg-server Available versions: 1.7.6 1.7.7-r1 [m](~)1.8.2 [m](~)1.9.2 [m](~)1.9.2.902 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg} Installed versions: 1.7.7-r1(09:59:41 AM 12/19/2010)(ipv6 kdrive nptl sdl xorg -debug -dmx -hal -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers ** Installed versions: 1.7.7-r1(09:59:41 AM 12/19/2010)(ipv6 kdrive nptl sdl xorg -debug -dmx -hal -minimal -tslib) ** It's installed with hal disabled. To be sure I temporarily added it to make.conf but an emerge update world did not want to merge any packages Add --newuse to the flags and it should pick it up: emerge -vauD --newuse world I can easily add hal to world, but should xdm depend on it? I still wonder why xdm, which claims to need hal doesn't depend on it and why suddenly depclean wants to remove it. See above, hal isn't added to the installed xorg-server use-flags -- Joost
Re: [gentoo-user] depclean wants to remove hal, which kills xdm
Allan Gottlieb wrote: Vincent-Xavier JUMELendymion+gen...@thetys-retz.net writes: Le 20 décembre à 15:12 Allan Gottlieb a écrit Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. Have you look on how X.org packages are built on your computer. You should build it with udev support. I think it is enabled for xorg-server gottl...@ajglap ~ $ eix xorg-server [I] x11-base/xorg-server Available versions: 1.7.6 1.7.7-r1 [m](~)1.8.2 [m](~)1.9.2 [m](~)1.9.2.902 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg} Installed versions: 1.7.7-r1(09:59:41 AM 12/19/2010)(ipv6 kdrive nptl sdl xorg -debug -dmx -hal -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers To be sure I temporarily added it to make.conf but an emerge update world did not want to merge any packages I can easily add hal to world, but should xdm depend on it? I still wonder why xdm, which claims to need hal doesn't depend on it and why suddenly depclean wants to remove it. allan I'm running amd64 here but xdm doesn't show it needing hal here. It's not even in the USE flags and I did a emerge -epv xdm and it still didn't show it. It did pull in policykit tho. Could it be that it doesn't use hal anymore and you need to figure out what it is using? I know hal is going away but I haven't read that it already was. That said, I did notice that policykit was pulled in yesterday. Of course, xdm doesn't show it needs it either. Could it be udev? I hope this gives you ideas. Dale :-) :-)
[gentoo-user] Re: Linksys router BEFSR41 loosing internet
On 12/19/2010 05:28 PM, Dale wrote: I want fireball to get a fixed IP from the router and I want smoker to get a fixed IP from the router. I think I know how to do that much. When I first set up my TrendNet router I worried about that, too. After spending many hours doing exactly what you're doing, I finally noticed that the DHCP server running on the router always assigned each machine the same IP address anyway, so I gave up and used the default router settings for everything and got fixed IP addresses by default. I believe the router assigns IP addresses based on the MAC address of each ethernet chip. At least the router's configuration menu lets me make adjustments based on MAC addresses, but I'm just guessing there. If your router does the same, you can add smoker and fireball to your /etc/hosts using the IP addresses that your router (always) assigns them, so you can address them each by name on your local network. I also noticed by using a port scanner on my router that it listens on port 23 as well as port 80, so I can telnet to the router and really look under the hood at its linux guts. I don't think the manual gave that secret away, IIRC.
Re: [gentoo-user] depclean wants to remove hal, which kills xdm
On 12/20/2010 10:04 AM, J. Roeleveld wrote: Le 20 décembre à 15:12 Allan Gottlieb a écrit Something seems wrong. Yesterday depclean removed hal and then xdm wouldn't run. Re-merging hal (with -1) fixed this, but again today depclean wants to remove it. Installed versions: 1.7.7-r1(09:59:41 AM 12/19/2010)(ipv6 kdrive nptl sdl xorg -debug -dmx -hal -minimal -tslib) ** It's installed with hal disabled. And, you should probably leave it that way. HAL is going away, so there's no point in rebuilding X just to get HAL support now. You should start by just rebuilding XDM and see if it's HAL requirement goes away. You could also try a good revdep-rebuild, though I'm not sure HAL is a link-time dependency that will get picked up that way. --Mike
Re: [gentoo-user] distcc and crossdev, anyone?
On Sat, Dec 18, 2010 at 2:44 AM, Stroller strol...@stellar.eclipse.co.uk wrote: On 17/12/2010, at 10:56pm, Peter Humphrey wrote: ... an Atom N270 box ... server, but it's a bit slow compared with the other boxes on the network. A big bit, actually - 69 minutes to compile a kernel compared with less than 9 minutes on this workstation. 9 minutes!?!? I'm flabbergasted. The machines I have around here, I consider 1 hour to compile a kernel pretty good. Actually I'm in the process of migrating to newer hardware, but I haven't tested kernel compilation times. [brag] real1m46.250s user11m54.140s sys 0m57.290s [/brag] Less than 2 minutes here ;) That is for make -j9 all on Core i7 920 (OC'ed to 3.5GHz) To be more on topic, I've never been able to figure out distcc to the point where I feel comfortable that I've done it correctly. I have a laptop where emerging a new release of KDE takes more than 1 day, and the above mentioned workstation where it takes an hour. Followed the wiki and I could see compilation happening on the remote machine, but it was few and far between. It usually seemed like using it was slower than not using it at all. I tried to set it to just not use the local machine for anything but was never able to get that to work. (I'm not sure if it's even possible?) I probably did something wrong or misunderstood some fundamental part of it, but I gave up on it long ago.
Re: [gentoo-user] Re: Linksys router BEFSR41 loosing internet
walt wrote: On 12/19/2010 05:28 PM, Dale wrote: I want fireball to get a fixed IP from the router and I want smoker to get a fixed IP from the router. I think I know how to do that much. When I first set up my TrendNet router I worried about that, too. After spending many hours doing exactly what you're doing, I finally noticed that the DHCP server running on the router always assigned each machine the same IP address anyway, so I gave up and used the default router settings for everything and got fixed IP addresses by default. I believe the router assigns IP addresses based on the MAC address of each ethernet chip. At least the router's configuration menu lets me make adjustments based on MAC addresses, but I'm just guessing there. If your router does the same, you can add smoker and fireball to your /etc/hosts using the IP addresses that your router (always) assigns them, so you can address them each by name on your local network. I also noticed by using a port scanner on my router that it listens on port 23 as well as port 80, so I can telnet to the router and really look under the hood at its linux guts. I don't think the manual gave that secret away, IIRC. I noticed the modem does the same thing too. When I plug the router into the modem, it gets a different IP. The router does the same tho I think. Since I got it set up this way and it works, I better leave well enough alone. ;-) Dale :-) :-)
Re: [gentoo-user] gvfs, cameras, and me
On Sun, Dec 19, 2010 at 11:25 PM, Andy Wilkinson drukar...@gmail.com wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? Hi, Probably more important is libgphoto2 instead of gphoto2 standalone package. libgphoto2 includes the udev rules for digital cameras, for example. (You might need to change the default mode that they set.) Your user needs to be in the plugdev group, too. Does it work as root? If so then maybe it's a permission issue. I don't use any of the software you've mentioned except for gphoto2, so I'm not sure how they work but you can do the usual monitoring udev (using udevadm) and dbus (using dbus-monitor) etc. to see what's going on. Maybe there'll be some error or something will stand out as being obviously wrong.
[gentoo-user] In search for different variant of terminus-font
Hi list A few months back I switched to Debian (due to hardware problems) and came back a few weeks ago. But ever since I came back, my terminus font in KDE’s Konsole looks different and I don’t know why. It seems I have installed a different variant (it has more space between letters and the glyphs have more elaborate shapes). Please see the attached screenshot. On the left is the font as it looks right now in Konsole, and on the right is how it looked both on Debian and on my old Gentoo system (it’s actually the same shape as the console font which is used on the TTYs). Both screenshots show the same font size (7pt at ~120 dpi). Any idea how I can get the old shape back? I already tried different combinations of useflags for terminus-font, but to no avail. -- Gruß | Greetings | Qapla' The manual said WindowsXP or better, so I installed GNU/Linux... attachment: terminus.png
Re: [gentoo-user] In search for different variant of terminus-font
101220 Frank Steinmetzger asked us to see the attached screenshot. I much prefer what you have to what you had: the latter looks badly squished, the former nice open. I use Fixed Misc (13), but everyone to his taste (smile). -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Emerging package via NFS ?
Hi, just to let you know that approach below works for me. I modified it slightly in that I add mount --bind /usr/portage /mnt/other/usr/portage to belows cmd list as machine A and B will always be synchronized. Thanks a lot, Thomas Am 15.12.2010 10:56, schrieb YoYo Siska: On Wed, Dec 15, 2010 at 10:15:12AM +0100, Thomas Drueke wrote: Hi, is it possible to emerge packages to a $ROOT directory mounted via NFS ? The setup is - machine A is equipped with a Quad core CPU - machine B is equipped with an N330 Atom-CPU - machine A is doing the system update on a local chroot-environment for machine B and generates binary packages. These packages are installed on machine B using the binary package feature of portage. I expected that the above setup would give an performance improvement over letting machine B do the portage update itself. However a trial run did not show significant improvement that justifies the effort. Machine B still needs a reasonable amount of time to fetch unpack and install the packages. An alternative way might be to mount machine B's / directory via NFS and change make.conf's $ROOT variable to that mount point. Does that sound as a reasonable approach ? I had a very old machine, that was really slow. Compiles could be offloaded by distcc, but even the ./configure-s and portage stuff (checking, upacking, ...) was reaaly slow... So I just used to export / through nfs, mounted it on a fast amd64 and basically did (other is the slow machine) mount other:/ /mnt/other mount -t proc proc /mnt/other/proc mount --bind /dev /mnt/other/dev mkdir /tmp/other mount --bind /tmp/other /mnt/other/var/tmp/portage mkdir /home/gentoo-other mount --bind /home/gentoo-other /mnt/other/home/gentoo linux32 chroot /mnt/other /bin/bash emerge. For the last mkdir/mount, I have DISTDIR=/home/gentoo/distfiles and PKGDIR=/home/gentoo/packages in make.conf, you can do that with the standart /usr/portage/{distfiles,packages} This way most of the compile is done localy on the fast machine. yoyo Regards, Thomas
[gentoo-user] Re: In search for different variant of terminus-font
Hi Frank, Frank Steinmetzger wrote: Hi list A few months back I switched to Debian (due to hardware problems) and came back a few weeks ago. But ever since I came back, my terminus font in KDE’s Konsole looks different and I don’t know why. It seems I have installed a different variant (it has more space between letters and the glyphs have more elaborate shapes). Please see the attached screenshot. On the left is the font as it looks right now in Konsole, and on the right is how it looked both on Debian and on my old Gentoo system (it’s actually the same shape as the console font which is used on the TTYs). Both screenshots show the same font size (7pt at ~120 dpi). Any idea how I can get the old shape back? I already tried different combinations of useflags for terminus-font, but to no avail. Actually I had the same problem and it was caused by an incompatibility between newer qt version with different font handling and konsole 4.4.x. Unfortunately I cannot remember what I did to solve it in the end, but I have my terminus font back in konsole. So there is hope ;-) What fonts do you have selected? Look at eselect fontconfig list - Jörg
[gentoo-user] Experiences with ATI Radeon HD 4250 video card?
I'm looking for a Boxing-Day gift for myself. The local Walmart shows an interesting 17 Acer laptop at... http://www.walmart.ca/Electronics/Computers/Laptops/17quot-Laptops/Acer-Aspire-AS7551-3029-173-Notebook Reading the specs, it does not seem to be cutting corners, low price notwithstanding. As usual, my main concern is the video chip, and Gentoo support (or lack thereof?). If it can be made to work under Gentoo without trouble, I'm very interested. Anyone hear one way or the other about linux, especially Gentoo, compatability? -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] distcc and crossdev, anyone?
On 12/18/2010 07:15 AM, Peter Humphrey wrote: On Saturday 18 December 2010 10:18:43 Neil Bothwick wrote: I've found there's just too much overhead with distcc, plus much of the work is still done locally. I expected that but I wanted to try it to see. I have a couple of Atom boxes, a server and a netbook, and I've set up a chroot for each on my workstation. In the chroot I have FEATURES=buildpkg, using an NFS mounted PKGDIR available to both computers, then I emerge -k on the Atom box. Maybe I'll go this way instead. Thanks for the idea, which is similar to one from YoYo Siska three days ago. I had my Atom 330 running as a distcc client for a long time. I have several other speedy CPUs alongside it so it could spray plenty of compilation requests out its gigabit NIC to various much beefier machines. But as Neil stated, lots of the processing still occurs locally, so as you increase nodes, you need to decrease the amount of compilation done locally. With such a disparity between CPU, it takes less time overall to just do it the way Neil describes - make a chroot and then just build it with the intention that the slow CPUs will use the binary build. You still need lots of CPU to compile, so a slow machine will still compile slowly. If your client is a pokey 1.6GHz Atom and you're sending jobs to two quad core 3GHz CPUs on your subnet, you'll soon see that the Atom's load goes up toward 8 as it tries to bring those remote jobs back. So, the four threads on my 330 get completely filled up and it's dog slow. And it's even more painful when you use the preprocessor because the client must zip the compile construction before it ships it out, so you have even less CPU available for compilation (although you get some of that back). All said and done, my back-of-the-napkin and seat-of-the-pants calculation tells me that I still get a _minimum_ 25% reduction in overall compile times with distcc. That's my experience after using distcc for almost ten years with various configurations of network and CPUs.
Re: [gentoo-user] Re: In search for different variant of terminus-font
On Monday 20 December 2010 23:42:17 Jörg Schaible wrote: Hi Frank, A few months back I switched to Debian (due to hardware problems) and came back a few weeks ago. But ever since I came back, my terminus font in KDE’s Konsole looks different and I don’t know why. It seems I have installed a different variant (it has more space between letters and the glyphs have more elaborate shapes). […] Any idea how I can get the old shape back? I already tried different combinations of useflags for terminus-font, but to no avail. Actually I had the same problem and it was caused by an incompatibility between newer qt version with different font handling and konsole 4.4.x. Unfortunately I cannot remember what I did to solve it in the end, but I have my terminus font back in konsole. So there is hope ;-) I’m running KDE 4.5 on Qt 4.6 right now. The I want this was taken on Debian’s 4.4. Perhaps I’ll have a try with 4.6 some day after christmas… What fonts do you have selected? Look at eselect fontconfig list I’m not sure what to look for. A grep for ter didn’t bring anything up. -- Gruß | Greetings | Qapla' American beer is like having sex in a boat: fucking close to water.
Re: [gentoo-user] Remove redundant entries in world - howto
On Wednesday 15 December 2010 19:24:22 Pau Peris wrote: n=`wc -l /var/lib/portage/world|awk '{ print $1 }'`; for i in `seq 1 $n`;do pkg=`cat /var/lib/portage/world|head -n$i|tail -n1`; echo -e Packages depending on $pkg. /tmp/auditWorldFile.log equery d $pkg /tmp/auditWorldFile.log echo -e /tmp/auditWorldFile.log done; or without the counting loop: while read pkg; do echo done /var/lib/portage/world ;-) -- Gruß | Greetings | Qapla' Beamy, Scot me up!