Skip to content

Instantly share code, notes, and snippets.

View godmachine81's full-sized avatar
💭
AFK

Lance Poore godmachine81

💭
AFK
  • LP's PC & Network Solutions
  • Albany KY USA
View GitHub Profile
warning: no common commits
remote: Counting objects: 370862, done.
remote: Compressing objects: 100% (130643/130643), done.
Receiving objects: 100% (370862/370862), 92.02 MiB | 403 KiB/s, done.
remote: Total 370862 (delta 245465), reused 363680 (delta 238283)
Resolving deltas: 100% (245465/245465), done.
From git://github.com/funtoo/ports-2012
+ 1efd487...d603c8f funtoo.org -> origin/funtoo.org (forced update)
+ 987a199...1ec4821 master -> origin/master (forced update)
Merge made by the 'recursive' strategy.
== ''Howto: Turn your Funtoo machine into a Network Boot Server'' ==
This guide helps explain how to set up a PXE server using in.tftpd and dnsmasq.
This may be useful for installing an operating system on a machine that has no optical drive and/or an older BIOS which doesn't support booting from USB.
This guide will cover the basics of getting your server set up to allow clients to boot from the network to a pxelinux/syslinux menu and choose an option of installing / running your preferred distribution or installing a MS Windows operating system - the possibilities are endless and you are free to use it as you wish!! The funtoo way!
== Dependencies ==
The following packages are required:
*net-dns/dnsmasq
Location Function Component Family Component Type Qty Manufacturer Part Number Component Description Markings Form IO / Pin Count IO Pitch Diameter (mm) Length (mm) Width (mm) Height (mm) Data Sheet Links
Main PCB, Bottom Power Management Passive Capacitor 4 NEC Tokin PSLA0E227M Tantalum Conductive Polymer - Encapsulated, 2.5V, 220uF, 20%, Low ESR heJ8 3216-16 2 3.20 1.60 1.10 Visit URL
Main PCB, Bottom Memory Passive Resistor 1 SMD Flat Chip 0402 2 1.00 0.50
Main PCB, Bottom Apps Processing Passive Capacitor 6 Ceramic Multilayer - X5R/X7R Brown 0402 2 1.00 0.50
Main PCB, Bottom Apps Processing Passive Capacitor 12 Ceramic Multilayer - X5R/X7R Brown 0201 2 0.50 0.25
Main PCB, Bottom Apps Processing Passive Capacitor 2 Ceramic Multilayer - C0G/NP0 Violet 0201 2 0.50 0.25
Main PCB, Bottom Apps Processing Passive Resistor 1 SMD Flat Chip 0603 2 1.50 0.75
M
Traceback (most recent call last):
File "../../../../tools/json_schema_compiler/compiler.py", line 22, in <module>
import idl_schema
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/idl_schema.py", line 21, in <module>
import idl_parser
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/../../ppapi/generators/idl_parser.py", line 34, in <module>
from idl_lexer import IDLLexer
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py", line 33, in <module>
from ply import lex
ImportError: No module named ply
drivers/usb/gadget/Kconfig:1003:warning: choice value used outside its choice group
drivers/usb/gadget/Kconfig:1009:warning: choice value used outside its choice group
warning: (MEDIA_TUNER && MEDIA_SUPPORT && VIDEO_MEDIA && I2C && !MEDIA_TUNER_CUSTOMISE || VIDEO_CX23885 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && IR_CORE && !MEDIA_TUNER_CUSTOMISE || VIDEO_AU0828 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2 && !MEDIA_TUNER_CUSTOMISE || VIDEO_CX231XX_DVB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_CX231XX && DVB_CORE && !DVB_FE_CUSTOMISE || DVB_USB_DIB0700 && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && DVB_USB && !MEDIA_TUNER_CUSTOMISE || VIDEO_TM6000 && STAGING && !STAGING_EXCLUDE_BUILD && VIDEO_DEV && I2C && INPUT && IR_CORE && USB && EXPERIMENTAL) selects MEDIA_TUNER_XC5000 which has unmet direct dependencies (MEDIA_SUPPORT && MEDIA_TUNER_CUSTOMI
godmachine81@zotac:~/kindlefire/kernel/android-2.6.35$ diff -ur ./ ../../stock-amazon-kernel/|grep "Only in"
Only in ../../stock-amazon-kernel/arch/arm/configs: otter_android_defconfig
Only in ../../stock-amazon-kernel/arch/arm/mach-omap2: board-4430kc1.c
Only in ../../stock-amazon-kernel/arch/arm/mach-omap2: board-kc1-reboot.c
Only in ../../stock-amazon-kernel/: diffs.txt
Only in ../../stock-amazon-kernel/drivers/hwmon: omap_bandgap.c
Only in ../../stock-amazon-kernel/drivers/hwmon: pmic_thermal.c
Only in ../../stock-amazon-kernel/drivers/i2c: SenseTek
Only in ../../stock-amazon-kernel/drivers/input/touchscreen: ilitek.c
Only in ../../stock-amazon-kernel/drivers/leds: leds-omap-pwm.c
#!/bin/bash
#Clear old iptables and nat rules (flush)
iptables -F
iptables -t nat -F
#Create Input, Output, and Forward Chains
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
<god-zotac> not sure about that, i haven't ever done exactly what you are doing
<god-zotac> is this for a school project or something?
<motherbrain> I am just worried that the kprint message would scroll by to fast for me to see...
<god-zotac> you can enable kernel message printing to file
<motherbrain> your saying print it to a log file.... we how would you do that
<god-zotac> if you have kernel debugging enabled, there is a cmdline boot option that will let messages be appended to a defined file
<god-zotac> i'm not sure what the cmd line is to log kernel debugging though ill have to google that for ya
<god-zotac> http://elinux.org/Kernel_Debugging_Tips
<god-zotac> that page seems to be pretty helpful for everything you have asked about :)
<motherbrain> thanks but I have a more fundemental problem how do you enable kernel debugging . Is that just an option in a grub file... Basically I need some step by step of how you enable it in linux
1|root@android:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
#!/bin/bash
alias ls='ls --color=auto '
alias grep='grep --color=auto'
alias emerge='sudo emerge'
alias gitlog="cd /usr/portage;git log; cd -"
alias pastebin='gist'
chatgrep () { grep -iR "$1" ~/.xchat2/xchatlogs/*$2*; }
chatgrep-funtoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#funtoo.log; }
chatgrep-gentoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo.log; }
chatgrep-gentoo-chat () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo-chat.log; }