Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

666threesixes666

Members
  • Posts

    132
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by 666threesixes666

  1. per gentoo wiki

     

    intel Wireless 3160 iwlwifi sys-firmware/iwl3160-ucode or sys-kernel/linux-firmware Requires kernel parameter Device-Drivers->Network device support->Wireless LAN->Intel Wireless WiFi MVM Firmware support

  2. use screen, tmux, or mosh.  this will prevent disconnection mid merge.

     

    post output of emerge -av world  it should say rebuilding already installed same version packages, or that its updating to new versions what have you.

  3. did you emerge sys-kernel/linux-firmware?

     

    post dmesg of the funtoo install

     

    post lspci -k

     

    post lsusb instead if its a usb device.

     

    are you using network manager?  post which method you're using to connect to wifi.

     

    uhhh to post the dmesg & lspci copy them to files then access the files when you chroot to emerge linux-firmware or what ever, you could access them just by mounting the funtoo drive on your live distro

  4. ok my 2.6ghz quadcore with 8 gigs of ram and 48000 sample rate audio card should play audio exceptionally well...  enough is enough....

     

    to fix this:

     

    load up vlc, press ctrl + p

    go to audio, bottom left show all settings

     

    click audio, disable audio resampler

     

    click SRC resampler, move to linear

     

    save, restart vlc, you wont have to restart or pause videos to get the audio to behave again.  i mean seriously vlc, the audios polished on the dvds.  it doesnt need antialiasing, refactoring, pre amplification, compression, etc as its played.

  5. append to /etc/boot.conf
    "memtest86+ 5.01" {
    kernel memtest86plus/memtest
    }

    boot-update

     

    also misgenerated for me, but its close...  i get messages saying that i need to use linux16 instead...  well i already knew that was going to happen =P  for now:

     

    remove memtest entries from /etc/boot.conf, and append the correct entry to the bottom of grub.cfg

     

    boot-update

    cat >> /boot/grub/grub.cfg << EOF

    menuentry "memtest86+ 5.01" {
    linux16 /boot/memtest86plus/memtest
    }

    EOF

  6. gentoo's taking a hit from our presence also.

     

    Popularity (hits per day): 12 months: 39 (330), 6 months: 40 (313), 3 months: 44 (310), 4 weeks: 46 (304), 1 week: 44 (301)

     

    the moral of the story is post to the wiki accurate eclectic information, and high quality content...  not a bunch of stub articles.  

     

    arch is a roller with no installer...  it's top 10

     

    Popularity (hits per day): 12 months: 8 (997), 6 months: 9 (914), 3 months: 10 (897), 4 weeks: 9 (842), 1 week: 13 (824)

     

    again they have tons of presence, tons of high quality articles...  were aiming for top 10, but this takes massive amounts of effort...  i try to post articles that will answer recurring questions from google searches, or if they're too lazy, and ask anyways i can quickly end the conversation with a link.  if a wiki page is missing the content people want to know, ill add it once i've tested it.  if i haven't tested, ill usually note that or word it less than secure & firm.

     

    the website has approximately 1,500 hits a day.  i've been working a bit on linuxforums.com helping people and letting them know im from the funtoo community.  i keep getting locked out of https://www.linux.com/communityso if you want to start talking to people about issues that would be great.

  7. ugh i hate grub, however as it is default for the distribution i will work on this issue for you, and provide documentation.  i deployed the memtest + lilo instructions on the wiki so its my fault...  ill stop teasing you  :D

     

    bzcat /usr/share/doc/boot-update-1.7.1/boot-update.8.rst.bz2

    bzcat /usr/share/doc/boot-update-1.7.1/boot.conf.5.rst.bz2

    bzcat /usr/share/doc/boot-update-1.7.1/boot.conf.example.bz2

     

    this needs in /boot/grub/grub.conf -- boot update generates this....

    (cat /etc/grub.d/39_memtest86+ from the memtest ebuild instructions is how i discovered this)

     

    menuentry "memtest86+ 5.01" {
    linux16 /boot/memtest86plus/memtest
    }

     

     

    append to /etc/boot.conf

    "memtest86+ 5.01" {
    kernel memtest86plus/memtest
    }

     

    boot-update

  8. yay ive finally found an rss app that is suitable to my needs....  ill start documenting it so EVERYONE can watch our rss feeds =D

     

    its fairly light weight and has a few gnome deps...  ill test it on the xfce4 only laptop to see if its absurd for twm/fluxbox/openbox/lxde/lxqt users

     

    wait a second, it doesnt say which feed has updates....  it also has trouble fetching news, forums wiki and bugs are also sporadic, maybe if i change them from atom to rss....

     

    this is good enough for now so long as it doesn't present more problems, it seems a bit dated.....

     

    rss guards looking really slick....  rssguards seriously out of date, id like to rewrite it's ebuild to give the option to leave out the terrible webkit.

     

    https://bitbucket.org/skunkos/rssguard/downloads

     

     

    quiterss is garbage, rawdog is shipping broken configs or something it wont start...  amphetadesk is an init.d daemon of some sort

  9. i dont know, i use ntpd...  

     

    cat /etc/conf.d/hwclock

    clock_hctosys="YES"

    clock_systohc="YES"

     

    mkultra@spaceball-1 ~ $ sudo /etc/init.d/hwclock status
    * status: started

     

    that makes the system read cmos time at start, and write cmos time at halt....  the kernel has some RTC stuff to do it also....  dig through the issue and start documenting solutions plz, im busy trying to figure out entropy stuff for ssl security.

     

    "In-kernel method[edit]

    On a sufficiently modern kernel (3.9 or newer), Linux can be configured to handle setting the system time automatically:

    KERNEL
    Device Drivers  --->
      [*] Real Time Clock  --->
        [*]   Set system time from RTC on startup and resume
        [*]   Set the RTC time based on NTP synchronization
    The hwclock init script should not be ran when using the kernel's real time clock. Opting for this method will speed up the system's boot and shutdown processes slightly." -https://wiki.gentoo.org/wiki/Ntp

     

    i did document sufficiently ntpd, the kernel entry is not mine though.

     

    did that work for you?  if not you're probably going to have to change your clocks adjustment thing /usr/share/zoneinfo/America/Detroit

     

    /etc/localtime -> /usr/share/zoneinfo/EST5EDT

     

    uhhh for you its PST8PDT i think....

  10. well long story short...  

     

    emerge haveged

    /etc/init.d/haveged start

     

    but, word around the camp fire is this is not as cryptographic secure as a true random number generator, or as fast as a hardware rng.  what other options do i have?

     

    my northbridge is nvidia...

    https://developer.nvidia.com/cuRAND

     

    on gpu rng would be sweet.

     

    rng-tools = rngd hardware rng entropy gathering daemon

     

     

    mkultra@spaceball-1 ~ $ zcat /proc/config.gz | grep -i rng
    CONFIG_CRYPTO_RNG=y
    CONFIG_CRYPTO_RNG2=y

     

    * in kernel psuedo rng....
    # CONFIG_CRYPTO_ANSI_CPRNG is not set

     

    * probably the one i need to access amd rng if i have a hardware rng
    # CONFIG_CRYPTO_USER_API_RNG is not set

     

    mkultra@spaceball-1 ~ $ zcat /proc/config.gz | grep -i rand
    CONFIG_ARCH_RANDOM=y
    CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
    CONFIG_HW_RANDOM=y
    CONFIG_HW_RANDOM_TIMERIOMEM=m
    CONFIG_HW_RANDOM_INTEL=m
    CONFIG_HW_RANDOM_AMD=m
    CONFIG_HW_RANDOM_VIA=m

     

    eh eh?!?!?  im starting to doubt that my processor has a rng built into it.

     

     

    haveged = havege alg rng, needs patching/forking

    clrngd = hardware clock rng, needs documenting, chews on the processor when entropy is low.

    audio-entropyd = sound card static rng, these need rebuilding so that entropy security checks are disabled.

    audio-entropyd -d hw:0 -s

    -s removes checks to ensure randomness, and speeds things up

     

    video-entropyd = video static rng...  out of the tree, needs patching to disable security checks, needs patching in general. 

    timer_entropyd = timer rng, very old, probably needs patching....

     

    check entropy available, cat /proc/sys/kernel/random/entropy_avail

     

    dev-haskell/entropy = no, not what im looking for

     

    https://github.com/pwarren/rtl-entropy

     

     

    when entropy + entropy + entropy are added they become more secure, not less even if 1 or two are cracked.  if 1 is cracked and runs 100x quicker than the others you're not secure.

     

    that being said, i think my personal best option for hwrng is the video card:

    code http://www.cs.ucl.ac.uk/staff/W.Langdon/ftp/gp-code/random-numbers/cuda_park-miller.tar.gz

     

    or a hacked smoke detector.

     

    i need to learn to program so i can make firewire rng, wifi rng, ethernet rng, fan speed rng? =P  

     

    so ive settled on fortuna cprng, its what several bsd distros and macos use by default for /dev/random

     

    https://github.com/ryco117/Fortunai can get this to build and send out random data, but its primitive.  it only outputs files, doesnt check entropy pool @ /dev/random doesnt have a deamon, none of it...

     

    rngtest: bits received from input: 25600000
    rngtest: FIPS 140-2 successes: 1279
    rngtest: FIPS 140-2 failures: 0

     

    however it does generate 25 million bits in less than a minute that are secure.

     

    dieharder -f out.txt -a is running all tests against the entropy i just generated with this.

     

    http://www.labtestproject.com/linuxcmd/chsh.html

     

    this is really becoming a log of stuff to add to the wiki

     

    http://sourceforge.net/projects/prngd/files/prngd/0.9.29/

    http://sourceforge.net/projects/egd/files/egd/

     

    rngd is being a piece of trash over tpm...  new goodies?

    http://sourceforge.net/projects/tpm-emulator.berlios/

    app-crypt/tpm-tools
    TrouSerS' support tools for the Trusted Platform Modules

     

    rngd works fine on my laptop, since the desktops also mostly the same hardware just newer stuff i figured it would stream out tons of rng goodness but doesnt.  guess ill just have to get the tpm emulator going

     

     

    below floods dir with random images

    ffmpeg -f rawvideo -video_size 400x320 -pixel_format yuv420p -framerate 1 -i /dev/random -ac 1 -f s16le -i /dev/random -pix_fmt yuv420p output%03d.jpg

  11. yes i resolved it...  i also suggested we fork polkit console kit and network manager away from gentoo over this issue.  (though im not sure this is coming from gentoo anymore)

     

    the network manager 0.9.9? ebuilds not placing the rules file in /usr/share/polkit-1/rules.d/

     

    network manager 1 will insert the file, though i dont know if that networkmanager works or not.

    root@spaceball-1 /usr/share/polkit-1/rules.d # cat 01-org.freedesktop.NetworkManager.settings.modify.system.rules 
    // Let users in plugdev group modify NetworkManager
    polkit.addRule(function(action, subject) {
        if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
            subject.isInGroup("plugdev") && subject.active) {
            return "yes";
        }
    });
    
    

    at the very bottom of this article is a rule to tell polkit to never ask those dialogs globally for wheel users =D

    https://wiki.archlinux.org/index.php/Polkit

     

  12. i snagged a seriously deprecated ebuild from somewhere, trying to revbump it i ran into some issues...  this source is for eclipse to build.

     

    what i have so far:

    # Copyright 1999-2005 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    
    
    inherit versionator java-pkg-2 java-ant-2 java-utils-2
    
    DESCRIPTION="A mature Java-based RSS/RDF/Atom Newsreader with advanced features."
    
    HOMEPAGE="http://www.rssowl.org/"
    LICENSE="CPL-1.0"
    
    SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}%202/$PV/${P}.source.zip"
    
    
    SLOT="0"
    KEYWORDS="*"
    IUSE="doc"
    
    #S=${WORKDIR}/${MY_P}
    S=${WORKDIR}/
    KEYWORDS="*"
    
    DEPEND=">=dev-java/swt-3.5.2
    >=virtual/jdk-1.6.0"
    
    RDEPEND=">=virtual/jre-1.6.0"
    
    src_unpack() {
    unpack ${A}
    cd ${S}/lib
    java-pkg_jar-from swt-3
    }
    
    EANT_BUILD_TARGET="deploy_linux"
    
    src_install() {
    java-pkg_dojar ${PN}.jar
    
    # Create program launcher
    java-pkg_dolauncher
    echo -e "#!/bin/sh\njava -Djava.library.path=/usr/lib/ -jar /usr/share/${PN}/lib/${PN}.jar" > ./${PN}
    dobin ${PN}
    
    insinto /usr/share/icons/hicolor/32x32/apps
    newins img/32x32.png rssowl.png
    
    insinto /usr/share/applications/
    doins ${FILESDIR}/rssowl.desktop
    
    java-pkg_dohtml -r doc/tutorial/en/*
    dodoc doc/{CHANGELOG.txt,LICENSE.txt,README.txt}
    }
    

    i had a problem with conditional urls but resolved that finding a source.zip  the urls should go higher up in the ebuilding dev stuff and give conditional url examples.

     

    im looking for alternatives...  liferea's good but its major flaw is marking items as read automatically so if i click away i lost my post to view.

    http://www.rss-specifications.com/rss-reader-linux.htm

  13. i think that its just a good idea to have it pinned to 1 ebuild for each package since the install depends upon them...  if changes come along, we can have testers test the new ebuilds once we have a hand full of testers approve the ebuilds move them to production.  systemd purged from both boxes, its just too psychotic, gentoo doesn't q-a some stuff so well, especially tom-wij's packages since he's maintaining like 1/3rd of gentoo's packages.

  14. i hate to say it, we need to fork console kit, polkit, and network manager to keep them stable and operational...  my desktops FRIED from an update, polkit went crazy on me...  locked out of X and the works...  fortunately i was playing with dbus/consolekit/polkit to get firewalld's ebuild stuff going and knew how to tell it to chill....  my dbus on the desktop is systemd so its possible im being a horrible person.  but yeah udev/dbus/consolekit/polkit requests....  the forums login capitalized t in threesixes when i logged in from laptop with chrome.  idk if its forums or what...

  15. firewalld is closely tied to network manager.  i started a bug but the ebuild is buggy enough to warrant moving the discussion to here.

    https://bugs.funtoo.org/browse/FL-2327

     

    these are the first steps to getting the package running.  firewalld doesn't require dropping connections and entirely resetting the firewall to update rules, its default in fedora & centos.  i think it's going to require some de-systemding.  i haven't worked on it further yet...  last night i spent about 2 hours on this issue.  tonight ill probably spend another 2 tracking down its shortcomings.  i dont need replies i just need to track what updates im making to have it become funtoo friendly.

     

     

    http://www.firewalld.org/download/

     

    0.2.12 doesn't like me...  lets try 0.3.13, time to dig into ebuilding docs  0.3.13 works with ./configure && make && sudo make install! =D

     

    so i found a firewalld ebuild for 0.3.10, how do i setup local overlays so i can tweak this to latest?

     

    ==== new day ====

    system-config-firewall is a dependency of firewalld...  1 this program doesn't like python 3 at all...  2 under python 2.7 it wants to write its iptables configurations @ /etc/sysconfig/iptables & /etc/sysconfig/ip6tables....

     

    whoa system-config-firewall is a gui app it does a good job setting things for iptables (in the wrong directory =)

     

    https://fedoraproject.org/wiki/SystemConfig/firewall

     

     

     

    https://fedoraproject.org/wiki/Features/firewalld-default#Dependencies

     

    root@spaceball-1 /home/mkultra/overlays/testing/system-config-firewall-1.2.29 # iptables -L -n
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination        
    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0

     

    unfortunately ufw is 1000x as effective as this.  it's seriously letting everything through, not stopping much.

  16. drobbins how did you make the funtoo router a wifi ap?  do you run dnscrypt behind dnsmasq?  dnscrypt is slow, but behind dnsmasq its negligible, and greatly improves security.  do you run squid also to maximize caching on the router?

     

    edit:i can't change the title to funtoo wifi router?

     

     

     

    <drobbins> so here is what I did
    <drobbins> set up a bridge with an IP address called brwan
    <drobbins> with a LAN ip address
    <drobbins> then I added wlan0 and eth0 to that bridge
    <drobbins> as slaves, with template=interface-noip
    <drobbins> then I configured hostapd for wlan0.
    <drobbins> started it all, and it worked
    <drobbins> then I run dnsmasq. It is available to wireless and wired clients.
    <drobbins> since it's bridged.
    <drobbins> my DSL modem is plugged into eth0, and it does natting, so I don't do natting on my linux AP. It just provides an AP.
    <drobbins> that is literally all that's needed. If wlan0 is visible in ifconfig, then hostapd is ready to do the rest.

  17. you're installing the dependencies to the live distro temporarily.  debian doesn't have jfs in it's live media so that requires apt-getting jfs to deal with the file system & mount the file system that was previously not supported.  id use synaptic to insert the deps since i dont know apt-get's command line tools very well.

×
×
  • Create New...