Re: [gentoo-user] File transfer via USB?

2021-04-23 Thread karl
Grant:
> On 4/22/21 9:25 AM, k...@aspodata.se wrote:
> > No IP doesn't prohibit ethernet.
> 
> I agree technically.  Though I suspect it /may/ be problematic with the 
> spirit behind / motivating the ban on IP.

In that case, your usb-connection (or anything) will probably
be a borderline case to, since that is also a network...
But I guess the thing fobidden is anything makeing the ms-win box
recognize and use somthing to communicate outwards.

> > You could possible use:
> >   raw ethernet frames
> 
> Do you have any recommendations of utilities for each side?

Don't know much about the windows side, but I found this:
 https://stackoverflow.com/questions/766912/raw-ethernet-frames-using-winsock
 https://www.winpcap.org/
 
https://hacked10bits.blogspot.com/2011/12/sending-raw-ethernet-frames-in-6-easy.html
seems to be some programming involved.

> >   netbeui
> > samba
> 
> I thought that Samba has *LONG* been NetBIOS over TCP/IP (a.k.a. NBT). 
> Is NetBEUI code /still/ in Samba?

Seems it never was, though there were patches:
 https://flylib.com/books/en/3.151.1.29/1/
 
> >   ethertalk (appletalk)
> > http://netatalk.sourceforge.net/
> >   ipx (netware)
> > 
> > ftp://ftp.koansoftware.com/public/opensource/mars_nwe/mars_nwe-0.99.pl21.tgz
> 
> I believe that IPX support has been removed from 4. kernels. 
> Maybe 5..

4.18-rc1 it seems.

> DECnet Phase III or Phase IV.

Ah, forgot that one.

> > I have previously (in the 90's) used mars, worked great.
> 
> I've never run MARS but I've done more than a little with Novell 
> NetWare.  I recently had a 4.14 kernel mount an NCPFS from a server. 
> (4.14 obviously still has IPX.)

///

About the original question. Here what a few thing I dig up.

https://www.amazon.com/Laplink-High-Speed-Transfer-Cable-PCmover/dp/B0093H83DW
https://sourceforge.net/projects/lptransfer/
https://github.com/viveris/uMTP-Responder

It is usually simple to setup and use a serial null-modem cable and
run kermit or somthing on the MS-Win side and add a getty (I've used
mgetty) handling the serial port on the linux side.

Regards,
/Karl Hammar





Re: [gentoo-user] Monitor complains of no HDMI signal on wake

2021-04-23 Thread Mike Kaliman
Thanks for pointing me to that page, I didn't catch that flag. I added
those in although I still get the lack of signal upon wake, sadly. It'll
probably prevent jankiness elsewhere though. My next step is trying an
active HDMI to Displayport adapter.

On Fri, Apr 23, 2021 at 6:38 AM Adam Carter  wrote:

> On Wed, Apr 21, 2021 at 7:48 AM Mike Kaliman 
> wrote:
>
>> Hello all,
>>
>> I built a desktop that dual-boots Windows and Gentoo with rEFInd and each
>> OS has its own hard drive. It's running an ASUS X570 motherboard along with
>> an Nvidia RTX 2060 Super GPU. The GPU has 1 DisplayPort, 2 HDMI ports, and
>> 1 DVI port. The processor is a Ryzen 3900X which doesn't have integrated
>> graphics.
>> I have two monitors plugged in and both are ASUS VG289Q. Each monitor has
>> 2 HDMI ports and 1 DisplayPort. They're 4K monitors and I run them both as
>> 3840x2160.
>> I'm on "~amd64" and running the 5.11.15 kernel. The config is attached.
>> I run the proprietary nvidia drivers and rebuild them on every kernel
>> rebuild (as of writing this email, it's
>> x11-drivers/nvidia-drivers-465.19.01, with package USE flags `X driver
>> tools`).
>> General USE flags: `nvidia X wayland gles2 unicode lm-sensors pulseaudio
>> acl dbus alsa xvmc -amdgpu -nouveau -intel -radeon`
>>
>>
> https://wiki.gentoo.org/wiki/Xorg/Multiple_monitors suggests you need the
> xinerama USE flag, so try adding that then emerge -avuUD world.
>
> FWIW xvmc has mostly gone away so you may find vdpau more useful.
>


Re: [gentoo-user] File transfer via USB?

2021-04-23 Thread Grant Taylor

On 4/22/21 9:25 AM, k...@aspodata.se wrote:

No IP doesn't prohibit ethernet.


I agree technically.  Though I suspect it /may/ be problematic with the 
spirit behind / motivating the ban on IP.



You could possible use:
  raw ethernet frames


Do you have any recommendations of utilities for each side?


  netbeui
samba


I thought that Samba has *LONG* been NetBIOS over TCP/IP (a.k.a. NBT). 
Is NetBEUI code /still/ in Samba?



  ethertalk (appletalk)
http://netatalk.sourceforge.net/
  ipx (netware)
ftp://ftp.koansoftware.com/public/opensource/mars_nwe/mars_nwe-0.99.pl21.tgz


I believe that IPX support has been removed from 4. kernels. 
Maybe 5..


DECnet Phase III or Phase IV.


I have previously (in the 90's) used mars, worked great.


I've never run MARS but I've done more than a little with Novell 
NetWare.  I recently had a 4.14 kernel mount an NCPFS from a server. 
(4.14 obviously still has IPX.)




--
Grant. . . .
unix || die



[gentoo-user] Emerge --root= headerfiles taken from / or ROOT?

2021-04-23 Thread Alexander Puchmayr
Hi there,

I'm just trying setup a small target image with the --root (env SYSROOT), -
config-root and --sysroot options, and some builds fail, because the header 
files as well as cmake include files are not taken from the path specified to 
root/sysroot, but from /.

How can I make emerge/ebuild take the headers from the target path?

The goal is to have a target image, which contains only minimum set of 
packages and also a minimum set of use flags, just to get it booting and 
fulfill 
its purpose. The use flags and the package set are different from the host 
build 
system. The architecture is the same, so I'm not cross compiling.

Thanks
Alex






Re: [gentoo-user] Monitor complains of no HDMI signal on wake

2021-04-23 Thread Adam Carter
On Wed, Apr 21, 2021 at 7:48 AM Mike Kaliman  wrote:

> Hello all,
>
> I built a desktop that dual-boots Windows and Gentoo with rEFInd and each
> OS has its own hard drive. It's running an ASUS X570 motherboard along with
> an Nvidia RTX 2060 Super GPU. The GPU has 1 DisplayPort, 2 HDMI ports, and
> 1 DVI port. The processor is a Ryzen 3900X which doesn't have integrated
> graphics.
> I have two monitors plugged in and both are ASUS VG289Q. Each monitor has
> 2 HDMI ports and 1 DisplayPort. They're 4K monitors and I run them both as
> 3840x2160.
> I'm on "~amd64" and running the 5.11.15 kernel. The config is attached.
> I run the proprietary nvidia drivers and rebuild them on every kernel
> rebuild (as of writing this email, it's
> x11-drivers/nvidia-drivers-465.19.01, with package USE flags `X driver
> tools`).
> General USE flags: `nvidia X wayland gles2 unicode lm-sensors pulseaudio
> acl dbus alsa xvmc -amdgpu -nouveau -intel -radeon`
>
>
https://wiki.gentoo.org/wiki/Xorg/Multiple_monitors suggests you need the
xinerama USE flag, so try adding that then emerge -avuUD world.

FWIW xvmc has mostly gone away so you may find vdpau more useful.


Re: [gentoo-user] supreme annoyances:

2021-04-23 Thread Michael
On Thursday, 22 April 2021 14:42:14 BST Alan Grimes wrote:
> A
> 
> I have to wait during boot while DHCP tries to bring up eth0  (cable is
> plugged into eth1) and then manually turn off eth0 and turn on eth1 each
> time, can't find where this behavior is configured, /etc is a MAZE

Set a desired metric for the interfaces in your /etc/conf.d/net, following 
guidance in /usr/share/doc/netifrc-*/net.example.bz2 to change their 
priorities, or disable with rc-update the interface you have no use for and do 
not want to have it starting up regularly.


> B.
> 
> Everery. Single. Time. I have to run pavucontrol imediately after
> launching X11 and force select the working sound config, it used to
> always work but on this motherboard it refuses to save this working
> setting and forces me to manually do it Every F'ing Time.

Check your user is a member of the audio group.  If you're not using one of 
the desktop profiles (eselect profile list) then also check the ACLs for /dev/
snd/controlC*.

Check the pavucontrol configuration tab and disable the built-in audio profile 
corresponding to the audio card you don't want to use (e.g. HDMI) - if this is 
the setting which you want to change.

Take a look at ~/.config/pulse and tweak manually the settings you need/want 
per user, or for system wide settings walk through /etc/pulse/.

I'm not at a pulse equipped PC at present to dig any deeper, but the above 
should set you on the right path.  This reference page is also useful, in case 
you're missing something in your setup:

https://wiki.gentoo.org/wiki/PulseAudio


> C.
> 
> Now this is a Real Problem, after updating a few days ago, THE GODDAMN
> FONTS DO NOT RENDER, in half of the websites I visit with chromium. Rn
> there is massive wierdness going on with chromium and glibc

Chromium is a beast to compile and have stopped using it.  In the past I had 
come across similar bugs, which were fixed on a subsequent version.  Using 
stable versions minimises such problems, but from what I recall didn't do away 
with hiccups 100% of the time.  Alternative browsers may be the way to go, at 
least temporarily.


> D.
> 
> WTF, I just installed sys-kernel/vanilla-sources-5.11.15, rebooted, ran
> update again, and now it's unavailable, this is like 3 days.. Updating
> kernel sucks because of nvidia drivers. =\

Vanilla sources are not stable, so they'll drop off the tree when a better/
newer minor version shows up.

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