Re: [gentoo-user] headphone does not work in windows After logging to linux

2014-11-28 Thread Matti Nykyri
 On Nov 21, 2014, at 17:37, behrouz khosravi bz.khosr...@gmail.com wrote:
 
 
 On Nov 21, 2014 6:50 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote:
 
 
  On Fri, 2014-11-21 at 18:38 +0330, behrouz khosravi wrote:
  
   Well I have no problem with it in linux. It always works in linux but I 
   think there is a problem
   with alsa or some other linux related part. Because I have enabled the 
   after post sound in bios.
   When I power in on the headphone work. Then I login to linux and when I 
   reboot to login to
   windows, the bios post sound does not come from headphone.
 
  So the question is about BIOS beep after some sort of self test,
  and not the audio in general?
 
  Out of curiosity. Once it is working, is it still work if you
  reboot several(2) times to Windows?
 
  Ivan
 
 
 
 Actually I wanted to point out that something is happening in linux and the 
 windows is a victim this time!
 
 Booting several times into windows is ok and no sign of that problem.
With those symptoms you can not tell which element is not following the spec. 
Problem can be within linux driver, windows driver, card firmware or in bios. 

-- 
-Matti

Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-28 Thread hasufell
Martin Vaeth:
 hasufell hasuf...@gentoo.org wrote:
 With rsync I believe you can exclude categories:
 http://www.gentoo-wiki.info/TIP_Exclude_categories_from_emerge_sync

 That is uninformed.
 
 I think he is right.
 
 check the --depth option of git. You can even clone specific tags with
 --depth=1.
 
 Every tag will still contain all categories:
 AFAIK, with git, it is not possible to update everyting but e.g. *access*
 *kde* *i10n* *gnome* if you know that you will never install an
 ebuild from these categories.
 
 

My max DL rate is ~700KiB/s and is the limiting factor.

# time git clone --depth=1 --branch=v3.1
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
real2m56.615s
user0m5.802s
sys 0m0.578s

So the initial comment

 A good example of why I don't think they will be using git for portage:
 ``git clone https://git.kernel.org'

doesn't make much sense, because it isn't the recommended way to clone
the kernel tree.



Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-28 Thread hasufell
James:
 hasufell hasufell at gentoo.org writes:
 
 
 I still don't see a good argument why we made our system so inflexible,
 that obviously needed change needs such high amount of work, PR and proof.
 
 I think that most folks appreciate your efforts and insightful ideas
 on how to open up development, particularly in non-critical (non-core)
 areas. The quesiton is how do we get from where we are to where we
 want to be. I find most of what I'm interested in already in Arch Linux. I
 wonder why it is so much easier for Arch users to create pkgbuilds (like
 gentoo's ebuilds) and find a dev to adopt the package? Surely someone has 
 some insight on this differences, or do I miss something that creats the
 difference? [1]  I also find the Arch documentation to be of the finest
 quality of any and all linux distros, close to gentoo. ymmv.
 
 

Arch has done it wrong, IMO. Sure, their PKGBUILDs are easier to write,
but their quality is also worse. I know how to write them and have
written and looked at a lot of them.

People went the easy way and didn't really care much about review
workflow, so they ended up with AUR where everyone can upload random
stuff, including dangerous and wrong code.

 Trying to improve a tiny fraction about gentoo workflow (including your
 attempts) already took more than 4(?) years with never ending excuses.
 The necessity was more than obvious.
 Now I could talk about similarly obvious things. Sure, not all issues
 are obvious and those shouldn't be easy to push through.
 
 
 Everyone understands small changes and all changes take time for the
 majority of members to digest, imho. Not everyone has your keen insight into
  the problem/opportunity. So your patience in explanation, encouragement and
 solicitation, is very important, if your idea is to be
 implemented and tested. Naturally, Rich and other deeply involved devs, with
 addtional responsibilities exude caution, to keep the gentoo stable.
 They will not be the source of team building for your idea, imho.
 

Gentoo isn't even particularly stable anymore. It's a mess to maintain
with a confused PM, toolchain hackery and random conflicting ideas in
one repository (e.g. multilib clashing with crossdev).

The distro can only be as stable as the PM and the PM depends on the
input. The input depends on quality ebuilds. Quality ebuilds depend on a
proper spec, but there is no proper spec... PMS team itself says it
started as a collection of ancient portage behavior and then grew with
time, so there was no real design behind it. Quality ebuilds also depend
on review-workflow. Review-workflow needs proper tools.

We don't even have the last one. Long way to go. Good luck.


  You can draw your conclusions about this. I drew mine: small changes
 will not get us out of here.
 
 
 I think the jury is still out. So, why can't we test a transient plan
 where we take something very broken areas at Gentoo (games or java or
 sys-cluster) and test out your hypothesis for package development expansion?
 

Already doing so
https://github.com/hasufell/games-overlay

and that's where I will update ebuilds, not in the tree. And I don't
care to get any of that into the tree.

 In fact, I've been looking over quite a few ebuilds and pkgbuilds at (Arch
 linux). [2] I see quite a lot of commonality. So, why can we not modify
 this aforementioned inflexible system on gentoo to allow for Arch Linux
 pkgbuilds to be routinely compiled and installed on gentoo?
 
 Maybe limit the test to /usr/local/portage or /usr/local/portage/test/ so
 folks can participate or purge the experiment? Maybe find some Arch linux
 devs keen on the idea of developing/evolving package management so that 
 the two distros can readiy (or more easily) convert packages between
 Arch and Gentoo?   Is it possible?  Could your plan be modified to
 include a variety of Arch developers? Surely you have a collection
 of devs ready to implement your keen ideas? I, for one realize something
 fundamental has to change with Gentoo, after pushing a few months
 on java and cluster codes Also, there is a vast array of software,
 of various quality, among the overlay repositories to use as test-packages?
 
 
 The biggest thing I seen wrong with Arch is they have forced systemd
 onto their users, and all of the arch users I know, are not very
 happy about that. So if you approach this correctly, I'm sure quite a
 few Arch linux folks would also test your offerings.
 
 Have fun, if you can.
 
 
 Always we should have fun. That is why we should deeply discuss these
 issues to find common ground. Maybe fixing this inflexible system should
 involve a survey of those distros closest to gentoo, for ideas, particulary
 several (structured) methods to install packages, provide choices for the
 init system, and strongly advocate package development within the
 ranks of the user base. Clear and concise documentation, concurrent with
 this effort is probably your single greatest alley, should your idea

[gentoo-user] Slighty confused about net connections

2014-11-28 Thread meino . cramer
Hi,

I am /slightly/ confused about a specific net setup:

There are two small (technically identical) embedded
gentoo systems (too small to call them without thos s).

Both run the same Gentoo.
Both do ethernet over usb.

Both are configured to have different IPs of the same subnet
and do have different MACs.

Both are connected to the same usb hub of the motherboard of
my PC (shich runs Gentoo...).

I setup one usb0 interface on my PC.

But regardless in which order I plug in the USB cables to
those little boards: I cannot ssh to the second board.
When used alone there are no problems, so both boards
are technically ok.

Do I really need two interfaces isb0 and usb1 with different
subnets here?

Or do I miss something?

Best regards,
Meino





Re: [gentoo-user] The future of linux, and Gentoo specifically now

2014-11-28 Thread Paige Thompson

On 11/28/14 01:13, Canek Peláez Valdés wrote:
 On Thu, Nov 27, 2014 at 5:01 PM, Paige Thompson erra...@yourstruly.sx wrote:
 I think im just going to go to sleep. I really don't care if they drop
 support for it I'll just make my own ebuild / systemd emulation for
 whatever I need in spite of it, fork it and call it you can have it
 when you pry it from my cold dead hands linux.
 Please don't top-post.

 That's the spirit. As long as you are willing to do the necessary
 work, no one can ever force you to use any software.

 Regards.
Sorry I wish Thunderbird would start my cursor at the bottom of the
e-mail like its supposed to and I forget sometimes.




Re: [gentoo-user] The future of linux, and Gentoo specifically now

2014-11-28 Thread Mick
On Friday 28 Nov 2014 19:03:45 Paige Thompson wrote:
 On 11/28/14 01:13, Canek Peláez Valdés wrote:
  On Thu, Nov 27, 2014 at 5:01 PM, Paige Thompson erra...@yourstruly.sx 
wrote:
  I think im just going to go to sleep. I really don't care if they drop
  support for it I'll just make my own ebuild / systemd emulation for
  whatever I need in spite of it, fork it and call it you can have it
  when you pry it from my cold dead hands linux.
  
  Please don't top-post.
  
  That's the spirit. As long as you are willing to do the necessary
  work, no one can ever force you to use any software.
  
  Regards.
 
 Sorry I wish Thunderbird would start my cursor at the bottom of the
 e-mail like its supposed to and I forget sometimes.

I'm convinced that there is a setting somewhere in its preferences to allow 
you to do just that - automatically.

-- 
Regards,
Mick


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


Re: [gentoo-user] The future of linux, and Gentoo specifically now

2014-11-28 Thread Michael Orlitzky
On 11/28/2014 02:03 PM, Paige Thompson wrote:
 Sorry I wish Thunderbird would start my cursor at the bottom of the
 e-mail like its supposed to and I forget sometimes.
 
 

Edit - Account Settings - Composition and Addressing

Check the thing to quote replies, and select start my reply below...




[gentoo-user] Re: Slighty confused about net connections

2014-11-28 Thread James
 meino.cramer at gmx.de writes:



 Both run the same Gentoo.
 Both do ethernet over usb.
 
 Both are configured to have different IPs of the same subnet
 and do have different MACs.

So you can ping each one (the separate IP addresses), not from the
system where they are connecto to the usb hub on the mobo, but
a seccond system on your local ethernet?


 Both are connected to the same usb hub of the motherboard of
 my PC (shich runs Gentoo...).

Try to connect one to a different system's usb.

man lsusb to get the options you need for lsusb


 But regardless in which order I plug in the USB cables to
 those little boards: I cannot ssh to the second board.

put it on a second PC's usb buss. Let's get that working first
before you put them on the same PC, OK?

 When used alone there are no problems, so both boards
 are technically ok.
 Do I really need two interfaces isb0 and usb1 with different
 subnets here?

No, you should not. They can be attached to (2) different PCs that
are on the same subnet. Try that first.

James









[gentoo-user] Re: Gentoo's future directtion ?

2014-11-28 Thread James
hasufell hasufell at gentoo.org writes:



 Already doing so  https://github.com/hasufell/games-overlay
 and that's where I will update ebuilds, not in the tree. And I don't
 care to get any of that into the tree.

OK.


 People are scared of other gentoo-like distros/PMs. Exherbo is evil,
 paludis is evil, sabayoon is evil, ...

I agree, there is much resistence and calcification deep in the ranks
of gentoo.


 I've already tried contributing to exherbo. They are technically ahead
 of us in some non-trivial areas, but I don't think they have solved the
 contribution problem. Sure, they are more distributed and have gerrit
 etc, but their review workflow goes more the way make a high-quality
 user-overlay and then we will review it once and add it to our page.


As a young distro, maybe that's all the man_hours they have for
outside packages right now?


 They don't care too much about themed and clearly scoped overlays and
 about the difference of 'modular' and 'fragmented'.
 200 guys pushing into 200 repositories without _regular_ reviews (not
 just a gentoo dev or high quality overlay badge) is not much
 different to what gentoo does.

Is this (above) aimed at Exherbo or Arch?


 Arch is neither interesting from the technical nor from the workflow
 standpoint, IMO.

It has been around for a while.



OK so keep in mind if you are successful at what you set up (your overlay
++) with gentoo, I'd be interested to know the details and maybe I'll move
my codes to a similar structure; mostly java and science/math codes

Drop me private email, or keep me informed whatever your chosen information
dispersement is (a blog? etc)  as your code development mechanisms evolve.


sincerely,
James









[gentoo-user] kde / xbmc (kwin_x11 crashes when xbmc is started)

2014-11-28 Thread Paige Thompson
Hi,

I don't expect to get any actual support for this just wondering if
there's some trivial reason I'm overlooking as to why kde_x11 (plasma5 /
kde overlay) crashes when starting xbmc-. I thought it might be
because xbmc was starting in full screen mode but I changed that and it
still crashes. kde_x11 exits with a segfault each time even after xbmc
is closed. I have to restart from xdm before it will run again.

Thanks,

-Paige





Re: [gentoo-user] kde / xbmc (kwin_x11 crashes when xbmc is started)

2014-11-28 Thread Paige Thompson

On 11/28/14 23:01, Paige Thompson wrote:
 Hi,

 I don't expect to get any actual support for this just wondering if
 there's some trivial reason I'm overlooking as to why kde_x11 (plasma5 /
 kde overlay) crashes when starting xbmc-. I thought it might be
 because xbmc was starting in full screen mode but I changed that and it
 still crashes. kde_x11 exits with a segfault each time even after xbmc
 is closed. I have to restart from xdm before it will run again.

 Thanks,

 -Paige



Just wanted to add, I switched to xfce and can start it without any
problems (in fullscreen and windowed.) So it must have something to do
with my kwin_x11 build I'll try updating kwin and see what I can find
out. Again just curious if anyone had any opinions can't really expect
support :)



Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread thegeezer

On 2014-11-28 18:35, meino.cra...@gmx.de wrote:

Do I really need two interfaces isb0 and usb1 with different
subnets here?

Or do I miss something?



howdy,
yes you do.
i.e.
PC has real-eth0=192.168.1.1/24
PC has usb-eth0=192.168.2.1/24
PC has usb-eth1=192.168.2.2/24
sysA has usb-eth0=192.168.2.101/24
sysB has usb-eth0=192.168.2.102/24

from PC you want to ping 192.168.2.101, ok it pings
then you want to ping 192.168.2.102 and you have a cached route for 
192.168.2.0/24 dev usb-eth0
you can get around this using policy routing but that is a bit much for 
what you want.

you can always use smaller ranges for example:

PC usb-eth0=192.168.2.1/25
PC usb-eth1=192.168.2.129/25
sysA usb-eth0=192.168.2.101/25
sysB usb-eth1192.168.2.254/25




Re: [gentoo-user] kde / xbmc (kwin_x11 crashes when xbmc is started)

2014-11-28 Thread Paige Thompson

On 11/28/14 23:18, Paige Thompson wrote:
 On 11/28/14 23:01, Paige Thompson wrote:
 Hi,

 I don't expect to get any actual support for this just wondering if
 there's some trivial reason I'm overlooking as to why kde_x11 (plasma5 /
 kde overlay) crashes when starting xbmc-. I thought it might be
 because xbmc was starting in full screen mode but I changed that and it
 still crashes. kde_x11 exits with a segfault each time even after xbmc
 is closed. I have to restart from xdm before it will run again.

 Thanks,

 -Paige



 Just wanted to add, I switched to xfce and can start it without any
 problems (in fullscreen and windowed.) So it must have something to do
 with my kwin_x11 build I'll try updating kwin and see what I can find
 out. Again just curious if anyone had any opinions can't really expect
 support :)

Miraculously I am not the only person who has had this problem:

https://bugs.kde.org/show_bug.cgi?id=337626

The odds of this being reported as a bug seem slim but sure enough it
has been.




[gentoo-user] Does systemd work with mdadm?

2014-11-28 Thread Daniel Frey
OK,

I decided I'm going to try systemd to see what all the hubbub is about.
I know there are people on here that use it so I'm hoping someone's can
alleviate my concerns on it with mdadm.

I use an IMSM container (Intel fakeraid) as I dual boot with Windows.
This has happily worked for some time now.

I've googled around and it seems there could be a bug using mdadm and
lvm at the same time, but that's not what I'm doing. Considering when I
first set up this dual boot there was some configuration involved, I
don't believe I can just install it and pray it works as I've read if
systemd goes sideways you can't even log in.

Are there people running systemd and mdadm together that can comment? I
think I'm going to try anyway, and I have a suspicion that systemd is
going to bomb the first time it boots.

Dan



Re: [gentoo-user] Does systemd work with mdadm?

2014-11-28 Thread Neil Bothwick
On Fri, 28 Nov 2014 16:15:45 -0800, Daniel Frey wrote:

 I've googled around and it seems there could be a bug using mdadm and
 lvm at the same time, but that's not what I'm doing. Considering when I
 first set up this dual boot there was some configuration involved, I
 don't believe I can just install it and pray it works as I've read if
 systemd goes sideways you can't even log in.
 
 Are there people running systemd and mdadm together that can comment? I
 think I'm going to try anyway, and I have a suspicion that systemd is
 going to bomb the first time it boots.

I'm not, I stopped using mdadm and LVM before I switched to systemd. But
it doesn't really matter if systemd does fail to boot properly, you can
switch back to openrc, fix the problem and reboot with systemd.

When I was testing systemd, I had to entries in GRUB, one with the
systemd init= option and one without, so I could boot with either.


-- 
Neil Bothwick

If at first you do succeed, try to hide your astonishment.


pgp8eOvCqK0B9.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread meino . cramer
thegee...@thegeezer.net thegee...@thegeezer.net [14-11-29 02:56]:
 On 2014-11-28 18:35, meino.cra...@gmx.de wrote:
 Do I really need two interfaces isb0 and usb1 with different
 subnets here?
 Or do I miss something?
 
 
 howdy,
 yes you do.
 i.e.
 PC has real-eth0=192.168.1.1/24
 PC has usb-eth0=192.168.2.1/24
 PC has usb-eth1=192.168.2.2/24
 sysA has usb-eth0=192.168.2.101/24
 sysB has usb-eth0=192.168.2.102/24
 
 from PC you want to ping 192.168.2.101, ok it pings
 then you want to ping 192.168.2.102 and you have a cached route for 
 192.168.2.0/24 dev usb-eth0
 you can get around this using policy routing but that is a bit much for 
 what you want.
 you can always use smaller ranges for example:
 
 PC usb-eth0=192.168.2.1/25
 PC usb-eth1=192.168.2.129/25
 sysA usb-eth0=192.168.2.101/25
 sysB usb-eth1192.168.2.254/25
 
 
Hi James, hi thegeezer

I want to summerize here what works, what dont work and what I tried
-- sorry I am no natie english speaker and my english is not exact
enough for such things...but well...lets see..

Current setup
PC:
usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet 192.168.10.1  netmask 255.255.255.0  broadcast 192.168.10.255
ether ee:6c:bc:6c:03:79  txqueuelen 1000  (Ethernet)

Arietta A:
usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
ether 00:15:f2:18:b0:30  txqueuelen 1000  (Ethernet)

Arietta B:
usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
ether 00:15:f2:18:b0:31  txqueuelen 1000  (Ethernet)


Tried:
(I only have one PC...)
Only Arietta A connected to PC: Works fine -- ssh login ok
Only Arietta B connected to PC: Works fine -- ssh login ok

Arietta A connected to PC, after it has booted Arietta B connected
to the same (motherboard internal) usb-hub of the PC: Cant ssh to Arietta B but
can ssh to Arietta A.
Switch result if connecting done in opposite order.

Question:
Is one usb_0 interface on the PC enough?
Is there something else wrong with my setup?

Thanks a lot for any help in advance!
Best regards,
Meino









Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread covici
meino.cra...@gmx.de wrote:

 thegee...@thegeezer.net thegee...@thegeezer.net [14-11-29 02:56]:
  On 2014-11-28 18:35, meino.cra...@gmx.de wrote:
  Do I really need two interfaces isb0 and usb1 with different
  subnets here?
  Or do I miss something?
  
  
  howdy,
  yes you do.
  i.e.
  PC has real-eth0=192.168.1.1/24
  PC has usb-eth0=192.168.2.1/24
  PC has usb-eth1=192.168.2.2/24
  sysA has usb-eth0=192.168.2.101/24
  sysB has usb-eth0=192.168.2.102/24
  
  from PC you want to ping 192.168.2.101, ok it pings
  then you want to ping 192.168.2.102 and you have a cached route for 
  192.168.2.0/24 dev usb-eth0
  you can get around this using policy routing but that is a bit much for 
  what you want.
  you can always use smaller ranges for example:
  
  PC usb-eth0=192.168.2.1/25
  PC usb-eth1=192.168.2.129/25
  sysA usb-eth0=192.168.2.101/25
  sysB usb-eth1192.168.2.254/25
  
  
 Hi James, hi thegeezer
 
 I want to summerize here what works, what dont work and what I tried
 -- sorry I am no natie english speaker and my english is not exact
 enough for such things...but well...lets see..
 
 Current setup
 PC:
 usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
 inet 192.168.10.1  netmask 255.255.255.0  broadcast 192.168.10.255
 ether ee:6c:bc:6c:03:79  txqueuelen 1000  (Ethernet)
 
 Arietta A:
 usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
 inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
 inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
 ether 00:15:f2:18:b0:30  txqueuelen 1000  (Ethernet)
 
 Arietta B:
 usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
 inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
 inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
 ether 00:15:f2:18:b0:31  txqueuelen 1000  (Ethernet)
 
 
 Tried:
 (I only have one PC...)
 Only Arietta A connected to PC: Works fine -- ssh login ok
 Only Arietta B connected to PC: Works fine -- ssh login ok
 
 Arietta A connected to PC, after it has booted Arietta B connected
 to the same (motherboard internal) usb-hub of the PC: Cant ssh to Arietta B 
 but
 can ssh to Arietta A.
 Switch result if connecting done in opposite order.
 
 Question:
 Is one usb_0 interface on the PC enough?
 Is there something else wrong with my setup?

You can't have the same ethernet card connected to two different things
-- you have the same  ethernet address on both boards, so the poor
thing can only do the first one, you need another interface with a
different ethernet address.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Slighty confused about net connections

2014-11-28 Thread James
 meino.cramer at gmx.de writes:


 
 I want to summerize here what works, what dont work and what I tried


Meino,

I read your email. I have not tried what you are trying before
and do not have those boards: maybe I should get a pair?
Or are you almost done?

What I would suggest is read up on IP aliasing
and Network Address Translation.


Maybe all you have to do is put the 2 devices on separate 
USB_busses on your PC. lsusb should identify how many
differnet usb busses you have on your pc hardware. You
motherboard book (online if you don't have one) should
also tell you about the different usb busses on your motherboard.
Some older PC just have one USB buss.


You are going to have to experiment. Check your routing table
after you set things up. Also install net-analyzer/macchanger
and see if that helps. If you grope long enough, you should
find a solution. Hopefully others have some ideas.

netstat and arp are also commands you should look at their
options as tools to gain insight into what you are doing, and
why what you try, fails.

[1] http://en.qi-hardware.com/wiki/Ethernet_over_USB

hth,
James




Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread meino . cramer
cov...@ccs.covici.com cov...@ccs.covici.com [14-11-29 04:28]:
 meino.cra...@gmx.de wrote:
 
  thegee...@thegeezer.net thegee...@thegeezer.net [14-11-29 02:56]:
   On 2014-11-28 18:35, meino.cra...@gmx.de wrote:
   Do I really need two interfaces isb0 and usb1 with different
   subnets here?
   Or do I miss something?
   
   
   howdy,
   yes you do.
   i.e.
   PC has real-eth0=192.168.1.1/24
   PC has usb-eth0=192.168.2.1/24
   PC has usb-eth1=192.168.2.2/24
   sysA has usb-eth0=192.168.2.101/24
   sysB has usb-eth0=192.168.2.102/24
   
   from PC you want to ping 192.168.2.101, ok it pings
   then you want to ping 192.168.2.102 and you have a cached route for 
   192.168.2.0/24 dev usb-eth0
   you can get around this using policy routing but that is a bit much for 
   what you want.
   you can always use smaller ranges for example:
   
   PC usb-eth0=192.168.2.1/25
   PC usb-eth1=192.168.2.129/25
   sysA usb-eth0=192.168.2.101/25
   sysB usb-eth1192.168.2.254/25
   
   
  Hi James, hi thegeezer
  
  I want to summerize here what works, what dont work and what I tried
  -- sorry I am no natie english speaker and my english is not exact
  enough for such things...but well...lets see..
  
  Current setup
  PC:
  usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
  inet 192.168.10.1  netmask 255.255.255.0  broadcast 192.168.10.255
  ether ee:6c:bc:6c:03:79  txqueuelen 1000  (Ethernet)
  
  Arietta A:
  usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
  inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
  inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
  ether 00:15:f2:18:b0:30  txqueuelen 1000  (Ethernet)
  
  Arietta B:
  usb0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
  inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
  inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20link
  ether 00:15:f2:18:b0:31  txqueuelen 1000  (Ethernet)
  
  
  Tried:
  (I only have one PC...)
  Only Arietta A connected to PC: Works fine -- ssh login ok
  Only Arietta B connected to PC: Works fine -- ssh login ok
  
  Arietta A connected to PC, after it has booted Arietta B connected
  to the same (motherboard internal) usb-hub of the PC: Cant ssh to Arietta B 
  but
  can ssh to Arietta A.
  Switch result if connecting done in opposite order.
  
  Question:
  Is one usb_0 interface on the PC enough?
  Is there something else wrong with my setup?
 
 You can't have the same ethernet card connected to two different things
 -- you have the same  ethernet address on both boards, so the poor
 thing can only do the first one, you need another interface with a
 different ethernet address.
 
 -- 
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?
 
  John Covici
  cov...@ccs.covici.com
 

Hi John,


After your email I read the output of dmesg more precisely ... and now
knowing (due to your post :) what to look for and found that
the detection of another usb-ethernet-device attached to my PC created
another usbn (first: usb0, second: usb1).

I put the first Arietta into the net 192.168.10.x and the second
Arietta into net 192.168.11.x and do two different ifconfig for usb0
and the other one for usb1 and TADA! - I could ssh into both!

This is not THAT elegant (wasting a complete subnet), but it proofes,
that both boards are /relly/ ok...

This becomes especially important for me since I had soldered three 
PCB connectors (--- this is bloody typical german English...
hopefully netherless at least half understandable) to both boards...
and soldering such tiny things on very limited space is not what I
do like most... ;)

So nothing is damaged, and I am happy...until the next
challange.

Thanks a lot for your help!!!

Best regards,
Meino






Re: [gentoo-user] Re: Slighty confused about net connections

2014-11-28 Thread meino . cramer

Hi James,

...got it running!

I really need two usb devices *usb0 and usb1), each
for one Arietta board.

I got NAT runnig for the Arietta before (need that for updateing
Gentoo 8)) with one board. I did the same on the other one and it works.

I assigned different MACs (and checked that) via /etc/conf.d/net
before. Two devices with the same MAC can cause some weird results
;)

Thanks for the Link, James! :)
Will read that!

Best regards,
Meino





updateing Gentoo 8)



James wirel...@tampabay.rr.com [14-11-29 06:08]:
  meino.cramer at gmx.de writes:
 
 
  
  I want to summerize here what works, what dont work and what I tried
 
 
 Meino,
 
 I read your email. I have not tried what you are trying before
 and do not have those boards: maybe I should get a pair?
 Or are you almost done?
 
 What I would suggest is read up on IP aliasing
 and Network Address Translation.
 
 
 Maybe all you have to do is put the 2 devices on separate 
 USB_busses on your PC. lsusb should identify how many
 differnet usb busses you have on your pc hardware. You
 motherboard book (online if you don't have one) should
 also tell you about the different usb busses on your motherboard.
 Some older PC just have one USB buss.
 
 
 You are going to have to experiment. Check your routing table
 after you set things up. Also install net-analyzer/macchanger
 and see if that helps. If you grope long enough, you should
 find a solution. Hopefully others have some ideas.
 
 netstat and arp are also commands you should look at their
 options as tools to gain insight into what you are doing, and
 why what you try, fails.
 
 [1] http://en.qi-hardware.com/wiki/Ethernet_over_USB
 
 hth,
 James
 
 



Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread Alan McKinnon
On 29/11/2014 08:14, meino.cra...@gmx.de wrote:

 After your email I read the output of dmesg more precisely ... and now
 knowing (due to your post :) what to look for and found that
 the detection of another usb-ethernet-device attached to my PC created
 another usbn (first: usb0, second: usb1).
 
 I put the first Arietta into the net 192.168.10.x and the second
 Arietta into net 192.168.11.x and do two different ifconfig for usb0
 and the other one for usb1 and TADA! - I could ssh into both!
 
 This is not THAT elegant (wasting a complete subnet), but it proofes,
 that both boards are /relly/ ok...


In truth you are not wasting a complete subnet (whatever that is), you
have merely specified a range 256 times larger than what you want to have.

In networking you are not limited to ranges that end on an octet
boundary (we got rid of *that* limitation 10+ years ago). Instead just
do this:

board #1: 192.168.0.100/32
board #2: 192.168.0.101/32

Now you have specified subnet that are each exactly one ip address
wide. All modern software know what to do with this.

Adapt the addresses to your own network design and you should be good to go.




Alan


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




Re: [gentoo-user] Slighty confused about net connections

2014-11-28 Thread meino . cramer
Alan McKinnon alan.mckin...@gmail.com [14-11-29 07:32]:
 On 29/11/2014 08:14, meino.cra...@gmx.de wrote:
 
  After your email I read the output of dmesg more precisely ... and now
  knowing (due to your post :) what to look for and found that
  the detection of another usb-ethernet-device attached to my PC created
  another usbn (first: usb0, second: usb1).
  
  I put the first Arietta into the net 192.168.10.x and the second
  Arietta into net 192.168.11.x and do two different ifconfig for usb0
  and the other one for usb1 and TADA! - I could ssh into both!
  
  This is not THAT elegant (wasting a complete subnet), but it proofes,
  that both boards are /relly/ ok...
 
 
 In truth you are not wasting a complete subnet (whatever that is), you
 have merely specified a range 256 times larger than what you want to have.
 
 In networking you are not limited to ranges that end on an octet
 boundary (we got rid of *that* limitation 10+ years ago). Instead just
 do this:
 
 board #1: 192.168.0.100/32
 board #2: 192.168.0.101/32
 
 Now you have specified subnet that are each exactly one ip address
 wide. All modern software know what to do with this.
 
 Adapt the addresses to your own network design and you should be good to go.
 
 
 
 
 Alan
 
 
 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 

Hi Alan,

thanks a lot for that ! 8)

Best regards,
Meino





[gentoo-user] Re: Gentoo's future directtion ?

2014-11-28 Thread Martin Vaeth
hasufell hasuf...@gentoo.org wrote:
 Martin Vaeth:
 hasufell hasuf...@gentoo.org wrote:
 With rsync I believe you can exclude categories:
 http://www.gentoo-wiki.info/TIP_Exclude_categories_from_emerge_sync

 That is uninformed.
 
 I think he is right.
 
 check the --depth option of git. You can even clone specific tags with
 --depth=1.
 
 Every tag will still contain all categories:
 AFAIK, with git, it is not possible to update everyting but e.g. *access*
 *kde* *i10n* *gnome* if you know that you will never install an
 ebuild from these categories.

 My max DL rate is ~700KiB/s and is the limiting factor.

My concern is not the time but the total volume (there are still
often limitations involved), and perhaps even more important,
the disk usage, especially compared with methods like squashfs(+aufs).
It simply is a fact that with git you have to download and store a
lot of unnecessary information (if you are not a developer and do
not use a heavy system): not only git metadata but also
unneeded categories.
So for non-developers, downloading with git does not necessarily
make sense.

That being said, please do not consider this as an argument against
a change to git: For developers it has only advantages, and AFAIK,
it is not planned to cancel other download methods anyway.